Lavalair Modcp
Started on the old forum in January 2008 · view the original in the archive · old links redirect here
<?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 lol
eeeeerrr....
Guest
#3
<?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 lol
thanks alot u helped a lot but it was only in modcp it was missing echo "</wml>"; exit();