$offset_x_circulator = $d['offset_x_cords_circulator'];
$offset_y_circulator = $d['offset_y_cords_circulator'];
+ $petition_party_line1 = $d['petition_party_line1'];
+ $petition_party_line2 = $d['petition_party_line2'];
+ $petition_party_line3 = $d['petition_party_line3'];
+ $petition_party_line4 = $d['petition_party_line4'];
+
//Set the Content Type
header('Content-type: image/jpeg');
$SIGNED = date('Y-m-d');
if ($hide_county == 'NO'){
- if ( $_COOKIE['pCOUNTY'] == 'Baltimore City'){
+ if ( $_COOKIE['pCOUNTY'] == 'Baltimore City' || $_COOKIE['debug'] == 'on'){
// City Checkbox
$cord = $d['text_cord_cityX'];
$array = explode(",",$cord);
imagettftext($jpg_image, $array[0], $array[1], $array[2], $array[3], $black, $font_path, str_replace('County','',$_COOKIE['pCOUNTY']) );
}
}
+
+// Party Information
+imagettftext($jpg_image, 50, 0, 200, 600, $black, $font_path, $petition_party_line1 );
+imagettftext($jpg_image, 50, 0, 700, 700, $black, $font_path, $petition_party_line2 );
+imagettftext($jpg_image, 50, 0, 340, 790, $black, $font_path, $petition_party_line3 );
+imagettftext($jpg_image, 50, 0, 340, 850, $black, $font_path, $petition_party_line4 );
+
+
+
// name
imagettftext($jpg_image, 50, 0, 350+$offset_x, 1070+$offset_y, $black, $font_path, $_COOKIE['pNAME']);
//imagettftext($jpg_image, 50, 0, 350, 1070, $black, $font_path, $debug);