only vip or above can see staff

This commit is contained in:
xiaomlove
2021-06-17 22:47:15 +08:00
parent a6ca92706b
commit f8f580cb92
4 changed files with 16 additions and 3 deletions
+4
View File
@@ -3,6 +3,10 @@ require "../include/bittorrent.php";
dbconn();
require_once(get_langfile_path());
loggedinorreturn(true);
if (get_user_class() < UC_VIP)
{
stderr($lang_log['std_sorry'],$lang_log['std_permission_denied_only'].get_user_class_name(UC_VIP,false,true,true).$lang_log['std_or_above_can_view'],false);
}
stdhead($lang_staff['head_staff']);
$Cache->new_page('staff_page', 900, true);