admin control - نوشته شده در (879 Views)
Junior Member
s80ts0465
مطلب: 290
290
i've devoled in the last year some personal mod for my forum. But i've never thought to implement the code to control the authorization access. There are some pages that only admin can access to, so how can i do? which is the (i think standar) code to insert to have the access control??
thank Bye ste<
 پیش‌فرض مرتب‌سازی برای تاریخ DESC به معنی جدیدترین است  
 تعداد در صفحه 
نوشته شده در
Advanced Member
Carefree
مطلب: 4224
4224
Code:
if mLev > 3 then
(your routine here)
end if

That limits to Administrator only<
نوشته شده در
Junior Member
s80ts0465
مطلب: 290
290
many thanks

bye ste<
 
شما باید یک متن وارد کنید