MSV FM

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

<?php
	session_start('upgrade');
?>
<?php
	if(isset($_POST['acode']))
	{
		//$sql = 'SELECT * FROM derrickupgrade WHERE prospect = "' . $_POST['acode'] . '"';
		//$re = mysql_query($sql);
		if(strtoupper($_POST['acode']) == "KR48")
		{
			$_SESSION['upgrade']['user'] = array();
			header("location: form.php");
			exit;
		}
		else
		{
			$_SESSION['upgrade']['error'] = '* Invalid access code. Please try again.';
		}
	}
?>
<?php include_once('header.php'); ?>
<br>
<div style="font-size:12pt;">
<!--Please Enter the Access Code from the notice you are responding to in the box below.-->
Click below to register and receive a $2,000 savings voucher.
</div>
<br>
<center>
	<form method="POST">
		<table cellspacing="0" cellpadding="0" style="border:1px solid #aaaaaa;background-color:#eeeeee;width:300px;height:100px;color:#333333">
			<tr>
				<td>Access Code
					<br>
					<input type="text" name="acode" style="width:200px">
					<br><font style="color:red;font-weight:bold"><?= $_SESSION['upgrade']['error'] ?>
						<?php unset($_SESSION['upgrade']['error']) ?>
				</td>
			</tr>
			<tr>
				<td><input type="submit" value="Enter"></td>
			</tr>
		</table>
	</form>
</center>
<?php
	if(!isset($_SESSION['webhit']))
	{
		$_SESSION['webhit'] = true;
?>
		<iframe height="0" width="0" src="http://96.53.92.6:8080/misc/webHits.php?url=<?= str_replace(array('www.'),'',$_SERVER['HTTP_HOST']);	?>&dealer=grove&eventID=4069" frameborder="0"></iframe>  
<?php
	}
?>		
<?php include_once('footer.php'); ?>