Location: PHPKode > projects > News Publishing Content Management System > news-publishing-content-management-system/jpowered/newscms/admin/settings.php
<?php 
require "./include/include.php";function settingsindexpage($message) {$replacearray[0] = "[MESSAGE]";$replacearray[1] = $message;createPage("settings",$replacearray);}function generalsettings($message) {global $JPN_PARAMETERS;$subaction = "";if (array_key_exists("subaction",   $_REQUEST))  {$subaction = $_REQUEST["subaction"];}switch ($subaction) {case "update":   $JPN_PARAMETERS["ArticlesPerPage"]       = verifyInteger($_REQUEST["articlesperpage"],1,200);$JPN_PARAMETERS["HeadlinesPerCat"]       = verifyInteger($_REQUEST["headlinespercat"],1,50);
$JPN_PARAMETERS["SearchResultsPerPage"]  = verifyInteger($_REQUEST["searchresultsperpage"],1,200);$JPN_PARAMETERS["baseurl"]               = verifyURL($_REQUEST["baseurl"]);$JPN_PARAMETERS["licensekey"]            = $_REQUEST["licensekey"];updateSystemParameters();settingsindexpage("General Settings have been updated.");break;default: $replacearray[0] = "[MESSAGE]";$replacearray[1] = $message;$replacearray[2]  = "[ARTPERPAGE]";$replacearray[3]  = $JPN_PARAMETERS["ArticlesPerPage"];$replacearray[4]  = "[HEADPERPAGE]";
$replacearray[5]  = $JPN_PARAMETERS["HeadlinesPerCat"];$replacearray[6]  = "[SRPERPAGE]";$replacearray[7]  = $JPN_PARAMETERS["SearchResultsPerPage"];$replacearray[8]  = "[BASEURL]";$replacearray[9]  = $JPN_PARAMETERS["baseurl"];$replacearray[10] = "[LICENSEKEY]";$replacearray[11] = $JPN_PARAMETERS["licensekey"];createPage("settingsgeneral",$replacearray);}}function settingsheadfoot($message) {global $JPN_PARAMETERS;$subaction = "";if (array_key_exists("subaction",   $_REQUEST))  {$subaction = $_REQUEST["subaction"];}
switch ($subaction) {case "update":   $headtext = stripslashes($_REQUEST["headertext"]);$foottext = stripslashes($_REQUEST["footertext"]);createHeadFootFile("newsheader.txt",$headtext);createHeadFootFile("newsfooter.txt",$foottext);settingsindexpage("Header and Footer have been updated.");break;default: $replacearray[0] = "[MESSAGE]";$replacearray[1] = $message;$replacearray[2] = "[HEADERTEXT]";$replacearray[3] = getHeadFootFile("newsheader.txt");$replacearray[4] = "[FOOTERTEXT]";$replacearray[5] = getHeadFootFile("newsfooter.txt");
createPage("settingsheadfoot",$replacearray);}}function settingslinksandbg($message) {global $JPN_PARAMETERS;$subaction = "";if (array_key_exists("subaction",   $_REQUEST))  {$subaction = $_REQUEST["subaction"];}switch ($subaction) {case "update":   $JPN_PARAMETERS["LinksColor"]       = verifyColor($_REQUEST["linkcolor"]);$JPN_PARAMETERS["LinksHoverColor"]  = verifyColor($_REQUEST["linkhovercolor"]);$JPN_PARAMETERS["JPNBorderColor"]   = verifyColor($_REQUEST["bordercolor"]);$JPN_PARAMETERS["JPNleftBGColor"]   = verifyColor($_REQUEST["lcbgcolor"]);
$JPN_PARAMETERS["JPNcenterBGColor"] = verifyColor($_REQUEST["ccbgcolor"]);$JPN_PARAMETERS["JPNrightBGColor"]  = verifyColor($_REQUEST["rcbgcolor"]);updateSystemParameters();settingsindexpage("Background and Link Colors have been updated.");break;default: $replacearray[0] = "[MESSAGE]";$replacearray[1] = $message;$replacearray[2]  = "[LINKCOLOR]";$replacearray[3]  = $JPN_PARAMETERS["LinksColor"];$replacearray[4]  = "[LINKHOVERCOLOR]";$replacearray[5]  = $JPN_PARAMETERS["LinksHoverColor"];$replacearray[6]  = "[BORDERCOLOR]";
$replacearray[7]  = $JPN_PARAMETERS["JPNBorderColor"];$replacearray[8]  = "[LCBGCOLOR]";$replacearray[9]  = $JPN_PARAMETERS["JPNleftBGColor"];$replacearray[10] = "[CCBGCOLOR]";$replacearray[11] = $JPN_PARAMETERS["JPNcenterBGColor"];$replacearray[12] = "[RCBGCOLOR]";$replacearray[13] = $JPN_PARAMETERS["JPNrightBGColor"];$replacearray[14] = "[LCFONTCOLOR]";$replacearray[15] = $JPN_PARAMETERS["CatLinksFontColor"];$replacearray[16] = "[CCFONTCOLOR]";$replacearray[17] = $JPN_PARAMETERS["MainSummaryFontColor"];
$replacearray[18] = "[RCFONTCOLOR]";$replacearray[19] = $JPN_PARAMETERS["HeadlinesCatFontColor"];createPage("settingslinks",$replacearray);}}function settingsSearchBox($message) {global $JPN_PARAMETERS;$subaction = "";if (array_key_exists("subaction",   $_REQUEST))  {$subaction = $_REQUEST["subaction"];}switch ($subaction) {case "update":   $JPN_PARAMETERS["SearchBoxBorderColor"]       = verifyColor($_REQUEST["sbborder"]);$JPN_PARAMETERS["SearchBoxBgColor"]           = verifyColor($_REQUEST["sbbackground"]);
$JPN_PARAMETERS["SearchBoxFontColor"]         = verifyColor($_REQUEST["fontcolor"]);$JPN_PARAMETERS["SearchBoxHeaderBgColor"]     = verifyColor($_REQUEST["sbheaderbgcolor"]);$JPN_PARAMETERS["SearchBoxHeaderFontColor"]   = verifyColor($_REQUEST["sbheaderfontcolor"]);$JPN_PARAMETERS["SearchBoxInputBorderColor"]  = verifyColor($_REQUEST["sbinputbordercolor"]);$JPN_PARAMETERS["SearchBoxInputBgColor"]      = verifyColor($_REQUEST["sbinputbgcolor"]);$JPN_PARAMETERS["SearchBoxInputFontColor"]    = verifyColor($_REQUEST["sbinputfontcolor"]);
$JPN_PARAMETERS["SearchBoxButtonBorderColor"] = verifyColor($_REQUEST["sbbuttonbodercolor"]);$JPN_PARAMETERS["SearchBoxButtonBgColor"]     = verifyColor($_REQUEST["sbbuttonbg"]);$JPN_PARAMETERS["SearchBoxButtonFontColor"]   = verifyColor($_REQUEST["sbbuttonfontcolor"]);$JPN_PARAMETERS["SearchBoxFontFace"]         = $_REQUEST["fontface"];$JPN_PARAMETERS["SearchBoxFontSize"]         = $_REQUEST["fontsize"];$JPN_PARAMETERS["SearchBoxFontStyle"]        = $_REQUEST["fontstyle"];$JPN_PARAMETERS["SearchBoxFontWeight"]       = $_REQUEST["fontweight"];
$JPN_PARAMETERS["SearchBoxHeaderFontFace"]   = $_REQUEST["headfontface"];$JPN_PARAMETERS["SearchBoxHeaderFontSize"]   = $_REQUEST["headfontsize"];$JPN_PARAMETERS["SearchBoxHeaderFontStyle"]  = $_REQUEST["headfontstyle"];$JPN_PARAMETERS["SearchBoxHeaderFontWeight"] = $_REQUEST["headfontweight"];$JPN_PARAMETERS["SearchBoxInputFontFace"]    = $_REQUEST["sbinputfontface"];$JPN_PARAMETERS["SearchBoxInputFontSize"]    = $_REQUEST["sbinputfontsize"];$JPN_PARAMETERS["SearchBoxInputFontStyle"]   = $_REQUEST["sbinputfontstyle"];
$JPN_PARAMETERS["SearchBoxInputFontWeight"]  = $_REQUEST["sbinputfontweight"];$JPN_PARAMETERS["SearchBoxButtonFontFace"]   = $_REQUEST["sbbuttonfontface"];$JPN_PARAMETERS["SearchBoxButtonFontSize"]   = $_REQUEST["sbbuttonfontsize"];$JPN_PARAMETERS["SearchBoxButtonFontStyle"]  = $_REQUEST["sbbuttonfontstyle"];$JPN_PARAMETERS["SearchBoxButtonFontWeight"] = $_REQUEST["sbbuttonfontweight"];updateSystemParameters();settingsindexpage("Search Box Settings have been updated.");break;default: $replacearray[0] = "[MESSAGE]";
$replacearray[1] = $message;$replacearray[2]  = "[SBBORDER]";$replacearray[3]  = $JPN_PARAMETERS["SearchBoxBorderColor"];$replacearray[4]  = "[SBBACKGROUND]";$replacearray[5]  = $JPN_PARAMETERS["SearchBoxBgColor"];$replacearray[6]  = "[SBFONTCOLOR]";$replacearray[7]  = $JPN_PARAMETERS["SearchBoxFontColor"];$replacearray[8]  = "[SBHEADERBGCOLOR]";$replacearray[9]  = $JPN_PARAMETERS["SearchBoxHeaderBgColor"];$replacearray[10] = "[SBHEADFONTCOLOR]";$replacearray[11] = $JPN_PARAMETERS["SearchBoxHeaderFontColor"];
$replacearray[12] = "[SBINPUTBORDERCOLOR]";$replacearray[13] = $JPN_PARAMETERS["SearchBoxInputBorderColor"];$replacearray[14] = "[SBINPUTBGCOLOR]";$replacearray[15] = $JPN_PARAMETERS["SearchBoxInputBgColor"];$replacearray[16] = "[SBINPUTCOLOR]";$replacearray[17] = $JPN_PARAMETERS["SearchBoxInputFontColor"];$replacearray[18] = "[SBBUTTONBORDERCOLOR]";$replacearray[19] = $JPN_PARAMETERS["SearchBoxButtonBorderColor"];$replacearray[20] = "[SBBUTTONBGCOLOR]";$replacearray[21] = $JPN_PARAMETERS["SearchBoxButtonBgColor"];
$replacearray[22] = "[SBBUTTONFONTCOLOR]";$replacearray[23] = $JPN_PARAMETERS["SearchBoxButtonFontColor"];$replacearray[24] = "[SBFF]";$replacearray[25] = $JPN_PARAMETERS["SearchBoxFontFace"];$replacearray[26] = "[SBFSZ]";$replacearray[27] = $JPN_PARAMETERS["SearchBoxFontSize"];$replacearray[28] = "[SBFST]";$replacearray[29] = $JPN_PARAMETERS["SearchBoxFontStyle"];$replacearray[30] = "[SBFW]";$replacearray[31] = $JPN_PARAMETERS["SearchBoxFontWeight"];$replacearray[32] = "[SBHFF]";$replacearray[33] = $JPN_PARAMETERS["SearchBoxHeaderFontFace"];
$replacearray[34] = "[SBHFSZ]";$replacearray[35] = $JPN_PARAMETERS["SearchBoxHeaderFontSize"];$replacearray[36] = "[SBHFST]";$replacearray[37] = $JPN_PARAMETERS["SearchBoxHeaderFontStyle"];$replacearray[38] = "[SBHFW]";$replacearray[39] = $JPN_PARAMETERS["SearchBoxHeaderFontWeight"];$replacearray[40] = "[SBIFF]";$replacearray[41] = $JPN_PARAMETERS["SearchBoxInputFontFace"];$replacearray[42] = "[SBIFSZ]";$replacearray[43] = $JPN_PARAMETERS["SearchBoxInputFontSize"];$replacearray[44] = "[SBIFST]";$replacearray[45] = $JPN_PARAMETERS["SearchBoxInputFontStyle"];
$replacearray[46] = "[SBIFW]";$replacearray[47] = $JPN_PARAMETERS["SearchBoxInputFontWeight"];$replacearray[48] = "[SBBFF]";$replacearray[49] = $JPN_PARAMETERS["SearchBoxButtonFontFace"];$replacearray[50] = "[SBBFSZ]";$replacearray[51] = $JPN_PARAMETERS["SearchBoxButtonFontSize"];$replacearray[52] = "[SBBFST]";$replacearray[53] = $JPN_PARAMETERS["SearchBoxButtonFontStyle"];$replacearray[54] = "[SBBFW]";$replacearray[55] = $JPN_PARAMETERS["SearchBoxButtonFontWeight"];$replacearray[56] = "[FONTFACEOPTIONS1]";
$replacearray[57] = generateFontFaceOptions($JPN_PARAMETERS["SearchBoxFontFace"]);$replacearray[58] = "[FONTFACEOPTIONS2]";$replacearray[59] = generateFontFaceOptions($JPN_PARAMETERS["SearchBoxHeaderFontFace"]);$replacearray[60] = "[FONTFACEOPTIONS3]";$replacearray[61] = generateFontFaceOptions($JPN_PARAMETERS["SearchBoxInputFontFace"]);$replacearray[62] = "[FONTFACEOPTIONS4]";$replacearray[63] = generateFontFaceOptions($JPN_PARAMETERS["SearchBoxButtonFontFace"]);$replacearray[64] = "[FONTSTYLEOPTIONS1]";
$replacearray[65] = generateFontStyleOptions($JPN_PARAMETERS["SearchBoxFontStyle"]);$replacearray[66] = "[FONTSTYLEOPTIONS2]";$replacearray[67] = generateFontStyleOptions($JPN_PARAMETERS["SearchBoxHeaderFontStyle"]);$replacearray[68] = "[FONTSTYLEOPTIONS3]";$replacearray[69] = generateFontStyleOptions($JPN_PARAMETERS["SearchBoxInputFontStyle"]);$replacearray[70] = "[FONTSTYLEOPTIONS4]";$replacearray[71] = generateFontStyleOptions($JPN_PARAMETERS["SearchBoxButtonFontStyle"]);$replacearray[72] = "[FONTSIZEOPTIONS1]";
$replacearray[73] = generateFontSizeOptions($JPN_PARAMETERS["SearchBoxFontSize"]);$replacearray[74] = "[FONTSIZEOPTIONS2]";$replacearray[75] = generateFontSizeOptions($JPN_PARAMETERS["SearchBoxHeaderFontSize"]);$replacearray[76] = "[FONTSIZEOPTIONS3]";$replacearray[77] = generateFontSizeOptions($JPN_PARAMETERS["SearchBoxInputFontSize"]);$replacearray[78] = "[FONTSIZEOPTIONS4]";$replacearray[79] = generateFontSizeOptions($JPN_PARAMETERS["SearchBoxButtonFontSize"]);$replacearray[80] = "[FONTWEIGHTOPTIONS1]";
$replacearray[81] = generateFontWeightOptions($JPN_PARAMETERS["SearchBoxFontWeight"]);$replacearray[82] = "[FONTWEIGHTOPTIONS2]";$replacearray[83] = generateFontWeightOptions($JPN_PARAMETERS["SearchBoxHeaderFontWeight"]);$replacearray[84] = "[FONTWEIGHTOPTIONS3]";$replacearray[85] = generateFontWeightOptions($JPN_PARAMETERS["SearchBoxInputFontWeight"]);$replacearray[86] = "[FONTWEIGHTOPTIONS4]";$replacearray[87] = generateFontWeightOptions($JPN_PARAMETERS["SearchBoxButtonFontWeight"]);createPage("settingssearchbox",$replacearray);
}}function categoryStyles($message) {global $JPN_PARAMETERS;$subaction = "";if (array_key_exists("subaction",   $_REQUEST))  {$subaction = $_REQUEST["subaction"];}switch ($subaction) {case "update":   $JPN_PARAMETERS["CatLinksFontFace"]         = $_REQUEST["fontface"];$JPN_PARAMETERS["CatLinksFontSize"]         = $_REQUEST["fontsize"];$JPN_PARAMETERS["CatLinksFontStyle"]        = $_REQUEST["fontstyle"];$JPN_PARAMETERS["CatLinksFontWeight"]       = $_REQUEST["fontweight"];updateSystemParameters();
settingsindexpage("Catgory settings have been updated.");break;default: $replacearray[0] = "[MESSAGE]";$replacearray[1] = $message;$replacearray[2]  = "[LINKCOLOR]";$replacearray[3]  = $JPN_PARAMETERS["LinksColor"];$replacearray[4]  = "[LINKHOVERCOLOR]";$replacearray[5]  = $JPN_PARAMETERS["LinksHoverColor"];$replacearray[6]  = "[BORDERCOLOR]";$replacearray[7]  = $JPN_PARAMETERS["JPNBorderColor"];$replacearray[8]  = "[LCBGCOLOR]";$replacearray[9]  = $JPN_PARAMETERS["JPNleftBGColor"];$replacearray[10] = "[CCBGCOLOR]";
$replacearray[11] = $JPN_PARAMETERS["JPNcenterBGColor"];$replacearray[12] = "[RCBGCOLOR]";$replacearray[13] = $JPN_PARAMETERS["JPNrightBGColor"];$replacearray[14] = "[LCFONTCOLOR]";$replacearray[15] = $JPN_PARAMETERS["LinksColor"];$replacearray[16] = "[CCFONTCOLOR]";$replacearray[17] = $JPN_PARAMETERS["MainSummaryFontColor"];$replacearray[18] = "[RCFONTCOLOR]";$replacearray[19] = $JPN_PARAMETERS["HeadlinesCatFontColor"];$replacearray[20] = "[FONTFACEOPTIONS]";$replacearray[21] = generateFontFaceOptions($JPN_PARAMETERS["CatLinksFontFace"]);
$replacearray[22] = "[FONTSTYLEOPTIONS]";$replacearray[23] = generateFontStyleOptions($JPN_PARAMETERS["CatLinksFontStyle"]);$replacearray[24] = "[FONTSIZEOPTIONS]";$replacearray[25] = generateFontSizeOptions($JPN_PARAMETERS["CatLinksFontSize"]);$replacearray[26] = "[FONTWEIGHTOPTIONS]";$replacearray[27] = generateFontWeightOptions($JPN_PARAMETERS["CatLinksFontWeight"]);$replacearray[28] = "[CATFF]";$replacearray[29] = $JPN_PARAMETERS["CatLinksFontFace"];$replacearray[30] = "[CATFSZ]";$replacearray[31] = $JPN_PARAMETERS["CatLinksFontSize"];
$replacearray[32] = "[CATFST]";$replacearray[33] = $JPN_PARAMETERS["CatLinksFontStyle"];$replacearray[34] = "[CATFW]";$replacearray[35] = $JPN_PARAMETERS["CatLinksFontWeight"];createPage("settingscategory",$replacearray);}}function headlines($message) {global $JPN_PARAMETERS;$subaction = "";if (array_key_exists("subaction",   $_REQUEST))  {$subaction = $_REQUEST["subaction"];}switch ($subaction) {case "update":   $JPN_PARAMETERS["HeadlinesCatFontColor"]     = verifyColor($_REQUEST["catfontcolor"]);
$JPN_PARAMETERS["HeadlinesCatFontFace"]      = $_REQUEST["catfontface"];$JPN_PARAMETERS["HeadlinesCatFontSize"]      = $_REQUEST["catfontsize"];$JPN_PARAMETERS["HeadlinesCatFontStyle"]     = $_REQUEST["catfontstyle"];$JPN_PARAMETERS["HeadlinesCatFontWeight"]    = $_REQUEST["catfontweight"];$JPN_PARAMETERS["HeadlinesFontFace"]         = $_REQUEST["headlinefontface"];$JPN_PARAMETERS["HeadlinesFontSize"]         = $_REQUEST["headlinefontsize"];$JPN_PARAMETERS["HeadlinesFontStyle"]        = $_REQUEST["headlinefontstyle"];
$JPN_PARAMETERS["HeadlinesFontWeight"]       = $_REQUEST["headlinefontweight"];updateSystemParameters();settingsindexpage("Headline settings have been updated.");break;default: $replacearray[0] = "[MESSAGE]";$replacearray[1] = $message;$replacearray[2]  = "[LINKCOLOR]";$replacearray[3]  = $JPN_PARAMETERS["LinksColor"];$replacearray[4]  = "[LINKHOVERCOLOR]";$replacearray[5]  = $JPN_PARAMETERS["LinksHoverColor"];$replacearray[6]  = "[BORDERCOLOR]";$replacearray[7]  = $JPN_PARAMETERS["JPNBorderColor"];
$replacearray[8]  = "[LCBGCOLOR]";$replacearray[9]  = $JPN_PARAMETERS["JPNleftBGColor"];$replacearray[10] = "[CCBGCOLOR]";$replacearray[11] = $JPN_PARAMETERS["JPNcenterBGColor"];$replacearray[12] = "[RCBGCOLOR]";$replacearray[13] = $JPN_PARAMETERS["JPNrightBGColor"];$replacearray[14] = "[LCFONTCOLOR]";$replacearray[15] = $JPN_PARAMETERS["LinksColor"];$replacearray[16] = "[CCFONTCOLOR]";$replacearray[17] = $JPN_PARAMETERS["MainSummaryFontColor"];$replacearray[18] = "[RCFONTCOLOR]";$replacearray[19] = $JPN_PARAMETERS["HeadlinesCatFontColor"];
$replacearray[20] = "[FONTFACEOPTIONS1]";$replacearray[21] = generateFontFaceOptions($JPN_PARAMETERS["HeadlinesCatFontFace"]);$replacearray[22] = "[FONTSTYLEOPTIONS1]";$replacearray[23] = generateFontStyleOptions($JPN_PARAMETERS["HeadlinesCatFontStyle"]);$replacearray[24] = "[FONTSIZEOPTIONS1]";$replacearray[25] = generateFontSizeOptions($JPN_PARAMETERS["HeadlinesCatFontSize"]);$replacearray[26] = "[FONTWEIGHTOPTIONS1]";$replacearray[27] = generateFontWeightOptions($JPN_PARAMETERS["HeadlinesCatFontWeight"]);
$replacearray[28] = "[FONTFACEOPTIONS2]";$replacearray[29] = generateFontFaceOptions($JPN_PARAMETERS["HeadlinesFontFace"]);$replacearray[30] = "[FONTSTYLEOPTIONS2]";$replacearray[31] = generateFontStyleOptions($JPN_PARAMETERS["HeadlinesFontStyle"]);$replacearray[32] = "[FONTSIZEOPTIONS2]";$replacearray[33] = generateFontSizeOptions($JPN_PARAMETERS["HeadlinesFontSize"]);$replacearray[34] = "[FONTWEIGHTOPTIONS2]";$replacearray[35] = generateFontWeightOptions($JPN_PARAMETERS["HeadlinesFontWeight"]);
$replacearray[36] = "[CATFF]";$replacearray[37] = $JPN_PARAMETERS["HeadlinesCatFontFace"];$replacearray[38] = "[CATFSZ]";$replacearray[39] = $JPN_PARAMETERS["HeadlinesCatFontSize"];$replacearray[40] = "[CATFST]";$replacearray[41] = $JPN_PARAMETERS["HeadlinesCatFontStyle"];$replacearray[42] = "[CATFW]";$replacearray[43] = $JPN_PARAMETERS["HeadlinesCatFontWeight"];$replacearray[44] = "[HEADFF]";$replacearray[45] = $JPN_PARAMETERS["HeadlinesFontFace"];$replacearray[46] = "[HEADFSZ]";$replacearray[47] = $JPN_PARAMETERS["HeadlinesFontSize"];
$replacearray[48] = "[HEADFST]";$replacearray[49] = $JPN_PARAMETERS["HeadlinesFontStyle"];$replacearray[50] = "[HEADFW]";$replacearray[51] = $JPN_PARAMETERS["HeadlinesFontWeight"];$replacearray[52] = "[CATFONTCOLOR]";$replacearray[53] = $JPN_PARAMETERS["HeadlinesCatFontColor"];createPage("settingsheadline",$replacearray);}}function summary($message) {global $JPN_PARAMETERS;$subaction = "";if (array_key_exists("subaction",   $_REQUEST))  {$subaction = $_REQUEST["subaction"];}switch ($subaction) {case "update":   
$JPN_PARAMETERS["MainCatFontColor"]        = verifyColor($_REQUEST["catfontcolor"]);$JPN_PARAMETERS["MainCatFontFace"]         = $_REQUEST["catfontface"];$JPN_PARAMETERS["MainCatFontSize"]         = $_REQUEST["catfontsize"];$JPN_PARAMETERS["MainCatFontStyle"]        = $_REQUEST["catfontstyle"];$JPN_PARAMETERS["MainCatFontWeight"]       = $_REQUEST["catfontweight"];$JPN_PARAMETERS["MainHeadlineFontColor"]   = verifyColor($_REQUEST["headlinefontcolor"]);$JPN_PARAMETERS["MainHeadlineFontFace"]    = $_REQUEST["headlinefontface"];
$JPN_PARAMETERS["MainHeadlineFontSize"]    = $_REQUEST["headlinefontsize"];$JPN_PARAMETERS["MainHeadlineFontStyle"]   = $_REQUEST["headlinefontstyle"];$JPN_PARAMETERS["MainHeadlineFontWeight"]  = $_REQUEST["headlinefontweight"];$JPN_PARAMETERS["MainDateFontColor"]       = verifyColor($_REQUEST["datefontcolor"]);$JPN_PARAMETERS["MainDateFontFace"]        = $_REQUEST["datefontface"];$JPN_PARAMETERS["MainDateFontSize"]        = $_REQUEST["datefontsize"];$JPN_PARAMETERS["MainDateFontStyle"]       = $_REQUEST["datefontstyle"];
$JPN_PARAMETERS["MainDateFontWeight"]      = $_REQUEST["datefontweight"];$JPN_PARAMETERS["MainSummaryFontColor"]    = verifyColor($_REQUEST["summaryfontcolor"]);$JPN_PARAMETERS["MainSummaryFontFace"]     = $_REQUEST["summaryfontface"];$JPN_PARAMETERS["MainSummaryFontSize"]     = $_REQUEST["summaryfontsize"];$JPN_PARAMETERS["MainSummaryFontStyle"]    = $_REQUEST["summaryfontstyle"];$JPN_PARAMETERS["MainSummaryFontWeight"]   = $_REQUEST["summaryfontweight"];$JPN_PARAMETERS["MainViewLinkFontColor"]   = verifyColor($_REQUEST["viewfontcolor"]);
$JPN_PARAMETERS["MainViewLinkFontFace"]    = $_REQUEST["viewfontface"];$JPN_PARAMETERS["MainViewLinkFontSize"]    = $_REQUEST["viewfontsize"];$JPN_PARAMETERS["MainViewLinkFontStyle"]   = $_REQUEST["viewfontstyle"];$JPN_PARAMETERS["MainViewLinkFontWeight"]  = $_REQUEST["viewfontweight"];updateSystemParameters();settingsindexpage("Summary settings have been updated.");break;default: $replacearray[0] = "[MESSAGE]";$replacearray[1] = $message;$replacearray[2]  = "[LINKCOLOR]";$replacearray[3]  = $JPN_PARAMETERS["LinksColor"];
$replacearray[4]  = "[LINKHOVERCOLOR]";$replacearray[5]  = $JPN_PARAMETERS["LinksHoverColor"];$replacearray[6]  = "[BORDERCOLOR]";$replacearray[7]  = $JPN_PARAMETERS["JPNBorderColor"];$replacearray[8]  = "[LCBGCOLOR]";$replacearray[9]  = $JPN_PARAMETERS["JPNleftBGColor"];$replacearray[10] = "[CCBGCOLOR]";$replacearray[11] = $JPN_PARAMETERS["JPNcenterBGColor"];$replacearray[12] = "[RCBGCOLOR]";$replacearray[13] = $JPN_PARAMETERS["JPNrightBGColor"];$replacearray[14] = "[LCFONTCOLOR]";$replacearray[15] = $JPN_PARAMETERS["LinksColor"];
$replacearray[16] = "[CCFONTCOLOR]";$replacearray[17] = $JPN_PARAMETERS["MainSummaryFontColor"];$replacearray[18] = "[RCFONTCOLOR]";$replacearray[19] = $JPN_PARAMETERS["HeadlinesCatFontColor"];$replacearray[20] = "[CATFONTCOLOR]";$replacearray[21] = $JPN_PARAMETERS["MainCatFontColor"];$replacearray[22] = "[FONTFACEOPTIONS1]";$replacearray[23] = generateFontFaceOptions($JPN_PARAMETERS["MainCatFontFace"]);$replacearray[24] = "[FONTSTYLEOPTIONS1]";$replacearray[25] = generateFontStyleOptions($JPN_PARAMETERS["MainCatFontStyle"]);
$replacearray[26] = "[FONTSIZEOPTIONS1]";$replacearray[27] = generateFontSizeOptions($JPN_PARAMETERS["MainCatFontSize"]);$replacearray[28] = "[FONTWEIGHTOPTIONS1]";$replacearray[29] = generateFontWeightOptions($JPN_PARAMETERS["MainCatFontWeight"]);$replacearray[30] = "[HEADLINEFONTCOLOR]";$replacearray[31] = $JPN_PARAMETERS["MainHeadlineFontColor"];$replacearray[32] = "[FONTFACEOPTIONS2]";$replacearray[33] = generateFontFaceOptions($JPN_PARAMETERS["MainHeadlineFontFace"]);$replacearray[34] = "[FONTSTYLEOPTIONS2]";
$replacearray[35] = generateFontStyleOptions($JPN_PARAMETERS["MainHeadlineFontStyle"]);$replacearray[36] = "[FONTSIZEOPTIONS2]";$replacearray[37] = generateFontSizeOptions($JPN_PARAMETERS["MainHeadlineFontSize"]);$replacearray[38] = "[FONTWEIGHTOPTIONS2]";$replacearray[39] = generateFontWeightOptions($JPN_PARAMETERS["MainHeadlineFontWeight"]);$replacearray[40] = "[DATEFONTCOLOR]";$replacearray[41] = $JPN_PARAMETERS["MainDateFontColor"];$replacearray[42] = "[FONTFACEOPTIONS3]";$replacearray[43] = generateFontFaceOptions($JPN_PARAMETERS["MainDateFontFace"]);
$replacearray[44] = "[FONTSTYLEOPTIONS3]";$replacearray[45] = generateFontStyleOptions($JPN_PARAMETERS["MainDateFontStyle"]);$replacearray[46] = "[FONTSIZEOPTIONS3]";$replacearray[47] = generateFontSizeOptions($JPN_PARAMETERS["MainDateFontSize"]);$replacearray[48] = "[FONTWEIGHTOPTIONS3]";$replacearray[49] = generateFontWeightOptions($JPN_PARAMETERS["MainDateFontWeight"]);$replacearray[50] = "[SUMMARYFONTCOLOR]";$replacearray[51] = $JPN_PARAMETERS["MainSummaryFontColor"];$replacearray[52] = "[FONTFACEOPTIONS4]";
$replacearray[53] = generateFontFaceOptions($JPN_PARAMETERS["MainSummaryFontFace"]);$replacearray[54] = "[FONTSTYLEOPTIONS4]";$replacearray[55] = generateFontStyleOptions($JPN_PARAMETERS["MainSummaryFontStyle"]);$replacearray[56] = "[FONTSIZEOPTIONS4]";$replacearray[57] = generateFontSizeOptions($JPN_PARAMETERS["MainSummaryFontSize"]);$replacearray[58] = "[FONTWEIGHTOPTIONS4]";$replacearray[59] = generateFontWeightOptions($JPN_PARAMETERS["MainSummaryFontWeight"]);$replacearray[60] = "[VIEWFONTCOLOR]";
$replacearray[61] = $JPN_PARAMETERS["MainViewLinkFontColor"];$replacearray[62] = "[FONTFACEOPTIONS5]";$replacearray[63] = generateFontFaceOptions($JPN_PARAMETERS["MainViewLinkFontFace"]);$replacearray[64] = "[FONTSTYLEOPTIONS5]";$replacearray[65] = generateFontStyleOptions($JPN_PARAMETERS["MainViewLinkFontStyle"]);$replacearray[66] = "[FONTSIZEOPTIONS5]";$replacearray[67] = generateFontSizeOptions($JPN_PARAMETERS["MainViewLinkFontSize"]);$replacearray[68] = "[FONTWEIGHTOPTIONS5]";$replacearray[69] = generateFontWeightOptions($JPN_PARAMETERS["MainViewLinkFontWeight"]);
$replacearray[70] = "[CATFF]";$replacearray[71] = $JPN_PARAMETERS["MainCatFontFace"];$replacearray[72] = "[CATFSZ]";$replacearray[73] = $JPN_PARAMETERS["MainCatFontSize"];$replacearray[74] = "[CATFST]";$replacearray[75] = $JPN_PARAMETERS["MainCatFontStyle"];$replacearray[76] = "[CATFW]";$replacearray[77] = $JPN_PARAMETERS["MainCatFontWeight"];$replacearray[78] = "[HEADFF]";$replacearray[79] = $JPN_PARAMETERS["MainHeadlineFontFace"];$replacearray[80] = "[HEADFSZ]";$replacearray[81] = $JPN_PARAMETERS["MainHeadlineFontSize"];
$replacearray[82] = "[HEADFST]";$replacearray[83] = $JPN_PARAMETERS["MainHeadlineFontStyle"];$replacearray[84] = "[HEADFW]";$replacearray[85] = $JPN_PARAMETERS["MainHeadlineFontWeight"];$replacearray[86] = "[SUMMFF]";$replacearray[87] = $JPN_PARAMETERS["MainSummaryFontFace"];$replacearray[88] = "[SUMMFSZ]";$replacearray[89] = $JPN_PARAMETERS["MainSummaryFontSize"];$replacearray[90] = "[SUMMFST]";$replacearray[91] = $JPN_PARAMETERS["MainSummaryFontStyle"];$replacearray[92] = "[SUMMFW]";$replacearray[93] = $JPN_PARAMETERS["MainSummaryFontWeight"];
$replacearray[94] = "[DATEFF]";$replacearray[95] = $JPN_PARAMETERS["MainDateFontFace"];$replacearray[96] = "[DATEFSZ]";$replacearray[97] = $JPN_PARAMETERS["MainDateFontSize"];$replacearray[98] = "[DATEFST]";$replacearray[99] = $JPN_PARAMETERS["MainDateFontStyle"];$replacearray[100] = "[DATEFW]";$replacearray[101] = $JPN_PARAMETERS["MainDateFontWeight"];$replacearray[102] = "[VIEWFF]";$replacearray[103] = $JPN_PARAMETERS["MainViewLinkFontFace"];$replacearray[104] = "[VIEWFSZ]";$replacearray[105] = $JPN_PARAMETERS["MainViewLinkFontSize"];
$replacearray[106] = "[VIEWFST]";$replacearray[107] = $JPN_PARAMETERS["MainViewLinkFontStyle"];$replacearray[108] = "[VIEWFW]";$replacearray[109] = $JPN_PARAMETERS["MainViewLinkFontWeight"];createPage("settingssummary",$replacearray);}}function fullstory($message) {global $JPN_PARAMETERS;$subaction = "";if (array_key_exists("subaction",   $_REQUEST))  {$subaction = $_REQUEST["subaction"];}switch ($subaction) {case "update":   $JPN_PARAMETERS["ArticleCatFontColor"]        = verifyColor($_REQUEST["catfontcolor"]);
$JPN_PARAMETERS["ArticleCatFontFace"]         = $_REQUEST["catfontface"];$JPN_PARAMETERS["ArticleCatFontSize"]         = $_REQUEST["catfontsize"];$JPN_PARAMETERS["ArticleCatFontStyle"]        = $_REQUEST["catfontstyle"];$JPN_PARAMETERS["ArticleCatFontWeight"]       = $_REQUEST["catfontweight"];$JPN_PARAMETERS["ArticleHeadlineFontColor"]   = verifyColor($_REQUEST["headlinefontcolor"]);$JPN_PARAMETERS["ArticleHeadlineFontFace"]    = $_REQUEST["headlinefontface"];$JPN_PARAMETERS["ArticleHeadlineFontSize"]    = $_REQUEST["headlinefontsize"];
$JPN_PARAMETERS["ArticleHeadlineFontStyle"]   = $_REQUEST["headlinefontstyle"];$JPN_PARAMETERS["ArticleHeadlineFontWeight"]  = $_REQUEST["headlinefontweight"];$JPN_PARAMETERS["ArticleDateFontColor"]       = verifyColor($_REQUEST["datefontcolor"]);$JPN_PARAMETERS["ArticleDateFontFace"]        = $_REQUEST["datefontface"];$JPN_PARAMETERS["ArticleDateFontSize"]        = $_REQUEST["datefontsize"];$JPN_PARAMETERS["ArticleDateFontStyle"]       = $_REQUEST["datefontstyle"];$JPN_PARAMETERS["ArticleDateFontWeight"]      = $_REQUEST["datefontweight"];
$JPN_PARAMETERS["ArticleSummaryFontColor"]    = verifyColor($_REQUEST["summaryfontcolor"]);$JPN_PARAMETERS["ArticleSummaryFontFace"]     = $_REQUEST["summaryfontface"];$JPN_PARAMETERS["ArticleSummaryFontSize"]     = $_REQUEST["summaryfontsize"];$JPN_PARAMETERS["ArticleSummaryFontStyle"]    = $_REQUEST["summaryfontstyle"];$JPN_PARAMETERS["ArticleSummaryFontWeight"]   = $_REQUEST["summaryfontweight"];$JPN_PARAMETERS["ArticleFullTextFontColor"]   = verifyColor($_REQUEST["fullfontcolor"]);$JPN_PARAMETERS["ArticleFullTextFontFace"]    = $_REQUEST["fullfontface"];
$JPN_PARAMETERS["ArticleFullTextFontSize"]    = $_REQUEST["fullfontsize"];$JPN_PARAMETERS["ArticleFullTextFontStyle"]   = $_REQUEST["fullfontstyle"];$JPN_PARAMETERS["ArticleFullTextFontWeight"]  = $_REQUEST["fullfontweight"];updateSystemParameters();settingsindexpage("Full Story settings have been updated.");break;default: $replacearray[0] = "[MESSAGE]";$replacearray[1] = $message;$replacearray[2]  = "[LINKCOLOR]";$replacearray[3]  = $JPN_PARAMETERS["LinksColor"];$replacearray[4]  = "[LINKHOVERCOLOR]";
$replacearray[5]  = $JPN_PARAMETERS["LinksHoverColor"];$replacearray[6]  = "[BORDERCOLOR]";$replacearray[7]  = $JPN_PARAMETERS["JPNBorderColor"];$replacearray[8]  = "[LCBGCOLOR]";$replacearray[9]  = $JPN_PARAMETERS["JPNleftBGColor"];$replacearray[10] = "[CCBGCOLOR]";$replacearray[11] = $JPN_PARAMETERS["JPNcenterBGColor"];$replacearray[12] = "[RCBGCOLOR]";$replacearray[13] = $JPN_PARAMETERS["JPNrightBGColor"];$replacearray[14] = "[LCFONTCOLOR]";$replacearray[15] = $JPN_PARAMETERS["LinksColor"];$replacearray[16] = "[CCFONTCOLOR]";
$replacearray[17] = $JPN_PARAMETERS["MainSummaryFontColor"];$replacearray[18] = "[RCFONTCOLOR]";$replacearray[19] = $JPN_PARAMETERS["HeadlinesCatFontColor"];$replacearray[20] = "[CATFONTCOLOR]";$replacearray[21] = $JPN_PARAMETERS["ArticleCatFontColor"];$replacearray[22] = "[FONTFACEOPTIONS1]";$replacearray[23] = generateFontFaceOptions($JPN_PARAMETERS["ArticleCatFontFace"]);$replacearray[24] = "[FONTSTYLEOPTIONS1]";$replacearray[25] = generateFontStyleOptions($JPN_PARAMETERS["ArticleCatFontStyle"]);
$replacearray[26] = "[FONTSIZEOPTIONS1]";$replacearray[27] = generateFontSizeOptions($JPN_PARAMETERS["ArticleCatFontSize"]);$replacearray[28] = "[FONTWEIGHTOPTIONS1]";$replacearray[29] = generateFontWeightOptions($JPN_PARAMETERS["ArticleCatFontWeight"]);$replacearray[30] = "[HEADLINEFONTCOLOR]";$replacearray[31] = $JPN_PARAMETERS["ArticleHeadlineFontColor"];$replacearray[32] = "[FONTFACEOPTIONS2]";$replacearray[33] = generateFontFaceOptions($JPN_PARAMETERS["ArticleHeadlineFontFace"]);$replacearray[34] = "[FONTSTYLEOPTIONS2]";
$replacearray[35] = generateFontStyleOptions($JPN_PARAMETERS["ArticleHeadlineFontStyle"]);$replacearray[36] = "[FONTSIZEOPTIONS2]";$replacearray[37] = generateFontSizeOptions($JPN_PARAMETERS["ArticleHeadlineFontSize"]);$replacearray[38] = "[FONTWEIGHTOPTIONS2]";$replacearray[39] = generateFontWeightOptions($JPN_PARAMETERS["ArticleHeadlineFontWeight"]);$replacearray[40] = "[DATEFONTCOLOR]";$replacearray[41] = $JPN_PARAMETERS["ArticleDateFontColor"];$replacearray[42] = "[FONTFACEOPTIONS3]";$replacearray[43] = generateFontFaceOptions($JPN_PARAMETERS["ArticleDateFontFace"]);
$replacearray[44] = "[FONTSTYLEOPTIONS3]";$replacearray[45] = generateFontStyleOptions($JPN_PARAMETERS["ArticleDateFontStyle"]);$replacearray[46] = "[FONTSIZEOPTIONS3]";$replacearray[47] = generateFontSizeOptions($JPN_PARAMETERS["ArticleDateFontSize"]);$replacearray[48] = "[FONTWEIGHTOPTIONS3]";$replacearray[49] = generateFontWeightOptions($JPN_PARAMETERS["ArticleDateFontWeight"]);$replacearray[50] = "[SUMMARYFONTCOLOR]";$replacearray[51] = $JPN_PARAMETERS["ArticleSummaryFontColor"];$replacearray[52] = "[FONTFACEOPTIONS4]";
$replacearray[53] = generateFontFaceOptions($JPN_PARAMETERS["ArticleSummaryFontFace"]);$replacearray[54] = "[FONTSTYLEOPTIONS4]";$replacearray[55] = generateFontStyleOptions($JPN_PARAMETERS["ArticleSummaryFontStyle"]);$replacearray[56] = "[FONTSIZEOPTIONS4]";$replacearray[57] = generateFontSizeOptions($JPN_PARAMETERS["ArticleSummaryFontSize"]);$replacearray[58] = "[FONTWEIGHTOPTIONS4]";$replacearray[59] = generateFontWeightOptions($JPN_PARAMETERS["ArticleSummaryFontWeight"]);$replacearray[60] = "[FULLFONTCOLOR]";
$replacearray[61] = $JPN_PARAMETERS["ArticleFullTextFontColor"];$replacearray[62] = "[FONTFACEOPTIONS5]";$replacearray[63] = generateFontFaceOptions($JPN_PARAMETERS["ArticleFullTextFontFace"]);$replacearray[64] = "[FONTSTYLEOPTIONS5]";$replacearray[65] = generateFontStyleOptions($JPN_PARAMETERS["ArticleFullTextFontStyle"]);$replacearray[66] = "[FONTSIZEOPTIONS5]";$replacearray[67] = generateFontSizeOptions($JPN_PARAMETERS["ArticleFullTextFontSize"]);$replacearray[68] = "[FONTWEIGHTOPTIONS5]";$replacearray[69] = generateFontWeightOptions($JPN_PARAMETERS["ArticleFullTextFontWeight"]);
$replacearray[70] = "[CATFF]";$replacearray[71] = $JPN_PARAMETERS["ArticleCatFontFace"];$replacearray[72] = "[CATFSZ]";$replacearray[73] = $JPN_PARAMETERS["ArticleCatFontSize"];$replacearray[74] = "[CATFST]";$replacearray[75] = $JPN_PARAMETERS["ArticleCatFontStyle"];$replacearray[76] = "[CATFW]";$replacearray[77] = $JPN_PARAMETERS["ArticleCatFontWeight"];$replacearray[78] = "[HEADFF]";$replacearray[79] = $JPN_PARAMETERS["ArticleHeadlineFontFace"];$replacearray[80] = "[HEADFSZ]";$replacearray[81] = $JPN_PARAMETERS["ArticleHeadlineFontSize"];
$replacearray[82] = "[HEADFST]";$replacearray[83] = $JPN_PARAMETERS["ArticleHeadlineFontStyle"];$replacearray[84] = "[HEADFW]";$replacearray[85] = $JPN_PARAMETERS["ArticleHeadlineFontWeight"];$replacearray[86] = "[SUMMFF]";$replacearray[87] = $JPN_PARAMETERS["ArticleSummaryFontFace"];$replacearray[88] = "[SUMMFSZ]";$replacearray[89] = $JPN_PARAMETERS["ArticleSummaryFontSize"];$replacearray[90] = "[SUMMFST]";$replacearray[91] = $JPN_PARAMETERS["ArticleSummaryFontStyle"];$replacearray[92] = "[SUMMFW]";
$replacearray[93] = $JPN_PARAMETERS["ArticleSummaryFontWeight"];$replacearray[94] = "[DATEFF]";$replacearray[95] = $JPN_PARAMETERS["ArticleDateFontFace"];$replacearray[96] = "[DATEFSZ]";$replacearray[97] = $JPN_PARAMETERS["ArticleDateFontSize"];$replacearray[98] = "[DATEFST]";$replacearray[99] = $JPN_PARAMETERS["ArticleDateFontStyle"];$replacearray[100] = "[DATEFW]";$replacearray[101] = $JPN_PARAMETERS["ArticleDateFontWeight"];$replacearray[102] = "[FULLFF]";$replacearray[103] = $JPN_PARAMETERS["ArticleFullTextFontFace"];
$replacearray[104] = "[FULLFSZ]";$replacearray[105] = $JPN_PARAMETERS["ArticleFullTextFontSize"];$replacearray[106] = "[FULLFST]";$replacearray[107] = $JPN_PARAMETERS["ArticleFullTextFontStyle"];$replacearray[108] = "[FULLFW]";$replacearray[109] = $JPN_PARAMETERS["ArticleFullTextFontWeight"];createPage("settingsfullstory",$replacearray);}}function scrollingnews($message) {global $JPN_PARAMETERS;$subaction = "";if (array_key_exists("subaction",   $_REQUEST))  {$subaction = $_REQUEST["subaction"];}
switch ($subaction) {case "update":   $JPN_PARAMETERS["ScrollingNewsCatFontColor"]  = verifyColor($_REQUEST["catfontcolor"]);$JPN_PARAMETERS["ScrollingNewsCatFontFace"]   = $_REQUEST["catfontface"];$JPN_PARAMETERS["ScrollingNewsCatFontSize"]   = $_REQUEST["catfontsize"];$JPN_PARAMETERS["ScrollingNewsCatFontStyle"]  = $_REQUEST["catfontstyle"];$JPN_PARAMETERS["ScrollingNewsCatFontWeight"] = $_REQUEST["catfontweight"];$JPN_PARAMETERS["ScrollingNewsHeadLineLinkColor"]   = verifyColor($_REQUEST["linkcolor"]);
$JPN_PARAMETERS["ScrollingNewsHeadLineHoverColor"]  = verifyColor($_REQUEST["hovercolor"]);$JPN_PARAMETERS["ScrollingNewsHeadLineFontFace"]    = $_REQUEST["headfontface"];$JPN_PARAMETERS["ScrollingNewsHeadLineFontSize"]    = $_REQUEST["headfontsize"];$JPN_PARAMETERS["ScrollingNewsHeadLineFontStyle"]   = $_REQUEST["headfontstyle"];$JPN_PARAMETERS["ScrollingNewsHeadLineFontWeight"]  = $_REQUEST["headfontweight"];$JPN_PARAMETERS["ScrollingNewsSpeed"]       = verifySpeedOptions($_REQUEST["scrollspeed"]);
$JPN_PARAMETERS["ScrollingNewsWidth"]       = verifyInteger($_REQUEST["scrollwidth"],20,1000);$JPN_PARAMETERS["ScrollingNewsHeight"]      = verifyInteger($_REQUEST["scrollheight"],20,1000);$JPN_PARAMETERS["ScrollingNewsBGColor"]     = verifyColor($_REQUEST["scrollbgcolor"]);$JPN_PARAMETERS["ScrollingNewsBorderColor"] = verifyColor($_REQUEST["scrollbordercolor"]);updateSystemParameters();settingsindexpage("Scrolling News settings have been updated.");break;default: $replacearray[0] = "[MESSAGE]";$replacearray[1] = $message;
$replacearray[2]  = "[CATFONTCOLOR]";$replacearray[3]  = $JPN_PARAMETERS["ScrollingNewsCatFontColor"];$replacearray[4]  = "[FONTFACEOPTIONS1]";$replacearray[5]  = generateFontFaceOptions($JPN_PARAMETERS["ScrollingNewsCatFontFace"]);$replacearray[6]  = "[FONTSTYLEOPTIONS1]";$replacearray[7]  = generateFontStyleOptions($JPN_PARAMETERS["ScrollingNewsCatFontStyle"]);$replacearray[8]  = "[FONTSIZEOPTIONS1]";$replacearray[9]  = generateFontSizeOptions($JPN_PARAMETERS["ScrollingNewsCatFontSize"]);$replacearray[10] = "[FONTWEIGHTOPTIONS1]";
$replacearray[11] = generateFontWeightOptions($JPN_PARAMETERS["ScrollingNewsCatFontWeight"]);$replacearray[12] = "[HEADLINELINKCOLOR]";$replacearray[13] = $JPN_PARAMETERS["ScrollingNewsHeadLineLinkColor"];$replacearray[14] = "[HEADLINEHOVERCOLOR]";$replacearray[15] = $JPN_PARAMETERS["ScrollingNewsHeadLineHoverColor"];$replacearray[16] = "[FONTFACEOPTIONS2]";$replacearray[17] = generateFontFaceOptions($JPN_PARAMETERS["ScrollingNewsHeadLineFontFace"]);$replacearray[18] = "[FONTSTYLEOPTIONS2]";$replacearray[19] = generateFontStyleOptions($JPN_PARAMETERS["ScrollingNewsHeadLineFontStyle"]);
$replacearray[20] = "[FONTSIZEOPTIONS2]";$replacearray[21] = generateFontSizeOptions($JPN_PARAMETERS["ScrollingNewsHeadLineFontSize"]);$replacearray[22] = "[FONTWEIGHTOPTIONS2]";$replacearray[23] = generateFontWeightOptions($JPN_PARAMETERS["ScrollingNewsHeadLineFontWeight"]);$replacearray[24] = "[SCROLLSPEED]";$replacearray[25] = generateSpeedOptions($JPN_PARAMETERS["ScrollingNewsSpeed"]);$replacearray[26] = "[NEWSWIDTH]";$replacearray[27] = $JPN_PARAMETERS["ScrollingNewsWidth"];$replacearray[28] = "[NEWSHEIGHT]";
$replacearray[29] = $JPN_PARAMETERS["ScrollingNewsHeight"];$replacearray[30] = "[BGCOLOR]";$replacearray[31] = $JPN_PARAMETERS["ScrollingNewsBGColor"];$replacearray[32] = "[BORDERCOLOR]";$replacearray[33] = $JPN_PARAMETERS["ScrollingNewsBorderColor"];$replacearray[34] = "[CATFF]";$replacearray[35] = $JPN_PARAMETERS["ScrollingNewsCatFontFace"];$replacearray[36] = "[CATFSZ]";$replacearray[37] = $JPN_PARAMETERS["ScrollingNewsCatFontSize"];$replacearray[38] = "[CATFST]";$replacearray[39] = $JPN_PARAMETERS["ScrollingNewsCatFontStyle"];
$replacearray[40] = "[CATFW]";$replacearray[41] = $JPN_PARAMETERS["ScrollingNewsCatFontWeight"];$replacearray[42] = "[HEADFF]";$replacearray[43] = $JPN_PARAMETERS["ScrollingNewsHeadLineFontFace"];$replacearray[44] = "[HEADFSZ]";$replacearray[45] = $JPN_PARAMETERS["ScrollingNewsHeadLineFontSize"];$replacearray[46] = "[HEADFST]";$replacearray[47] = $JPN_PARAMETERS["ScrollingNewsHeadLineFontStyle"];$replacearray[48] = "[HEADFW]";$replacearray[49] = $JPN_PARAMETERS["ScrollingNewsHeadLineFontWeight"];
createPage("settingsscrollingnews",$replacearray);}}getSystemParameters();$userid = testSession();if ($userid>0) { $_SESSION['adminmenu']->setSelect(3);getSystemParameters();$action = "";if (array_key_exists("action",   $_REQUEST))  {$action = $_REQUEST["action"];}switch ($action) {case "general":   generalsettings("");break;case "bglink":    settingslinksandbg("");break;case "searchbox": settingsSearchBox("");break;case "category":  categoryStyles("");break;case "headlines": headlines("");break;
case "summary":   summary("");break;case "fullstory": fullstory("");break;case "scrollingnews": scrollingnews("");break;case "headfoot": settingsheadfoot("");break;default: settingsindexpage("");}}else { $errormessage = "";logonPage($errormessage);}
?>
Return current item: News Publishing Content Management System