authenticate(); $doc->pagetitle="Platform"; $doc->doctype="public"; $doc->bodytype="center"; $main=getmodule("home"); $doc->content("general/tab.php"); $doc->rightside("general/inaicta.php"); #------------------------proc switch ($cmd) { case "changelog": $tab="changelog"; $doc->content("general/ver.php"); break; case "sessions": $tab="sessions"; $data=$main->session(); $doc->content("general/sessions.php"); break; case "users": $tab="users"; $data=$main->users(); $doc->content("general/users.php"); break; case "apicall": $doc->bodytype="left"; $tab="apicall"; $data=$main->apicall(); $doc->content("general/apicall.php"); break; default: $tab="pattern"; $doc->content("general/home.php"); } $doc->error_message(); #------------------------view include(viwpath."/general/body.php"); ?>