echo "<RESPONSE>\n"; echo "<ERROR>IDS_SESSION_ID_INVALID</ERROR>\n"; echo "</RESPONSE>\n"; } break; //////////////////////////////////////////////////////////////////////////////////////////// // servermsg // Params: action //////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////// // servermsg // Params: action //////////////////////////////////////////////////////////////////////////////////////////// case "servermsg": //Instantiate CServMsg Class $oServMsg = new CServMsg($config); echo "<RESPONSE>\n"; $oServMsg->GetMessagesForMobile(); echo "</RESPONSE>\n"; $oServMsg->Close(); unset($oServMsg); break; //////////////////////////////////////////////////////////////////////////////////////////// // news // Params: action //////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////// // news // Params: action //////////////////////////////////////////////////////////////////////////////////////////// case "news":
////////////////////////////////////////////////////////////// require $Root_Path . "bin/CR3DCQuery.php"; require $Root_Path . "bin/CTipOfTheDay.php"; require $Root_Path . "bin/CBilling.php"; require $Root_Path . "bin/CServMsg.php"; require $Root_Path . "includes/language.php"; require $Root_Path . "includes/siteconfig.php"; include_once $Root_Path . "bin/CAvatars.php"; require $Root_Path . "bin/LanguageParser.php"; include $config; ////////////////////////////////////////////////////////////// //Instantiate the Classes $oR3DCQuery = new CR3DCQuery($config); $oAvatars = new CAvatars($config); $oBilling = new CBilling($config); $oServMsg = new CServMsg($config); $bCronEnabled = $oR3DCQuery->IsCronManagementEnabled(); ////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////// // Check For the nonempty SID var $sid = trim($_GET['sid']); // Log the user on or manage the session if a SID is passed to the page if ($sid != "") { $user = ""; $id = ""; $oR3DCQuery->ConfirmSID($sid, $user, $id); if ($user != "" && $id != "") { $_SESSION['sid'] = $sid; $_SESSION['user'] = $user; $_SESSION['id'] = $id; $oR3DCQuery->GetChessBoardColors($config, $_SESSION['id'], $l, $d);