{% else-1 %}
Padavan * 0.06
(11 мар 2017, 13:08) (0/0) [0]
Тема закрыта для обсуждения! *
Padavan * 0.06
(11 июл 2016, 19:17) (0/0) [0]
Mayk™, вставить вот этот код $ank['ncolor'])?"<span style='color:".$ank['ncolor']."'>":null).""smile."".$anku['nick']."".($ank['status']>0?"</span>":"".($ank['time_vip']>time() && !empty($ank['ncolor'])?"</span>":null).""smile."
туда
Padavan * 0.06
(11 июл 2016, 19:13) (0/0) [0]
if($ank['id']>0)$span="<a class='' href='/user/$ank[id]'>$style<span class='nick".($ank['status']==1?"Supporter":null)."".($ank['status']==2?"Moderator":null)."".($ank['status']==3?"Admin":null)."".($ank['time_vip']>=$time && $ank['status']<1?"Gold":null)."'>$anku[nick]</span></a></font>$premium $badge $WingsLove";
return "$span$on_z$on_k";
}


}
function ncTwo($id)
{
if(mysql_result(mysql_query("SELECT COUNT(id) FROM `kolhoz_ban` WHERE `id_user` = '$id' AND (`time` > '".time()."' OR (`izg` = '1' AND `time`='0')) AND `inlock` IS NULL"*,0)!=0){
$ank=mysql_fetch_array(mysql_query("SELECT nick,NewYearDay,id,greynick,premium_time,date_last,level FROM `kolhoz_user` WHERE `id` = '$id' LIMIT 1"*);$anku=$ank;
return "<a class='' href='/user/$ank[id]'><span
class='nick".(mysql_result(mysql_query("SELECT COUNT(id) FROM `kolhoz_ban` WHERE `id_user` = '$id' AND (`izg` = '1' AND ((`time`>'".(time())."' OR `time`='0') AND `inlock`IS NULL))"*,0)!=0?"Banned":"Blocked"*."'>".$anku['nick']."</span></a>";
}else{
$ank=mysql_fetch_array(mysql_query("SELECT status,NewYearDay,storona,id,nick,star,premium_time,greynick,date_last,level,time_vip FROM `kolhoz_user` WHERE `id` = '$id' LIMIT 1"*);
$anku=$ank;

if($ank['greynick']>0)$style="<font style='background: url(/pavelgrey/img/nickname/bling$ank[greynick].gif) repeat scroll 9% 0% transparent;'";

$span="<a class='' href='/user/$ank[id]'>$style<span class='nick".($ank['status']==1?"Supporter":null)."".($ank['status']==2?"Moderator":null)."".($ank['status']==3?"Admin":null)."".($ank['time_vip']>=$time && $ank['status']<1?"Gold":null)."'>$anku[nick]</span></a></font>";
return "$span";
}

}

ВОТ СЮДА ВСТАВИТЬ ЭТО

$ank['ncolor'])?"<span style='color:".$ank['ncolor']."'>":null).""*."".$anku['nick']."".($ank['status']>0?"</span>":"".($ank['time_vip']>time() && !empty($ank['ncolor'])?"</span>":null).""*."
  • 1 из 1