SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2005
    Location
    Manc, UK
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    removing captcha from form

    Hi All,

    I hope the title makes sense - what it is I have a form that a collegue did for me a long time ago and now the owner of the site wants the captcha function removing and I have no idea so I was wondering if someone could give me some pointers, I have added the code from the page below.

    Code:
    <?php
    
    	session_start();
    
    	require_once('config/db_config.php');
    
    	
    
    	if (isset($_POST["mode"]))
    
    	{
    
    		if ($_POST["mode"] == "send")
    
    		{
    
    					if($_POST['captcha_code'] == $_SESSION['security_code'])
    
    					{
    
    
    						$wedding_date = $_POST['wedding_day'].'-'.($_POST['wedding_month'] + 1).'-'.$_POST['wedding_year'];
    
    						$time_of_service = $_POST['time_of_service_hour'].':'.$_POST['time_of_service_minute'].':'.'00';
    
    						$brides_name = $_POST['brides_name'];
    
    						$grooms_name = $_POST['grooms_name'];
    
    						
    
    						$brides_telephone_no = $_POST['brides_telephone_no'];
    
    						$grooms_telephone_no = $_POST['grooms_telephone_no'];
    
    						
    
    						$church_name = $_POST['church_name'];
    
    						$reception_name = $_POST['reception_name'];
    
    						$church_address = $_POST['church_address'];
    
    						$reception_address = $_POST['reception_address'];
    
    						$church_postcode = $_POST['church_postcode'];
    
    						$reception_postcode = $_POST['reception_postcode'];
    
    						
    
    						$instructions = nl2br($_POST['instructions']);
    
    						
    
    						
    
    						$strMessageBody .= '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><HTML>';
    
    						$strMessageBody .= '<HEAD>';
    
    						$strMessageBody .= '<META HTTP-EQUIV="content-type" CONTENT="text/html;charset=ISO-8859-1">';
    
    						$strMessageBody .= '<TITLE></TITLE>';
    
    						$strMessageBody .= '</HEAD>';
    
    						$strMessageBody .= '<BODY style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;" BGCOLOR="#ffffff" LINK="#3366cc" VLINK="#3366cc" ALINK="#3366cc" LEFTMARGIN="0" MARGINHEIGHT="0" MARGINWIDTH="0" TOPMARGIN="0">';
    
    						$strMessageBody .= '<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0" ALIGN="center">';
    
    						$strMessageBody .= '<TR>';
    
    						$strMessageBody .= '<TD ALIGN="left" VALIGN="top">';
    
    						$strMessageBody .= '<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0">';
    
    						$strMessageBody .= '<TR>';
    
    						$strMessageBody .= '<TD ALIGN="left" VALIGN="top"><img width="250" height="44" border="0" src="http://highstylecars.co.uk/email-images/inv-logo.jpg" /></TD>';
    
    						$strMessageBody .= '<TD ALIGN="right" VALIGN="top">';
    
    						$strMessageBody .= '<img width="250" height="44" border="0" src="http://highstylecars.co.uk/email-images/car-inst.jpg" />';
    
    						$strMessageBody .= '</TD>';
    
    						$strMessageBody .= '</TR>';
    
    						$strMessageBody .= '<TR>';
    
    
    						$strMessageBody .= '</TR>';
    
    						$strMessageBody .= '</TABLE>';
    
    						$strMessageBody .= '<BR>';
    
    						$strMessageBody .= '<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0">';
    
    						$strMessageBody .= '<TR>';
    
    
    						$strMessageBody .= '</TR>';
    
    						$strMessageBody .= '</TABLE><BR>';
    
    						$strMessageBody .= '<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="0">';
    
    						$strMessageBody .= '<TR>';
    
    						$strMessageBody .= '<TD ALIGN="left" VALIGN="top">';
    
    						$strMessageBody .= '<TABLE WIDTH="800" BORDER="0" CELLSPACING="0" CELLPADDING="0">';
    
    						$strMessageBody .= '<TR>';
    
    						$strMessageBody .= '<TD COLSPAN="4"><img width="100%" height="1" border="0" src="http://highstylecars.co.uk/email-images/spacer.gif" /></TD>';
    
    						$strMessageBody .= '</TR>';
    
    						$strMessageBody .= '<TR HEIGHT="15">';
    
    						$strMessageBody .= '<TD COLSPAN="4" NOWRAP HEIGHT="15"></TD>';
    
    						$strMessageBody .= '</TR>';
    
    						$strMessageBody .= '<TR HEIGHT="20">';
    
    						$strMessageBody .= '<TD ALIGN="left" VALIGN="top" WIDTH="120" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333; float: left;font-weight: bold; height: 17px;margin-bottom: 8px;padding-top: 1px; width: 110px;">Wedding Date:</TD>';
    
    						$strMessageBody .= '<TD ALIGN="left" VALIGN="top" WIDTH="200" HEIGHT="20" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;"><span style="float: left;height: 20px;margin-bottom: 8px;width: 200px;">'.$wedding_date.'</span></TD>';
    
    
    						
    						$strMessageBody .= '</TR>';
    						
    						$strMessageBody .= '<TR HEIGHT="20">';
    
    						$strMessageBody .= '<TD ALIGN="left" VALIGN="top" WIDTH="120" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333; float: left;font-weight: bold; height: 17px;margin-bottom: 8px;padding-top: 1px; width: 110px;">Time Of Service:</TD>';
    
    						$strMessageBody .= '<TD ALIGN="left" VALIGN="top" WIDTH="200" HEIGHT="20" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;"><span style="float: left;height: 20px;margin-bottom: 8px;width: 200px;">'.$time_of_service.'</span></TD>';
    
    
    						$strMessageBody .= '</TR>';
    
    						$strMessageBody .= '<TR HEIGHT="20">';
    
    						$strMessageBody .= '<TD ALIGN="left" VALIGN="top" WIDTH="190" HEIGHT="20" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333; float: left;font-weight: bold; height: 17px;margin-bottom: 8px;padding-top: 1px; width: 110px;">Brides Name:</TD>';
    
    						$strMessageBody .= '<TD HEIGHT="20" ALIGN="left" VALIGN="top"><FONT style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:#333333;"  SIZE="2" COLOR="#000000" FACE="Geneva,Verdana,Arial,Helvetica">'.$brides_name.' <BR>';
    
    						$strMessageBody .= '</FONT></TD>';
    
    						$strMessageBody .= '<TD HEIGHT="20" ALIGN="left" VALIGN="top" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;"><span style="float: left;font-weight: bold;height: 17px;margin-bottom: 8px;padding-top: 1px;;width: 110px;">Grooms Name: </span></TD>';
    
    						$strMessageBody .= '<TD ALIGN="left" VALIGN="top" WIDTH="200" HEIGHT="20"><FONT  style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:#333333;" SIZE="2" COLOR="#000000" FACE="Geneva,Verdana,Arial,Helvetica"> '.$grooms_name.' </FONT></TD>';
    
    						$strMessageBody .= '</TR>';
    
    						$strMessageBody .= '<TR HEIGHT="20">';
    
    						$strMessageBody .= '<TD ALIGN="left" VALIGN="top" HEIGHT="20" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;"><span style="float: left;font-weight: bold;height: 17px;margin-bottom: 8px;padding-top: 1px;;width: 110px;">Brides phone No.:</span></TD>';
    
    						$strMessageBody .= '<TD HEIGHT="20" ALIGN="left" VALIGN="top" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;">'.$brides_telephone_no.' </TD>';
    
    						$strMessageBody .= '<TD HEIGHT="20" ALIGN="left" VALIGN="top" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;"><span style="float: left;font-weight: bold;height: 17px;margin-bottom: 8px;padding-top: 1px;;width: 110px;">Grooms phone No.:</span></TD>';
    
    						$strMessageBody .= '<TD ALIGN="left" VALIGN="top" HEIGHT="20" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;">'.$grooms_telephone_no.' </TD>';
    
    						$strMessageBody .= '</TR>';
    
    						$strMessageBody .= '<TR>';
    
    						$strMessageBody .= '<TD COLSPAN="4" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;"><img width="100%" height="1" border="0" src="http://highstylecars.co.uk/email-images/spacer.gif" /></TD>';
    
    						$strMessageBody .= '</TR>';
    
    						$strMessageBody .= '<TR HEIGHT="15">';
    
    						$strMessageBody .= '<TD COLSPAN="4" NOWRAP HEIGHT="15"></TD>';
    
    						$strMessageBody .= '</TR>';
    
    						$strMessageBody .= '<TR HEIGHT="20">';
    
    						$strMessageBody .= '<TD HEIGHT="20" ALIGN="left" VALIGN="top" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;"><span style="float: left;font-weight: bold;height: 17px;margin-bottom: 8px;padding-top: 1px;;width: 110px;">Name of Church: </span></TD>';
    
    						$strMessageBody .= '<TD HEIGHT="20" ALIGN="left" VALIGN="top" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;">'.$church_name.' </TD>';
    
    						$strMessageBody .= '<TD HEIGHT="20" ALIGN="left" VALIGN="top" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;"><span style="float: left;font-weight: bold;height: 17px;margin-bottom: 8px;padding-top: 1px;;width: 110px;">Reception venue: </span></TD>';
    
    						$strMessageBody .= '<TD HEIGHT="20" ALIGN="left" VALIGN="top" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;">'.$reception_name.' </TD>';
    
    						$strMessageBody .= '</TR>';
    
    						$strMessageBody .= '<TR HEIGHT="20">';
    
    						$strMessageBody .= '<TD ALIGN="left" VALIGN="top" HEIGHT="20" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;"><span style="float: left;font-weight: bold;height: 17px;margin-bottom: 8px;padding-top: 1px;;width: 110px;">Church Address: </span></TD>';
    
    						$strMessageBody .= '<TD HEIGHT="20" ALIGN="left" VALIGN="top" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;">'.$church_address.' </TD>';
    
    						$strMessageBody .= '<TD HEIGHT="20" ALIGN="left" VALIGN="top" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;"><strong>Reception Address:</strong></TD>';
    
    						$strMessageBody .= '<TD ALIGN="left" VALIGN="top" HEIGHT="20" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;">'.$reception_address.' </TD>';
    
    						$strMessageBody .= '</TR>';
    
    						$strMessageBody .= '<TR HEIGHT="20">';
    
    						$strMessageBody .= '<TD ALIGN="left" VALIGN="top" HEIGHT="20" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;"><span style="float: left;font-weight: bold;height: 17px;margin-bottom: 8px;padding-top: 1px;;width: 110px;">Church Postcode: </span></TD>';
    
    						$strMessageBody .= '<TD HEIGHT="20" ALIGN="left" VALIGN="top" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;">'.$church_postcode.' </TD>';
    
    						$strMessageBody .= '<TD HEIGHT="20" ALIGN="left" VALIGN="top" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;"><span style="float: left;font-weight: bold;height: 17px;margin-bottom: 8px;padding-top: 1px;;width: 120px;">Reception Postcode:</span></TD>';
    
    						$strMessageBody .= '<TD ALIGN="left" VALIGN="top" HEIGHT="20" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;">'.$reception_postcode.' </TD>';
    
    						$strMessageBody .= '</TR>';
    
    						//$strMessageBody .= '<TR HEIGHT="10"><TD COLSPAN="4" NOWRAP HEIGHT="10"></TD></TR>';
    
    						$strMessageBody .= '<TR><TD COLSPAN="4"><img width="100%" height="1" border="0" src="http://highstylecars.co.uk/email-images/spacer.gif" /></TD></TR>';
    
    						//$strMessageBody .= '<TR HEIGHT="15"><TD COLSPAN="4" NOWRAP HEIGHT="15"></TD></TR>';
    
    						
    
    						
    
    						$strMessageBody .= '<TR HEIGHT="15">';
    
    						
    
    						$i = 0;
    
    						$j = 0;
    
    						for($form_id = 0; $form_id < 4; $form_id++) 
    
    						{
    
    							$i = $i + 1;
    
    							$time_of_service_hour_cars = $_POST['time_of_service_hour_cars'][$form_id];
    
    							$time_of_service_minute_cars = $_POST['time_of_service_minute_cars'][$form_id];
    
    							
    
    							$car_time = $time_of_service_hour_cars.":".$time_of_service_minute_cars.":00";
    
    							
    
    							$pickup_no = $_POST['pickup_no'][$form_id];
    
    							$trips_house = $_POST['trips_house'][$form_id];
    
    							$guest_church = $_POST['guest_church'][$form_id];
    
    							$picked_address = $_POST['picked_address'][$form_id];
    
    							$guest_car = $_POST['guest_car'][$form_id];
    
    							$picked_postcode = $_POST['picked_postcode'][$form_id];
    
    							
    
    						
    
    							if (!empty($guest_church))
    
    							{
    
    							
    
    								
    
    								
    
    								$strMessageBody .= '<TD COLSPAN="2" NOWRAP HEIGHT="15">';
    
    								$strMessageBody .= '<table width="352" border="-">';
    
    								
    
    								
    
    								
    
    								
    
    								$strMessageBody .= '<tr><td colspan=2>';
    
    								$strMessageBody .= '<table width="100%" border="0">';
    
    								$strMessageBody .= '<tr>';
    
    								$strMessageBody .= '<TD HEIGHT="20" ALIGN="left" VALIGN="top" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;"><span style="float: left;font-weight: bold;height: 17px;margin-bottom: 8px;padding-top: 1px ;width: 240px;">Time you would like the cars at house for: </span></TD>';
    
    								$strMessageBody .= '<TD ALIGN="left" VALIGN="top" HEIGHT="20" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;">'.$car_time.'</TD>';
    
    								$strMessageBody .= '</tr>';
    
    								
    
    								$strMessageBody .= '<tr>';
    
    								$strMessageBody .= '<TD width="93" HEIGHT="20" ALIGN="left" VALIGN="top" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;"><span style="float: left;font-weight: bold;height: 17px;margin-bottom: 8px;padding-top: 1px;;width: 90px;">Pick Up No.: </span></TD>';
    
    								$strMessageBody .= '<TD width="19" HEIGHT="20" ALIGN="left" VALIGN="top" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;">'.$pickup_no.' </TD>';
    
    								
    
    								$strMessageBody .= '</tr>';
    
    								
    
    								$strMessageBody .= '<tr>';
    
    								$strMessageBody .= '<TD width="120" HEIGHT="20" ALIGN="left" VALIGN="top" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;"><span style="float: left;font-weight: bold;height: 17px;margin-bottom: 8px;padding-top: 1px;;width: 120px;">Trips from house: </span></TD>';
    
    								$strMessageBody .= '<TD width="102" HEIGHT="20" ALIGN="left" VALIGN="top" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;">'.$trips_house.'</TD>';
    
    
    
    								$strMessageBody .= '</tr></table>';
    
    								$strMessageBody .= '</td></tr>';
    
    								
    
    								
    
    								
    
    								
    
    								$strMessageBody .= '<tr><TD width="180" HEIGHT="20" ALIGN="left" VALIGN="top" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;"><span style="float: left;font-weight: bold;height: 17px;margin-bottom: 8px;padding-top: 1px;;width: 180px;">Guests to be taken to church: </span></TD>';
    
    								$strMessageBody .= '<TD HEIGHT="20" ALIGN="left" VALIGN="top" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;">'.$guest_church.'</TD>';
    
    								$strMessageBody .= '</tr>';
    
    								
    
    								
    
    								$strMessageBody .= '<tr>';
    
    								$strMessageBody .= '<TD width="180" HEIGHT="20" ALIGN="left" VALIGN="top" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;"><span style="float: left;font-weight: bold;height: 17px;margin-bottom: 8px;padding-top: 1px;;width: 180px;">Address to be picked up from: </span></TD>';
    
    								$strMessageBody .= '<TD width="323" HEIGHT="20" ALIGN="left" VALIGN="top" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;">'.$picked_address.'</TD>';
    
    
    
    								$strMessageBody .= '</tr>';
    
    								
    
    								
    
    								$strMessageBody .= '<tr>';
    
    								$strMessageBody .= '<TD HEIGHT="20" ALIGN="left" VALIGN="top" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;"><span style="float: left;font-weight: bold;height: 17px;margin-bottom: 8px;padding-top: 1px;width: 180px;">Postcode: </span></TD>';
    
    								$strMessageBody .= '<TD HEIGHT="20" ALIGN="left" VALIGN="top" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;">'.$picked_postcode.'</TD>';
    
    								$strMessageBody .= '</tr>';
    
    								
    
    								
    
    								$strMessageBody .= '<tr>';
    
    								$strMessageBody .= '<TD HEIGHT="20" ALIGN="left" VALIGN="top" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;"><span style="float: left;font-weight: bold;height: 17px;margin-bottom: 8px;padding-top: 1px;width: 180px;">Car Requirements: </span></TD>';
    
    								$strMessageBody .= '<TD HEIGHT="20" ALIGN="left" VALIGN="top" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;">'.$guest_car.'</TD>';
    
    								$strMessageBody .= '</tr>';
    
    								
    
    								
    
    								$strMessageBody .= '<TR>';
    
    								$strMessageBody .= '<TD COLSPAN="2"><img width="100%" height="1" border="0" src="http://highstylecars.co.uk/email-images/spacer.gif" /></TD>';
    
    								
    
    								$strMessageBody .= '</TR></table>';
    
    								
    
    								
    
    								$J = ($i % 2);
    
    								if ($J == 0)
    
    								{
    
    									$strMessageBody .= '</TR>';
    
    								}
    
    								
    
    							}
    
    						}
    
    						
    
    
    
    						
    
    						
    
    						$strMessageBody .= '<tr>';
    
    						$strMessageBody .= '<TD HEIGHT="20" colspan="2" ALIGN="left" VALIGN="top" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;"><span style="float: left;font-weight: bold;height: 17px;margin-bottom: 8px;padding-top: 1px;width: 300px;">Your email address and any special instructions: </span></TD>';
    
    						$strMessageBody .= '<TD width="70" HEIGHT="20" ALIGN="left" VALIGN="top">&nbsp;</TD>';
    
    						$strMessageBody .= '<TD width="114" ALIGN="left" VALIGN="top">&nbsp;</TD>';
    
    						$strMessageBody .= '</tr>';
    
    						$strMessageBody .= '<tr>';
    
    						$strMessageBody .= '<TD HEIGHT="20" colspan="4" ALIGN="left" VALIGN="top" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;">'.$instructions.'</TD>';
    
    						$strMessageBody .= '</tr>';
    
    						$strMessageBody .= '</table></TD>';
    
    						$strMessageBody .= '</TR>';
    
    						
    
    						$strMessageBody .= '<TR>';
    
    						$strMessageBody .= '<TD COLSPAN="4"><img width="100%" height="1" border="0" src="http://highstylecars.co.uk/email-images/spacer.gif" /></TD>';
    
    						$strMessageBody .= '</TR>';
    
    						/*$strMessageBody .= '<TR HEIGHT="15">';
    
    						$strMessageBody .= '<TD COLSPAN="4" NOWRAP HEIGHT="15"></TD>';
    
    						$strMessageBody .= '</TR>';*/
    
    						
    
    						/*$strMessageBody .= '<TR HEIGHT="15">';
    
    						$strMessageBody .= '<TD COLSPAN="4" NOWRAP HEIGHT="15"></TD>';
    
    						$strMessageBody .= '</TR>';*/
    
    						$strMessageBody .= '</TABLE>';
    
    						$strMessageBody .= '</TD>';
    
    						$strMessageBody .= '<TD NOWRAP WIDTH="20">&nbsp;</TD>';
    
    						$strMessageBody .= '<TD ALIGN="left" VALIGN="top">';
    
    						$strMessageBody .= '</TD>';
    
    						$strMessageBody .= '</TR>';
    
    						$strMessageBody .= '</TABLE>';
    
    						$strMessageBody .= '</TD>';
    
    						$strMessageBody .= '</TR>';
    
    						$strMessageBody .= '</TABLE>';
    
    						$strMessageBody .= '<BR>';
    
    						$strMessageBody .= '<TABLE ALIGN="center">';
    
    						$strMessageBody .= '<TR>';
    
    						$strMessageBody .= '<TD ALIGN="CENTER" style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   10px; color:       #333333;">';
    
    						$strMessageBody .= '<FONT style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:   9px;" SIZE="2" COLOR="#000000" FACE="Geneva,Verdana,Arial,Helvetica">';
    
    						$strMessageBody .= '<a href="http://www.highstylecars.co.uk/index.php">www.highstylecars.co.uk</a>&nbsp;•&nbsp;<a href="mailto:philbrmly@aol.com">philbrmly@aol.com </a><BR></FONT>';
    
    						$strMessageBody .= 'Tel: 0161 304 8950 - Mobile: 07966453046</TD>';
    
    						$strMessageBody .= '</TR>';
    
    						$strMessageBody .= '<TR>';
    
    						$strMessageBody .= '<TD ALIGN="center" WIDTH="invoiceTableWidth"><FONT style="font-family: Geneva, Verdana, Arial, Helvetica; font-size:9px; color:#696969;" SIZE="1" COLOR="#999999" FACE="Geneva,Verdana,Arial,Helvetica">This is not a VAT notice.';
    
    						$strMessageBody .= 'Copyright &copy; 2011 Highstyle Cars</FONT></TD>';
    
    						$strMessageBody .= '</TR>';
    
    						$strMessageBody .= '</TABLE>';
    
    						//$strMessageBody .= '<BR>';
    
    						$strMessageBody .= '</BODY>';
    
    						$strMessageBody .= '</html>';
    
    						
    
    						
    
    						$to = ADMIN_MAIL;
    
    						$to = "gabs.m@aol.com,philbrmly@aol.com,r_g@btopenworld.com,philweddingcars@aol.co.uk,r_g@aol.co.uk,enquiries@highstylecars.co.uk";
    
    						$subject = 'Car Instruction Form Details';
    
    						$headers  = "From: " . ORDER_MAIL . "\r\n";
    
    						$headers .= "Content-type: text/html\r\n";
    
    						mail($to, $subject, $strMessageBody, $headers);
    
    						mail($to2, $subject, $strMessageBody, $headers);
    
    						unset($_POST);
    
    						$message = 'Instructions submitted successfully';
    
    						$action = "success";
    
    				
    
    						//header('Location: order_submit_success.php');
    
    					} 
    
    					else 
    
    					{
    
    						$message = 'Invalid Captcha';	
    
    					}
    
    		}
    
    	}
    
    ?>
    
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    
    
    <html xmlns="http://www.w3.org/1999/xhtml">
    
    
    
    <head>
    
    
    
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    
    
    <title>Wedding Venues in Manchester - Last Drop Village Hotel</title>
    
    
    
    <meta name="description" content="Last Drop Village Hotel wedding venues near Manchester for your wedding. Last Drop Village Hotel Manchester wedding reception venues. Book Manchester Last Drop Village Hotel accommodation for your wedding guests at Manchester wedding hotels." />
    
    
    
    <meta name="keywords" content="Last Drop Village Hotel wedding venues in Manchester, places to get married in Manchester Last Drop Village Hotel wedding venues near Manchester, unusual wedding venues Manchester, Last Drop Village Hotel Manchester civil wedding, civil wedding locations near Manchester,weddings in Manchester, getting married  Manchester,licenced venues Manchester,Last Drop Village Hotel reception venues Manchester,Last Drop Village Hotel wedding locations Manchester,wedding hotel Manchester" />
    
    
    
    <meta name="rating" content="general" />
    
    
    
    <meta name="robots" content="INDEX,FOLLOW" />
    
    
    
    <link href="main.css" rel="stylesheet" type="text/css" />
    
    
    
    <script type="text/javascript" src="js/swfobject.js"></script>
    
    
    
    <script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAAYGi8Nk0XhiUjPBhKqO3jhQXs-wek4kAuWtKVStsnqr2BPu19hQbsTmwQ6JnAx1cOb0bkxu7GeSCNw"
    
    
    
    type="text/javascript"></script>
    
    
    
    <script src="ajax_framework.js" language="javascript"></script>
    
    
    
    
    
    <script language="JavaScript">
    
    
    
    function Trim(s) 
    
    {
    
    	// Remove leading spaces and carriage returns
    
    	while ((s.substring(0,1) == ' ') || (s.substring(0,1) == '\n') || (s.substring(0,1) == '\r'))
    
    	{ s = s.substring(1,s.length); }
    
    	
    
    	// Remove trailing spaces and carriage returns
    
    	while ((s.substring(s.length-1,s.length) == ' ') || (s.substring(s.length-1,s.length) == '\n') || (s.substring(s.length-1,s.length) == '\r'))
    
    	{ s = s.substring(0,s.length-1); }
    
    	
    
    	return s;
    
    } 
    
    
    
    function check_form(car_info)
    
    {
    
    /*	booking_no = Trim(car_info.booking_no.value)
    
    	if(booking_no=="")
    
    	{	
    
    		alert("Please Enter Booking Number.");
    
    		car_info.booking_no.focus();
    
    		return false;
    
    	}
    */
    	
    
    	wedding_day = Trim(car_info.wedding_day.value)
    
    	if(wedding_day=="")
    
    	{	
    
    		alert("Please Select Wedding Day.");
    
    		car_info.wedding_day.focus();
    
    		return false;
    
    	}
    
    	
    
    	wedding_month = Trim(car_info.wedding_month.value)
    
    	if(wedding_month=="")
    
    	{	
    
    		alert("Please Select Wedding Month.");
    
    		car_info.wedding_month.focus();
    
    		return false;
    
    	}
    
    	
    
    	wedding_year = Trim(car_info.wedding_year.value)
    
    	if(wedding_year=="")
    
    	{	
    
    		alert("Please Select Wedding Year.");
    
    		car_info.wedding_year.focus();
    
    		return false;
    
    	}
    
    	
    
    	time_of_service_hour = Trim(car_info.time_of_service_hour.value)
    
    	if(time_of_service_hour=="")
    
    	{	
    
    		alert("Please Select Time of Service Hour.");
    
    		car_info.time_of_service_hour.focus();
    
    		return false;
    
    	}
    
    	
    
    	time_of_service_minute = Trim(car_info.time_of_service_minute.value)
    
    	if(time_of_service_minute=="")
    
    	{	
    
    		alert("Please Select Time of Service Minute.");
    
    		car_info.time_of_service_minute.focus();
    
    		return false;
    
    	}
    
    	
    
    	brides_name = Trim(car_info.brides_name.value)
    
    	if(brides_name=="")
    
    	{	
    
    		alert("Please Enter Brides Name.");
    
    		car_info.brides_name.focus();
    
    		return false;
    
    	}
    
    	
    
    	grooms_name = Trim(car_info.grooms_name.value)
    
    	if(grooms_name=="")
    
    	{	
    
    		alert("Please Enter Grooms Name.");
    
    		car_info.grooms_name.focus();
    
    		return false;
    
    	}
    
    	
    
    	
    
    	brides_telephone_no = Trim(car_info.brides_telephone_no.value)
    
    	if(brides_telephone_no=="")
    
    	{	
    
    		alert("Please Enter Brides Telephone Number.");
    
    		car_info.brides_telephone_no.focus();
    
    		return false;
    
    	}
    
    	
    
    	grooms_telephone_no = Trim(car_info.grooms_telephone_no.value)
    
    	if(grooms_telephone_no=="")
    
    	{	
    
    		alert("Please Enter Grooms Telephone Number.");
    
    		car_info.grooms_telephone_no.focus();
    
    		return false;
    
    	}
    
    	
    
    	church_name = Trim(car_info.church_name.value)
    
    	if(church_name=="")
    
    	{	
    
    		alert("Please Enter Church Name.");
    
    		car_info.church_name.focus();
    
    		return false;
    
    	}
    
    	
    
    	reception_name = Trim(car_info.reception_name.value)
    
    	if(reception_name=="")
    
    	{	
    
    		alert("Please Enter Reception Name.");
    
    		car_info.reception_name.focus();
    
    		return false;
    
    	}
    
    	
    
    	church_address = Trim(car_info.church_address.value)
    
    	if(church_address=="")
    
    	{	
    
    		alert("Please Enter Church Address.");
    
    		car_info.church_address.focus();
    
    		return false;
    
    	}
    
    	
    
    	reception_address = Trim(car_info.reception_address.value)
    
    	if(reception_address=="")
    
    	{	
    
    		alert("Please Enter Reception Address.");
    
    		car_info.reception_address.focus();
    
    		return false;
    
    	}
    
    	
    
    	church_postcode = Trim(car_info.church_postcode.value)
    
    	if(church_postcode=="")
    
    	{	
    
    		alert("Please Enter Church Postcode.");
    
    		car_info.church_postcode.focus();
    
    		return false;
    
    	}
    
    	
    
    	reception_postcode = Trim(car_info.reception_postcode.value)
    
    	if(reception_postcode=="")
    
    	{	
    
    		alert("Please Enter Reception Postcode.");
    
    		car_info.reception_postcode.focus();
    
    		return false;
    
    	}
    
    	
    
    	
    
    	
    
    	time_of_service_hour_cars[0] = Trim(car_info.time_of_service_hour_cars[0].value)
    
    	if(time_of_service_hour_cars[0]=="")
    
    	{	
    
    		alert("Please Select Time of Service Hour.");
    
    		car_info.time_of_service_hour_cars[0].focus();
    
    		return false;
    
    	}
    
    	
    
    	time_of_service_minute_cars[0] = Trim(car_info.time_of_service_minute_cars[0].value)
    
    	if(time_of_service_minute_cars[0]=="")
    
    	{	
    
    		alert("Please Select Time of Service Minute.");
    
    		car_info.time_of_service_minute_cars[0].focus();
    
    		return false;
    
    	}
    
    	
    
    	
    
    	pickup_no[0] = Trim(car_info.pickup_no[0].value)
    
    	if(pickup_no[0]=="")
    
    	{	
    
    		alert("Please Enter Pickup Number.");
    
    		car_info.pickup_no[0].focus();
    
    		return false;
    
    	}
    
    	
    
    	
    
    	trips_house[0] = Trim(car_info.trips_house[0].value)
    
    	if(trips_house[0]=="")
    
    	{	
    
    		alert("Please Enter Trips House.");
    
    		car_info.trips_house[0].focus();
    
    		return false;
    
    	}
    
    	
    
    	
    
    	guest_church[0] = Trim(car_info.guest_church[0].value)
    
    	if(guest_church[0]=="")
    
    	{	
    
    		alert("Please Enter Guest to be Taken to Church.");
    
    		car_info.guest_church[0].focus();
    
    		return false;
    
    	}
    
    	
    
    	picked_address[0] = Trim(car_info.picked_address[0].value)
    
    	if(picked_address[0]=="")
    
    	{	
    
    		alert("Please Enter Picked Address.");
    
    		car_info.picked_address[0].focus();
    
    		return false;
    
    	}
    
    	
    
    	
    
    	guest_car[0] = Trim(car_info.guest_car[0].value)
    
    	if(guest_car[0]=="")
    
    	{	
    
    		alert("Please Enter Guest Car.");
    
    		car_info.guest_car[0].focus();
    
    		return false;
    
    	}
    
    	
    
    	picked_postcode[0] = Trim(car_info.picked_postcode[0].value)
    
    	if(picked_postcode[0]=="")
    
    	{	
    
    		alert("Please Enter Guest Picked Postcode.");
    
    		car_info.picked_postcode[0].focus();
    
    		return false;
    
    	}
    
    	
    
    	captcha_code = Trim(car_info.captcha_code.value)
    
    	if(captcha_code=="")
    
    	{	
    
    		alert("Please Enter Captcha Code.");
    
    		car_info.captcha_code.focus();
    
    		return false;
    
    	}
    
    
    
    	return true;
    
    }
    
    </script>
    
    
    
    </head>
    
    
    
    
    
    
    
    <body>
    
    
    
    <div id="container">
    
    
    
      <div id="header-top">
    
    
    
        <div class="logo"><a href="index.php"><img src="images/logo.jpg" width="336" height="74" alt="High Style Wedding Cars Manchester" /></a></div>
    
    
    
        <div class="header-phone-nos">Tel: 0161 304 8950 <br />
    
    
    
          Mobile: 07966453046
    
    
    
    </div>
    
    
    
      </div>
    
    
    
      <div id="header-midd">
    
    
    
        <div id="head-mid-left">
    
    
    
        FOR THE BEST DISTINGUISHED WEDDING CARS IN MANCHESTER AND SURROUNDING AREAS
    
    
    
        </div>
    
    
    
        <div id="header-mid-right">
    
    
    
          <script type="text/javascript">
    
    
    
                    // <![CDATA[
    
    
    
                    
    
    
    
                    var so = new SWFObject("mainheader.swf", "mainheader", "698", "136", "9", "#ffffff");
    
    
    
                    so.addVariable("flashVarText", "this is passed in via FlashVars for example only"); // this line is optional, but this example uses the variable and displays this text inside the flash movie
    
    
    
                    so.write("header-mid-right");
    
    
    
                    
    
    
    
                    // ]]>
    
    
    
    </script>
    
    
    
        </div>
    
    
    
    
    
    
    
       
    
    
    
      
    
    
    
      <!--end header mid --></div>
    
    
    
    <div id="header-bot">
    
    
    
          <script type="text/javascript">
    
    
    
                    // <![CDATA[
    
    
    
                    
    
    
    
                    var so = new SWFObject("midweek.swf", "mainheader", "894", "41", "9", "#ffffff");
    
    
    
                    so.addVariable("flashVarText", "this is passed in via FlashVars for example only"); // this line is optional, but this example uses the variable and displays this text inside the flash movie
    
    
    
                    so.write("header-bot");
    
    
    
                    
    
    
    
                    // ]]>
    
    
    
    </script>
    
    
    
    
    
    
    
    
    
    
    
    </div>
    
    
    
      <div id="main-content">
    
    
    
        <div id="main-left">
    
    
    
          <div id="leftmenu">
    
    
    
          <ul>
    
    
    
          <li><a href="index.php">HOMEPAGE</a></li>
    
    
    
          <li><a href="about.php">ABOUT US</a></li>
    
    
    
          <li><a href="our-wedding-cars.php">OUR VEHICLES FOR HIRE</a></li>
    
    
    
          <li><a href="vehicle-enquiry.php">VEHICLE ENQUIRY</a></li>
    
    
    
          <li><a href="contact-us.php">CONTACT US</a></li>
    
    
    
          <li><a href="location.php">OUR LOCATION</a></li>
    
    
    
          <li><a href="booking-form.pdf" target="_blank">DOWNLOAD BOOKING FORM</a></li>
    
    
    
          <li><a href="brochure.pdf" target="_blank">DOWNLOAD OUR BROCHURE</a></li>
    
    
    
          <li><a href="upcoming-wedding-fayres.php">UPCOMING WEDDING FAYRES</a></li>
    
    
    
          <li><a href="recommended-wedding-venues-in-manchester.php">IDEAL WEDDING VENUES</a></li>
    
    
    
    
    
    
          <li><a href="links.php">LINKS</a></li>    </ul>
    
    
    
        <!--end left nav --></div>
    
        <div id="testimonial-ad"><a href="customer-testimonials.php"><img src="images/testimonials.jpg" width="200" height="220" alt="Customer Testimonials" /></a></div>
    <div id="view-facebook"><a href="http://www.facebook.com/pages/High-Style-Wedding-Cars-Manchester/318944134784458" target="_blank"><img src="images/view-facebook.jpg" width="200" height="70" alt="View Our Facebook Page" /></a></div>
    
              <div id="wint"> 
    
    
    
                    <script type="text/javascript">
    
    
    
                    // <![CDATA[
    
    
    
                    
    
    
    
                    var so = new SWFObject("highstylewinter.swf", "highstylewinter", "200", "202", "9", "#ffffff");
    
    
    
                    so.addVariable("flashVarText", "this is passed in via FlashVars for example only"); // this line is optional, but this example uses the variable and displays this text inside the flash movie
    
    
    
                    so.write("wint");
    
    
    
                    
    
    
    
                    // ]]>
    
    
    
    </script>
    
    
    
              
    
    
    
              </div>
    
    
    
    
    
    
    
        
    
    
    
        <div class="callback-box">
    
    
    
    
    
    
    
          <div class="callback-title">REQUEST CALLBACK</div>
    
    
    
    
    
    
    
    		  <div class="callback-text">Simply Complete your details below and one of our sales advisors wil get in touch.</div>
    
    
    
    
    
    
    
    		  <div class="callback-form">
    
    
    
    
    
    
    
              <form method="post" action="callback.php">
    
    
    
    
    
    
    
              <div class="callback-frm-label">Name:</div>
    
    
    
    
    
    
    
              <div class="callback-frm-txt">
    
    
    
    
    
    
    
                  <input name="name" type="text" class="callback-textbox"/>
    
    
    
    
    
    
    
                </div>
    
    
    
    
    
    
    
             <div class="callback-frm-label">Contact Number:</div>
    
    
    
    
    
    
    
                                      <div class="callback-frm-txt">
    
    
    
    
    
    
    
                            <input name="phone" type="text" class="callback-textbox" />
    
    
    
    
    
    
    
                            </div>              
    
    
    
    
    
    
    
                       
    
    
    
    
    
    
    
                           <div class="callback-frm-label">Email Address:</div>
    
    
    
    
    
    
    
                            <div class="callback-frm-txt">
    
    
    
    
    
    
    
                              <input name="email" type="text"  class="callback-textbox"/>
    
    
    
    
    
    
    
                            </div>
    
    
    
    
    
    
    
                       
    
    
    
    
    
    
    
                         <div class="callback-frm-sel-label">Prefered Time:</div>
    
    
    
    
    
    
    
                <div class="callback-frm-select">
    
    
    
    
    
    
    
                <select name="preftime" class="callback-frm-selectmenu">
    
    
    
    
    
    
    
                <option value="am" selected="selected">am</option>
    
    
    
    
    
    
    
                <option value="pm">pm</option>
    
    
    
    
    
    
    
                </select>
    
    
    
    
    
    
    
                </div>
    
    
    
    
    
    
    
               <div class="callback-submit"><input type="image" value="Submit" name='submit' src="images/submit-button.jpg" /></div>
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
                <div class="clearer"></div>
    
    
    
    
    
    
    
              </form>
    
    
    
    
    
    
    
              </div>          
    
    
    
    
    
    
    
              
    
    
    
    
    
    
    
    	  </div>
    
    
    
          
    
    
    
                <!--   EMAIL A FRIEND --> 
    
    
    
          <? $url='http://www.highstylecars.co.uk'.$_SERVER['PHP_SELF']; ?>
    
    
    
          <div class="callback-box" style="height:auto;">
    
    
    
    	  	<form action="javascript:send()" method="post">
    
    
    
            <input type="hidden" name="url" value="<? echo $url; ?>" />
    
    
    
    			<div class="callback-title">RECOMMEND US TO A FRIEND</div>
    
    
    
    					 <div style="text-align:center;color:#CC0000;">
    
    
    
                         	<!-- Message for response -->
    
    
    
    						<div id="insert_response"></div>
    
    
    
                         </div>
    
    
    
                         <div class="callback-frm-label">Your Name:</div>
    
    
    
    
    
    
    
    					<div><input name="name1" id="name1" type="text" class="callback-textbox" value=""/></div>
    
    
    
    					<div class="callback-frm-label">Friends Email:</div>
    
    
    
                        <div><input name="email1" id="email1" type="text" class="callback-textbox" value=""/></div>
    
    
    
    
    
    
    
    					<div class="callback-submit"><input type="image" value="Submit" name='submit' src="images/submit-button.jpg" /></div>
    
    
    
        		<div class="clr"></div>
    
    
    
    
    
    
    
                <div style="height:5px;"></div>
    
    
    
    
    
    
    
    		</form>
    
    
    
          </div>
    
    
    
             
    
    
    
             <!--   EMAIL A FRIEND -->
    
    
    
          
    
    
    
          
    
    
    
        <div class="left-address"> High Style Wedding Cars      <br />
    
    
    
          <br />
    
    
    
          8 Masefield Close<br />
    
    
    
            Dukinfield<br />
    
    
    
            Cheshire<br />
    
    
    
          SK16 5DY    </div>
    
    
    
                    
    
    
    
                    
    
    
    
        <!--end main left column --></div>
    
    
    
        <form name="car_info" action="car-instruction-form.php" method="post" onSubmit="return check_form(car_info)">
    
        <input type="hidden" name="mode" value="send" />
    
        <div id="main-right">
    
        <? if (!empty($message)) { ?>
    
        <div class="home-title" style="color:red; font-size:20px; font-weight:bold; width:100%"><? echo $message; ?></div>
    
        <div class="clr"></div>
    
        <? } 
    
    	
    
    	if ($action != "success") {
    
    	?>
    
    
    
          <div class="page-title">Car Instruction Form</div>
    
    
    
          
    
    
    
          <div class="clr"></div>
    
    
    
          
    
    
    
          
    
    
    
          
    
    
    
          <div class="booking-form-box">
    
    
    
    
    
    
    
              
    
    
    
    
    
    
    
                        <div class="booking-label">Wedding Date:</div>
    
    
    
    
    
    
    
              <div class="booking-txt-holder">
    
    
    
    
    
    
    
              <select name="wedding_day" id="wedding_day" required="1" realname="Wedding Day" exclude="-1">
    
    
    
                <option value="-1" selected="selected">Day</option>
    
    
    
              <?php
    
    
    
    		  	for($i = 1; $i < 10; $i++) {
    
    
    
    		  ?>
    
    
    
              		<option value="<?='0'.$i?>"<?=(($i==$_POST['wedding_day'])?' selected="selected"':'')?>><?='0'.$i?></option>
    
    
    
              <?php
    
    
    
    			}
    
    
    
    		  ?>
    
    
    
              <?php
    
    
    
    		  	for($i = 10; $i < 32; $i++) {
    
    
    
    		  ?>
    
    
    
              		<option value="<?=$i?>"<?=(($i==$_POST['wedding_day'])?' selected="selected"':'')?>><?=$i?></option>
    
    
    
              <?php
    
    
    
    			}
    
    
    
    		  ?>
    
    
    
              </select>
    
    
    
              <select name="wedding_month" id="wedding_month" required="1" realname="Wedding Month" exclude="-1">
    
    
    
                <option value="-1" selected="selected">Month</option>
    
    
    
                <option value="00"<?=(isset($_POST['wedding_month']) && (0==$_POST['wedding_month'])?' selected="selected"':'')?>>Jan</option>
    
    
    
                <option value="01"<?=((1==$_POST['wedding_month'])?' selected="selected"':'')?>>Feb</option>
    
    
    
                <option value="02"<?=((2==$_POST['wedding_month'])?' selected="selected"':'')?>>Mar</option>
    
    
    
                <option value="03"<?=((3==$_POST['wedding_month'])?' selected="selected"':'')?>>Apr</option>
    
    
    
                <option value="04"<?=((4==$_POST['wedding_month'])?' selected="selected"':'')?>>May</option>
    
    
    
                <option value="05"<?=((5==$_POST['wedding_month'])?' selected="selected"':'')?>>Jun</option>
    
    
    
                <option value="06"<?=((6==$_POST['wedding_month'])?' selected="selected"':'')?>>Jul</option>
    
    
    
                <option value="07"<?=((7==$_POST['wedding_month'])?' selected="selected"':'')?>>Aug</option>
    
    
    
                <option value="08"<?=((8==$_POST['wedding_month'])?' selected="selected"':'')?>>Sep</option>
    
    
    
                <option value="09"<?=((9==$_POST['wedding_month'])?' selected="selected"':'')?>>Oct</option>
    
    
    
                <option value="10"<?=((10==$_POST['wedding_month'])?' selected="selected"':'')?>>Nov</option>
    
    
    
                <option value="11"<?=((11==$_POST['wedding_month'])?' selected="selected"':'')?>>Dec</option>
    
    
    
              </select>
    
    
    
              <select name="wedding_year" id="wedding_year" required="1" realname="Wedding Year" exclude="-1">
    
    
    
                <option value="-1" selected="selected">Year</option>
    
    
    
              <?php
    
    
    
    		  	for($i = 2011; $i <= 2031; $i++) {
    
    
    
    		  ?>
    
    
    
              		<option value="<?=$i?>"<?=(($i==$_POST['wedding_year'])?' selected="selected"':'')?>><?=$i?></option>
    
    
    
              <?php
    
    
    
    			}
    
    
    
    		  ?>
    
    
    
              </select>
    
    
    
    
    
    
    
              </div>
    
    
    
    
    
    
    
            
    
    
    
    
    
    
    
              <div class="booking-label">Time Of Service:</div>
    
    
    
    
    
    
    
              <div class="booking-txt-holder">
    
    
    
    
    
    
    
                <select name="time_of_service_hour" id="time_of_service_hour" required="1" realname="Hour" exclude="-1">
    
    
    
                  <option value="-1">Hour</option>
    
    
    
              <?php
    
    
    
    		  	for($i = 0; $i < 10; $i++) {
    
    
    
    		  ?>
    
    
    
                  <option value="<?='0'.$i?>"<?=((isset($_POST['time_of_service_hour']) && ($i==$_POST['time_of_service_hour']))?' selected="selected"':'')?>><?='0'.$i?></option>
    
    
    
              <?php
    
    
    
    			}
    
    
    
    		  ?>
    
    
    
              <?php
    
    
    
    		  	for($i = 10; $i < 24; $i++) {
    
    
    
    		  ?>
    
    
    
                  <option value="<?=$i?>"<?=(($i==(int)$_POST['time_of_service_hour'])?' selected="selected"':'')?>><?=$i?></option>
    
    
    
              <?php
    
    
    
    			}
    
    
    
    		  ?>
    
    
    
                </select>
    
    
    
                <select name="time_of_service_minute" id="time_of_service_minute" required="1" realname="Minute" exclude="-1">
    
    
    
                  <option value="-1">Minute</option>
    
    
    
              <?php
    
    
    
    		  	for($i = 0; $i < 10; $i++) {
    
    
    
    		  ?>
    
    
    
                  <option value="<?='0'.$i?>"<?=(isset($_POST['time_of_service_minute']) && ($i==$_POST['time_of_service_minute'])?' selected="selected"':'')?>><?='0'.$i?></option>
    
    
    
              <?php
    
    
    
    			}
    
    
    
    		  ?>
    
    
    
              <?php
    
    
    
    		  	for($i = 10; $i < 60; $i++) {
    
    
    
    		  ?>
    
    
    
                  <option value="<?=$i?>"<?=(($i==$_POST['time_of_service_minute'])?' selected="selected"':'')?>><?=$i?></option>
    
    
    
              <?php
    
    
    
    			}
    
    
    
    		  ?>
    
    
    
                </select>
    
    
    
              </div>
    
    
    
    
    
    
    
              <div class="clr"></div>
    
    
    
    
    
    
    
              
    
    
    
    
    
    
    
              
    
    
    
    
    
    
    
              </div>
    
    
    
              
    
    
    
              <div class="booking-form-box">
    
    
    
    
    
    
    
              <div class="booking-label">Brides Name:</div>
    
    
    
    
    
    
    
              <div class="booking-txt-holder">
    
    
    
    
    
    
    
              <input name="brides_name" type="text" class="booking-textbox" id="brides_name" value="<? echo $brides_name; ?>"/>
    
    
    
    
    
    
    
              </div>
    
    
    
    
    
    
    
            
    
    
    
    
    
    
    
              <div class="booking-label">Grooms Name:</div>
    
    
    
    
    
    
    
              <div class="booking-txt-holder">
    
    
    
    
    
    
    
              <input name="grooms_name" type="text" class="booking-textbox" id="grooms_name" value="<? echo $grooms_name; ?>"/>
    
    
    
    
    
    
    
              </div>
    
    
    
    
    
    
    
              <div class="clr"></div>
    
    
    
              <div class="clr"></div>
    
    
    
              <div class="clr"></div>
    
    
    
    
    
    
    
                        <div class="booking-label">Brides Phone No.:</div>
    
    
    
    
    
    
    
              <div class="booking-txt-holder">
    
    
    
    
    
    
    
              <input name="brides_telephone_no" type="text" class="booking-textbox" id="brides_telephone_no" value="<? echo $brides_telephone_no; ?>"/>
    
    
    
    
    
    
    
              
    
    
    
    
    
    
    
              </div>
    
    
    
    
    
    
    
            
    
    
    
    
    
    
    
              <div class="booking-label">Grooms Phone No.:</div>
    
    
    
    
    
    
    
              <div class="booking-txt-holder">
    
    
    
    
    
    
    
              <input name="grooms_telephone_no" type="text" class="booking-textbox" id="grooms_telephone_no" value="<? echo $grooms_telephone_no; ?>"/>
    
    
    
    
    
    
    
              </div>
    
    
    
    
    
    
    
              <div class="clr"></div>
    
    
    
              <div class="clr"></div>
    
    
    
    
    
    
    
      <div class="clr"></div>
    
    
    
    
    
    
    
              
    
    
    
    
    
    
    
              
    
    
    
    
    
    
    
              </div>
    
    
    
              
    
    
    
              
    
    
    
              <div class="booking-form-box">
    
    
    
    
    
    
    
                <div class="clr">
    
    
    
    
    
    
    
                
    
    
    
    
    
    
    
                
    
    
    
    
    
    
    
                </div>
    
    
    
    
    
    
    
              
    
    
    
    
    
    
    
                        <div class="booking-label">Name of Church:</div>
    
    
    
    
    
    
    
              <div class="booking-txt-holder">
    
    
    
    
    
    
    
              <input name="church_name" type="text" class="booking-textbox" id="church_name" value="<? echo $church_name; ?>"/>
    
    
    
    
    
    
    
              </div>
    
    
    
    
    
    
    
            
    
    
    
    
    
    
    
              <div class="booking-label">Reception Name:</div>
    
    
    
    
    
    
    
              <div class="booking-txt-holder">
    
    
    
    
    
    
    
              <input name="reception_name" type="text" class="booking-textbox" id="reception_name" value="<? echo $reception_name; ?>"/>
    
    
    
    
    
    
    
              </div>
    
    
    
    
    
    
    
              <div class="clr"></div>          
    
    
    
    
    
    
    
              
    
    
    
    
    
    
    
              
    
    
    
    
    
    
    
              
    
    
    
    
    
    
    
              <div class="booking-label">Address:</div>
    
    
    
    
    
    
    
              <div class="booking-text-area-holder">
    
    
    
    
    
    
    
                <label>
    
    
    
    
    
    
    
                  <textarea name="church_address"  class="booking-text-area" id="church_address" cols="45" rows="5"><? echo $church_address; ?></textarea>
    
    
    
    
    
    
    
                </label>
    
    
    
    
    
    
    
              </div>
    
    
    
    
    
    
    
            
    
    
    
    
    
    
    
              <div class="booking-label">Address:</div>
    
    
    
    
    
    
    
              <div class="booking-text-area-holder">
    
    
    
    
    
    
    
                <label>
    
    
    
    
    
    
    
                  <textarea name="reception_address"  class="booking-text-area" id="reception_address" cols="45" rows="5"><? echo $reception_address; ?></textarea>
    
    
    
    
    
    
    
                </label>
    
    
    
    
    
    
    
              </div>
    
    
    
    
    
    
    
              <div class="clr"></div>    
    
    
    
    
    
    
    
              <div class="booking-label">Postcode:</div>
    
    
    
    
    
    
    
              <div class="booking-txt-holder">
    
    
    
    
    
    
    
              <input name="church_postcode" type="text" class="booking-textbox" id="church_postcode" value="<? echo $church_postcode; ?>"/>
    
    
    
    
    
    
    
              
    
    
    
    
    
    
    
              </div>
    
    
    
    
    
    
    
            
    
    
    
    
    
    
    
              <div class="booking-label">Postcode:</div>
    
    
    
    
    
    
    
              <div class="booking-txt-holder">
    
    
    
    
    
    
    
              <input name="reception_postcode" type="text" class="booking-textbox" id="reception_postcode" value="<? echo $reception_postcode; ?>"/>
    
    
    
    
    
    
    
              </div>
    
    
    
              
    
    
    
              <div class="clr"></div>
    
    
    
    
    
    
    
              </div>
    
    
    
              <?
    
    		  for($form_id = 0; $form_id < 4; $form_id++) 
    
    		  {
    
    		  ?>
    
    
    
    <div class="booking-form-box">
    
    
    
    
    
    
    
                <div class="clr">
    
    
    
            </div>
    
    
    
                <div class="clr"></div>
    
    
    
                <div class="inst-label3">Time you would like the cars at house for:</div>
    
    
    
                <div class="booking-txt-holder">
    
    
    
    
    
    
    
                <select name="time_of_service_hour_cars[<? echo $form_id; ?>]" id="time_of_service_hour_cars[<? echo $form_id; ?>]" required="1" realname="Hour" exclude="-1">
    
    
    
                  <option value="-1">Hour</option>
    
    
    
              <?php
    
    
    
    		  	for($i = 0; $i < 10; $i++) {
    
    
    
    		  ?>
    
    
    
                  <option value="<?='0'.$i?>"<?=((isset($_POST['time_of_service_hour_cars[$form_id]']) && ($i==$_POST['time_of_service_hour_cars[$form_id]']))?' selected="selected"':'')?>><?='0'.$i?></option>
    
    
    
              <?php
    
    
    
    			}
    
    
    
    		  ?>
    
    
    
              <?php
    
    
    
    		  	for($i = 10; $i < 24; $i++) {
    
    
    
    		  ?>
    
    
    
                  <option value="<?=$i?>"<?=(($i==(int)$_POST['time_of_service_hour[$form_id]'])?' selected="selected"':'')?>><?=$i?></option>
    
    
    
              <?php
    
    
    
    			}
    
    
    
    		  ?>
    
    
    
                </select>
    
    
    
                <select name="time_of_service_minute_cars[<? echo $form_id; ?>]" id="time_of_service_minute_cars[<? echo $form_id; ?>]" required="1" realname="Minute" exclude="-1">
    
    
    
                  <option value="-1">Minute</option>
    
    
    
              <?php
    
    
    
    		  	for($i = 0; $i < 10; $i++) {
    
    
    
    		  ?>
    
    
    
                  <option value="<?='0'.$i?>"<?=(isset($_POST['time_of_service_minute[$form_id]']) && ($i==$_POST['time_of_service_minute[$form_id]'])?' selected="selected"':'')?>><?='0'.$i?></option>
    
    
    
              <?php
    
    
    
    			}
    
    
    
    		  ?>
    
    
    
              <?php
    
    
    
    		  	for($i = 10; $i < 60; $i++) {
    
    
    
    		  ?>
    
    
    
                  <option value="<?=$i?>"<?=(($i==$_POST['time_of_service_minute[$form_id]'])?' selected="selected"':'')?>><?=$i?></option>
    
    
    
              <?php
    
    
    
    			}
    
    
    
    		  ?>
    
    
    
                </select>
    
    
    
              </div>
    
    
    
                            <div class="clr"></div>
    
    
    
    
    
    
    
                <div class="inst-label2">Pick Up No.:</div>
    
    
    
                <div class="inst-sm-txt-holder">
    
    
    
                  <label for="booking_no"></label>
    
    
    
                  <input name="pickup_no[<? echo $form_id; ?>]" type="text" class="inst-sm-txt" id="pickup_no[<? echo $form_id; ?>]" value="<? echo $pickup_no[$form_id]; ?>" />
    
    
    
                </div>
    
    
    
                
    
    
    
    
    
    
    
                <div class="inst-label2">Trips from house:</div>
    
    
    
                <div class="inst-sm-txt-holder">
    
    
    
                  <label for="booking_no"></label>
    
    
    
                  <input name="trips_house[<? echo $form_id; ?>]" type="text" class="inst-sm-txt" id="trips_house[<? echo $form_id; ?>]" value="<? echo $trips_house[$form_id]; ?>" />
    
    
    
                </div>
    
    
    
                
    
    
    
                <div class="clr"></div>
    
    
    
                <div class="inst-label4">Guests to be taken to church:</div>
    
    
    
                <div class="booking-text-area-holder">
    
    
    
    
    
    
    
                <label>
    
    
    
    
    
    
    
                  <textarea name="guest_church[<? echo $form_id; ?>]"  class="booking-text-area" id="guest_church[<? echo $form_id; ?>]" cols="45" rows="5"><? echo $guest_church[$form_id]; ?></textarea>
    
    
    
    
    
    
    
                </label>
    
    
    
    
    
    
    
              </div>
    
    
    
                <div class="inst-label4">Address to be picked up from:</div>
    
    
    
                <div class="booking-text-area-holder">
    
    
    
    
    
    
    
                <label>
    
    
    
    
    
    
    
                  <textarea name="picked_address[<? echo $form_id; ?>]"  class="booking-text-area" id="picked_address[<? echo $form_id; ?>]" cols="45" rows="5"><? echo $picked_address[$form_id]; ?></textarea>
    
    
    
    
    
    
    
                </label>
    
    
    
    
    
    
    
              </div>
    
    
    
                
    
    
    
                          <div class="inst-label2">Please select car:</div>
    
    
    
    
    
    
    
              <div class="inst-spacer"><span class="booking-txt-holder">
    
                <select name="guest_car[<? echo $form_id; ?>]" class="booking-select" id="guest_car">
    
                  <option value="">Please select car</option>
    
                  <?
    
    		  $car_sql = "select * from cars";
    
    		  $car_res = mysql_query($car_sql);
    
    		  while ($car_data = mysql_fetch_array($car_res))
    
    		  {
    
    		  	$car_name_0 = $car_data["car_name"];
    
    		  ?>
    
                  <option value="<? echo $car_name_0; ?>" <? if ($car_name_0 == $guest_car[$form_id]) { ?> selected="selected" <?  }?>><? echo $car_name_0; ?></option>
    
                  <?
    
    		  }
    
    		  ?>
    
                </select>
    
              </span></div>
    
    
    
    
    
    
    
            
    
    
    
    
    
    
    
            <div class="inst-label5">Postcode:</div>
    
    
    
    
    
    
    
              <div class="booking-txt-holder">
    
    
    
    
    
    
    
              <input name="picked_postcode[<? echo $form_id; ?>]" type="text" class="booking-textbox" id="picked_postcode[<? echo $form_id; ?>]" value="<? echo $picked_postcode[$form_id]; ?>"/>
    
    
    
    
    
    
    
              </div>
    
    
    
                
    
    
    
                
    
    
    
                <div class="clr"></div>
    
    
    
          </div>
    
    
    
              <?
    
    		  }
    
    		  ?>
    
    
    
              <div class="booking-form-box">
    
    
    
                <div class="spec-inst">Your email adress and any special instrcutions</div>
    
    
    
    
    
    
    
              <div class="clr"></div>
    
    
    
              <div class="special-instructions-holder">
    
    
    
              <textarea name="instructions"  class="special-text-area" id="instructions" cols="45" rows="5"><? echo $instructions; ?></textarea>
    
    
    
              </div>
    
    
    
    <div class="clr"></div>
    
    
    
              <div class="clr"></div>
    
    
    
    
    
    
    
              <div class="clr"></div>
    
    
    
    
    
    
    
      <div class="clr"></div>
    
    
    
      <div class="clr"></div>
    
    
    
    
    
    
    
              <div class="clr"></div>
    
    
    
    
    
    
    
      <div class="clr"></div>
    
    
    
              
    
    
    
    
    
    
    
              </div>
    
    
    
              
    
    
    
              <div class="booking-form-box" style="padding-bottom:10px">
    
    
              <div class="booking-captcha-label">Please enter the letters in the box on the right</div>
    
    
    
              <div class="booking-captcha" style="width: 120px;"><img src="captcha/image.php" /></div>
    
    
    
    
    
    
    
              <div class="captcha-txt-holder">
    
    
    
    
    
    
    
              <input name="captcha_code" id="captcha_code" type="text" class="captcha-textbox" />
    
    
    
    
    
    
    
              </div>
    
    
    
    
    
    
    
              <div class="booking-submit-but"><input type="image" name="submit" value="submit" src="images/send-but.jpg" /></div>
    
    
    
    
    
    
    
    <div class="clr"></div>
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
              </div>
    
              
    
              <?
    
    		  }
    
    		  ?>
    
    
    
        <!--end right content --></div>
    
        
    
        </form>
    
    
    
        <div class="clr"></div>
    
    
    
    <!--end main content --></div>
    
    
    
      <div id="footer">
    
    
    
        <div class="footer-left"></div>
    
    
    
        <div class="footer-right-top">Website Designed and built by <a href="http://www.gibsonpixel.com/" target="_blank" class="whiteLink">Gibsonpixel Web Design</a><br />
    
    
    
         High Style Wedding Cars  2012<br />
    
    
    
        </div>
    
    
    
        <div class="footer-right-bot"></div>
    
    
    
            <div class="clr"></div>
    
    
    
    
    
    
    
    <!--end footer --></div>
    
    
    <!--end container --></div>
    
    
    
    </body>
    
    
    
    </html>

  2. #2
    Keeper of the SFL StarLion's Avatar
    Join Date
    Feb 2006
    Location
    Atlanta, GA, USA
    Posts
    3,747
    Mentioned
    64 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by robvr6 View Post
    Hi All,

    I hope the title makes sense - what it is I have a form that a collegue did for me a long time ago and now the owner of the site wants the captcha function removing and I have no idea so I was wondering if someone could give me some pointers, I have added the code from the page below.
    Code:
    					if($_POST['captcha_code'] == $_SESSION['security_code'])
    
    					{
    Remove that, (and it's corresponding }, i'm not even going to try and find it... use an editor with bracket-finding capability

    Then remove the relevant portion of the form code (the actual captcha part) and you should be good.
    Never grow up. The instant you do, you lose all ability to imagine great things, for fear of reality crashing in.

  3. #3
    SitePoint Enthusiast
    Join Date
    Nov 2005
    Location
    Manc, UK
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for replying - I see lots of } roughly where will it be - or would as tou say an editor with bracket finding capability find the closing one? - if so can you reccomend an editor?

    Thanks


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •