<?php //http://www.alexa.com/siteowners/widgets/sitestats? include_once('ressources/class.templates.inc'); include_once('ressources/class.ini.inc'); include_once('ressources/class.syslogs.inc'); if(isset($_GET["verbose"])){ $GLOBALS["DEBUG_TEMPLATE"]=true; $GLOBALS["VERBOSE"]=true; ini_set('display_errors', 1); ini_set('error_reporting', E_ALL); } $GLOBALS["CURRENT_PAGE"]=CurrentPageName(); if(isset($_GET["tab"])){switch_tabs();exit;} if(isset($_GET["Newtab"])){add_tab();exit;} if(isset($_GET["delete-tab"])){delete_tab();exit;} if(isset($_GET["DeleteTabConfirmed"])){delete_tab_confirmed();exit;} if(isset($_GET["rebuild-icons"])){rebuildicons();exit;} if(isset($_GET["add-icon"])){main_icon_js();exit;} if(isset($_GET["show-icons"])){main_icon_list();exit;} if(isset($_GET["new_icon"])){add_icon();exit;} if(isset($_GET["delete_icon"])){del_icon();exit;} if(isset($_GET["ChangeClass"])){echo main_icon_list_list();exit;} if(isset($_GET["manage-icon"])){echo manage_icons_js();exit;} if(isset($_GET["show-manage"])){echo manage_icon_page();exit;} if(isset($_GET["move-widget"])){echo manage_icon_move();exit;} if(isset($_GET["widget-manage-list"])){echo manage_icons_list($_GET["widget-manage-list"]);exit;} if(isset($_GET["main"])){switch_main();exit;} if(isset($_GET["left-menus"])){left_menus();exit;}
<?php include_once 'ressources/class.templates.inc'; include_once 'ressources/class.ldap.inc'; include_once 'ressources/class.users.menus.inc'; include_once 'ressources/class.artica.inc'; include_once 'ressources/class.kas-filter.inc'; $usersmenus = new usersMenus(); $artica = new artica_general(); if ($usersmenus->AllowChangeKas == false) { die('No permissions'); exit; } if (isset($_GET["main"])) { switch_tabs(); exit; } if (isset($_GET["SAVE_KAS"])) { SAVEPOST(); exit; } if (isset($_GET["ajax"])) { kas_js(); exit; } if (isset($_GET["ajax-pop"])) { kas_pop(); exit; } INDEX_KAS(); function kas_js()
<?php include_once('ressources/class.templates.inc'); include_once('ressources/class.ldap.inc'); include_once('ressources/class.users.menus.inc'); include_once('ressources/class.artica.inc'); include_once('ressources/class.kas-filter.inc'); $usersmenus=new usersMenus(); $artica=new artica_general(); if($usersmenus->AllowChangeKas==false){die('No permissions');exit;} if(isset($_GET["main"])){switch_tabs();exit;} if(isset($_GET["SAVE_KAS"])){SAVEPOST();exit;} if(isset($_GET["ajax"])){kas_js();exit;} if(isset($_GET["ajax-pop"])){kas_pop();exit;} if(isset($_POST["rebuildtables"])){kas_rebuild_tables();exit;} INDEX_KAS(); function kas_js(){ $page=CurrentPageName(); $tpl=new templates(); $title=$tpl->_ENGINE_parse_body('{APP_KAS3}'); $datas=file_get_contents("js/kas.js"); $html=" $datas YahooWin(500,'$page?ajax-pop=yes','$title'); ";