'; // exit(); break; } if( isset($index) && $index=='ajax') { header("Content-type: text/html; charset=utf-8"); include('page/ajax/'.$act.'.php'); exit; } if(isset($iamadmin) && $iamadmin) { setcookie('iamadmin','1',time()+86400); } elseif(isset($_COOKIE['iamadmin']) && $_COOKIE['iamadmin']) { $iamadmin = 1; } if($clsConfig->suspenAdmin && !$iamadmin) { showmessage('System is under construction, please come back latter.'); } if( !isset($index) || !$index ) { if($clsConfig->dashboard) { $index = $loadpage = 'dashboard'; } else { $index = $loadpage = $clsConfig->adminhome; } } else { $loadpage = $index; } if(( ( isset($id) && $id ) || ( isset($data) && $data ) ) && ( !isset($ACT) || ( isset($ACT) && !$ACT ) ) ) { $ACT = 'edit'; } else { $ACT = 'add'; } if( isset($act) && $act=='view') { $act = 'add'; $ACT = 'view'; } if( isset($act) && $act=='gen') { $ACT = 'generate'; } if( isset($act) && $act) { $loadpage .= '_'.$act; } $defaultLoadPage = '/default/default'.(strstr($loadpage,'cate') ? '_cate' : ''); if( ( isset($act) && $act=='delete' ) || ( isset($submit) && $submit=='yes' ) || ( isset($delete) && $delete) ) { $isAjaxPage = 1; } if( isset($isAjaxPage) && $isAjaxPage==1) { if(file_exists('page/'.$loadpage.'.php')) { include('page/'.$loadpage.'.php'); } elseif(file_exists('page/'.$defaultLoadPage.'.php')) { include('page/'.$defaultLoadPage.'.php'); } else { echo '頁面 '.$loadpage.' 不存在'; } exit; } $getQueryCount = false; if($getQueryCount) setcookie('getQueryCount',1,time()+86400); if( isset($_COOKIE['getQueryCount']) && $_COOKIE['getQueryCount']) $getQueryCount = 1; ?> <?php echo $company_name; ?> - Content Management System >
舊密碼
新密碼
新密碼 (確認)
用戶編號
登入名稱
用戶名稱