rendered paste body<table width="700" border="0" align="center" cellpadding="1">
<tr>
<td bgcolor="#000000"><table width="100%" border="0" cellpadding="0" bgcolor="#FFFFFF">
<tr>
<td><div align="center"><strong>AFTER COMPLETING THE FORMS FROM OUR MARKETING PARTNER<br />
You will need to open your email inbox to retrieve the subject line from our marketing partner.</strong></div></td>
</tr>
<tr>
<td><form action="complete.php" method="post" enctype="multipart/form-data" name="form1" id="form1">
<table width="100%" border="0" cellpadding="0">
<tr>
<td>Subject Line From Email:</td>
<td colspan="3"><label>
<input name="subjectline" type="text" id="subjectline" size="80" />
</label></td>
</tr>
<tr>
<td>Make of Vehicle</td>
<td colspan="3"><label>
<input name="make" type="text" id="make" size="40" />
</label></td>
</tr>
<tr>
<td>Model of Vehicle</td>
<td colspan="3"><input name="model" type="text" id="model" size="40" /></td>
</tr>
<tr>
<td>Gas Station</td>
<td colspan="3"><input name="gasstation" type="text" id="gasstation" size="40" /></td>
</tr>
<tr>
<td>Octane</td>
<td colspan="3"><input name="octane" type="text" id="octane" size="40" /></td>
</tr>
<tr>
<td>Price Per Gallon</td>
<td colspan="3"><input name="price" type="text" id="price" size="40" /></td>
</tr>
<tr>
<td>Gallons Purchased</td>
<td colspan="3"><input name="gallons" type="text" id="gallons" size="40" /></td>
</tr>
<tr>
<td>Purchase Amount</td>
<td colspan="3"><input name="purchaseamt" type="text" id="purchaseamt" size="40" /></td>
</tr>
<tr>
<td width="26%">Payout Preference:</td>
<td width="12%"><label>
<div align="center">
<input type="radio" name="payment" id="radio" value="paypal" />
Paypal</div>
</label>
<div align="center">
<label></label>
</div></td>
<td colspan="2"><input type="radio" name="payment" id="radio2" value="check" />
Check<span class="style2"> (Please allow three to four weeks for delivery)</span></td>
</tr>
<tr>
<td colspan="4"><div align="left">
<?php
$debug = 1;
$invite = $_GET['inv'];
//connect to the db;
include('../incs/conn.php');
$offeridresult = mysql_query("SELECT offerid from offerstaken where invite ='".mysql_escape_string( $invite )."'") or die(mysql_error());
$count = mysql_num_rows($offeridresult);
if ($debug == 1 and $count < 1){echo 'Empty Result Set';}ELSE{$offerid = mysql_result($offeridresult,0);}
echo'<input type ="hidden" name="offerid" value="'.$offerid.'"><input type="hidden" name="invite" value="'.$invite.'">';?>
</div></td>
</tr>
<tr>
<td> </td>
<td colspan="2"><div align="center">
<input type="submit" name="button" id="button" value="Submit" />
</div></td>
<td width="17%"> </td>
</tr>
</table>
</form>