For next: $expleft";
}else{
$level="";
$experience="
";
$poststext="
";
$postnum="";
$posttotal="";
$totalwidth=56;
$barwidth=$totalwidth-round(@($expleft/totallvlexp($lvl))*$totalwidth);
if($barwidth<1) $barwidth=0;
if($barwidth>0) $baron="";
if($barwidth<$totalwidth) $baroff="';
$bar="
$baron$baroff';
}
if(!$post[num]){ $postnum='';}
if($post[icq]) $icqicon="";
if($post[imood]) $imood="";
$reinf=syndrome($post[act]);
$statustime=ctime()-300;
$random = rand(0, 5);
$dumbphrases = array("Your Mother", "Registered", "Banned", "". htmlspecialchars($post[name]) ."", "a Waffle", "");
$status = htmlspecialchars($post[name])." is ". $dumbphrases[$random];
// if($post[lastactivity]<$statustime){
// $status=Offline ";
// }elseif($post[lastactivity]>$statustime){
// $status=htmlspecialchars($post[name])." is The Writer Of This Post ";
//}
$sincelastpost='Since last post: '.timeunits(ctime()-$post[lastposttime]);
$lastactivity='Last activity: '.timeunits(ctime()-$post[lastactivity]);
$since='Since: '.@date($dateshort,$post[regdate]+$tzoff);
$postdate=date($dateformat,$post[date]+$tzoff);
if($set[threadlink]) $threadlink=", in $set[threadlink]";
return "
$set[tdbg] rowspan=2>
$set[userlink]$smallfont
$set[userrank]$reinf
$level$bar
$set[userpic]
$poststext$postnum$posttotal
$experience
$since$set[location]
$sincelastpost
$lastactivity
$icqicon$imood
$set[tdbg] height=1 width=80%>
Posted on $postdate$threadlink |