View file sdark.mobi/adm_root/logi.php

File size: 731B
<?php
require_once '../core/system.php';
echo moder();
$header = 'Просмотр логов';
require_once '../core/head.php';

$q = mysql_query("SELECT * FROM `logi` WHERE `user_id`='".intval($_GET['id'])."'  ORDER BY `time` ");

while($post = mysql_fetch_array($q)) {
$go=floor($post['kol']/100);
$kol=$post['kol'];
$b=mb_strlen($kol);
$s=$kol[$b-2].$kol[$b-1];
echo'<div class="head" style="padding:4px;">'.$post['text'].' ('.vremja($post[time]).')<span class="float-right">'.$post['kto'].' <img src="/images/icon/gold.png"/>'.$go.' <img src="/images/icon/silver.png"/>'.$s.' </span></div><hr> ';
}
$avto = mysql_num_rows($q);
if($avto==0){echo"<div class='foot'>Нет логов</div>";}

require_once '../core/foot.php';
?>