Файл: public_html/waitpay.php
Строк: 40
<? include('header.php'); ?>
<h3>.::В ожидании выплат::.</h3>
<br>
<br>
<div id="tables">
<table border=1 cellspacing="0" cellpadding="0" width=100%>
<tr>
<th class="top" align="center" width="200">ДатаВремя запроса</th>
<th class="top" align="center" width="300">Имя пользователя</th>
<th class="top" align="center" width="100">Сумма выплаты</th>
</tr>
<?
require('config.php');
$tabla = mysql_query("SELECT datetime,username,money FROM tb_payme ORDER BY datetime DESC");
while ($registro = mysql_fetch_array($tabla))
{
echo "
<tr>
<td align="center" width="200">". $registro["datetime"] ."</td>
<td align="center" width="300" style="font-weight: bold;">". $registro["username"] ."</td>
<td align="center" width="100" style="color: #ff0000; font-weight: bold;">". $registro["money"] ."</td>
</tr>";
}
?>
</table>
</div>
<?
$res=mysql_query("select valutaname from tb_site where id='1'");
$res=mysql_fetch_array($res);
$vn=$res["valutaname"];
$res=mysql_query("select count(id) as kolvo, sum(money) as allpay from tb_payme");
$res=mysql_fetch_array($res);
mysql_close($con);
?>
<br>
<span style="font-weight: bold; font-size: 14px; text-align: left;">
В ожидании <span style="color: #ff0000;"><?=$res["kolvo"] ?></span> выплат на сумму <span style="color: #ff0000;"><?=$res["allpay"] ?></span> <?=$vn ?>
</span>
<!--footer starts here-->
<? include('footer.php'); ?>