MSV FM

dot.antimicrobial@66.96.161.157: ~ $
Path : /hermes/sb_web/b2432/suttontamworthevent.com/rsvplexus/
File Upload :
Current < : /hermes/sb_web/b2432/suttontamworthevent.com/rsvplexus/index.php

<?php include_once('includes.php'); ?>
<?php
	if(isset($_GET['saveInfo']))
	{
		foreach($_GET as $k => $v)
		{
			if($k == 'saveInfo') continue;
			$_SESSION['registration']['customer'][$k] = $v;
		}
		exit;
	}
?>
<?php include_once('header.php'); ?>
<style>
	.formTbl th,.formTbl td {text-align:left;font-size:14pt;padding-bottom:2px}
	.formTbl th {padding-right:10px}
	.formTbl th, .formTbl td {color:white}
	.formTbl td input {font-size:16pt;width:300px}
</style>
<script src="scripts/ajax.js" language="javascript"></script>
<script>
	function saveInfo()
	{		
		if(document.getElementById('firstname') != undefined) firstname=encodeURIComponent(document.getElementById('firstname').value);
		if(document.getElementById('lastname') != undefined) lastname=encodeURIComponent(document.getElementById('lastname').value);
		if(document.getElementById('email') != undefined) email=encodeURIComponent(document.getElementById('email').value);
		if(document.getElementById('mobilePhone') != undefined) mobilePhone=encodeURIComponent(document.getElementById('mobilePhone').value);
		if(document.getElementById('postalCode') != undefined) postalCode=encodeURIComponent(document.getElementById('postalCode').value);
		
		htmlStr = 'index.php?saveInfo=&firstname=' + firstname + '&lastname=' + lastname + '&email=' + email + '&mobilePhone=' + mobilePhone + '&postalCode=' + postalCode;
		ajax_do(htmlStr);
	}	
</script>

<div style="height:20px"></div>
			<div style="padding-bottom:8px;background-color:#9e0000">
				<div style="padding:20px;background-color:#efefef;background-image:url('images/topBG.jpg');font-size:14pt;">
<table cellspacing="0" cellpadding="0">
	<tr>
		<td style="vertical-align:middle;color:white;font-family:verdana;font-size:12pt">
			<font style="color:yellow;font-size:14pt"><?= strtoupper($dealerInfo[$_SESSION['registration']['selectedDealer']]['name']) ?></font>
			<br>
			<?= $dealerInfo[$_SESSION['registration']['selectedDealer']]['address'] ?>
			<br>
			<a href="http://<?= $dealerInfo[$_SESSION['registration']['selectedDealer']]['website'] ?>" style="font-size:12pt;color:red"><?= $dealerInfo[$_SESSION['registration']['selectedDealer']]['website'] ?></a>
				
		</td>
		<td style="padding-left:40px">
			<iframe width="560" height="315" src="http://www.youtube.com/embed/D1HBw0Fykoc?wmode=opaque&autoplay=1&loop=1&playlist=KwLOirv0b-Q,gYx7bAsLgzI,RRMnOd5yF1U,RaN__7FwSI4" frameborder="0" allowfullscreen></iframe>
			 <!--
			 <video id="myVideo" class="video-js vjs-default-skin" controls preload="none" width="560" height="315" data-setup="{}">
			    <source src="http://video-js.zencoder.com/oceans-clip.mp4" type='video/mp4' />
			    <source src="http://video-js.zencoder.com/oceans-clip.webm" type='video/webm' />
			    <source src="http://video-js.zencoder.com/oceans-clip.ogv" type='video/ogg' />
			 </video>
			 -->
			<!--
			<table cellspacing="0" cellpadding="0" class="formTbl">
				<tr>
					<th>First Name</th><td><input type="text" id="firstname" name="firstname" onChange="saveInfo()" value="<?= htmlentities($_SESSION['registration']['customer']['firstname']) ?>"></td>
				</tr>
				<tr>
					<th>Last Name</th><td><input type="text" id="lastname" name="lastname" onChange="saveInfo()" value="<?= htmlentities($_SESSION['registration']['customer']['lastname']) ?>"></td>
				</tr>
				<tr>
					<th>Email</th><td><input type="text" id="email" name="email" onChange="saveInfo()" value="<?= htmlentities($_SESSION['registration']['customer']['email']) ?>"></td>
				</tr>
				<tr>
					<th>Mobile Phone</th><td><input type="text" id="mobilePhone" name="mobilePhone" onChange="saveInfo()" value="<?= htmlentities($_SESSION['registration']['customer']['mobilePhone']) ?>"></td>
				</tr>
				<tr>
					<th>Postal Code</th><td><input type="text" id="postalCode" name="postalCode" onChange="saveInfo()" value="<?= htmlentities($_SESSION['registration']['customer']['postalCode']) ?>"></td>
				</tr>
			</table>
			-->
		</td>
	</tr>
</table>
</div>
			</div>
	<br>
	<!-- Add jQuery library -->
	<script type="text/javascript" src="scripts/fancybox/lib/jquery-1.9.0.min.js"></script>

	<!-- Add fancyBox main JS and CSS files -->
	<script type="text/javascript" src="scripts/fancybox/source/jquery.fancybox.js?v=2.1.4"></script>
	<link rel="stylesheet" type="text/css" href="scripts/fancybox/source/jquery.fancybox.css?v=2.1.4" media="screen" />
	
	<script type="text/javascript">
		$(document).ready(function() {
			$(".fancybox").fancybox({
				width:	700,
				height:	350,
				autoSize: false,
				
				beforeLoad : function() {
					return true;
					if(document.getElementById('firstname').value == "")
					{
						alert('Please tell us your name.');
						return false;
					}
					else if(document.getElementById('email').value == "")
					{
						alert('Please tell us your email.');
						return false;
					}
					else if(document.getElementById('mobilePhone').value == "")
					{
						alert('Please tell us your mobile phone.');
						return false;
					}
					else if(document.getElementById('postalCode').value == "")
					{
						alert('Please tell us your postal code.');
						return false;
					}					
				}});
				
				
		});
		
		
		
	</script>
<table cellspacing="0" cellpadding="0">
	<tr>
		<td><a class="fancybox fancybox.iframe" href="cbb.php"><img src="images/cbbButton.jpg" border="0"></a></td>
		<td style="padding:0px 10px"><a class="fancybox fancybox.iframe" href="appointment.php"><img src="images/testDriveButton.jpg" border="0"></a></td>
		<td><a href="<?= $dealerInfo[$_SESSION['registration']['selectedDealer']]['promotions'] ?>" target="_blank"><img src="images/promotionsButton.jpg" border="0"></a></td>
		<!--		
		<td style="padding:0px 10px"><a href="<?= $dealerInfo[$_SESSION['registration']['selectedDealer']]['preapproval'] ?>" target="_blank"><img src="images/approveButton.jpg" border="0"></a></td>
		<td><img src="images/paymentButton.jpg"></td>
		-->
	</tr>
</table>
<br>
<style>
	.smallButtonsTbl {border-collapse:collapse;width:300px}
	.smallButtonsTbl td {}
</style>
<table cellspacing="0" cellpadding="0">
	<tr>
		<td>
			<table cellspacing="0" cellpadding="0" class="smallButtonsTbl">
				<tr>
					<td style="padding:10px;color:yellow;background-image:url('images/topBG.jpg');">
						<b>PRE-OWNED INVENTORY</b>
						<br>
						<a href="<?= $dealerInfo[$_SESSION['registration']['selectedDealer']]['inventory'] ?>" style="color:white;font-size:10pt" target="_blank">Click here to see the our inventory</a>
					</td>
				</tr>
				<tr>
					<td style="height:8px;background-color:#9e0000">
					</td>
				</tr>
			</table>
		</td>
		<td style="padding-left:20px">
			<table cellspacing="0" cellpadding="0" class="smallButtonsTbl">
				<tr>
					<td style="padding:10px;color:yellow;background-image:url('images/topBG.jpg');">
						<b>REGISTER FOR A SPECIAL GIFT</b>
						<br>
						<a class="fancybox fancybox.iframe" href="appointment.php" style="color:white;font-size:10pt">Click here to register for a <b>Test Drive</b></a>
					</td>
				</tr>
				<tr>
					<td style="height:8px;background-color:#9e0000">
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
<br><br>
<!--
<div style="font-size:35pt;font-weight:bold;color:#9e0000">1-800-987-6543</div>
<div style="font-size:18pt;font-weight:bold;">or TEXT us at 604-321-6549 for more info.</div>
-->
<?php
	if(!isset($_SESSION['webhit']))
	{
		$_SESSION['webhit'] = true;
?>
		<iframe height="0" width="0" src="http://ar.absoluteresults.com/misc/webHits.php?url=<?= $_SESSION['registration']['selectedDealer'] ?>&dealer=<?= $_SESSION['registration']['selectedDealer'] ?>&eventID=<?= $dealerInfo[$_SESSION['registration']['selectedDealer']]['eventID'] ?>" frameborder="0"></iframe>  
<?php
	}
?>		

<?php include_once('footer.php'); ?>