Kacper Wojciechowski
- Mentor MyBB
- 858 119 156 43
Witam, mam pytanie jak wykorzystać funkcję multipage w pluginie MyBB? Chodzi mi o Strony (2): 1 2 Dalej »
$multipage = multipage($postcount, $perpage, $page, str_replace("{tid}", $tid, THREAD_URL_PAGED.$highlight.$threadmode));
LIMIT $start, $perpage
elseif ($page == 'vsklad') {
$menubok = "$menuboksklad";
$multipage = multipage($postcount, $perpage, $page, str_replace("{tid}", $tid, THREAD_URL_PAGED.$highlight.$threadmode));
$query0 = $con->query("SELECT * FROM Accounts WHERE premium = 0 LIMIT $start, $perpage");
$pgcontent = "<script>$(\"#vskladadmin\").addClass(\"active\");</script><script>$(\"#panelsklad\").addClass(\"activeSORTBY\");</script>";
$pgcontent .= "<table class=\"tborder\" border=\"0\" cellpadding=\"5\" cellspacing=\"0\">
<tbody><tr>
<td class=\"thead\" colspan=\"7\">
<section>Vipy</section></td>
</tr>
<tr>
<td class=\"tcat\" align=\"center\">uID</td>
<td class=\"tcat\" align=\"center\">Nick</td>
</tr>";
while($results0 = $query0->fetch_array()) {
$pgcontent .= " <tr>
<td class=\"trow2\" align=\"center\">".$results0['uid']."</td>
<td class=\"trow2\" align=\"center\"><a href=\"index.php?page=statygracza&player_name=".$results0['name']."\"><span class=\"ranga premium\"><i class=\"fa fa-user-plus\"></i> ".$results0['name']."</span></a></td>
</tr>";
}
$pgcontent .= "</tbody></table>{$multipage}";
add_breadcrumb("Skład Administracji", "index.php?page=sklad");
}
2 gości