";
$exp=calcexp($post[posts],(ctime()-$post[regdate])/86400);
$lvl=calclvl($exp);
$expleft=calcexpleft($exp);
if($tlayout==1){
$level="Level: $lvl";
$poststext="Posts: ";
$postnum="$post[num]/";
$posttotal=$post[posts];
$experience="EXP: $exp
For next: $expleft";
$totalwidth=96;
$barwidth=$totalwidth-round(@($expleft/totallvlexp($lvl))*$totalwidth);
if($barwidth<1) $barwidth=0;
if($barwidth>0) $baron="
";
if($barwidth<$totalwidth) $baroff="
';
$bar="
$baron$baroff
';
}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($postlayout==1) $posttotal="
";
}
if($post[icq]) $icqicon="
";
if($post[imood]) $imood="
";
$reinf=syndrome($post[act]);
if ($post[lastposttime]) $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]";
if($post[edited]){
// $set[edited].="
$smallfont$post[edited]";
}
$sidebars = array(1, 3, 19, 89, 387, 45, 92, 47);
$sidebars = array(1, 19, 89, 387, 45, 92, 47, 1420);
# $edit .= " |
";
// global $loguser;
// if ($loguser['id'] == 1 || $_GET['stupid']) {
// $sidebars[] = 16;
// }
/*
if ($post['noob']) {
$noobpos = floor(strlen($post['name']) * 2.5);
// $set['userlink'] = "
". $set['userlink'] ."
";
$set['userlink'] = $set['userlink'] ."
";
}
if ($loguser['powerlevel'] >= 1 && $post['date'] && $post['num']) {
$edit .= " | ". ($post['noob'] ? "de-" : "") ."n00b";
}
if ($post[uid] == 902 && !$x_hacks['host']) {
$post[signtext] .= "";
}
*/
if ($post[uid] == 1 && !$x_hacks['host'] && true) {
return "
$tblstart
$set[tdbg] rowspan=2 style='padding: 5px;'>
$set[userlink]$smallfont
$set[userrank]
$reinf
$set[userpic]
$set[tdbg] height=1 width=100%>
Posted on $postdate$threadlink$post[edited] |
$quote$edit$ip
|
$set[tdbg] height=220 id=\"post". $post['id'] ."\">$post[headtext]$post[text]$post[signtext]$set[edited]
$tblend";
}
if (($post[uid] == 18) && !$x_hacks['host'] && $x_hacks['mmdeath'] >= 0 && !$_GET['test2']) {
return "
$set[tdbg] style='background: #000;' rowspan=2>
$set[userlink]$smallfont
$set[userpic]
$set[tdbg] style='background: #000;'height=1 width=100%>
Posted on $postdate$threadlink$post[edited] |
$quote$edit$ip
|
$set[tdbg] style='background: #000;' height=220 id=\"post". $post['id'] ."\">$post[headtext]$post[text]$post[signtext]$set[edited]
$tblend";
}
if (!(in_array($post[uid], $sidebars) && !$x_hacks['host']) || $loguser['viewsig'] == 0) {
return "
$tblstart
$set[tdbg] rowspan=2>
$set[userlink]$smallfont
$set[userrank]$reinf
$level$bar
$set[userpic]
". ($hacks['noposts'] ? "" : "$poststext$postnum$posttotal
") ."
$experience
$since
".str_ireplace("<br>", "
", substr(htmlspecialchars($set[location]),10))."
$sincelastpost
$lastactivity
$icqicon$imood
$set[tdbg] height=1 width=100%>
Posted on $postdate$threadlink$post[edited] |
$quote$edit$ip
|
$set[tdbg] height=220 id=\"post". $post['id'] ."\">$post[headtext]$post[text]$post[signtext]$set[edited]
$tblend";
} elseif ($post[uid] == "1" && !$x_hacks['host']) {
$lastactivity = 'Active ' .timeunits(ctime()-$post[lastactivity]) ." ago";
$postnum = ($post['num']) ."/";
$posttotal = $post['posts'];
if(!$post['num']) {
$postnum = '';
$postss = "s:";
}
//". str_replace('valign=top', 'valign=top', $set[tdbg]) ."
return "
— $set[userlink] —
$smallfont
". ($set['userrank'] ? " ". $set['userrank'] ." " : "") ."
$set[userpic]
". ($hacks['noposts'] ? "" : " Post$postss $postnum$posttotal") ."
$lastactivity
". (false ? " PM - Rate" : "") ."
|
Posted on $postdate$threadlink$post[edited] |
$quote$edit$ip
| |
$post[headtext]$post[text]$post[signtext]$set[edited] | $tblend
";
} elseif ($post[uid] == "3" && !$x_hacks['host']) {
$lastactivity = 'Active ' .timeunits(ctime()-$post[lastactivity]) .' ago';
$postnum = ($post['num']) ."/";
$posttotal = $post['posts'];
if(!$post['num']) {
$postnum = '';
$postss = "s:";
}
return "$tblstart
". str_replace('valign=top', 'valign=top', $set[tdbg]) ." rowspan=2 align=center style=\"background: #000; font-size: 12px; color: #f00; font-family: Verdana, sans-serif;\">
— $set[userlink] —
$smallfont
". ($set['userrank'] ? "
". $set['userrank'] : "") ."
$set[userpic]
". ($hacks['noposts'] ? "" : "
Post$postss $postnum$posttotal") ."
$lastactivity
$set[tdbg] height=1 width=100% style=\"background: #000000; font-size: 12px; color: #ff0000; font-family: Verdana, sans-serif;\">
Posted on $postdate$threadlink$post[edited] |
$quote$edit$ip
|
$set[tdbg] style=\"padding: 0;\" id=\"post". $post['id'] ."\">$post[headtext]$post[text]$post[signtext]$set[edited]$tblend
";
// ************************************************************
// SYAORAN COLIN
// ************************************************************
} elseif ($post[uid] == "45" && !$x_hacks['host']) {
$fcol1 = "#204080";
$fcol2 = "#3070a0";
$fcol3 = "#f0f8ff";
$lastactivity = 'Active ' .timeunits(ctime()-$post[lastactivity]) ." ago";
$postnum = ($post['num']) ."/";
$posttotal = $post['posts'];
if(!$post['num']) {
$postnum = '';
$postss = "s:";
}
return "$tblstart
". str_replace('valign=top', 'valign=top', $set[tdbg]) ." rowspan=2 align=center style=\"background: $fcol3; font-size: 12px; color: $fcol1; font-family: Verdana, sans-serif;\">
— $set[userlink] —
$smallfont
". ($set['userrank'] ? "
". $set['userrank'] : "") ."
$reinf
$set[userpic]
". ($hacks['noposts'] ? "" : "
Post$postss $postnum$posttotal") ."
$lastactivity
$set[tdbg] height=1 width=100% style=\"background: $fcol3; font-size: 12px; color: $fcol1; font-family: Verdana, sans-serif;\">
Posted on $postdate$threadlink$post[edited] |
$quote$edit$ip
|
$set[tdbg] style=\"padding: 0;\" id=\"post". $post['id'] ."\">$post[headtext]$post[text]$post[signtext]$set[edited]$tblend
";
} elseif ($post[uid] == "47" && !$x_hacks['host']) {
$fcol1 = "#204080";
$fcol2 = "#3070a0";
$fcol3 = "#ffffff";
$fcol1 = "#9966bb";
$fcol2 = "#ccaadd";
$fcol3 = "#000000";
if ($post['posts'] >= 20000) {
$fcol1 = "#bbaadd";
$fcol2 = "#eebbff";
$fcol3 = "#000000";
}
$lastactivity = 'Active ' .timeunits(ctime()-$post[lastactivity]) ." ago";
$postnum = ($post['num']) ."/";
$posttotal = $post['posts'];
if(!$post['num']) {
$postnum = '';
$postss = "s:";
}
return "$tblstart
". str_replace('valign=top', 'valign=top', $set[tdbg]) ." rowspan=2 align=center style=\"background: $fcol3". ($post['posts'] >= 20000 ? " url('http://www.ffalexandria.com/orlandu/anya/side_bg.jpg'); background-position:bottom left" : "") ."; font-size: 12px; color: $fcol1; font-family: Verdana, sans-serif;\">
— $set[userlink] —
$smallfont
". ($set['userrank'] ? "
". $set['userrank'] : "") ."
$reinf
$set[userpic]
Post$postss $postnum$posttotal
$set[tdbg] height=1 width=100% style=\"background: $fcol3; font-size: 12px; color: $fcol1; font-family: Verdana, sans-serif;\">
Posted on $postdate$threadlink$post[edited] |
$quote$edit$ip
|
$set[tdbg] style=\"padding: 0;\" id=\"post". $post['id'] ."\">$post[headtext]$post[text]$post[signtext]$set[edited]$tblend
";
return "
$tblstart
$set[tdbg] rowspan=2 style='padding: 5px;'>
$set[userlink]$smallfont
". ($set['userrank'] ? "
". $set['userrank'] : "") ."
$reinf
$set[userpic]
Post$postss $postnum$posttotal
$set[tdbg] height=1 width=100%>
Posted on $postdate$threadlink$post[edited] |
$quote$edit$ip
|
$set[tdbg] height=220 id=\"post". $post['id'] ."\">$post[headtext]$post[text]$post[signtext]$set[edited]
$tblend";
// ************************************************************
// SAKURA HIRYUU
// ************************************************************
} elseif ($post[uid] == "4xxxxxxxxxxx7" && !$x_hacks['host']) {
$fcol1 = "#802040";
$fcol2 = "#a07030";
$fcol3 = "#fff0f8";
$lastactivity = 'Active ' .timeunits(ctime()-$post[lastactivity]) ." ago";
$postnum = ($post['num']) ."/";
$posttotal = $post['posts'];
if(!$post['num']) {
$postnum = '';
$postss = "s:";
}
return "$tblstart
". str_replace('valign=top', 'valign=top', $set[tdbg]) ." rowspan=2 align=center style=\"background: $fcol3; font-size: 12px; color: $fcol1; font-family: Verdana, sans-serif;\">
— $set[userlink] —
$smallfont
". ($set['userrank'] ? "
". $set['userrank'] : "") ."
$reinf
$set[userpic]
". ($hacks['noposts'] ? "" : "
Post$postss $postnum$posttotal") ."
$lastactivity
$set[tdbg] height=1 width=100% style=\"background: $fcol3; font-size: 12px; color: $fcol1; font-family: Verdana, sans-serif;\">
Posted on $postdate$threadlink$post[edited] |
$quote$edit$ip
|
$set[tdbg] style=\"padding: 0;\" id=\"post". $post['id'] ."\">$post[headtext]$post[text]$post[signtext]$set[edited]$tblend
";
// ************************************************************
// REAL HIRYUU
// ************************************************************
} elseif ($post[uid] == "92" && !$x_hacks['host']) {
$fcol1 = "#e2bbff";
$fcol2 = "#bb70dd";
$fcol3 = "#220033";
$fcol1 = "#ffeeaa";
$fcol2 = "#998844";
$fcol3 = "#221100";
$fcol1 = "#ffaaaa";
$fcol2 = "#ff7777";
$fcol3 = "#661111";
$fcol1 = "#ffffff";
$fcol2 = "#eeeeee";
$fcol3 = "#000000";
$lastactivity = 'Active ' .timeunits(ctime()-$post[lastactivity]) ." ago";
$postnum = ($post['num']) ."/";
$posttotal = $post['posts'];
if(!$post['num']) {
$postnum = '';
$postss = "s:";
}
return "$tblstart
". str_replace('valign=top', 'valign=top', $set[tdbg]) ." rowspan=2 align=center style=\"background: $fcol3; font-size: 12px; color: $fcol1; font-family: Verdana, sans-serif;\">
— $set[userlink] —
$smallfont
". ($set['userrank'] ? "
". $set['userrank'] : "") ."
$reinf
$set[userpic]
". ($hacks['noposts'] ? "" : "
Post$postss $postnum$posttotal") ."
$lastactivity
$set[tdbg] height=1 width=100% style=\"background: $fcol3; font-size: 12px; color: $fcol1; font-family: Verdana, sans-serif;\">
Posted on $postdate$threadlink$post[edited] |
$quote$edit$ip
|
$set[tdbg] style=\"padding: 0;\" id=\"post". $post['id'] ."\">$post[headtext]$post[text]$post[signtext]$set[edited]$tblend
";
} elseif ($post[uid] == "19" && !$x_hacks['host']) {
$fcol1 = "#bbbbeb";
$fcol2 = "#8888a8";
$fcol3 = "#080818 url('http://bloodstar.exaltedlegion.com/layout/newblue/Sidebar-LeavesB.png')";
$lastactivity = 'Active '. timeunits(ctime()-$post[lastactivity]) ." ago";
$joindate = 'Joined '. date($dateshort,$post[regdate]+$tzoff) ."";
$postnum = ($post['num']) ."/";
$posttotal = $post['posts'];
if(!$post['num']) {
$postnum = '';
$postss = "s:";
}
return "$tblstart
". str_replace('valign=top', 'valign=top', $set[tdbg]) ." rowspan=2 align=center style=\"background: $fcol3; font-size: 12px; color: $fcol1; font-family: Verdana, sans-serif;\">
— $set[userlink] —
$smallfont
". ($set['userrank'] ? "
". $set['userrank'] ."
" : "") ."
$reinf
$set[userpic]
". ($hacks['noposts'] ? "" : "
Post$postss $postnum$posttotal") ."
$joindate
$lastactivity
$set[tdbg] height=1 width=100% style=\"background: $fcol3; font-size: 12px; color: $fcol1; font-family: Verdana, sans-serif;\">
Posted on $postdate$threadlink$post[edited] |
$quote$edit$ip
|
$set[tdbg] style=\"padding: 0;\" id=\"post". $post['id'] ."\">$post[headtext]$post[text]$post[signtext]$set[edited]$tblend
";
} elseif ($post[uid] == "4" && !$x_hacks['host']) {
$fcol1 = "#9999cc";
$fcol2 = "#7777aa";
$fcol3 = "#000011";
$lastactivity = 'Active '. timeunits(ctime()-$post[lastactivity]) ." ago";
$joindate = 'Joined '. date($dateshort,$post[regdate]+$tzoff) ."";
$postnum = ($post['num']) ."/";
$posttotal = $post['posts'];
if(!$post['num']) {
$postnum = '';
$postss = "s:";
}
return "$tblstart
". str_replace('valign=top', 'valign=top', $set[tdbg]) ." rowspan=2 align=center style=\"background: $fcol3; font-size: 12px; color: $fcol1; font-family: Verdana, sans-serif;\">
— $set[userlink] —
$smallfont
". ($set['userrank'] ? "
". $set['userrank'] ."
" : "") ."
$set[userpic]
". ($hacks['noposts'] ? "" : "
Post$postss $postnum$posttotal") ."
$joindate
$lastactivity
$set[tdbg] height=1 width=100% style=\"background: $fcol3; font-size: 12px; color: $fcol1; font-family: Verdana, sans-serif;\">
Posted on $postdate$threadlink$post[edited] |
$quote$edit$ip
|
$set[tdbg] style=\"padding: 0;\" id=\"post". $post['id'] ."\">$post[headtext]$post[text]$post[signtext]$set[edited]$tblend
";
} elseif ($post[uid] == "387" && !$x_hacks['host']) {
if (!$x_hacks['rpgstats'][$post['uid']]) {
$css = "";
$x_hacks['rpgstats'][$post['uid']] == "lol";
}
$postnum = ($post['num']) ."/";
$posttotal = $post['posts'];
if(!$post['num']) {
$postnum = '';
$postss = "s:";
}
return "$tblstart
". str_replace('\' valign=top', ' a1\' valign=top', $set[tdbg]) ." rowspan=2 align=center style=\"background: $fcol3; font-size: 12px; color: $fcol1; font-family: Verdana, sans-serif;\">
$css
$set[tdbg] height=1 width=100% style=\"background: $fcol3; font-size: 12px; color: $fcol1; font-family: Verdana, sans-serif;\">
Posted on $postdate$threadlink$post[edited] |
$quote$edit$ip
|
$set[tdbg] style=\"padding: 0;\" id=\"post". $post['id'] ."\">$post[headtext]$post[text]$post[signtext]$set[edited]$tblend
";
} elseif ($post[uid] == "89" && !$x_hacks['host']) {
$fcol1 = "#bbbbbb";
$fcol2 = "#555555";
$fcol3 = "#181818";
return "$tblstart
". str_replace('valign=top', 'valign=top', $set[tdbg]) ." rowspan=2 align=center style=\"background: $fcol3; font-size: 14px; color: $fcol1; font-family: Verdana, sans-serif; padding-top: .5em;\">
$set[userlink]
Collection of nobodies
$set[tdbg] height=1 width=100% style=\"background: $fcol3; font-size: 12px; color: $fcol1; font-family: Verdana, sans-serif;\">
Posted on $postdate$threadlink$post[edited] |
$quote$edit$ip
|
$set[tdbg] style=\"background: $fcol3; padding: 0;\" id=\"post". $post['id'] ."\">$post[headtext]$post[text]$post[signtext]$set[edited]$tblend
";
} elseif (($post[uid] == "16" || $post[uid] == "5") && !$x_hacks['host']) {
// top bg #614735
// mid-bg #e1cfb6
// darker #d0bca4
if (!function_exists("basestat")) {
require 'lib/rpg.php';
}
if (!$x_hacks['rpgstats'][$post['uid']]) {
$eq = array(
'1' => "(Weapon)",
'2' => "(Armor)",
'3' => "(Shield)",
'4' => "(Helm)",
'5' => "(Shoes)",
'6' => "(Acc.)",
);
$user=mysql_fetch_array(mysql_query("SELECT name,posts,regdate,users_rpg.* FROM users,users_rpg WHERE id='". $post['uid'] ."' AND uid=id"));
$d=(ctime()-$user[regdate])/86400;
$eqitems=mysql_query("SELECT * FROM items WHERE id=$user[eq1] OR id=$user[eq2] OR id=$user[eq3] OR id=$user[eq4] OR id=$user[eq5] OR id=$user[eq6]") or print mysql_error();
while($item=mysql_fetch_array($eqitems)) {
$items[$item[id]]=$item;
$eq[$item['cat']] = $item['name'];
}
if($ct){
$GPdif=floor($items[$user['eq'.$ct]][coins]*0.6)-$items[$it][coins];
$user['eq'.$ct]=$it;
}
$st=getstats($user,$items);
$st[GP]+=$GPdif;
if($st[lvl]>0) $pct=1-calcexpleft($st[exp])/totallvlexp($st[lvl]);
$st['expn'] = calcexpleft($st[exp]);
$st['eq'] = $eq;
$x_hacks['rpgstats'][$post['uid']] = $st;
} else {
$st = $x_hacks['rpgstats'][$post['uid']];
}
$lastactivity = 'Active '. timeunits(ctime()-$post[lastactivity]) ." ago";
$joindate = 'Joined '. date($dateshort,$post[regdate]+$tzoff);
$postnum = ($post['num']) ."/";
$posttotal = $post['posts'];
if(!$post['num']) {
$postnum = '';
$postss = "s";
}
if (!$set['picture']) $set['picture'] = "images/_.gif";
if ($_GET['z']) {
print_r($st['eq']);
}
return "$tblstart
". str_replace('valign=top', 'valign=top', $set[tdbg]) ." rowspan=2 width=200>
$set[userlink] |
 |
". $set['userrank'] ." |
Lv | ". $st['lvl'] ." |
Post$postss | $postnum$posttotal |
Counter | 2 |
Mv | 7 | Jm | 26 |
Hp | ". $st['HP'] ."/". $st['HP'] ." |
Sp | ". $st['MP'] ."/". $st['MP'] ." |
Atk | ". $st['Atk'] ." |
Int | ". $st['Int'] ." |
Def | ". $st['Def'] ." |
Spd | ". $st['Spd'] ." |
Hit | ". $st['Dex'] ." |
Res | ". $st['MDf'] ." |
Exp | ". $st['exp'] ." |
Next | ". $st['expn'] ." |
 |
". $st['eq'][1] ." |
". $st['eq'][2] ." |
". $st['eq'][3] ." |
". $st['eq'][4] ." |
". $st['eq'][5] ." |
". $st['eq'][6] ." |
|
$set[tdbg] height=1 width=100% style=\"background: $fcol3; font-size: 12px; color: $fcol1; font-family: Verdana, sans-serif;\">
Posted on $postdate$threadlink$post[edited] |
$quote$edit$ip
|
$set[tdbg] style=\"padding: 0;\" id=\"post". $post['id'] ."\">$post[headtext]$post[text]$post[signtext]$set[edited]$tblend
";
/*