Lavalair Modcp

Started on the old forum in January 2008 · view the original in the archive · old links redirect here

4 replies · 768 views · started 18 years ago · 1 min read

2 participants
Guest #1

my modcp is easy for people making there self admins any one got a god working modcp

Attachments: modcp.php
alesh Lead · 604 posts #2
<?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();

comando Developer · 68 posts #4

echo "</wml>";
exit();

... must be more than this ! mybe this is one of some solutions =/

iengioi!

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close