Lavalair Modcp

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Lavalair Modcp

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

    #2
    Code:
    <?php
    /*
    IrisBlaze wap forum
    by Ra&#39;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
    sigpiceeeeerrr....

    Comment


      #3
      Code:
      <?php
      /*
      IrisBlaze wap forum
      by Ra&#39;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[/b]


      thanks alot u helped a lot but it was only in modcp it was missing echo "</wml>";
      exit();

      Comment


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

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

        Comment


          #5
          <a href='index.php?showtopic=2462'>
          c this topic
          </a>
          sigpiceeeeerrr....

          Comment

          Working...
          X