Location: PHPKode > projects > News Publishing Content Management System > news-publishing-content-management-system/jpowered/newscms/admin/helpsupport.php
<?php 
require "./include/include.php";function helpindexpage() {$replacearray[0] = "[MESSAGE]";$replacearray[1] = $message;$replacearray[2] = "[DOMAIN]";$replacearray[3] = getDomain();$replacearray[4] = "[PRODID]";$replacearray[5] = "PHPcmsNews01";createPage("help",$replacearray);}function helppage($hpage) {$replacearray[0] = $hpage;$replacearray[1] = $message;$replacearray[2] = "[DOMAIN]";$replacearray[3] = getDomain();$replacearray[4] = "[PRODID]";$replacearray[5] = "PHPcmsNews01";createPage("helppage",$replacearray);
}function getDomain() {if (isset($_SERVER["HTTP_HOST"])) {$domain  = $_SERVER["HTTP_HOST"];}else {$domain  = $HTTP_SERVER_VARS["HTTP_HOST"];}if (strlen($domain)>3) {if (strcmp(substr($domain,0,4),"www.")==0) {$domain = substr($domain,4);}}return $domain;}getSystemParameters();$userid = testSession();if ($userid>0) { $_SESSION['adminmenu']->setSelect(7);$action = "";if (array_key_exists("action",   $_REQUEST))  {$action = $_REQUEST["action"];}switch ($action) {case "contents":helpindexpage();break;
case "helpgettingstarted":$hpage = $action.".htm";helppage($hpage);break;case "helpoverview":$hpage = $action.".htm";helppage($hpage);break;case "helpcategory":$hpage = $action.".htm";helppage($hpage);break;case "helparticle":$hpage = $action.".htm";helppage($hpage);break;case "helpstyle":$hpage = $action.".htm";helppage($hpage);break;case "helpsetting":$hpage = $action.".htm";helppage($hpage);break;case "helplink":$hpage = $action.".htm";helppage($hpage);break;case "helpembed":$hpage = $action.".htm";
helppage($hpage);break;case "helpscrolling":$hpage = $action.".htm";helppage($hpage);break;case "helplicense":$hpage = $action.".htm";helppage($hpage);break;case "helprenew":$hpage = $action.".htm";helppage($hpage);break;default: helpindexpage();}}else { $errormessage = "";logonPage($errormessage);}
?>
Return current item: News Publishing Content Management System