add remove on index

This commit is contained in:
2018-06-05 21:10:27 +08:00
parent 55eea08bb9
commit f5085dc354

View File

@@ -1,7 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<?php session_start(); <?php session_start();
if($_SESSION[Student_ID] != ""){ if($_SESSION[Student_ID] != ""){
die("<script>\nwindow.location.href = \"https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MjM5NzY1MjYyMg==&scene=124#wechat_redirect\";\n</script>"); die("<script>alert(\"您已经参加过答题,感谢对北邮学生会的支持.\");\nwindow.location.href = \"https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MjM5NzY1MjYyMg==&scene=124#wechat_redirect\";\n</script>");
} }
?> ?>
<html> <html>