for admincp.php and admproc.php here a sample <?php
include("config.php");
include("core.php");
connectdb();
$action = $_GET["action"];
$sid = $_GET["sid"];
if(!ismod(getuid_sid($sid)))
{
echo "<card id=\"main\" title=\"arawap.net \">";
echo "<p align=\"center\">";
echo "You are not a mod
Subzero is here to protect me!!!!!! ";
echo "
";
echo "<a href=\"index.php\">Home</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
} Edit if(!ismod(getuid_sid($sid))) to if(!isadmin(getuid_sid($sid)))
include("config.php");
include("core.php");
connectdb();
$action = $_GET["action"];
$sid = $_GET["sid"];
if(!ismod(getuid_sid($sid)))
{
echo "<card id=\"main\" title=\"arawap.net \">";
echo "<p align=\"center\">";
echo "You are not a mod
Subzero is here to protect me!!!!!! ";
echo "
";
echo "<a href=\"index.php\">Home</a>";
echo "</p>";
echo "</card>";
echo "</wml>";
exit();
} Edit if(!ismod(getuid_sid($sid))) to if(!isadmin(getuid_sid($sid)))
Comment