display('sitemap/sitemap.xml'); break; case 'support': // Support include('support/index.php'); break; case 'search': // Support include('search/index.php'); break; case 'tpdsurvey': // TPD Survey include('tpdsurvey/index.php'); break; case 'service': //10/7/2008 MJR Added for Work Order Inquiry Task 9890 include('service'); break; //--------------------------------------------------------------- // Redirects case 'be300': // be300 header('Location: /products/archive/Industrial_Devices/Hand-held/BE-300/'); exit(); break; case 'calculators': // header('Location: /products/Calculators_&_Dictionaries/'); exit(); break; case 'cameras': // header('Location: /products/Cameras/'); exit(); break; case 'cashregisters': // header('Location: /products/Cash_Registers_%26_POS/'); exit(); break; case 'clocks': // header('Location: /products/Timepiece/Clocks/'); exit(); break; case 'accessories': // header('Location: /products/accessories/'); exit(); break; case 'watches': // header('Location: /products/Timepiece/'); exit(); break; case 'helpdesk': // header('Location: /support/helpdesk/'); exit(); break; case 'unsubscribe': // header('Location: /myaccount/email/'); exit(); break; case 'pvdownload': // header('Location: http://world.casio.com/download/pv/'); exit(); break; case 'dictionary': // header('Location: /products/Calculators_&_Dictionaries/Dictionaries/'); exit(); break; case 'cw75': // header('Location: /products/Label_%26_Disk_Title_Printers/Disk_Title_Printers/CW-75/'); exit(); break; case 'titleprinter': // header('Location: /products/Label_%26_Disk_Title_Printers/'); exit(); break; case 'jpdictionary': // header('Location: /products/Calculators_%26_Dictionaries/Dictionaries/'); exit(); break; case 'cw50': // header('Location: /products/Label_%26_Disk_Title_Printers/Disk_Title_Printers/CW-50/'); exit(); break; case 'archive': // header('Location: /products/archive/'); exit(); break; case 'educators': // header('Location: /education/'); exit(); break; case 'exilim': // header('Location: /products/Cameras/'); exit(); break; case 'educator': // header('Location: /education/'); exit(); break; case 'education': // header('Location: /education/'); exit(); break; case 'disctitle': // header('Location: /products/Label_%26_Disk_Title_Printers/'); exit(); break; case 'lk-90tv_flash': include('lk-90tv_flash/index.php'); break; case 'tv_flash': include('tv_flash/index.php'); break; case 'japanese': // header('Location: /products/Calculators_%26_Dictionaries/Dictionaries/'); exit(); break; case 'specials': // header('Location: '. Variables::MyCasioURL .'index.cfm?fuseaction=specials.home'); exit(); break; case 'portabletv': // header('Location: /products/Portable_TVs/'); break; exit(); case 'lk-90tv': // header('Location: /products/archive/Musical_Instruments/Lighted_Keys/LK-90TV/'); exit(); break; case 'discdemo': // header('Location: /products/Label_%26_Disk_Title_Printers/Disk_Title_Printers/CW-100/content/Interactive_Demo/'); exit(); break; case 'ezfinder': // header('Location: /products/finder/'); exit(); break; case 'cw75_demo': // header('Location: /products/Label_%26_Disk_Title_Printers/Disk_Title_Printers/CW-75/content/Interactive_Demo/'); exit(); break; case 'cwl300_demo': // header('Location: /products/Label_%26_Disk_Title_Printers/Combination_Printers/CW-L300/content/Interactive_Demo/'); exit(); break; case 'cw50_demo': // header('Location: /products/Label_%26_Disk_Title_Printers/Disk_Title_Printers/CW-50/content/Interactive_Demo/'); exit(); break; case 'cw100_demo': // header('Location: /products/Label_%26_Disk_Title_Printers/Disk_Title_Printers/CW-100/content/Interactive_Demo/'); exit(); break; case 'rebate': //make new dynamic site include('rebate/index.php'); break; case 'register': // header('Location: /login/'); exit(); break; case 'lk94tv_demo': // header('Location: /products/Musical_Instruments/Lighted_Keys/LK-94TV/content/Interactive_Demo/'); exit(); break; case 'ctk496': // //$query = "exec sto_InsertPageViews @LPV_Page = '" .Variables::CasioURL . "products/Musical_Instruments/Standard/CTK-496/'"; //mssqlquery(Variables::LogDSN, Variables::LogDSN_IP, Variables::LogDSN_DBU, Variables::LogDSN_DBP, $query, false); header('Location: /products/Musical_Instruments/Standard/CTK-496/'); exit(); break; case 'holiday05': //make new dynamic site include('holiday05/index.php'); break; case 'harmony99': header('Location: http://world.casio.com/pv/download/en/e_harmony/99.html'); exit(); break; case 'intranetrewards': header('Location: ' . Variables::MyCasioURL . 'intranetrewards/'); exit(); break; //--------------------------------------------------------------- // TMW 10.15.07 Added case 'c4blocator': // Casio 4 Business Locator include('c4blocator/index.php'); break; case 'where_to_buy': //02/27/2009 MJR Added in content section to be used for pieces of content include('where_to_buy/index.php'); break; case 'content': //02/06/2009 MJR Added in content section to be used for pieces of content //if it is a content ID, then do this, otherwise go to the default and show a 404 if (strlen($ACTION[2])==36) { $content = mssqlquery(Variables::DSN, Variables::DSN_IP, Variables::DSN_DBU , Variables::DSN_DBP, "exec sto_GetContentForDisplay @STE_ID = '" . Variables::STE_ID . "', @CNT_ID = '" . safeSQL($ACTION[2]) . "'" ); //If the content ID used is not found, then show the 404 if ($content[0][CNT_Content] == "") { $smarty->display('global/404.tpl'); break; } //Since this is being setup for CPSIA certification under support, we will make it look like they are still in the support area $smarty->assign('SupportLinks', mssqlquery(Variables::DSN, Variables::DSN_IP, Variables::DSN_DBU , Variables::DSN_DBP, "sto_GetSupportLinks NULL, 'Support', '" . Variables::HOMEPAGE_CNT_ID . "'")); //Get support links for side nav $smarty->assign('SubSupportLinks', mssqlquery(Variables::DSN, Variables::DSN_IP, Variables::DSN_DBU , Variables::DSN_DBP, "sto_GetSupportLinks2 NULL, 'Support', '" . Variables::HOMEPAGE_CNT_ID . "'")); //Get sub support links for side nav $smarty->assign('headerMenu', 'support'); //Set this to make the Support tabe be highlighted $smarty->assign('URI', '/support/techsupport/compliance'); //Set this to keep the Technical Support links open in side nav $smarty->assign('heading', $content[0][CNT_Title]); //send over the title to be used as the header of the page $smarty->assign('Page_Content', $content[0][CNT_Content]); //send over the content $smarty->assign('FAQ', $_GET[FAQ]); //03/13/2009 MJR added in assign so when filled in, it signal it is content for FAQ $smarty->assign('model', $_GET[model]); //03/13/2009 MJR added in assign so when filled in, it signal it is content for FAQ $smarty->assign('content', $ACTION[2]); //03/13/2009 MJR added in assign so when filled in, it signal it is content for FAQ $smarty->assign('sent', strtoupper($_GET[sent])); //03/13/2009 MJR added in assign so when filled in, it signal it is content for FAQ $smarty->display('global/content.tpl'); //show the template break; } case 'compliance' : //08.4.2009 RB redirect header('Location: /support/techsupport/compliance'); break; default: // 404 File Not Found //12.11.2007 SVS Removed the print array function below as it caused the array to be printed on index.php //print_r($ACTION); $smarty->display('global/404.tpl'); break; } ?>