Exemplo n.º 1
0
    }
    ?>
</td>
</tr> -->
<?php 
    if ($_SESSION['id'] == "") {
        ?>
<tr>
<td class="white">
<h3 class="menu_title"><?php 
        echo GetStringFromStringTable("IDS_MENU_TXT_15", $config);
        ?>
</h3>
<?php 
        //Instantiate the CTipOfTheDay Class
        $oTipOfTheDay = new CTipOfTheDay($config);
        $oTipOfTheDay->GetRandomTip($config);
        unset($oTipOfTheDay);
        ?>
</td>
</tr>

<tr>
<td class="white">
<h3 class="menu_title"><?php 
        echo GetStringFromStringTable("IDS_MENU_TXT_16", $config);
        ?>
</h3>
<?php 
        $oR3DCQuery->GetNewPlayers($config);
        ?>
$SSIfile = "../skins/" . $SkinName . "/standard_cfg.php";
if (file_exists($SSIfile)) {
    include $SSIfile;
}
//////////////////////////////////////////////////////////////
require $Root_Path . "bin/CR3DCQuery.php";
require $Root_Path . "bin/CAdmin.php";
require $Root_Path . "bin/config.php";
require $Root_Path . "includes/siteconfig.php";
require $Root_Path . "bin/CTipOfTheDay.php";
require $Root_Path . "includes/language.php";
$login = "******";
//////////////////////////////////////////////////////////////
//Instantiate the Classes
$oR3DCQuery = new CR3DCQuery($config);
$oTipOfTheDay = new CTipOfTheDay($config);
$bCronEnabled = $oR3DCQuery->IsCronManagementEnabled();
//////////////////////////////////////////////////////////////
////////////////////////////////////////////////
//Login Processing
////////////////////////////////////////////////
//Check if admin is logged in already
if (!isset($_SESSION['LOGIN'])) {
    $login = "******";
    header('Location: ./index.php');
} else {
    if ($_SESSION['LOGIN'] != true) {
        if (isset($_SESSION['UNAME'])) {
            unset($_SESSION['UNAME']);
        }
        if (isset($_SESSION['LOGIN'])) {