Файл: mylaf.ru/info.php
Строк: 579
<?
include_once 'sys/inc/start.php';
include_once 'sys/inc/compress.php';
include_once 'sys/inc/sess.php';
include_once 'sys/inc/home.php';
include_once 'sys/inc/settings.php';
include_once 'sys/inc/db_connect.php';
include_once 'sys/inc/ipua.php';
include_once 'sys/inc/fnc.php';
include_once 'sys/inc/user.php';
$div="gmenu";
$div2="line";
if (isset($user))$ank['id']=$user['id'];###############
if (isset($_GET['id']))$ank['id']=intval($_GET['id']);#
if ($ank['id']==0)
{
$ank=get_user($ank['id']);
$set['title']="Ощибка!";
include_once 'sys/inc/thead.php';
title();
echo "<div class='err'>Ощибка!</div>n";
include_once 'sys/inc/tfoot.php';
exit;
}
$ank=get_user($ank['id']);
if(!$ank){header("Location: /index.php?".SID);exit;}
$ank['rating']=intval(@mysql_result(mysql_query("SELECT SUM(`rating`) FROM `user_voice2` WHERE `id_kont` = '$ank[id]'"),0));
$set['title']="".$_SERVER['HTTP_HOST']." - $ank[nick]"; // заголовок страницы
include_once 'sys/inc/thead.php';
title();
$sql = mysql_query("SELECT * FROM `blacklist` WHERE `user` = $ank[id] AND `lol` = $user[id];");
if(mysql_num_rows($sql) !=0 AND $user['level'] <3){
echo "<div class='err_'>Вы не можете просматривать страницу обитателя <b>$ank[nick]</b>. Вы добавлены в его черный список!</div>";
include_once 'sys/inc/tfoot.php';
exit;
}
$mod_file=H.'mods/birja_pitomcev/info1.php';
if(is_file($mod_file))include $mod_file;
if (mysql_result(mysql_query("SELECT COUNT(*) FROM `ban` WHERE `id_user` = '$ank[id]' AND `time` > '$time'"), 0)!=0)
{
echo "<div class='err'>n";
$q=mysql_query("SELECT * FROM `ban` WHERE `id_user` = '$ank[id]' AND `time` > '$time' ORDER BY `time` DESC LIMIT 5");
while ($post = mysql_fetch_array($q))
{
echo "<u>Обитатель <b>$ank[nick]</b> забанен</u><br/>n";
$q=mysql_query("SELECT * FROM `ban` WHERE `id_user` = '$ank[id]' AND `time` > '$time' ORDER BY `time` DESC LIMIT 5");
while ($post=mysql_fetch_assoc($q))
{
$kto=get_user($post['id_ban']);
echo "<u>Модератором:</u> <a href='/info.php?id=$kto[id]'>$kto[nick]</a><br />n";
echo "<u>Причина бана:</u> <b>".output_text($post['prich'])."</b><br />n";
$timediff=$test;
$oneMinute=60;
$oneHour=60*60;
$oneDay=60*60*24;
$dayfield=floor($timediff/$oneDay);
$hourfield=floor(($timediff-$dayfield*$oneDay)/$oneHour);
$minutefield=floor(($timediff-$dayfield*$oneDay-$hourfield*$oneHour)/$oneMinute);
$secondfield=floor(($timediff-$dayfield*$oneDay-$hourfield*$oneHour-$minutefield*$oneMinute));
$sDaysLeft=$dayfield;
$sDaysText = "дней";
$nDaysLeftLength =strlen($sDaysLeft);
$d_1=substr($sDaysLeft,-1,1);
if (substr($sDaysLeft,-2,1) != 1 && $nDaysLeftLength>1)
{
if ($d_1 == 2 || $d_1== 3 || $d_1== 4)
{
$sDaysText = "дня";
}
elseif ($d_1== 1)
{
$sDaysText = "день";
}
}
if ($nDaysLeftLength==1)
{
if ($d_1==2 || $d_1== 3 || $d_1== 4)
{
$sDaysText = "дня";
}
elseif ($d_1== 1)
{
$sDaysText = "день";
}
}
$sHoursLeft=$hourfield;
$sHoursText = "часов";
$nHoursLeftLength = strlen($sHoursLeft);
$h_1=substr($sHoursLeft,-1,1);
if (substr($sHoursLeft,-2,1) != 1 && $nHoursLeftLength>1)
{
if ($h_1== 2 || $h_1== 3 || $h_1== 4)
{
$sHoursText = "часа";
}
elseif ($h_1== 1)
{
$sHoursText = "час";
}
}
if ($nHoursLeftLength==1)
{
if ($h_1== 2 || $h_1== 3 || $h_1== 4)
{
$sHoursText = "часа";
}
elseif ($h_1== 1)
{
$sHoursText = "час";
}
}
$sMinsLeft =$minutefield;
$sMinsText = "минут";
$nMinsLeftLength = strlen($sMinsLeft);
$m_1=substr($sMinsLeft,-1,1);
if ($nMinsLeftLength>1 && substr($sMinsLeft,-2,1) != 1)
{
if ($m_1== 2 || $m_1== 3 || $m_1== 4)
{
$sMinsText = "минуты";
}
else if ($m_1== 1)
{
$sMinsText = "минута";
}
}
if ($nMinsLeftLength==1)
{
if ($m_1== 2 || $m_1==3 || $m_1== 4)
{
$sMinsText = "минуты";
}
elseif ($m_1== "1")
{
$sMinsText = "минута";
}
}
$sSecsLeft = $secondfield;
$sSecsText = "секунд";
$s_1=substr($sSecsLeft,-1,1);
$nSecsLeftLength = strlen($sSecsLeft);
if (substr($sSecsLeft,-2,1)!= 1 && $nSecsLeftLength>1)
{
if ($s_1== 2 || $s_1== 3 || $s_1== 4)
{
$sSecsText = "секунды";
}
elseif ($s_1== 1)
{
$sSecsText = "секунда";
}
}
if ($nSecsLeftLength==1)
{
if ($s_1== 2 || $s_1== 3 || $s_1== 4)
{
$sSecsText = "секунды";
}
elseif ($sSecsLeft== "1")
{
$sSecsText = "секунда";
}
}
if($sDaysLeft==0)$sDaysLeft='';
if($sDaysLeft==0)$sDaysText='';
if($sHoursLeft==0)$sHoursLeft='';
if($sHoursLeft==0)$sHoursText='';
if($sMinsLeft==0)$sMinsLeft='';
if($sMinsLeft==0)$sMinsText='';
$displaystring="".$sDaysLeft." ".$sDaysText." ".$sHoursLeft." ".
$sHoursText." ".
$sMinsLeft." ".
$sMinsText." ".
$sSecsLeft." ".
$sSecsText;
if ($timediff<0) $displaystring='';
if($timediff>0)$ss=' ';
if($timediff<0)$ss='';
echo "<u>Наказание закончится через:</u> <b>$ss $displaystring</b><br />n";
}
if ($user['id']!=$ank['id']){
if (user_access('user_ban_set') || user_access('user_ban_set_h') || user_access('user_ban_unset'))
echo "<a href='/system_panel/ban.php?id=$ank[id]'>Разбанить</a><br />n";
echo "</div>n";
}}}else{
if(isset($user) && $user['id']!=$ank['id']){
if(mysql_result(mysql_query("SELECT COUNT(*) FROM `my_guests` WHERE `id_ank` = '$ank[id]' AND `id_user`='$user[id]' LIMIT 1"),0)==0){
mysql_query("INSERT INTO `my_guests` (`id_ank`, `id_user`, `count`,`time`) VALUES ('$ank[id]', '$user[id]', '1', '$time')");
mysql_query("INSERT INTO `jurnal` (`id_user`, `id_kont`, `msg`, `time`) VALUES ('0', '$ank[id]', 'Вашу страничку посетил [url=/my_guests]новый гость[/url]', '$time')");
} else {
$guest=mysql_fetch_array(mysql_query("SELECT * FROM `my_guests` WHERE `id_ank` = '$ank[id]' AND `id_user`='$user[id]' LIMIT 1"));
mysql_query("UPDATE `my_guests` SET `count` = '".($guest['count']+1)."', `time`='$time' WHERE `id` = '$guest[id]' LIMIT 1");
}
}
if (isset($user) && $user['id']!=$ank['id'])
{
mysql_query("UPDATE `user` SET `prosm` = '".($ank['prosm']+1)."' WHERE `id` = '$ank[id]' LIMIT 1");
}
if (isset($_GET['rating']) && isset($user) && $user['id']!=$ank['id'] && $user['balls']>=50 && mysql_result(mysql_query("SELECT SUM(`rating`) FROM `user_voice2` WHERE `id_kont` = '$user[id]'"),0)>=0)
{
$my_r=intval(@mysql_result(mysql_query("SELECT `rating` FROM `user_voice2` WHERE `id_user` = '$user[id]' AND `id_kont` = '$ank[id]'"),0));
if ($my_r>'0'){
msg('Вы уже голосовали');
}else{
$new_r=min(max(@intval($_GET['rating']),1),15);
mysql_query("DELETE FROM `user_voice2` WHERE `id_user` = '$user[id]' AND `id_kont` = '$ank[id]' LIMIT 1");
if ($new_r)
mysql_query("INSERT INTO `user_voice2` (`rating`, `id_user`, `id_kont`) VALUES ('$new_r','$user[id]','$ank[id]')");
$ank['rating']=intval(mysql_result(mysql_query("SELECT SUM(`rating`) FROM `user_voice2` WHERE `id_kont` = '$ank[id]'"),0));
mysql_query("UPDATE `user` SET `rating` = '$ank[rating]' WHERE `id` = '$ank[id]' LIMIT 1");
if ($new_r==1)
mysql_query("INSERT INTO `jurnal` (`id_user`, `id_kont`, `msg`, `time`) values('0', '$ank[id]', '[url=/info.php?id=$user[id]]$user[nick][/url] Проголосовал(а)! Оценка +1', '$time')");
if ($new_r==2)
mysql_query("INSERT INTO `jurnal` (`id_user`, `id_kont`, `msg`, `time`) values('0', '$ank[id]', '[url=/info.php?id=$user[id]]$user[nick][/url] Проголосовал(а)! Оценка +2', '$time')");
if ($new_r==3)
mysql_query("INSERT INTO `jurnal` (`id_user`, `id_kont`, `msg`, `time`) values('0', '$ank[id]', '[url=/info.php?id=$user[id]]$user[nick][/url] Проголосовал(а)! Оценка +3', '$time')");
if ($new_r==4)
mysql_query("INSERT INTO `jurnal` (`id_user`, `id_kont`, `msg`, `time`) values('0', '$ank[id]', '[url=/info.php?id=$user[id]]$user[nick][/url] Проголосовал(а)! Оценка +4', '$time')");
if ($new_r==5)
mysql_query("INSERT INTO `jurnal` (`id_user`, `id_kont`, `msg`, `time`) values('0', '$ank[id]', '[url=/info.php?id=$user[id]]$user[nick][/url] Проголосовал(а)! Оценка +5', '$time')");
if ($new_r==15)
mysql_query("INSERT INTO `jurnal` (`id_user`, `id_kont`, `msg`, `time`) values('0', '$ank[id]', '[url=/info.php?id=$user[id]]$user[nick][/url] Проголосовал(а)! Оценка +15', '$time')");
msg('Ваше мнение о пользователе успешно изменено');
}}
if ((!isset($_SESSION['refer']) || $_SESSION['refer']==NULL)
&& isset($_SERVER['HTTP_REFERER']) && $_SERVER['HTTP_REFERER']!=NULL &&
!preg_match('#info.php#',$_SERVER['HTTP_REFERER']))
$_SESSION['refer']=str_replace('&','&',preg_replace('#^http://[^/]*/#','/', $_SERVER['HTTP_REFERER']));
echo "<table style='width:100%' cellspacing='0' cellpadding='0'><tbody><tr>";
echo "<td class='block'><a href='/ank.php?id=$ank[id]'>Анкета</a></td><td class='block'><a href='/active.php?id=$ank[id]'>Активность</a></td></tr></tbody></table>";
echo "<div class='forum'>n";
echo "".us($ank['id'])."n";
echo "<br/>n";
if ($ank['level']>0)echo "Должность: <b>".$ank['group_name']."</b><br/>";
if ($ank['byname']!=NULL)echo "Прозвище:<b> ".htmlspecialchars($ank['byname'])."</b>";
echo "</div>";
echo "<div style='position:relative;'>";
avatar($ank['id']);
$r=mysql_query("SELECT * FROM `rank` WHERE `id_user` = '$ank[id]' ORDER BY `time` DESC LIMIT 1");
while($post=mysql_fetch_array($r)){
$rank=mysql_fetch_array(mysql_query("SELECT * FROM `rank_list` WHERE `id` = '$post[id_rank]' LIMIT 1"));
echo "<a href='/rank/?id=$ank[id]'><img src='/rank/img_rank/$rank[id].png' alt='*' style='position:absolute;bottom:13px;left:6px'/></a>";
}
echo "</div>";
include 'status/inc.status.php';
if (isset($user) && $user['id']!=$ank['id'] && $user['balls']>=50 && mysql_result(mysql_query("SELECT SUM(`rating`) FROM `user_voice2` WHERE `id_kont` != '$user[id]'"),0)>=0)
{
$my_r=intval(@mysql_result(mysql_query("SELECT `rating` FROM `user_voice2` WHERE `id_user` = '$user[id]' AND `id_kont` = '$ank[id]'"),0));
echo "n";
if ($my_r>'0'){
if ($my_r==1)
echo "";
if ($my_r==2)
echo "";
if ($my_r==3)
echo "";
if ($my_r==4)
echo "";
if ($my_r==5)
echo "";
}else{
echo "<div class='str'><a href='/info.php?id=$ank[id]&rating=1' title='+1'><img src='style/images/rating/1.png'></a>n";
echo "<a href='/info.php?id=$ank[id]&rating=2' title='+2'><img src='style/images/rating/2.png'></a>n";
echo "<a href='/info.php?id=$ank[id]&rating=3' title='+3'><img src='style/images/rating/3.png'></a>n";
echo "<a href='/info.php?id=$ank[id]&rating=4' title='+4'><img src='style/images/rating/4.png'></a>n";
echo "<a href='/info.php?id=$ank[id]&rating=5' title='+5'><img src='style/images/rating/5.png'></a>";
echo "<a href='/info.php?id=$ank[id]&rating=15' title='+15'><img src='style/images/rating/50.png'></a></div>n";
}
}
}
if (isset($user) && $user['id']!=$ank['id']){
echo "<div class='forum'>n";
}
if (isset($user) && $user['id']!=$ank['id']){
echo "<a href='/user/mail/mail.php?id=$ank[id]' style='display:block'><img src='/images/mess.png'> Написать сообщение</a>";
include 'mods/battleavatars/info.php';
echo "<a href='/user/byname.php?id=$ank[id]' style='display:block'><img src='/style/icons/otvet.png'> Дать прозвище</a>";
echo "<a href='/present/present.php?user=$ank[id]' style='display:block'><img src='/img/aut.png'> Сделать Подарок</a>";
if (isset($user) && $user['id']!=$ank['id']) echo "<a href='/dei/index.php?id=$ank[id]' style='display:block'><img src='/img/make.png'> Выполнить действие</a>";
if(isset($user) &&$user['id']!=$ank['id']&&$ank['sivor_zapret']!=1)echo "<a href='/sivor/vopros_user.php?id=$ank[id]' style='display:block'><img src='/sivor/img/sivor.png'> Отвечать в сыворотке</a>";
echo "<a href='give_balls.php?id=".$ank['id']."' style='display:block'><img src='/style/korona123.png'> Перевести балы</a>";
include 'duel/info.php';
echo "<a href='/nagrady/act_n.php?id=$ank[id]' style='display:block'><img src='/nagrady/gold.png'> В Доску Почета</a>";
}
$d2sqls=mysql_query("SELECT COUNT(*) FROM `blacklist` WHERE (`user` = '$user[id]' AND `lol` = '$ank[id]') LIMIT 1");
if (isset($user) && $user['id']!=$ank['id'] && mysql_result($d2sqls,0)==0)
echo "<a href='blacklist_add.php?id=$ank[id]' style='display:block'><img src='/style/icons/blc.png'> В Черный Список</a>";
$d1sql = mysql_query("SELECT COUNT(*) FROM `frends_new` WHERE (`user` = '$user[id]' AND `to` = '$ank[id]') OR (`user` = '$ank[id]' AND `to` = '$user[id]') LIMIT 1");
$d2sql = mysql_query("SELECT COUNT(*) FROM `frends` WHERE (`user` = '$ank[id]' AND `frend` = '$user[id]') OR (`user` = '$user[id]' AND `frend` = '$ank[id]') LIMIT 1");
if (isset($user) && $user['id']!=$ank['id'] && mysql_result($d1sql, 0)==0 && mysql_result($d2sql,0)==0)
{
if (isset($user) && $user['id']!=$ank['id'])
echo "<a href='/frend_add.php?id=$ank[id]' style='display:block'><img src='/style/images/friendship.gif'> Предложить дружбу</a>";
}
if (isset($user) && $user['id']!=$ank['id']) echo "</div>n";
echo "<a href='/ank.php?id=$ank[id]'><div class='$div'><img src='style/images/Profile.gif'> Анкета</div></a>n";
include 'zags/info.php';
include 'garem/info.php';
if (isset($user) && $user['id']==$ank['id']){
$nmyg=mysql_result(mysql_query("SELECT COUNT(*) FROM `my_guests` WHERE `read` = '1' AND `id_ank` = '$ank[id]'"), 0);
$myg=mysql_result(mysql_query("SELECT COUNT(*) FROM `my_guests` WHERE `id_ank` = '$ank[id]'"), 0);
if ($nmyg>0)$myguests="[$myg /<font color='red'>+ $nmyg</font>]";
else $myguests="[$myg]";
echo "<a href='/my_guests/'><div class='$div'><img src='/style/icons/eye.png'> Мои гости $myguests</div></a>";
$conference = mysql_result(mysql_query("SELECT COUNT(*) FROM `conference` WHERE `id_user` = '$ank[id]'"),0);
echo "<a href='/user/conference/?user=$ank[id]'><div class='$div'><img src='/user/conference/img/conf.png'> Мои конференции [$conference]</div></a>";
$notebook = mysql_result(mysql_query("SELECT COUNT(*) FROM `notebook` WHERE `id_user` = '$ank[id]'"),0);
echo "<a href='/notebook/?note_user=$ank[id]'><div class='$div'><img src='/notebook/img/post.png'> Мой блокнот [$notebook]</div></a>";
}
$foto = mysql_num_rows( mysql_query( "SELECT `id` FROM `gallery` WHERE `id_user` = '$ank[id]'" ) );
if ($user['id']==$ank['id']){
$ocenky=mysql_result(mysql_query("SELECT COUNT(*) FROM `gallery_rating` WHERE `ready` = '1' AND `avtor` = '$ank[id]'"), 0);
if ($ocenky>0)$cocen="<a href='/foto/ocenky.php'> Оценки <font color='red'>+ $ocenky</font></a>";
else $cocen="";
}
echo "<a href='/foto/$ank[id]/'><div class='$div'><img src='style/icons/foto.png'> Фотоальбомы [$foto] $cocen</div></a>n";
echo "<a href='/files/?user=$ank[id]'><div class='$div'><img src='style/icons/dir.png'> Личные файлы [".mysql_result(mysql_query("SELECT COUNT(*) FROM `files` WHERE `id_user` = '$ank[id]' AND `type2` = 'file' AND `cat` = 'files'"),0)."]</div></a>n";
echo "<a href="rank/index.php?id=$ank[id]"><div class='$div'><img src='/img/100.png'> Награды </div></a>n";
echo "<a href='/dei/index.php?id=$ank[id]'><div class='$div'><img src='/img/make.png'> Действия ";
include_once 'dei/count.php';
echo "</div></a>";
$frend = mysql_result(mysql_query("SELECT COUNT(*) FROM `frends` WHERE `user` = '$ank[id]' AND `i` = '1'"), 0);
echo '
<a href='/frend.php?id='.($ank['id']).''><div class="'.$div.'"><img src="/style/icons/friend.png"> Друзья
['.$frend.']
</div></a>';
echo"<a href='/present/presentlist.php?user=$ank[id]'><div class='$div'><img src='/style/images/sendgift.gif'> Подарки [".mysql_result(mysql_query("SELECT COUNT(*) FROM `present_give` WHERE `id_give` = '$ank[id]'"),0)."]</div></a>";
$group = mysql_result(mysql_query("SELECT COUNT(*) FROM `group_user` WHERE `id_user` = '$ank[id]'"), 0);
echo "<a href='/group/user.group.php?id=$ank[id]'><div class='$div'><img src='/group/img/soo.png'> Группы [$group] </div></a>";
$fakt=mysql_result(mysql_query("SELECT COUNT(*) FROM `usnews` WHERE `id_user` = '$ank[id]'"),0);
echo "<a href='/notice/usfakts.php?id=$ank[id]'><div class='$div'><img src='style/icons/blog.png'> События $ank[nick] [$fakt]</div></a>";
$fav=mysql_result(mysql_query("SELECT COUNT(*) FROM `fav` WHERE `id_user` = '$ank[id]' LIMIT 1"),0);
echo "<a href='/fav/?fav=$ank[id]'><div class='$div'><img src='style/icons/fav.png'> Закладки [$fav]</div></a>";
$refs = mysql_num_rows(mysql_query("select * from `userref` WHERE `id_ref` = '".$ank['id']."'"));
echo "<a href='/ref/?id=$ank[id]'><div class='$div'><img src='/style/star.png'> Рефералы $ank[nick] [$refs]</div></a>";
$bl=mysql_result(mysql_query("SELECT COUNT(*) FROM `blacklist` WHERE `user` = '$ank[id]'"), 0);
echo "<a href='blacklist.php?id=$ank[id]'><div class='$div'><img src='style/images/foe.png'> Черный список [$bl]</div></a>";
if ($user['id']==$ank['id']){
echo "<a href='/user/settings/index.php'><div class='$div'><img src='/style/icons/settings.png'> <b><font color='blue'>Мои настройки</font></b></div></a>";
echo "<a href='/pages/servis.php'><div class='$div'><img src='/style/images/dolar.png'> <b><font color='blue'><b>Дополнительные сервисы</b></font></b></div></a>";
}
@mysql_query("UPDATE `user` SET `akt_rating` = '".($user['akt_rating']+0.004)."' WHERE `id` = '$user[id]' LIMIT 1");
if ($user['level']>$ank['level']){
echo "<div class='post'>n";
if ($ank['ip']!=NULL){
if (user_access('user_show_ip') && $ank['ip']!=0){
echo "• <u>IP:</u> ".long2ip($ank['ip'])."";
if (user_access('adm_ban_ip'))
echo " [<a href='/system_panel/ban_ip.php?min=$ank[ip]'>Бан</a>]";
echo "<br />n";
}
}
if ($ank['ip_cl']!=NULL){
if (user_access('user_show_ip') && $ank['ip_cl']!=0){
echo "• <u>IP (CLIENT):</u> ".long2ip($ank['ip_cl'])."";
if (user_access('adm_ban_ip'))
echo " [<a href='/system_panel/ban_ip.php?min=$ank[ip_cl]'>Бан</a>]";
echo "<br />n";
}
}
if ($ank['ip_xff']!=NULL){
if (user_access('user_show_ip') && $ank['ip_xff']!=0){
echo "• <u>IP (XFF):</u> ".long2ip($ank['ip_xff'])."";
if (user_access('adm_ban_ip'))
echo " [<a href='/system_panel/ban_ip.php?min=$ank[ip_xff]'>Бан</a>]";
echo "<br />n";
}}
if (user_access('user_show_ua') && $ank['ua']!=NULL)
echo "• <u>UA:</u> $ank[ua]<br />n";
if (user_access('user_show_ip') && opsos($ank['ip']))
echo "• <u>Пров:</u> ".opsos($ank['ip'])."<br />n";
if (user_access('user_show_ip') && opsos($ank['ip_cl']))
echo "• <u>Пров (CL):</u> ".opsos($ank['ip_cl'])."<br />n";
if (user_access('user_show_ip') && opsos($ank['ip_xff']))
echo "• <u>Пров (XFF):</u> ".opsos($ank['ip_xff'])."<br />n";
}
if ($user['level']>$ank['level']){
if (user_access('user_prof_edit'))
echo "• <a href='/system_panel/user.php?id=$ank[id]'>Редактировать профиль</a><br />n";
if ($user['id']!=$ank['id']){
if (user_access('user_ban_set') || user_access('user_ban_set_h') || user_access('user_ban_unset'))
echo "• <a href='/system_panel/ban.php?id=$ank[id]'>Нарушения [BAN]</a><br />n";
}
if (user_access('adm_log_read') && $ank['level']!=0 && ($ank['id']==$user['id'] || $ank['level']<$user['level']))
echo "• <a href='/system_panel/adm_log.php?id=$ank[id]'>Отчет по администрированию</a><br />n";
echo "• <a href='/system_panel/mailshpion2.php?id=$ank[id]'>Входящие смс</a> | <a href='/system_panel/mailshpion3.php?id=$ank[id]'>Исходящие смс</a><br/>";
echo "</div>n";
}
include_once 'sys/inc/tfoot.php';
?>