$i=1;
while($post=mysql_fetch_array($q)){
echo "<tr><td>".$post[id]."</td><td>".$post[name]."</td><td><span class='text_gr' id='time_str".$i."'>".time_left2($post['time']-$time)."</span></td><td>.....</td></tr>";
$i++;
}
$fk_merchant_id = '1234';
$fk_merchant_key = 'c54wgdfgd4';
if (isset($_GET['prepare_once'])) {
$hash = md5($fk_merchant_id.":".$_GET['oa'].":".$fk_merchant_key.":".$_GET['l']);
echo '<hash>'.$hash.'</hash>';
exit;
}