my modcp is easy for people making there self admins any one got a god working modcp
Lavalair Modcp
Collapse
X
-
GuestTags: None
-
Code:<?php /* IrisBlaze wap forum by Ra'ed Shabana */ header("Content-type: text/vnd.wap.wml"); header("Cache-Control: no-store, no-cache, must-revalidate"); echo("<?xml version=\"1.0\"?>"); echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"". " \"http://www.wapforum.org/DTD/wml_1.1.xml\">"; ?> <wml> <?php include("config.php"); include("core.php"); connectdb(); $action = $_GET["action"]; $sid = $_GET["sid"]; if(!ismod(getuid_sid($sid))) { echo "<card id=\"main\" title=\"lavalair.net\">"; echo "<p align=\"center\">"; echo "You are not a mod "; echo " "; echo "<a href=\"index.php\">Home</a>"; echo "</p>"; echo "</card>"; echo "</wml>"; <------------------------------------------ add exit(); <------------------------------------------ add }
u c the difference??????
add tht in modcp.php and modproc.php
btw u could c tht at pined topic lolsigpiceeeeerrr....
-
Guest
Code:<?php /* IrisBlaze wap forum by Ra'ed Shabana */ header("Content-type: text/vnd.wap.wml"); header("Cache-Control: no-store, no-cache, must-revalidate"); echo("<?xml version=\"1.0\"?>"); echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"". " \"http://www.wapforum.org/DTD/wml_1.1.xml\">"; ?> <wml> <?php include("config.php"); include("core.php"); connectdb(); $action = $_GET["action"]; $sid = $_GET["sid"]; if(!ismod(getuid_sid($sid))) { echo "<card id=\"main\" title=\"lavalair.net\">"; echo "<p align=\"center\">"; echo "You are not a mod "; echo " "; echo "<a href=\"index.php\">Home</a>"; echo "</p>"; echo "</card>"; echo "</wml>"; <------------------------------------------ add exit(); <------------------------------------------ add }
add tht in modcp.php and modproc.php
btw u could c tht at pined topic lol[/b]
thanks alot u helped a lot but it was only in modcp it was missing echo "</wml>";
exit();
Comment
Comment