"; $exp = calcexp($post['posts'],(ctime()-$post['regdate']) / 86400); $lvl = calclvl($exp); $expleft = calcexpleft($exp); $set['userpic'] = $set['userpic'] ?? ""; // please stop being undefined 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; $baron = ""; $baroff = ""; 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=""; } $reinf=syndrome(filter_int($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); $threadlink = ""; if (filter_string($set['threadlink'])) { $threadlink = ", in $set[threadlink]"; } $post['edited'] = filter_string($post['edited']); if ($post['edited']) { // .="
$smallfont$post[edited]"; } $sidebars = array(1, 3, 19, 89, 387, 45, 92, 47); $sidebars = array(19, 89, 387, 45, 92, 47, 1420, 1090, 2100, 2069); // Large block of user-specific hacks follows // if (false && $post['uid'] == 1 && true) { global $numdir; $numdir_ = $numdir; $numdir = "num3/"; if ($post['num']) { $numtext = generatenumbergfx($post['num'], 1, true) ."
". generatenumbergfx($post['posts']); } else { $numtext = generatenumbergfx($post['posts'], 1, true); } $numdir = $numdir_; return "
$tblstart $set[tdbg] rowspan=2 style='padding: 5px 1px 5px 1px;'>
$set[userlink]$smallfont
$set[userrank] $reinf

$set[userpic]

$numtext

$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] $tblend
"; } // Inu's sidebar // (moved up here for to display for everyone during doomclock mode!) if ($post['uid'] == "2100") { $posttable = ""; // doomclock $doomclock_time = mktime(3,0,0,5,19) - cmicrotime(); if ($doomclock_time < 0 && $doomclock_time >= 86400) $doomclock_time = 0; if ($doomclock_time >= 0 && $doomclock_time < 360000) { $doomclock_secs = (int)($doomclock_time % 60); $doomclock_mins = (int)(($doomclock_time % 3600) / 60); $doomclock_hrs = (int)($doomclock_time / 3600); $doomclock_str = sprintf(" %d=%02d=%02d", $doomclock_hrs, $doomclock_mins, $doomclock_secs); $doomclock_desc = "{$doomclock_hrs} hours, {$doomclock_mins} minutes, {$doomclock_secs} seconds"; $posttable .= ""; } if ($post['num']) { $posttable .= ""; } $posttable .= "
"; $posttable .= inu_hexclock($doomclock_desc, $doomclock_time); $posttable .= "FFF{$doomclock_str}\">
"; $posttable .= inu_binaryposts($post['num'], "images/dot3.gif", "images/dot1.gif", $post['posts']); $posttable .= "
"; $posttable .= inu_binaryposts($post['posts'], "images/dot5.gif", "images/dot1.gif"); $posttable .= "F90".sprintf("%4d",$post['posts'])."\">
"; /* $lp = ((!$post['lastposttime']) ? "" : 'Last posted >fff'.timeunits(ctime()-$post['lastposttime']).' >0f0ago'); $la ='Last active >fff'.timeunits(ctime()-$post['lastactivity']).' >0f0ago'; $jd ='Joined >f11'.@date("m.d.Y",$post['regdate']+$tzoff); return "$tblstart ". str_replace('valign=top', 'valign=top', $set['tdbg']) ." rowspan=2 align=center style=\"font-size: 12px;\"> ".inu_hexclock()." EC1Inuyasha>0f0 -\"> $smallfont
f0012=00\">f00 =%20%20\">
$reinf $set[userpic]

". ($hacks['noposts'] ? "" : "$posttable") ."





$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] $tblend"; */ // non-image old version $lp = ((!$post['lastposttime']) ? "" : 'Last posted '.timeunits(ctime()-$post['lastposttime']).' ago'); $la ='Last active '.timeunits(ctime()-$post['lastactivity']).' ago'; $jd ='Joined '.@date("m.d.Y",$post['regdate']+$tzoff); $dstyle = ''; // [D]Inuyasha if ($post['moodid'] == 5) { $post['headtext'] = str_replace( array('class="inu-bg"','class="inu-tx"'), array('class="inu-dbg"','class="inu-dtx"'), $post['headtext']); $set['userlink'] =' [d]'; $set['userrank'] = 'Darkness upon darkness awaits you...'; $set['userpic'] = ''; $set['pronouns'] = 'Pronouns: they/them'; $dstyle = ' style="color:#b671e8;background:black;"'; } $prn = (isset($set['pronouns']) ? $set['pronouns'] : ""); return "$tblstart ". str_replace('valign=top', 'valign=top', $set['tdbg']) ."{$dstyle} rowspan=2 align=center style=\"font-size: 12px;\"> — $set[userlink] — $smallfont ". ($set['userrank'] ? "
". $set['userrank'] ."
" : "") ." $reinf
$set[userpic]

". ($hacks['noposts'] ? "" : "$posttable") ."
$prn
$jd

$lp
$la
$set[tdbg]{$dstyle} height=1 width=100%>
Posted on $postdate$threadlink$post[edited] $quote$edit$ip
$set[tdbg]{$dstyle} height=220 id=\"post". $post['id'] ."\">$post[headtext]$post[text]$post[signtext] $tblend "; } // End Inu's sidebar if (($post['uid'] == 18) && $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] $tblend "; } // Default layout if (!(in_array($post['uid'], $sidebars)) || $loguser['viewsig'] == 0) { return "
$tblstart $set[tdbg] rowspan=2> $set[userlink]$smallfont
$set[userrank]$reinf
$level$bar
$set[userpic]
". (filter_bool($hacks['noposts']) ? "" : "$poststext$postnum$posttotal
") ." $experience

$since
". (isset($set['pronouns']) ? "
".$set['pronouns'] : "")." ". (isset($set['location']) ? "
".$set['location'] : "")."

$sincelastpost
$lastactivity

$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] $tblend
"; } elseif ($post['uid'] == "1") { $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 "
$tblend "; } elseif ($post['uid'] == "3") { $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;\">
— $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]
Posted on $postdate$threadlink$post[edited] $quote$edit$ip
$set[tdbg] style=\"padding: 0;\" id=\"post". $post['id'] ."\">$post[headtext]$post[text]$post[signtext]$tblend
"; // ************************************************************ // SYAORAN COLIN // ************************************************************ } elseif ($post['uid'] == "45") { $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]$tblend
"; } elseif ($post['uid'] == "47") { $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]$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] $tblend "; // ************************************************************ // SAKURA HIRYUU // ************************************************************ } elseif ($post['uid'] == "4xxxxxxxxxxx7") { $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]$tblend
"; // ************************************************************ // REAL HIRYUU // ************************************************************ } elseif ($post['uid'] == "92") { $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]$tblend
"; } elseif ($post['uid'] == "19") { $fcol1 = "#bbbbeb"; $fcol2 = "#8888a8"; $fcol3 = "#080818 url('http://bloodstar.rustedlogic.net/layout/background.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]$tblend
"; } elseif ($post['uid'] == "4") { $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]$tblend
"; } elseif ($post['uid'] == "387") { 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
Post$postss $postnum$posttotal (". timeunits(ctime()-$post['lastposttime']) ."), online ". timeunits(ctime()-$post['lastactivity']) ." ago ". (strpos($_SERVER['USER_AGENT'], "MSIE 6.0") ? "" : "") ."
$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]$tblend
"; } elseif ($post['uid'] == "89") { $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]$tblend
"; } elseif (($post['uid'] == "16" || $post['uid'] == "5")) { // 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
Counter2
Mv7Jm26
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]$tblend
"; /*