<? include('checkcookie.php'); ?>
<table class='letter' width='100%' border='0' cellpadding='0' cellspacing='0'>
<tr class='top'>
<td class='empty'>
<center>
<font color="#000000">заказы заданий</font>
</center>
</td>
</tr>
<tr><td align='left' style='padding: 0 10px;'>

<table class='reyt' width='100%' border='0' cellpadding='0' cellspacing='0'>
<thead><tr>
<th align="center">№</th>
<th align="center">Пользователь</th>
<th align="center">Дата</th>
<th align="center">Объем оплаты</th>
<th align="center">Способ</th>
<th align="center">Статус</th>
</tr></thead>

<?

$tabla = mysql_query("SELECT * FROM tb_zakazu where tipo='reklama' ORDER BY id DESC "); 
while ($registro = mysql_fetch_array($tabla)) {
echo "
<tbody><tr>
<td class='value' align='center' >". $registro["id"] ."</td>
<td class='value' align='center' >". $registro["user"] ."</td>
<td class='value' align='center' >". $registro["date"] ."</td>
<td class='value' align='center' >". $registro["amount"] ."</td>
<td class='value' align='center' >". $registro["method"] ."</td>
<td class='value' align='center' >". $registro["status"] ."</td>
</tr>";
?>

<?

}
?>
</tbody></table>
</td></tr>
<tr class='bot'>
<td class='empty'>
</td></tr></table>
<? include('checkcookie.php'); ?>