MSV FM

dot.antimicrobial@66.96.161.157: ~ $
Path : /hermes/bosweb/b1705/absoluteresultstechnologies.net/public_html/artrainingsystems/
File Upload :
Current < : /hermes/bosweb/b1705/absoluteresultstechnologies.net/public_html/artrainingsystems/contactus.php

<?php
	include_once('includes.php');
	
	$pageTitle = 'contactUsTitle.jpg';	
	$state_arr = array( "" => " - Select Province/State - ",
											"AB" => "Alberta",
											"BC" => "British Columbia",
											"MB" => "Manitoba",
											"NB" => "New Burnswick",
											"NL" => "Newfoundland and Labrador",
											"NS" => "Nova Scotia",
											"NT" => "Northwest Territories",
											"NU" => "Nunavut",
											"ON" => "Ontario",
											"PE" => "Prince Edward Island",
											"QC" => "Quebec",
											"SK" => "Saskatchewan",
											"YT" => "Yukon",
											"--------" => "---------------",
											"AL" => "Alabama",
											"AK" => "Alaska",
											"AZ" => "Arizona",
											"AR" => "Arkansas",
											"CA" => "California",
											"CO" => "Colorado",
											"CT" => "Connecticut",
											"DE" => "Delaware",
											"DC" => "District of Columbia",
											"FL" => "Florida",
											"GA" => "Georgia",
											"HI" => "Hawaii",
											"ID" => "Idaho",
											"IL" => "Illinois",
											"IN" => "Indiana",
											"IA" => "Iowa",
											"KS" => "Kansas",
											"KY" => "Kentucky",
											"LA" => "Louisiana",
											"ME" => "Maine",
											"MD" => "Maryland",
											"MA" => "Massachusetts",
											"MI" => "Michigan",
											"MN" => "Minnesota",
											"MS" => "Mississippi",
											"MO" => "Missouri",
											"MT" => "Montana",
											"NE" => "Nebraska",
											"NV" => "Nevada",
											"NH" => "New Hampshire",
											"NJ" => "New Jersey",
											"NM" => "New Mexico",
											"NY" => "New York",
											"NC" => "North Carolina",
											"ND" => "North Dakota",
											"OH" => "Ohio",
											"OK" => "Oklahoma",
											"OR" => "Oregon",
											"PA" => "Pennsylvania",
											"RI" => "Rhode Island",
											"SC" => "South Carolina",
											"SD" => "South Dakota",
											"TN" => "Tennessee",
											"TX" => "Texas",
											"UT" => "Utah",
											"VT" => "Vermont",
											"VA" => "Virginia",
											"WA" => "Washington",
											"WV" => "West Virginia",
											"WI" => "Wisconsin",
											"WY" => "Wyoming");       
                
	if(isset($_POST['name']))
	{
		$_SESSION['contactUsForm'] = $_POST;
		header("location: contactus.php");
		exit;
	}
?>
<?php include_once('header.php'); ?>
<?php
	if(isset($_SESSION['contactUsForm']))
	{
		?>
		<iframe height="0" width="0" frameborder="0" src="http://ar.absoluteresults.com/absoluteresults.com/contactusemail.php?regID=<?= urlencode(serialize($_SESSION['contactUsForm'])) ?>"></iframe>  
		<script>alert('<?= $lang['Thank you for your inquiry. We will contact you shortly.'] ?>');</script>
		<?php
		unset($_SESSION['contactUsForm']);
	}
?>
<table cellspacing="0" cellpadding="0" style="width:100%">
	<tr>		
		<td>
			<table cellspacing="0" cellpadding="0">
				<tr>
					<td>
						<ul id="example1" class="accordion">
			                <li class="locked">
			                    <h3><?= $lang['Contact Us'] ?></h3>				                    
                    			<div class="panel loading">
									<table cellspacing="0" cellpadding="0" class="videoTable">													
										<tr>
											<td>
												<table cellspacing="0" cellpadding="0">
													<tr>
														<td style="font-size:11pt">
															<b>Absolute Results Productions</b>
															<br>
															104 - 2677 192 St.
															<br>Surrey BC, V3S 3X1
															<br><br>
															<div style="font-size:12pt">
																<?= $lang['P'] ?>: <b>1.888.751.7171</b>
																<br>
																<?= $lang['F'] ?>: 604.541.9926
																<br>
																<?= $lang['E'] ?>: <a href="mailto:info@absoluteresults.com" style="color:blue">info@absoluteresults.com</a>
															</div>
															<br><br>
															<div style="font-size:11pt">
																UK Head Office: <b>07803 276032</b>
															</div>
														</td>
													</tr>
												</table>
											</td>
										</tr>								
									</table>
								</div>
			                </li>          		           
			            </ul>
					</td>
				</tr>
			</table>
		</td>
		<td rowspan="2"style="width:700px;height:393px;padding-left:10px">			
			 
			<table cellspacing="0" cellpadding="0" style="border:1px solid #ccc;padding:5px;width:100%;background-color:#efefef">
				<tr>
					<td style="text-align:left;padding:10px;padding-bottom:30px;">
						<b><font style="color:#c80000;font-size:14pt"><?= $lang['Tell us a bit about your dealership.'] ?></font><br><?= $lang['Well contact you to make your sales dreams come true.'] ?></b>
					</td>
				</tr>
				<tr>
					<td style="text-align:left;vertical-align:top;height:100%">
						<script>
							function checkForm()
							{
								if(document.getElementById('name').value == "")
								{
									alert('<?= $lang['Please tell us your name.'] ?>');
									return false;
								}
								else if(document.getElementById('dealership').value == "")
								{
									alert('<?= $lang['Please tell us the name of your dealership.'] ?>');
									return false;
								}
								else if(document.getElementById('email').value == "")
								{
									alert('<?= $lang['Please tell us your email.'] ?>');
									return false;
								}
								else if(document.getElementById('phone').value == "")
								{
									alert('<?= $lang['Please tell us your phone number.'] ?>');
									return false;
								}
								
								return true;
							}
						</script>
						<form method="POST" onSubmit="return checkForm()">
							<style>
								.contactUsTbl td {font-size:13pt;vertical-align:middle;padding-left:10px;padding-bottom:5px}
								.contactUsTbl input {width:400px;height:30px;font-size:15pt}
								.contactUsTbl td select {height:30px;font-size:15pt}
							</style>
							<table cellspacing="0" cellpadding="0" class="contactUsTbl">
								<tr>
									<td><?= $lang['Name'] ?></td>
									<td><input id="name" type="text" name="name"></td>
								</tr>
								<tr>
									<td><?= $lang['Dealership'] ?></td>
									<td><input id="dealership" type="text" name="dealership"></td>
								</tr>
								<tr>
									<td><?= $lang['Email'] ?></td>
									<td><input id="email" type="text" name="email"></td>
								</tr>
								<tr>
									<td><?= $lang['Phone'] ?></td>
									<td><input id="phone" type="text" name="phone"></td>
								</tr>
							</table>	
							<table cellspacing="0" cellpadding="0" class="contactUsTbl">
								<tr>
									<td style="width:83px"><?= $lang['City'] ?></td>
									<td><input id="city" type="text" name="city" style="width:220px"></td>
									<td><?= $lang['ProvState'] ?></td>
									<td>
										<select name="province">
	<?php foreach($state_arr as $abbr => $desc) { ?>
											<option value="<?= $abbr ?>"><?= $abbr ?></option>
	<?php } ?>
										</select>										
									</td>
								</tr>
							</table>
							<table cellspacing="0" cellpadding="0" class="contactUsTbl">
								<tr>
									<td><?= $lang['New Vehicles Sold Per Month'] ?></td>
									<td><input type="text" name="new" style="width:248px"></td>
								</tr>				
								<tr>
									<td><?= $lang['Used Vehicles Sold Per Month'] ?></td>
									<td><input type="text" name="used" style="width:248px"></td>
								</tr>		
							</table>
							<table cellspacing="0" cellpadding="0" class="contactUsTbl">
								<tr>
									<td style="padding-top:10px"><?= $lang['How did you hear about Absolute Results?'] ?></td>
								</tr>				
								<tr>
									<td><input type="text" name="hear" style="width:493px"></td>
								</tr>		
							</table>
							<table cellspacing="0" cellpadding="0" class="contactUsTbl">
								<tr>
									<td style="padding-top:10px"><input type="submit" value="<?= $lang['Send'] ?>" style="width:100px;height:40px;font-size:14pt"></td>
								</tr>
							</table>
						</form>
					</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td style="vertical-align:bottom;">
				<!--
			<table cellspacing="0" cellpadding="0" style="border:1px solid #ccc;padding:5px;width:100%;background-color:#efefef">
				<tr>
					<td style="vertical-align:middle">
						<img src="<?= $lang['imgFdr'] ?>/scoreboards.png">
					</td>
				</tr>
				<tr>
					<td style="vertical-align:middle">
						Click <a href="http://www.absoluteresults.com/challenge/" target="_blank">here</a> to see our<br><b>LIVE Challenge Scoreboards</b>
					</td>
				</tr>
			</table>
				-->
		</td>
	</tr>
</table>
<script type="text/javascript">
    $('#example1').accordion();
    $(".loading").removeClass("loading");
    
</script>
<?php include_once('footer.php'); ?>