$oServMsg->Close(); unset($oServMsg); break; //////////////////////////////////////////////////////////////////////////////////////////// // news // Params: action //////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////// // news // Params: action //////////////////////////////////////////////////////////////////////////////////////////// case "news": //Instantiate the CFrontNews Class $oFrontNews = new CFrontNews($config); echo "<RESPONSE>\n"; $oFrontNews->GetFrontNewsForMobile(); echo "</RESPONSE>\n"; $oFrontNews->Close(); unset($oFrontNews); break; //////////////////////////////////////////////////////////////////////////////////////////// // playerstats // Params: action, sid, playerid //////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////// // playerstats // Params: action, sid, playerid //////////////////////////////////////////////////////////////////////////////////////////// case "playerstats": if (isSessionIDValid($config, $xsid)) { if (is_numeric($playerid)) {