Файл: adm/topnav.php
Строк: 56
<?php
##############################################################################
# * #
# * XG PROYECT #
# * #
# * @copyright Copyright (C) 2008 - 2009 By lucky from xgproyect.net #
# * #
# * #
# * This program is free software: you can redistribute it and/or modify #
# * it under the terms of the GNU General Public License as published by #
# * the Free Software Foundation, either version 3 of the License, or #
# * (at your option) any later version. #
# * #
# * This program is distributed in the hope that it will be useful, #
# * but WITHOUT ANY WARRANTY; without even the implied warranty of #
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# * GNU General Public License for more details. #
# * #
##############################################################################
define('INSIDE' , true);
define('INSTALL' , false);
define('IN_ADMIN', true);
$xgp_root = './../';
include($xgp_root . 'extension.inc.php');
include($xgp_root . 'common.' . $phpEx);
if ($user['authlevel'] < 1) die(message ($lang['404_page']));
$parse = $lang;
if ($user['authlevel'] == 3)
{
$parse['moderation'] = '<a href="Moderation.php?moderation=1" target="Hauptframe" class="topn"> '.$lang['mu_moderation_page'].' </a>';
$parse['authlevels'] = '<a href="Moderation.php?moderation=2" target="Hauptframe" class="topn"> '.$lang['ad_authlevel_title'].' </a>';
$parse['resetuniverse'] = '<a href="ResetPage.php" target="Hauptframe" class="topn"> '.$lang['re_reset_universe'].' </a>';
$parse['queries'] = '<a href="QueriesPage.php" target="Hauptframe" class="topn"> '.$lang['qe_title_menu'].' </a>';
}
display( parsetemplate(gettemplate('adm/Topnav'), $parse), false, '', true, false);
?>