DatabaseTables = &$DatabaseTables; $Context->DatabaseColumns = &$DatabaseColumns; // Start the session management $Context->StartSession(); include($Configuration["APPLICATION_PATH"]."conf/language.php"); $Mode = ForceIncomingCookieString("Mode", MODE_RELEASE); $PageAction = ForceIncomingString("PageAction", ""); if ($PageAction == "ToggleDebug") { if ($Mode == MODE_DEBUG) { $Mode = MODE_RELEASE; } else { $Mode = MODE_DEBUG; } setcookie("Mode", $Mode, time()+31104000,"/"); } ////////////////////// // Display the page // ////////////////////// echo(" ".$Configuration["APPLICATION_TITLE"]." ".$Context->GetDefinition("Debug")." StyleUrl."css/utility.css\" />

".$Context->GetDefinition("DebugTitle")."

".$Context->GetDefinition("DebugDescription")."

"); if ($PageAction == "ToggleDebug") { echo("

processing...

"); } else { echo("

".$Context->GetDefinition("CurrentApplicationMode")." ".$Mode."

".$Context->GetDefinition("SwitchApplicationMode")."

".$Context->GetDefinition("BackToApplication").""); } echo("

"); ?>