Exemplo n.º 1
0
function display($page, $title = '', $topnav = true, $metatags = '')
{
    global $link, $game_config, $debug, $user;
    //die('---~|~---');
    echo_head($title, $metatags);
    if ($topnav) {
        echo_topnav();
    }
    echo '<div id="content">';
    echo "<center>\n{$page}\n</center>\n";
    //Muestra los datos del debuger.
    if ($user['authlevel'] == 1 || $user['authlevel'] == 3) {
        if ($game_config['debug'] == 1) {
            $debug->echo_log();
        }
    }
    echo echo_foot();
    if (isset($link)) {
        mysql_close();
    }
    die;
}
Exemplo n.º 2
0
function display($page, $title = '', $topnav = true)
{
    global $link;
    echo_head($title);
    if ($topnav) {
        echo_topnav();
    }
    echo "<center>\n{$page}\n</center>\n</body>\n</html>";
    if (isset($link)) {
        mysql_close();
    }
}
Exemplo n.º 3
0
    along with WOT Game.  If not, see <http://www.gnu.org/licenses/>.
*/
//mboss
define('INSIDE', true);
$ugamela_root_path = './';
include $ugamela_root_path . 'extension.inc';
include $ugamela_root_path . 'common.' . $phpEx;
if (!check_user()) {
    header("Location: login.php");
    die;
}
$dpath = !$userrow["dpath"] ? DEFAULT_SKINPATH : $userrow["dpath"];
$i = is_numeric($from) && isset($from) ? $from : 0;
echo_head("Suspensiones en Ugamela");
if ($userrow) {
    echo_topnav();
}
echo "<center>\n";
echo '<h2>Pranger</h2>

   <table border="0" cellpadding="2" cellspacing="1">
    <tr height="20">
     <td class="c">Gesperrter</td>
     <td class="c">Wann</td>
     <td class="c">Gesperrt bis:</td>
     <td class="c">Kontakt:</td>
     <td class="c">Grund</td>
    </tr>';
$count = 0;
$banned = doquery("SELECT * FROM {{table}} ORDER BY `time` DESC LIMIT {$i},50", "banned");
while ($b = mysql_fetch_array($banned)) {
Exemplo n.º 4
0
function display($page, $title = '', $topnav = true, $metatags = '')
{
    global $link, $game_config, $debug;
    echo_head($title, $metatags);
    if ($topnav) {
        echo_topnav();
    }
    echo "<center>\n{$page}\n</center>\n";
    //Muestra los datos del debuger.
    if ($game_config['debug'] == 1) {
        $debug->echo_log();
    }
    echo echo_foot();
    if (isset($link)) {
        mysql_close();
    }
    die;
}