alert('请登录');location.href='".__BASE__."/admin/login.php';"; } } function check_login(){ if(!$_SESSION['adminid']) { header("Location:".__BASE__."/admin/login.php"); } } function check_loginthe1(){ if(!$_SESSION['eachersid']) { header("Location:".__BASE__."/admin/login.php"); }else{ if($_SESSION['type2']!="维修人员"){ header("Location:".__BASE__."/admin/login.php"); } } } //js弹出框 function alertMsg($msg) { echo ""; } function goBakMsg($msg) { echo ""; } function goBakLoadFun($msg,$fun) { echo ""; } function goBakLoad($msg) { echo ""; } function urlMsg($msg,$url) { echo ""; } function parentUrlMsg($msg,$url) { echo ""; } function delMsg($msg) { echo "return confirm('".$msg."')"; } ?>