$quota = Settings::pluginGet('uploaderCap') * 1024 * 1024; $pQuota = Settings::pluginGet('personalCap') * 1024 * 1024; $totalsize = foldersize($rootdir); $maxSizeMult = Settings::pluginGet('uploaderMaxFileSize') * 1024 * 1024; if ($_GET['action'] == "uploadform") { $cat = getCategory($_GET["cat"]); if (!is_numeric($_GET["cat"])) { Kill('Invalid category'); } $cat = getCategory($_GET["cat"]); $crumbs = new PipeMenu(); $crumbs->add(new PipeMenuLinkEntry(__("Uploader"), "uploader")); $crumbs->add(new PipeMenuLinkEntry($cat["name"], "uploaderlist", "", "cat=" . $cat["id"])); $crumbs->add(new PipeMenuTextEntry(__("Upload file"))); makeBreadcrumbs($crumbs); if ($loguserid && IsAllowed("useUploader")) { print format("\n\t\t<script type=\"text/javascript\">\n\t\t\twindow.addEventListener(\"load\", function() { hookUploadCheck(\"newfile\", 1, {1}) }, false);\n\t\t</script>\n\t\t<form action=\"" . actionLink("uploader") . "\" method=\"post\" enctype=\"multipart/form-data\">\n\t\t\t<input type='hidden' name='cat' value='{$_GET["cat"]}'>\n\t\t\t<table class=\"outline margin\">\n\t\t\t\t<tr class=\"header0\">\n\t\t\t\t\t<th colspan=\"4\">" . __("Upload") . "</th>\n\t\t\t\t</tr>\n\t\t\t\t<tr class=\"cell0\">\n\t\t\t\t\t<td>File</td><td>\n\t\t\t\t\t\t<input type=\"file\" id=\"newfile\" name=\"newfile\" style=\"width: 80%;\" />\n\t\t\t\t\t</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr class=\"cell1\">\n\t\t\t\t\t<td>Description</td><td>\n\t\t\t\t\t\t<input type=\"text\" name=\"description\" style=\"width: 80%;\" />\n\t\t\t\t\t</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr class=\"cell0\">\n\t\t\t\t\t<td></td><td>\n\t\t\t\t\t\t<input type=\"submit\" id=\"submit\" name=\"action\" value=\"" . __("Upload") . "\" disabled=\"disabled\" />\n\t\t\t\t\t</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr class=\"cell1 smallFonts\">\n\t\t\t\t\t<td colspan=\"3\">\n\t\t\t\t\t\t" . __("The maximum upload size is {0} per file. You can upload the following types: {2}.") . "\n\t\t\t\t\t\t<div id=\"sizeWarning\" style=\"display: none; font-weight: bold\">" . __("File is too large.") . "</div>\n\t\t\t\t\t\t<div id=\"typeWarning\" style=\"display: none; font-weight: bold\">" . __("File is not an allowed type.") . "</div>\n\t\t\t\t\t</td>\n\t\t\t\t</tr>\n\t\t\t</table>\n\t\t</form>\n\t\t", BytesToSize($maxSizeMult), $maxSizeMult, Settings::pluginGet('uploaderWhitelist')); } } else { if ($_GET['action'] == __("Upload")) { AssertForbidden("useUploader"); if ($loguserid) { $cat = getCategory($_POST["cat"]); $targetdir = $rootdir; $quot = $quota; $privateFlag = 0; if ($_POST['cat'] == -1) { $quot = $pQuota; $targetdir = $rootdir . "/" . $loguserid; $privateFlag = 1; }
</td> </tr> <tr class="cell2"> <td class="smallFonts" style="text-align: center"> <?php if ($loguserid) { print UserLink($loguser) . ": "; print "<ul class=\"pipemenu\">"; print "<li><a href=\"#\" onclick=\"if(confirm('" . __("Are you sure you want to log out?") . "')) document.forms[0].submit();\">" . __("Log out") . "</a></li>"; if (IsAllowed("editProfile")) { print "<li><a href=\"editprofile.php\">" . __("Edit profile") . "</a></li>"; } if (IsAllowed("viewPM")) { print "<li><a href=\"private.php\">" . __("Private messages") . "</a></li>"; } if (IsAllowed("editMoods")) { print "<li><a href=\"editavatars.php\">" . __("Mood avatars") . "</a></li>"; } $bucket = "bottomMenu"; include "./lib/pluginloader.php"; if (!isset($_POST['id']) && isset($_GET['id'])) { $_POST['id'] = (int) $_GET['id']; } if (strpos($_SERVER['SCRIPT_NAME'], "forum.php")) { print "<li><a href=\"index.php?fid=" . $_POST['id'] . "&action=markasread\">" . __("Mark forum read") . "</a></li>"; } elseif (strpos($_SERVER['SCRIPT_NAME'], "index.php")) { print "<li><a href=\"index.php?action=markallread\">" . __("Mark all forums read") . "</a></li>"; } } else { print "<ul class=\"pipemenu\">"; print "<li><a href=\"register.php\">" . __("Register") . "</a></li>";
$poll = Fetch(Query("SELECT p.*,\n\t\t\t\t\t\t\t(SELECT COUNT(DISTINCT user) FROM {pollvotes} pv WHERE pv.poll = p.id) as users,\n\t\t\t\t\t\t\t(SELECT COUNT(*) FROM {pollvotes} pv WHERE pv.poll = p.id) as votes\n\t\t\t\t\t\t FROM {poll} p\n\t\t\t\t\t\t WHERE p.id={0}", $thread['poll'])); if (!$poll) { Kill(__("Poll not found")); } $totalVotes = $poll["users"]; $rOptions = Query("SELECT pc.*,\n\t\t\t\t\t\t\t(SELECT COUNT(*) FROM {pollvotes} pv WHERE pv.poll = {0} AND pv.choiceid = pc.id) as votes,\n\t\t\t\t\t\t\t(SELECT COUNT(*) FROM {pollvotes} pv WHERE pv.poll = {0} AND pv.choiceid = pc.id AND pv.user = {1}) as myvote\n\t\t\t\t\t FROM {poll_choices} pc\n\t\t\t\t\t WHERE poll={0}", $thread['poll'], $loguserid); $pops = 0; $noColors = 0; $defaultColors = array("#0000B6", "#00B600", "#00B6B6", "#B60000", "#B600B6", "#B66700", "#B6B6B6", "#676767", "#6767FF", "#67FF67", "#67FFFF", "#FF6767", "#FF67FF", "#FFFF67", "#FFFFFF"); while ($option = Fetch($rOptions)) { if ($option['color'] == "") { $option['color'] = $defaultColors[($option["id"] + 9) % 15]; } $chosen = $option["myvote"] ? "✔" : ""; $cellClass = ($cellClass + 1) % 2; if ($loguserid && !$thread['closed'] && IsAllowed("vote")) { $label = $chosen . " " . actionLinkTag(htmlspecialchars($option['choice']), "thread", $thread['id'], "vote=" . $option["id"] . "&token=" . $loguser["token"] . "&" . $fromstring); } else { $label = $chosen . " " . htmlspecialchars($option['choice']); } $votes = $option["votes"]; $bar = " 0"; if ($totalVotes > 0) { $width = 100 * ($votes / $totalVotes); $alt = format("{0} of {1}, {2}%", $votes, $totalVotes, $width); $bar = format("<div class=\"pollbar\" style=\"background-color: {0}; width: {1}%;\" title=\"{2}\"> {3}</div>", $option['color'], $width, $alt, $votes); if ($width == 0) { $bar = " " . $votes; } } $pollLines .= "\n\t<tr class=\"cell{$cellClass}\">\n\t\t<td>\n\t\t\t{$label}\n\t\t</td>\n\t\t<td class=\"width75\">\n\t\t\t<div class=\"pollbarContainer\">\n\t\t\t\t{$bar}\n\t\t\t</div>\n\t\t</td>\n\t</tr>";
while ($comment = Fetch($rComments)) { if ($canDeleteComments) { $deleteLink = "<small style=\"float: right; margin: 0px 4px;\">" . actionLinkTag("✘", $mobileLayout ? "usercomments" : "profile", $id, "action=delete&cid=" . $comment['id'] . "&token={$loguser['token']}") . "</small>"; } $cellClass = ($cellClass + 1) % 2; $thisComment = format("\n\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t<td class=\"cell2\">\n\t\t\t\t\t\t\t\t{0}\n\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t<td class=\"cell{1}\">\n\t\t\t\t\t\t\t\t{3}{2}\n\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t</tr>\n", UserLink(getDataPrefix($comment, "u_")), $cellClass, CleanUpPost($comment['text'], $comment['u_name']), $deleteLink); $commentList = $commentList . $thisComment; if (!isset($lastCID)) { $lastCID = $comment['cid']; } } $pagelinks = "<td colspan=\"2\" class=\"cell1\">{$pagelinks}</td>"; if ($total > $cpp) { $commentList = "{$pagelinks}{$commentList}{$pagelinks}"; } } else { $commentsWasEmpty = true; $commentList = $thisComment = format("\n\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t<td class=\"cell0\" colspan=\"2\">\n\t\t\t\t\t\t\t\t" . __("No comments.") . "\n\n\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t</tr>\n"); } //print "lastCID: ".$lastCID; if ($loguserid) { $commentField = "\n\t\t\t\t\t\t\t\t<div>\n\t\t\t\t\t\t\t\t\t<form name=\"commentform\" method=\"post\" action=\"" . actionLink("usercomments") . "\">\n\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"id\" value=\"{$id}\" />\n\t\t\t\t\t\t\t\t\t\t<input type=\"text\" name=\"text\" style=\"width: 80%;\" maxlength=\"255\" />\n\t\t\t\t\t\t\t\t\t\t<input type=\"submit\" name=\"actionpost\" value=\"" . __("Post") . "\" />\n\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"token\" value=\"{$loguser['token']}\" />\n\t\t\t\t\t\t\t\t\t</form>\n\t\t\t\t\t\t\t\t</div>"; // if($lastCID == $loguserid) // $commentField = __("You already have the last word."); if (!IsAllowed("makeComments") || !$canComment) { $commentField = __("You are not allowed to post usercomments."); } } print "\n\t\t\t\t<table class=\"outline margin\">\n\t\t\t\t\t<tr class=\"header1\">\n\t\t\t\t\t\t<th colspan=\"2\">\n\t\t\t\t\t\t\t" . format(__("Comments about {0}"), UserLink($user)) . "\n\t\t\t\t\t\t</th>\n\t\t\t\t\t</tr>\n\t\t\t\t\t{$commentList}\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td colspan=\"2\" class=\"cell2\">\n\t\t\t\t\t\t\t{$commentField}\n\t\t\t\t\t\t</td>\n\t\t\t\t\t</tr>\n\t\t\t\t</table>"; $bucket = "profileRight"; include "./lib/pluginloader.php";
$previewPost[$toCopy] = $user[$toCopy]; } $previewPost['activity'] = FetchResult("select count(*) from posts where user = "******" and date > " . (time() - 86400), 0, 0); MakePost($previewPost, 0, 0); if ($loguser['powerlevel'] > 2) { if (IsAllowed("editUser")) { $links .= "<li><a href=\"editprofile.php?id=" . $id . "\">" . __("Edit user") . "</a></li>"; } if (IsAllowed("snoopPM")) { $links .= "<li><a href=\"private.php?user="******"\">" . __("Show PMs") . "</a></li>"; } } if ($loguserid && IsAllowed("sendPM")) { $links .= "<li><a href=\"sendprivate.php?uid=" . $id . "\">" . __("Send PM") . "</a></li>"; } if (IsAllowed("listPosts")) { $links .= "<li><a href=\"listposts.php?id=" . $id . "\">" . __("Show posts") . "</a></li>"; } $links .= $blockLayoutLink; write("\n\t<ul class=\"smallFonts margin pipemenu\">\n\t\t{0}\n\t</ul>\n", $links); $title = "Profile for " . htmlspecialchars($user['name']); function IsReallyEmpty($subject) { $trimmed = trim(preg_replace("/&.*;/", "", $subject)); return strlen($trimmed) != 0; } function IP2C($ip) { $q = @mysql_query("select cc from ip2c where ip_from <= inet_aton('" . $ip . "') and ip_to >= inet_aton('" . $ip . "')") or $r['cc'] = ""; if ($q) { $r = @mysql_fetch_array($q);
print "<TD>\n"; if (!empty($name)) { ShowUserSex(); print "<A HREF={$descscript}?action=user&usrname={$name} target=_blank>{$name}</A>\n"; } print "<TD width=27px><IMG SRC=identity.png>\n"; print "<TD><A HREF={$loginscript}?url=guides.php>{$l10nstr['3']}</A><BR>\n"; /* connect as another user */ if (!empty($name)) { print "<TD width=27px><IMG SRC=document.png>\n"; print "<TD><A HREF=editguide.php?action=new>{$l10nstr['156']}</A><BR>\n"; /* create new guide */ } print "</TABLE>\n"; GetPermissions(); if (($level = IsAllowed($name)) == 0) { print "<CENTER><H1>{$l10nstr['157']}</H1>\n"; /* you are not allowed to access */ exit; } $action = $_GET['action']; if ($action == 'adduser') { $user = $_POST['new_user']; $user = str_replace("\\'", '', $user); AddUser($user); print "<CENTER><H1 dir={$langdir}>{$l10nstr['118']}: "; /* user */ print "{$user} "; print "<H1>{$l10nstr['158']}</H1>\n"; /* added to system */ print "<A HREF=guides.php>{$l10nstr['158']}</A>\n";
$links->add(new PipeMenuLinkEntry(__("Edit user"), "editprofile", $id, "", "pencil")); } } if (IsAllowed("snoopPM") && $loguser['powerlevel'] > 2) { $links->add(new PipeMenuLinkEntry(__("Show PMs"), "private", $id, "", "eye-open")); } if ($loguserid && IsAllowed("sendPM")) { $links->add(new PipeMenuLinkEntry(__("Send PM"), "sendprivate", "", "uid=" . $id, "envelope")); } if (IsAllowed("listPosts")) { $links->add(new PipeMenuLinkEntry(__("Show posts"), "listposts", $id, "", "copy")); } if (IsAllowed("listThreads")) { $links->add(new PipeMenuLinkEntry(__("Show threads"), "listthreads", $id, "", "list")); } if (IsAllowed("blockLayouts") && $loguserid) { $rBlock = Query("select * from {blockedlayouts} where user={0} and blockee={1}", $id, $loguserid); $isBlocked = NumRows($rBlock); if ($isBlocked) { $links->add(new PipeMenuLinkEntry(__("Unblock layout"), "profile", $id, "block=0&token={$loguser['token']}", "ban-circle")); } else { if ($id != $loguserid) { $links->add(new PipeMenuLinkEntry(__("Block layout"), "profile", $id, "block=1&token={$loguser['token']}", "ban-circle")); } } } makeLinks($links); $uname = $user["name"]; if ($user["displayname"]) { $uname = $user["displayname"]; }
function MakePost($post, $thread, $forum, $ispm = 0) { global $loguser, $loguserid, $dateformat, $theme, $hacks, $isBot, $blocklayouts, $postText, $sideBarStuff, $sideBarData, $salt; $sideBarStuff = ""; if (isset($_GET['pid'])) { $highlight = (int) $_GET['pid']; } //$qBlock = "select * from blockedlayouts where user="******" and blockee=".$loguserid; //$rBlock = Query($qBlock); LoadBlockLayouts(); $isBlocked = $blocklayouts[$post['uid']] | $post['globalblock'] | $loguser['blocklayouts'] | $post['options'] & 1; $noSmilies = $post['options'] & 2; $noBr = $post['options'] & 4; if ($post['deleted'] && !$ispm) { $meta = format(__("Posted on {0}"), cdate($dateformat, $post['date'])); $links = "<ul class=\"pipemenu\"><li>" . __("Post deleted") . "</li>"; if (CanMod($loguserid, $forum)) { $key = hash('sha256', "{$loguserid},{$loguser['pss']},{$salt}"); if (IsAllowed("editPost", $post['id'])) { $links .= "<li><a href=\"editpost.php?id=" . $post['id'] . "&delete=2&key=" . $key . "\">" . __("Undelete") . "</a></li>"; } $links .= "<li><a href=\"#\" onclick=\"ReplacePost(" . $post['id'] . ",true); return false;\">" . __("View") . "</a></li>"; } $links .= "<li>" . format(__("ID: {0}"), $post['id']) . "</li></ul>"; write("\n\t\t<table class=\"post margin\" id=\"post{0}\">\n\t\t\t<tr>\n\t\t\t\t<td class=\"side userlink\" id=\"{0}\">\n\t\t\t\t\t{1}\n\t\t\t\t</td>\n\t\t\t\t<td class=\"smallFonts\" style=\"border-left: 0px none; border-right: 0px none;\">\n\t\t\t\t\t{2}\n\t\t\t\t</td>\n\t\t\t\t<td class=\"smallFonts right\" style=\"border-left: 0px none;\">\n\t\t\t\t\t{3}\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t</table>\n", $post['id'], UserLink($post, "uid"), $meta, $links); return; } if ($ispm == 1) { $thread = $ispm; } if ($thread) { $links = ""; if (!$ispm && !$isBot) { if ($post['unfoldhax']) { $key = hash('sha256', "{$loguserid},{$loguser['pss']},{$salt}"); $links = "<ul class=\"pipemenu\"><li>" . __("Post deleted") . "</li>"; if (IsAllowed("editPost", $post['id'])) { $links .= "<li><a href=\"editpost.php?id=" . $post['id'] . "&delete=2&key=" . $key . "\">" . __("Undelete") . "</a></li>"; } $links .= "<li><a href=\"#\" onclick=\"ReplacePost(" . $post['id'] . ",false); return false;\">" . __("Close") . "</a></li>"; $links .= "<li>" . format(__("ID: {0}"), $post['id']) . "</li></ul>"; } else { $links .= "<ul class=\"pipemenu\"><li><a href=\"thread.php?pid=" . $post['id'] . "#" . $post['id'] . "\">" . __("Link") . "</a></li>"; if ($thread && $loguser['powerlevel'] > -1 && $forum != -2 && IsAllowed("makeReply", $thread)) { $links .= "<li><a href=\"newreply.php?id=" . $thread . "&quote=" . $post['id'] . "\">" . __("Quote") . "</a></li>"; } if (CanMod($loguserid, $forum) || $post['uid'] == $loguserid && $loguser['powerlevel'] > -1 && !$post['closed'] && IsAllowed("editPost", $post['id'])) { $links .= "<li><a href=\"editpost.php?id=" . $post['id'] . "\">" . __("Edit") . "</a></li>"; } if (CanMod($loguserid, $forum) && IsAllowed("editPost", $post['id'])) { $key = hash('sha256', "{$loguserid},{$loguser['pss']},{$salt}"); $links .= "<li><a href=\"editpost.php?id=" . $post['id'] . "&delete=1&key=" . $key . "\">" . __("Delete") . "</a></li>"; } if ($forum != -2 && IsAllowed("makeReply", $thread)) { $links .= "<li>" . format(__("ID: {0}"), "<a href=\"newreply.php?id=" . $thread . "&link=" . $post['id'] . "\">" . $post['id'] . "</a>") . "</li>"; } else { $links .= "<li>" . format(__("ID: {0}"), $post['id']) . "</li>"; } if ($loguser['powerlevel'] > 0) { $links .= "<li>" . $post['ip'] . "</li>"; } $links .= "</ul>"; } } $meta = format(__(!$ispm ? "Posted on {0}" : "Sent on {0}"), cdate($dateformat, $post['date'])); //Threadlinks for listpost.php if ($forum == -2) { $meta .= " " . __("in") . " <a href=\"thread.php?id=" . $post['thread'] . "\">" . htmlspecialchars($post['threadname']) . "</a>"; } //Revisions if ($post['revision']) { if (CanMod($loguserid, $forum)) { $meta .= " (<a href=\"javascript:void(0);\" onclick=\"showRevisions(" . $post['id'] . ")\">" . format(__("revision {0}"), $post['revision']) . "</a>)"; } else { $meta .= " (" . format(__("revision {0}"), $post['revision']) . ")"; } } //</revisions> } else { $meta = __("Sample post"); } if ($forum == -1) { $meta = __("Posted in") . " <a href=\"thread.php?id=" . $thread['id'] . "\">" . htmlspecialchars($thread['title']) . "</a>"; } //if($post['postbg']) // $postbg = " style=\"background: url(".$post['postbg'].");\""; $sideBarStuff .= GetRank($post); if ($sideBarStuff) { $sideBarStuff .= "<br />"; } if ($post['title']) { $sideBarStuff .= strip_tags(CleanUpPost($post['title'], "", true), "<b><strong><i><em><span><s><del><img><a><br><small>") . "<br />"; } else { $levelRanks = array(-1 => __("Banned"), 0 => "", 1 => __("Local mod"), 2 => __("Full mod"), 3 => __("Administrator")); $sideBarStuff .= $levelRanks[$post['powerlevel']] . "<br />"; } $sideBarStuff .= GetSyndrome($post['activity']); if ($post['picture']) { if ($post['mood'] > 0 && file_exists("img/avatars/" . $post['uid'] . "_" . $post['mood'])) { $sideBarStuff .= "<img src=\"img/avatars/" . $post['uid'] . "_" . $post['mood'] . "\" alt=\"\" />"; } else { $sideBarStuff .= "<img src=\"" . $post['picture'] . "\" alt=\"\" />"; } } else { $sideBarStuff .= "<div style=\"width: 50px; height: 50px;\"> </div>"; } $lastpost = $post['lastposttime'] ? timeunits(time() - $post['lastposttime']) : "none"; $lastview = timeunits(time() - $post['lastactivity']); if ($post['num'] != "preview") { $sideBarStuff .= "<br />\n" . __("Posts:") . " " . $post['num'] . "/" . $post['posts']; } else { $sideBarStuff .= "<br />\n" . __("Posts:") . " " . $post['posts']; } $sideBarStuff .= "<br />\n" . __("Since:") . " " . cdate($loguser['dateformat'], $post['regdate']) . "<br />"; $bucket = "sidebar"; include "./lib/pluginloader.php"; $sideBarStuff .= "<br />\n" . __("Last post:") . " " . $lastpost; $sideBarStuff .= "<br />\n" . __("Last view:") . " " . $lastview; if ($hacks['themenames'] == 3) { $sideBarStuff = ""; $isBlocked = 1; } if ($post['lastactivity'] > time() - 3600) { $sideBarStuff .= "<br />\n" . __("User is <strong>online</strong>"); } if ($post['id'] != "preview") { $anchor = "<a name=\"" . $post['id'] . "\" />"; } if (!$isBlocked) { $topBar1 = "topbar" . $post['uid'] . "_1"; $topBar2 = "topbar" . $post['uid'] . "_2"; $sideBar = "sidebar" . $post['uid']; $mainBar = "mainbar" . $post['uid']; } $tags = array(); $rankHax = $post['posts']; //if($post['num'] == "preview") // $post['num'] = $post['posts']; $post['posts'] = $post['num']; //Disable tags by commenting/removing this part. $tags = array("numposts" => $post['num'], "numdays" => floor((time() - $post['regdate']) / 86400), "date" => cdate($dateformat, $post['date']), "rank" => GetRank($post)); $bucket = "amperTags"; include "./lib/pluginloader.php"; $post['posts'] = $rankHax; if ($post['postheader'] && !$isBlocked) { $postHeader = str_replace('$theme', $theme, ApplyTags(CleanUpPost($post['postheader'], "", $noSmilies, true), $tags)); } $postText = ApplyTags(CleanUpPost($post['text'], $post['name'], $noSmilies, $noBr), $tags); $bucket = "postMangler"; include "./lib/pluginloader.php"; if ($post['signature'] && !$isBlocked) { $postFooter = ApplyTags(CleanUpPost($post['signature'], "", $noSmilies, true), $tags); if (!$post['signsep']) { $separator = "<br />_________________________<br />"; } else { $separator = "<br />"; } } $postCode = "\n\t\t<table class=\"post margin {14}\" id=\"post{13}\">\n\t\t\t<tr>\n\t\t\t\t<td class=\"side userlink {1}\">\n\t\t\t\t\t{0}\n\t\t\t\t\t{5}\n\t\t\t\t</td>\n\t\t\t\t<td class=\"meta right {2}\">\n\t\t\t\t\t<div style=\"float: left;\" id=\"meta_{13}\">\n\t\t\t\t\t\t{7}\n\t\t\t\t\t</div>\n\t\t\t\t\t<div style=\"float: left; display: none;\" id=\"dyna_{13}\">\n\t\t\t\t\t\tHi.\n\t\t\t\t\t</div>\n\t\t\t\t\t{8}\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td class=\"side {3}\">\n\t\t\t\t\t<div class=\"smallFonts\">\n\t\t\t\t\t\t{6}\n\t\t\t\t\t</div>\n\t\t\t\t</td>\n\t\t\t\t<td class=\"post {4}\" id=\"post_{13}\">\n\n\t\t\t\t\t{9}\n\n\t\t\t\t\t{10}\n\n\t\t\t\t\t{12}\n\t\t\t\t\t{11}\n\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t</table>\n"; write($postCode, $anchor, $topBar1, $topBar2, $sideBar, $mainBar, UserLink($post, "uid"), $sideBarStuff, $meta, $links, $postHeader, $postText, $postFooter, $separator, $post['id'], $post['id'] == $highlight ? "highlightedPost" : ""); }