Файл: vsime.com/blacklist/inc/act_info.php
Строк: 24
<?php
$id = mysqli_fetch_array(mysqli_query($dbi, "SELECT * FROM `blacklist` WHERE `id` = '".intval($_GET['id'])."' AND `id_user` = '$user[id]'"));
if ($id == NULL)
{
$title .= ' - Ошибка!';
ex_head();
$error[] = "Запись не обнаружена.";
show_errors();
ex_foot();
}
$title .= ' - Информация';
ex_head();
$ank = profile($id['id_ank']);
$tt = ($id['time_to'] - $id['time'])/3600;
echo "<div class='list'>n";
echo "Пользователь: ";
echo profile_icon($ank['id']).profile_nick($ank['id']).profile_medal($ank['id']);
echo "<br/>n";
echo "</div>n";
echo "<div class='list'>n";
echo "Причина: ".output_text($id['msg'], $user['id'])."<br/>n";
echo "</div>n";
echo "<div class='list'>n";
echo "Время: ".($id['forever']==0?"$tt ч.":"Навсегда")."<br/>n";
echo "</div>n";
echo "<div class='mod_grad'>n";
echo "$config[code_delete]<a href='?act=delete&id=$id[id]'>Удалить</a><br/>n";
echo "</div>n";
echo "<div class='foot'>n";
echo image_back()." <a href='/blacklist'>Назад</a>n";
echo "</div>";
ex_foot();
?>