rendered paste body<form name="contactform" method="post" action="http://www.autobiometrics.com/autobio.php" id="contactform">
<input type="hidden" value="Visitors_First_Name,Visitors_Last_Name,email,Message" name="required_fields" /> <input type="hidden" value="header.php" name="dodosmail_header_file" /> <input type="hidden" value="footer.php" name="dodosmail_footer_file" /> <input type="hidden" value="<?php echo'$subject'; ?>" name="subject" /> <input type="hidden" value="yes" name="check_email_address" /> <input type="hidden" value="yes" name="autoresponse" /> <input type="hidden" value="Autobiometrics" name="owner_name" /> <input type="hidden" value="Autobiometrics Auto Response" name="response_subject" /> <input type="hidden" value="Thank you for interest in Autobiometrics.
We value your input. and will get back to you within 1 to 3 working days
Best Regards,
Steve Ormand, Owner
Autobiometrics.Com" name="response_mail" />
<table width="100%" height="100%" cellspacing="3" cellpadding="4" border="0" align="center">
<tbody>
<tr>
<td valign="top" align="center" colspan="2" style="vertical-align: top;"><span class="text">Fill out the email form completely, so that someone may<br />
contact you and discuss your needs.<br />
<span style="color: rgb(255, 0, 0);">(Fields Marked With An Asterisk Are Required)</span></span></td>
</tr>
<?php
// Begin the link in Send to stuff
// This sections runs the to_email and subject when a user click a link on another page and is sent to the contact form
if(isset($_GET["send_to"])&& $_GET["send_to"] == "info" OR $_GET["send_to"] == "sales" OR $_GET["send_to"] == "techsupport" OR $_GET["send_to"] == "orders" OR $_GET["send_to"] == "dealers" OR $_GET["send_to"] == "marketing" OR $_GET["send_to"] == "media" OR $_GET["send_to"] == "programming"){
$to_email = $_GET["send_to"];
echo"<input type=\"hidden\" value=\"";
echo $to_email; echo"\" name=\"to_email\" />";
$subject = $dynamicSubject;
echo"<input type=\"hidden\" value=\"";
echo $subject; echo"\" name=\"subject\" />";
echo"<tr valign=\"middle\" align=\"left\">
<td align=\"right\" class=\"text\"><strong>Send To:</strong></td>
<td class=\"text\">";
if($_GET["send_to"] == "info")
$send_name = "General Information";
$dynamicSubject = "AutoBiometrics General Information Request";
if($_GET["send_to"] == "sales")
$send_name = "Online Sales";
$dynamicSubject = "AutoBiometrics Online Sales Inquiry";
if($_GET["send_to"] == "techsupport")
$send_name = "Hardware Support";
$dynamicSubject = "AutoBiometrics Hardware Tech Support Request";
if($_GET["send_to"] == "orders")
$send_name = "Orders";
$dynamicSubject = "AutoBiometrics Ordering Error or Information Request";
if($_GET["send_to"] == "dealers")
$send_name = "Dealer Inquiries";
$dynamicSubject = "AutoBiometrics Dealer Inquiry";
if($_GET["send_to"] == "marketing")
$send_name = "Promotions/Marketing";
$dynamicSubject = "AutoBiometrics Promotions or Marketing Request";
if($_GET["send_to"] == "media")
$send_name = "Media";
$dynamicSubject = "AutoBiometrics Media Request";
if($to_email == "programming") $subject = "AutoBiometrics Custom Programming Request";
$dynamicSubject = "AutoBiometrics Custom Programming Request";
echo"<strong>";
echo $send_name;
echo"</strong>";
echo"</td>
</tr>
<tr valign=\"middle\" align=\"left\">
<td align=\"right\" class=\"text\"><strong>Subject:</strong></td>
<td class=\"text\"><strong>";
echo $dynamicSubject;
echo"</strong>";
echo"</td>
</tr>";
//ok so we know they didnt get to the form via a link with a send_to variable so lets make some subject lines to go with the drop down menu that selects the user and or dept.
} else {
if($to_email == "info") $subject = "AutoBiometrics General Information Request";
if($to_email == "sales") $subject = "AutoBiometrics Online Sales Inquiry";
if($to_email == "techsupport") $subject = "AutoBiometrics Hardware Tech Support Request";
if($to_email == "orders") $subject = "AutoBiometrics Ordering Error or Information Request";
if($to_email == "dealers") $subject = "AutoBiometrics Dealer Inquiry";
if($to_email == "marketing") $subject = "AutoBiometrics Promotions or Marketing Request";
if($to_email == "media") $subject = "AutoBiometrics Media Request";
if($to_email == "programming") $subject = "AutoBiometrics Custom Programming Request";
echo"<input type=\"hidden\" value=\"";
echo $subject; echo"\" name=\"subject\" />";
?>
<tr valign="middle" align="left">
<td align="right" class="text">Send Email To:</td>
<td class="text"><select name="to_email" id="to_email">
<option selected="selected" value="info">General Information</option>
<option value="sales">Online Sales</option>
<option value="techsupport">Hardware Support</option>
<option value="orders">Orders</option>
<option value="dealers">dealer Inquiries</option>
<option value="marketing">Promotions/Marketing</option>
<option value="media">Media/Press Kits</option>
<option value="programming">Custom Programming</option>
</select> </td>
</tr>
<?php } ?>
<tr valign="middle" align="left">
<td align="right" class="text"><strong>First Name:</strong></td>
<td class="text"><input type="text" name="Visitors_First_Name" size="30" id="Visitors_First_Name" class="textbox" /> <font color="#ff0000"><strong>*</strong></font></td>
</tr>
<tr valign="middle" align="left">
<td align="right" class="text"><strong>Last Name:</strong></td>
<td class="text"><input type="text" name="Visitors_Last_Name" size="30" id="Visitors_Last_Name" class="textbox" /> <font color="#ff0000"><strong>*</strong></font></td>
</tr>
<tr valign="middle" align="left">
<td align="right" class="text"><strong>Email Address:</strong></td>
<td class="text"><input type="text" name="email" size="30" class="textbox" /> <font color="#ff0000"><strong>*</strong></font></td>
</tr>
<tr valign="middle" align="left">
<td align="right" class="text"><strong>Area Code & Phone:</strong></td>
<td class="text"><input type="text" name="Phone_Number" size="30" maxlength="14" id="Phone_Number" class="textbox" /></td>
</tr>
<tr valign="middle" align="left">
<td align="right" class="text"><strong>Address Line 1:</strong></td>
<td class="text"><input type="text" name="Address_Line1" size="30" id="Address_Line1" class="textbox" /></td>
</tr>
<tr valign="middle" align="left">
<td align="right" class="text"><strong>Address Line 2:</strong></td>
<td class="text"><input type="text" name="Address_Line2" size="30" id="Address_Line2" class="textbox" /></td>
</tr>
<tr valign="middle" align="left">
<td align="right" class="text"><strong>City:</strong></td>
<td class="text"><input type="text" name="City" size="30" class="textbox" /></td>
</tr>
<tr valign="middle" align="left">
<td align="right" class="text"><strong>State:</strong></td>
<td class="text"><input type="text" name="State" size="30" class="textbox" /></td>
</tr>
<tr valign="middle" align="left">
<td align="right" class="text"><strong>Zipcode:</strong></td>
<td class="text"><input type="text" name="Zipcode" size="30" maxlength="10" id="Zipcode" class="textbox" /></td>
</tr>
<tr valign="middle" align="center">
<td height="27" colspan="2" class="text">Message Area is required for all correspndance.<br />
If you are inquiring about employment please paste your resume in the text area below</td>
</tr>
<tr valign="top" align="center">
<td colspan="2" class="text"><strong>Your Message or Question:<br />
</strong><strong><textarea name="Message" cols="45" rows="6" id="Message" class="textbox"></textarea> </strong></td>
</tr>
<tr valign="top" align="center">
<td height="34" colspan="2"><input type="submit" value="Submit Form" name="Submit" class="submit" /> <input type="reset" value="Reset" name="Reset" id="Reset" class="submit" /> </td>
</tr>
</tbody>
</table>
</form>