Example #1
0
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["settings"])){settings();exit;}
	if(isset($_POST["SAVE_RECURSIVE_GROUPS"])){SAVE_RECURSIVE_GROUPS();exit;}
	if(isset($_POST["EnableKerbAuth"])){settingsSave();exit;}
	if(isset($_POST["SambeReconnectAD"])){SambeReconnectAD();exit;}
	
	if(isset($_GET["kerbchkconf"])){kerbchkconf();exit;}
	if(isset($_GET["test-popup"])){test_popup();exit;}
	if(isset($_GET["test-nettestjoin"])){test_testjoin();exit;}
	if(isset($_GET["test-netadsinfo"])){test_netadsinfo();exit;}
	if(isset($_GET["test-netrpcinfo"])){test_netrpcinfo();exit;}
	if(isset($_GET["test-wbinfoalldom"])){test_wbinfoalldom();exit;}
	if(isset($_GET["test-wbinfomoinst"])){test_wbinfomoinst();exit;}
	if(isset($_GET["test-wbinfomoinsa"])){test_wbinfomoinsa();exit;}
	
	if(isset($_GET["test-auth"])){test_auth();exit;}
	if(isset($_POST["SaveSambaBindInterface"])){SaveSambaBindInterface();exit;}
	if(isset($_POST["TESTAUTHUSER"])){test_auth_perform();exit;}
	if(isset($_POST["LDAP_SUFFIX"])){ldap_params_save();exit;}
	if(isset($_GET["test-popup-js"])){test_popup_js();exit;}
	if(isset($_GET["intro"])){intro();exit;}
	if(isset($_GET["join-js"])){join_js();exit;}
	if(isset($_GET["join-popup"])){join_popup();exit;}
	if(isset($_GET["join-perform"])){join_perform();exit;}
	
	if(isset($_GET["diconnect-js"])){diconnect_js();exit;}
	if(isset($_GET["disconnect-popup"])){diconnect_popup();exit;}
	if(isset($_GET["disconnect-perform"])){diconnect_perform();exit;}
	if(isset($_GET["cntlm"])){cntlm();exit;}
	
js();
Example #2
0
    exit;
}
if (isset($_GET["test-wbinfomoinsa"])) {
    test_wbinfomoinsa();
    exit;
}
if (isset($_GET["ntlmauthenticators"])) {
    ntlmauthenticators();
    exit;
}
if (isset($_GET["statistics-by-group"])) {
    statistics_groups();
    exit;
}
if (isset($_GET["test-auth"])) {
    test_auth();
    exit;
}
if (isset($_POST["SaveSambaBindInterface"])) {
    SaveSambaBindInterface();
    exit;
}
if (isset($_POST["TESTAUTHUSER"])) {
    test_auth_perform();
    exit;
}
if (isset($_POST["LDAP_SUFFIX"])) {
    ldap_params_save();
    exit;
}
if (isset($_GET["test-popup-js"])) {
Example #3
0
     }
     break;
 case 'return':
     showReturn($smarty, $userInfo, $db);
     break;
 case 'returnTo':
     if (isset($_GET['s'])) {
         showConfirmReturn($smarty, $userInfo, $db);
     } else {
         showError($smarty, '请正确归还车辆!', $db);
     }
     break;
 case 'returnIt':
     if (isset($_GET['s']) && isset($_POST['code'])) {
         $stop = $db->getAllByID("tstop", $_GET['s']);
         if (test_auth($stop['code'], $db, $_POST['code'])) {
             showReturned($smarty, $userInfo, $db);
         } else {
             showError($smarty, '车站口令错误,请重试!', $db);
         }
     } else {
         showError($smarty, '请正确归还车辆!', $db);
     }
     break;
 case 'accident':
     showTip($smarty, "<p>请联系志愿者:</p><p>18964087795 - 费思量/18401654098 - 张立鹏</p><p>联系后,请仍然将车子归还到任意车站!</p><p>确定上报后,车辆会被标记为需要维修!</p><a class='ui-btn' href='main.php?a=confirmAccident&q=" . rand(1, 10000000) . "'>确定上报</a>", $db);
     break;
 case 'confirmAccident':
     $db->setAccident($userInfo['ID']);
     showTip($smarty, "<p>已经上报,请到车站归还车辆!</p><p>谢谢您的配合!</p><p>我们的志愿者会尽快联系到您!</p>", $db);
     break;