예제 #1
0
<?php

cell2(actionLinkTag(__("Referral log"), "referrals"));
예제 #2
0
<?php

if ($loguser['powerlevel'] > 3) {
    cell2(actionLinkTag(__("Firewall log"), "shitbugs"));
}
예제 #3
0
파일: admin.php 프로젝트: knytrune/ABXD
$title = __("Administration");
$crumbs = new PipeMenu();
$crumbs->add(new PipeMenuLinkEntry(__("Admin"), "admin"));
makeBreadcrumbs($crumbs);
$cell2 = 1;
function cell2($content)
{
    global $cell2;
    $cell2 = $cell2 == 1 ? 0 : 1;
    Write("\n\t\t<tr class=\"cell{0}\">\n\t\t\t<td>\n\t\t\t\t{1}\n\t\t\t</td>\n\t\t</tr>\n\t", $cell2, $content);
}
Write("\n\t<table class=\"outline margin width50 floatright\">\n\t\t<tr class=\"header1\">\n\t\t\t<th colspan=\"2\">\n\t\t\t\t" . __("Information") . "\n\t\t\t</th>\n\t\t</tr>\n");
cell2(Format("\n\n\t\t\t\t" . __("Last viewcount milestone") . "\n\t\t\t</td>\n\t\t\t<td style=\"width: 60%;\">\n\t\t\t\t{0}\n\t\t\t", $misc['milestone']));
$bucket = "adminright";
include "./lib/pluginloader.php";
write("\n\t</table>\n");
$cell2 = 1;
Write("\n\t<table class=\"outline margin width25\">\n\t\t<tr class=\"header1\">\n\t\t\t<th>\n\t\t\t\t" . __("Admin tools") . "\n\t\t\t</th>\n\t\t</tr>\n");
cell2(actionLinkTag(__("Recalculate statistics"), "recalc"));
cell2(actionLinkTag(__("Last Known Browsers"), "lastknownbrowsers"));
cell2(actionLinkTag(__("Manage IP bans"), "ipbans"));
cell2(actionLinkTag(__("Manage forum list"), "editfora"));
cell2(actionLinkTag(__("Manage plugins"), "pluginmanager"));
cell2(actionLinkTag(__("Edit settings"), "editsettings"));
cell2(actionLinkTag(__("Edit smilies"), "editsmilies"));
cell2(actionLinkTag(__("Optimize tables"), "optimize"));
cell2(actionLinkTag(__("View log"), "log"));
cell2(actionLinkTag(__("Update table structure"), "updateschema"));
$bucket = "adminleft";
include "./lib/pluginloader.php";
write("\n\t</table>\n");
예제 #4
0
<?php

cell2(actionLinkTag(__("Update the board"), "gitpull"));
예제 #5
0
<?php

cell2(actionLinkTag(__("Manage User Badges"), "userbadges"));
예제 #6
0
<?php

cell2(actionLinkTag(__("Add new BBCode"), "custombb"));
예제 #7
0
<?php

cell2(actionLinkTag(__("Bad Behavior"), "abusers"));
예제 #8
0
<?php

$df = "l, F jS Y, G:i:s";
cell2(format("\n\t\t\tHighest number of users in five minutes\n\t\t\t</td>\n\t\t\t<td>\n\t\t\t\t{0}, on {1} GMT:<br />\n\t\t\t\t{2}\n", $misc['maxusers'], gmdate($df, $misc['maxusersdate']), $misc['maxuserstext']));