Zeile 105 | Zeile 105 |
---|
"); while($user = $db->fetch_array($query)) {
|
"); while($user = $db->fetch_array($query)) {
|
| // Deleted Users if(!$user['username']) { $user['username'] = htmlspecialchars_uni($lang->na_deleted); }
|
$user_options[$user['uid']] = htmlspecialchars_uni($user['username']); }
| $user_options[$user['uid']] = htmlspecialchars_uni($user['username']); }
|
Zeile 140 | Zeile 146 |
---|
{ $mybb->settings['threadsperpage'] = 20; }
|
{ $mybb->settings['threadsperpage'] = 20; }
|
|
|
$perpage = $mybb->settings['threadsperpage']; }
| $perpage = $mybb->settings['threadsperpage']; }
|
Zeile 177 | Zeile 183 |
---|
if($order != "asc") { $order = "desc";
|
if($order != "asc") { $order = "desc";
|
}
$query = $db->query("
| }
$query = $db->query("
|
SELECT COUNT(l.dateline) AS count FROM ".TABLE_PREFIX."moderatorlog l {$where}
| SELECT COUNT(l.dateline) AS count FROM ".TABLE_PREFIX."moderatorlog l {$where}
|
Zeile 195 | Zeile 201 |
---|
$postcount = (int)$rescount; $pages = $postcount / $perpage; $pages = ceil($pages);
|
$postcount = (int)$rescount; $pages = $postcount / $perpage; $pages = ceil($pages);
|
|
|
if($mybb->input['page'] == "last") { $pagecnt = $pages; }
if($pagecnt > $pages)
|
if($mybb->input['page'] == "last") { $pagecnt = $pages; }
if($pagecnt > $pages)
|
{ $pagecnt = 1; }
| { $pagecnt = 1; }
|
if($pagecnt) {
| if($pagecnt) {
|
Zeile 240 | Zeile 246 |
---|
$logitem['action'] = htmlspecialchars_uni($logitem['action']); $logitem['dateline'] = my_date('relative', $logitem['dateline']); $trow = alt_trow();
|
$logitem['action'] = htmlspecialchars_uni($logitem['action']); $logitem['dateline'] = my_date('relative', $logitem['dateline']); $trow = alt_trow();
|
$username = format_name(htmlspecialchars_uni($logitem['username']), $logitem['usergroup'], $logitem['displaygroup']); $logitem['profilelink'] = build_profile_link($username, $logitem['uid'], "_blank");
| if($logitem['username']) { $username = format_name(htmlspecialchars_uni($logitem['username']), $logitem['usergroup'], $logitem['displaygroup']); $logitem['profilelink'] = build_profile_link($username, $logitem['uid'], "_blank"); } else { $username = $logitem['profilelink'] = $logitem['username'] = htmlspecialchars_uni($lang->na_deleted); }
|
if($logitem['tsubject']) { $information = "<strong>{$lang->thread}</strong> <a href=\"../".get_thread_link($logitem['tid'])."\" target=\"_blank\">".htmlspecialchars_uni($logitem['tsubject'])."</a><br />";
| if($logitem['tsubject']) { $information = "<strong>{$lang->thread}</strong> <a href=\"../".get_thread_link($logitem['tid'])."\" target=\"_blank\">".htmlspecialchars_uni($logitem['tsubject'])."</a><br />";
|
Zeile 280 | Zeile 293 |
---|
{ $table->construct_cell($lang->no_modlogs, array("colspan" => "5")); $table->construct_row();
|
{ $table->construct_cell($lang->no_modlogs, array("colspan" => "5")); $table->construct_row();
|
}
| }
|
$table->output($lang->mod_logs);
|
$table->output($lang->mod_logs);
|
|
|
// Do we need to construct the pagination? if($rescount > $perpage)
|
// Do we need to construct the pagination? if($rescount > $perpage)
|
{
| {
|
echo draw_admin_pagination($pagecnt, $perpage, $rescount, "index.php?module=tools-modlog&perpage=$perpage&uid={$mybb->input['uid']}&fid={$mybb->input['fid']}&sortby={$mybb->input['sortby']}&order={$order}")."<br />"; }
|
echo draw_admin_pagination($pagecnt, $perpage, $rescount, "index.php?module=tools-modlog&perpage=$perpage&uid={$mybb->input['uid']}&fid={$mybb->input['fid']}&sortby={$mybb->input['sortby']}&order={$order}")."<br />"; }
|
|
|
// Fetch filter options $sortbysel[$mybb->input['sortby']] = "selected=\"selected\""; $ordersel[$mybb->input['order']] = "selected=\"selected\"";
| // Fetch filter options $sortbysel[$mybb->input['sortby']] = "selected=\"selected\""; $ordersel[$mybb->input['order']] = "selected=\"selected\"";
|
Zeile 305 | Zeile 318 |
---|
"); while($user = $db->fetch_array($query)) {
|
"); while($user = $db->fetch_array($query)) {
|
| // Deleted Users if(!$user['username']) { $user['username'] = $lang->na_deleted; }
|
$selected = ''; if($mybb->input['uid'] == $user['uid']) {
| $selected = ''; if($mybb->input['uid'] == $user['uid']) {
|