<?php  include('dbf.php');
$a=array("1"=>array("210","150","235"),"2"=>array("160","150","285"),"3"=>array("120","150","330"),"4"=>array("80","150","390"),"5"=>array("30","150","425"));
$fields=array("id","name","code_melli","","date");
$s=mysql_query("select * from `ozv` where ip='{$_GET['p']}'"); $fs=mysql_fetch_assoc($s);
 ?>
<a onClick="back('getajax.php')" style="text-decoration:none"><table border="0" width="595" align="center">
	<tr>
		<td background="images/rcart.jpg" height="420" valign="top" >
			<table border="0">
				<tr>
					<td  height="160" >
						<table border="0" width="580" align="center"  dir="rtl">
							<tr>
								<td width="468">
								</td>
								<td width="87" height="160" valign="bottom" align="center">
									<img src="<?php echo 'uplowd/'.$fs['pic']; ?>" height="125" width="86" border="0">
								</td>
								<td width="24">
								</td>
							</tr>
						</table>
					</td>
				</tr>
				<?php for($i=1;$i<6;$i++){  $i1=$i-1; $b=$fields[$i1];  ?>
				<tr>
					<td>
						<table border="0">
							<tr>
								<td width="<?php echo $a[$i][0]; ?>">
								</td>
								<td width="<?php echo $a[$i][1]; ?>" <?php if($i=='1'){?> valign="top" height="25" <?php } else { ?> height="30" <?php } ?> align="right">
									<span class="blacktext"><b><?php if($b=='name') echo $fs['fname'].' '.$fs['lname']; else  echo $fs[$b]; ?></b></b></span>
								</td>
								<td width="<?php echo $a[$i][2]; ?>">
								</td>
							</tr>
						</table>
					</td>
				</tr>
				<?php } ?>
			</table><br><br>
		</td>
	</tr>
	<tr>
		<td height="450">
		</td>
	</tr>
	<tr>
		<td background="images/pcart.jpg" height="420" width="595"  valign="botton" >
		</td>
	</tr>
</table></a>