📄 level1_check.php
字号:
<?php// *************************************************************************************************// Title: PHP AGTC-Membership system v1.1a// Developed by: Andy Greenhalgh// Email: andy@agtc.co.uk// Website: agtc.co.uk// Copyright: 2005(C)Andy Greenhalgh - (AGTC)// Licence: GPL, You may distribute this software under the terms of this General Public License// *************************************************************************************************//// THIS IS THE USER LEVEL 1 ACCEPTANCE CHECK// ADD OR INCLUDE THIS AT THE TOP OF ANY PAGES THAT ALLOW USER LEVEL 1 ACCESS session_start();include "config.php";if(!isset($_SESSION['level'])){echo"Error - You have not got authority to enter this page (ERR code: sesslev unset line 8)"; }if ($_SESSION['level'] != "1" and $_SESSION['level'] != "2" and $_SESSION['level'] != "3" and $_SESSION['level'] != "4") {echo"Your are not authorised to access this area - if this is incorrect please contact administration - <a href='login.php'>CLICK HERE TO LOGIN</a>";exit();} ?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -