ldswapworld script

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

  • capofret
    replied
    Originally posted by rh0bz View Post
    Why not just tell me cause i already did what is in here! i even search google.. i already change sesxp to 30 still dont work!
    well its not my problem anymore if it doesnt work for you. all possible solutions are already posted.

    reasons why it might not work for you:

    -maybe you didnt follow the instructions correctly
    -maybe it was your server/host not configured properly

    it worked for us so it should also work for you.

    and please dont demand anything i owe you nothing.

    Leave a comment:


  • rh0bz
    replied
    Originally posted by capofret View Post
    dont be lazy, try to read the whole thread the answer is here. your question is actually asked in many scripts and also answered many times.
    Why not just tell me cause i already did what is in here! i even search google.. i already change sesxp to 30 still dont work!

    Leave a comment:


  • capofret
    replied
    Originally posted by rh0bz View Post
    ive g0t the same pr0blem with parth0 everytime i l0gin then it always say you are n0t l0gin 0r y0ur sessi0n has been expired PLEASE HELP!!!!!!!!!!!!!!!!!!!!!!

    dont be lazy, try to read the whole thread the answer is here. your question is actually asked in many scripts and also answered many times.

    Leave a comment:


  • capofret
    replied
    Originally posted by reymon07 View Post
    i cannot c the chatrum jnp,spindwheel,can u give a ryt and full sql of this script
    read the first post please. i never mentioned spindwheel working, its in the script but its not working.

    Leave a comment:


  • rh0bz
    replied
    ive g0t the same pr0blem with parth0 everytime i l0gin then it always say you are n0t l0gin 0r y0ur sessi0n has been expired PLEASE HELP!!!!!!!!!!!!!!!!!!!!!!

    Leave a comment:


  • reymon07
    replied
    i cannot c the chatrum jnp,spindwheel,can u give a ryt and full sql of this script

    Leave a comment:


  • friend
    replied
    Originally posted by capofret View Post
    only email feature is email password if u forgot it.
    MailBox(0/29)
    Free SMS
    0 New E-Mails <<<<<<how to configure email setting?
    Friends(0/

    Forums
    Chatrooms(0

    Leave a comment:


  • reymon07
    replied
    Thanks for the nice script hehe.

    Leave a comment:


  • icen01
    replied
    ive g0t the same pr0blem with parth0 everytime i l0gin then it always say you are n0t l0gin 0r y0ur sessi0n has been expired

    Leave a comment:


  • partho
    replied
    Originally posted by capofret View Post
    did u change the password in genproc? u can access the tools but some features dont work. try to use ozzimale's updated admin tools, search on forum it was also posted here
    i am also change the password but same as problem pls any thin do it and slove problem pls

    Leave a comment:


  • capofret
    replied
    Originally posted by friend View Post
    How to set emails ?

    Thanks
    only email feature is email password if u forgot it.

    Leave a comment:


  • capofret
    replied
    Originally posted by cbwf View Post
    i am make admin then error is u r no admin and creat head admin thne error is direct logout

    did u change the password in genproc? u can access the tools but some features dont work. try to use ozzimale's updated admin tools, search on forum it was also posted here

    Leave a comment:


  • friend
    replied
    How to set emails ?

    Thanks

    Leave a comment:


  • cbwf
    replied
    i thing some thing change this script where i dnt kw


    PHP Code:
    <?php
    include("config.php");
    include(
    "core.php");
    echo(
    "<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
    echo 
    "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD XHTML Mobile 1.0//EN\""" \"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">";
    ?>
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>Admin CP</title>
    <meta forua="true" http-equiv="Cache-Control" content="no-cache"/>
    <meta forua="true" http-equiv="Cache-Control" content="must-revalidate"/>
    <?php
    connectdb
    ();
    $sid $_GET["sid"];
    echo 
    gettheme($sid);
    ?>
    </head>
    <body>
    <?php
    echo "<font size=\"".getfontsize($sid)."\">";
    gettimebar();
    boxstart("$sitename");
    $action $_GET["action"];
    if(
    isowner(getuid_sid($sid))|| isheadadd(getuid_sid($sid))|| isadmin(getuid_sid($sid)) ||  ismod(getuid_sid($sid)))
    {
          echo 
    "<p align=\"center\">";
          echo 
    "You are not an admin<br/>";
          echo 
    "<br/>";
          echo 
    "<a href=\"index.php\">Home</a>";
          echo 
    "</p></div></div></font></body>";
          echo 
    "</html>";
          exit();
        }
    if(
    islogged($sid)==false)
        {
          echo 
    "<p align=\"center\">";
          echo 
    "You are not logged in<br/>";
          echo 
    "Or Your session has been expired<br/><br/>";
          echo 
    "<a href=\"index.php\">Login</a>";
          echo 
    "</p></div></div></font></body>";
          echo 
    "</html>";
          exit();
        }
        
    addonline(getuid_sid($sid),"Owner Panel","");
    if(
    $action=="sflomere")
    //////////////General Settings///////////
    {
        
    $xtm getsxtm();
        
    $paf getpmaf();
        
    $fvw getfview();
        
    $fmsg htmlspecialchars(getfmsg());
        
    $arv canreg();
        
    $reg mysql_fetch_array(mysql_query("SELECT value FROM ibwf_settings WHERE name='reg'"));
        
    $img mysql_fetch_array(mysql_query("SELECT value FROM ibwf_settings WHERE name='icons'"));
        
    $ope mysql_fetch_array(mysql_query("SELECT value FROM ibwf_settings WHERE name='entry'"));
        
      echo 
    "<p align=\"center\"><form action=\"admonitionpr.php?action=general&amp;sid=$sid\" method=\"post\">";
      echo 
    "<b>General Settings</b><br/>";
      echo 
    "Session Period:<br/> ";
      echo 
    "<input id=\"inputText\" type=\"text\" name=\"sesp\" format=\"*N\" value=\"$xtm\" maxlength=\"3\" size=\"3\"/>";
      echo 
    "<br/>PM Antiflood:<br/><input id=\"inputText\" type=\"text\" name=\"pmaf\" value=\"$paf\" format=\"*N\" maxlength=\"3\" size=\"3\"/>";
      echo 
    "<br/>Forum Message:<br/> ";
      echo 
    "<input id=\"inputText\" type=\"text\" name=\"fmsg\" value=\"$fmsg\"  maxlength=\"255\" />";
      echo 
    "<br/>Registration:<br/> ";
      echo 
    "<select id=\"inputText\" name=\"areg\">";
    if(
    $reg[0]==1)

      { echo 
    "<option value=\"1\" selected=\"selected\">Enabled</option>";

        echo 
    "<option value=\"0\">Disabled</option>";

        echo 
    "<option value=\"2\">Validation required</option>";

        echo 
    "</select><br/>";}

    else if(
    $reg[0]==0)

      { echo 
    "<option value=\"1\">Enabled</option>";

        echo 
    "<option value=\"0\" selected=\"selected\">Disabled</option>";

        echo 
    "<option value=\"2\">Validation required</option>";

        echo 
    "</select><br/>";}

    else if(
    $reg[0]==2)

      { echo 
    "<option value=\"1\">Enabled</option>";

        echo 
    "<option value=\"0\">Disabled</option>";

        echo 
    "<option value=\"2\" selected=\"selected\">Validation required</option>";

        echo 
    "</select><br/>";}

    else { echo 
    "<option value=\"1\" selected=\"selected\">Enabled</option>";

        echo 
    "<option value=\"0\">Disabled</option>";

        echo 
    "<option value=\"2\">Validation required</option>";

        echo 
    "</select><br/>";}

        echo 
    "Icons, links and avatars:<br/> ";

    if(
    $img[0]==1)

      { echo 
    "<select id=\"inputText\" name=\"smiles\">";

      echo 
    "<option value=\"1\" selected=\"selected\">Enabled</option>";

      echo 
    "<option value=\"0\">Disabled</option>";

      echo 
    "</select><br/>"; }

    else if(
    $img[0]==0)

      { echo 
    "<select id=\"inputText\" name=\"smiles\">";

      echo 
    "<option value=\"1\">Enabled</option>";

      echo 
    "<option value=\"0\" selected=\"selected\">Disabled</option>";

      echo 
    "</select><br/>"; }

    else

      { echo 
    "<select id=\"inputText\" name=\"smiles\">";

      echo 
    "<option value=\"1\" selected=\"selected\">Enabled</option>";

      echo 
    "<option value=\"0\">Disabled</option>";

      echo 
    "</select><br/>"; }

      echo 
    "Site open or closed?:<br/> ";

    if(
    $ope[0]==1)

      { echo 
    "<select id=\"inputText\" name=\"entry\">";

      echo 
    "<option value=\"1\" selected=\"selected\">Open</option>";

      echo 
    "<option value=\"0\">Closed</option>";

      echo 
    "</select><br/>";}

    else if(
    $ope[0]==0)

      { echo 
    "<select id=\"inputText\" name=\"entry\">";

      echo 
    "<option value=\"1\">Open</option>";

      echo 
    "<option value=\"0\" selected=\"selected\">Closed</option>";

      echo 
    "</select><br/>";}

    else { echo 
    "<select id=\"inputText\" name=\"entry\">";

      echo 
    "<option value=\"1\" selected=\"selected\">Open</option>";

      echo 
    "<option value=\"0\">Closed</option>";

      echo 
    "</select><br/>";}

      echo 
    "

            <br/><input id=\"inputButton\" type=\"submit\" value=\"Save\"/>

            </form>

      "
    ;

      

      
    /*echo "Registration Status: ";

      if($reg[0]==0)

      { echo "<b>Closed.</b>"; }

      else if($reg[0]==1)

      { echo "<b>Open.</b>"; }

      else if($reg[0]==2)

      { echo "<b>Validation Required.</b>"; }

      else { echo "Unknown Error!"; }*/

      
    echo "</p>";

      echo 
    "<p>";

      echo 
    "<a href=\"index.php?action=caputdraconis&amp;sid=$sid\">";

      echo 
    "Admin CP</a><br/>";

      echo 
    "<a href=\"index.php?action=main&amp;sid=$sid\">";

      echo 
    "Home</a>";

      echo 
    "</p>";

    }



    ////////////////////Message Broadcaster///////////////////////

    else if ($action=="munaadi"){

    echo 
    "<p><center><b><u>Message Broadcaster</u></b></center><br/>";

    echo 
    "Enter Message to be Broadcasted: <form action=\"admonitionpr.php?action=munaadi&amp;sid=$sid\" method=\"post\"><br/>";

    echo 
    "<br/><textarea id=\"inputText\" name=\"pmtext\"></textarea><br/>";

    echo 
    "<input id=\"inputButton\" type=\"submit\" value=\"Broadcast\"/></form>";

    echo 
    "</p>";

     echo 
    "<p>";

      echo 
    "<a href=\"index.php?action=caputdraconis&amp;sid=$sid\">";

      echo 
    "Owners Panel</a><br/>";

      echo 
    "<a href=\"index.php?action=main&amp;sid=$sid\">";

      echo 
    "Home</a>";

      echo 
    "</p>";

        

    }

    //////////////////Forum categories//////////////////

    else if($action=="fukbaap")

    {

        echo 
    "<card id=\"main\" title=\"Forum Categories\">";

        echo 
    "<p>";

        echo 
    "<a href=\"admonition.php?action=addcat&amp;sid=$sid\">»Add Category</a><br/>";

        echo 
    "<a href=\"admonition.php?action=edtcat&amp;sid=$sid\">»Edit Category</a><br/>";

        echo 
    "<a href=\"admonition.php?action=delcat&amp;sid=$sid\">»Delete Category</a><br/>";

        echo 
    "</p>";

        echo 
    "<p>";

        echo 
    "<a href=\"index.php?action=caputdraconis&amp;sid=$sid\">";

      echo 
    "Owners Panel</a><br/>";

      echo 
    "<a href=\"index.php?action=main&amp;sid=$sid\">";

      echo 
    "Home</a>";

      echo 
    "</p>";

        

    }

    ////////////////////////////Chatrooms////////////////

    else if($action=="chatarpatar")

    {

        echo 
    "<p>";

        echo 
    "<a href=\"admonition.php?action=addchr&amp;sid=$sid\">»Add Room</a><br/>";

        
    $noi mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM ibwf_rooms"));

        if(
    $noi[0]>0)

        {

            
    $rss mysql_query("SELECT name, id FROM ibwf_rooms");

            echo 
    "<br/><form action=\"admonitionpr.php?action=delchr&amp;sid=$sid\" method=\"post\"><select id=\"inputText\" name=\"chrid\">";

            while(
    $rs=mysql_fetch_array($rss))

            {

                echo 
    "<option value=\"$rs[1]\">$rs[0]</option>";

            }

          echo 
    "</select><br/><input id=\"inputButton\" type=\"submit\" value=\"Delete\" />";

        echo 
    "</form><br/>";

        }

        echo 
    "</p>";

        echo 
    "<p>";

        echo 
    "<a href=\"index.php?action=caputdraconis&amp;sid=$sid\">";

      echo 
    "Admin CP</a><br/>";

      echo 
    "<a href=\"index.php?action=main&amp;sid=$sid\">";

      echo 
    "Home</a>";

      echo 
    "</p>";

        

    }

    ////////////////////Forums//////////////////

    else if($action=="fukbeta")

    {

        echo 
    "<p>";

        echo 
    "<a href=\"admonition.php?action=addfrm&amp;sid=$sid\">»Add Forum</a><br/>";

        echo 
    "<a href=\"admonition.php?action=edtfrm&amp;sid=$sid\">»Edit Forum</a><br/>";

        echo 
    "<a href=\"admonition.php?action=delfrm&amp;sid=$sid\">»Delete Forum</a><br/>";

        echo 
    "</p>";

        echo 
    "<p>";

        echo 
    "<a href=\"index.php?action=caputdraconis&amp;sid=$sid\">";

      echo 
    "Admin CP</a><br/>";

      echo 
    "<a href=\"index.php?action=main&amp;sid=$sid\">";

      echo 
    "Home</a>";

      echo 
    "</p>";

        

    }

    ///////////////////Clear Data///////////////

    else if($action=="hangtildeath")

    {

        echo 
    "<p>";

        echo 
    "<a href=\"admonitionpr.php?action=delpms&amp;sid=$sid\">»Deleted PMs</a><br/>";

        echo 
    "<a href=\"admonitionpr.php?action=clrmlog&amp;sid=$sid\">»Clear ModLog</a><br/>";

        echo 
    "<a href=\"admonitionpr.php?action=delsht&amp;sid=$sid\">»Delete Old Shouts</a><br/>";

        echo 
    "</p>";

        echo 
    "<p>";

        echo 
    "<a href=\"index.php?action=caputdraconis&amp;sid=$sid\">";

      echo 
    "Admin CP</a><br/>";

      echo 
    "<a href=\"index.php?action=main&amp;sid=$sid\">";

      echo 
    "Home</a>";

      echo 
    "</p>";

        

    }

    //////////////////////Add category////////////////

    else if($action=="addcat")

    {

        echo 
    "<p align=\"center\">";

        echo 
    "<b>Add Category</b><br/><br/>";

        echo 
    "Name:<form action=\"admonitionpr.php?action=addcat&amp;sid=$sid\" method=\"post\"><input id=\"inputText\" type=\"text\" name=\"fcname\" maxlength=\"30\"/><br/>";

        echo 
    "Position:<br/><input id=\"inputText\" type=\"text\" name=\"fcpos\" format=\"*N\" size=\"3\"  maxlength=\"3\"/><br/>";

        

      echo 
    "<input id=\"inputButton\" type=\"submit\" value=\"Add\"/>";

        echo 
    "</form>";

        echo 
    "<br/><br/><a href=\"admonition.php?action=fcats&amp;sid=$sid\">";

      echo 
    "Forum Categories</a><br/>";

        echo 
    "<a href=\"index.php?action=caputdraconis&amp;sid=$sid\">";

      echo 
    "Admin CP</a><br/>";

      echo 
    "<a href=\"index.php?action=main&amp;sid=$sid\">";

      echo 
    "Home</a>";

      echo 
    "</p>";

        

    }

    /////////////Add forum////////////////

    else if($action=="addfrm")

    {

        echo 
    "<p align=\"center\">";

        echo 
    "<b>Add Forum</b><br/><br/>";

        echo 
    "<form action=\"admonitionpr.php?action=addfrm&amp;sid=$sid\" method=\"post\">Name:<input id=\"inputText\" type=\"text\" name=\"frname\" maxlength=\"30\"/><br/>";

        echo 
    "Position:<input id=\"inputText\" type=\"text\" name=\"frpos\" format=\"*N\" size=\"3\"  maxlength=\"3\"/><br/>";

        
    $fcats mysql_query("SELECT id, name FROM ibwf_fcats ORDER BY position, id, name");

        echo 
    "Category: <select id=\"inputText\" name=\"fcid\">";

        while (
    $fcat=mysql_fetch_array($fcats))

        {

            echo 
    "<option value=\"$fcat[0]\">$fcat[1]</option>";

        }

        echo 
    "</select><br/>";

        echo 
    "<input id=\"inputButton\" type=\"submit\" value=\"Add\"/>";

         echo 
    "</form>";

        echo 
    "<br/><br/><a href=\"admonition.php?action=forums&amp;sid=$sid\">";

      echo 
    "Forums</a><br/>";

        echo 
    "<a href=\"index.php?action=caputdraconis&amp;sid=$sid\">";

      echo 
    "Admin CP</a><br/>";

      echo 
    "<a href=\"index.php?action=main&amp;sid=$sid\">";

      echo 
    "Home</a>";

      echo 
    "</p>";

        

    }



    /////////////////////Add smilies///////////////////////

    else if($action=="pikachu")

    {

        echo 
    "<p align=\"center\">";

        echo 
    "<b>Add Smilies</b><br/><br/>";

        echo 
    "Code:<form action=\"admonitionpr.php?action=addsml&amp;sid=$sid\" method=\"post\"><input id=\"inputText\" type=\"text\" name=\"smlcde\" maxlength=\"30\"/><br/>";

        echo 
    "Image Source:<br/><input id=\"inputText\" type=\"text\" name=\"smlsrc\" maxlength=\"200\"/><br/>";

        echo 
    "<input id=\"inputButton\" type=\"submit\" value=\"Add\"/>";

        echo 
    "</form>";

        echo 
    "<br/><br/><a href=\"index.php?action=caputdraconis&amp;sid=$sid\">";

      echo 
    "Admin CP</a><br/>";

      echo 
    "<a href=\"index.php?action=main&amp;sid=$sid\">";

      echo 
    "Home</a>";

      echo 
    "</p>";

        

    }

    ////////////////Add avatars/////////////

    else if($action=="jigglypuff")

    {

        echo 
    "<p align=\"center\">";

        echo 
    "<b>Add Avatar</b><br/><br/>";

        echo 
    "Source:<form action=\"admonitionpr.php?action=addavt&amp;sid=$sid\" method=\"post\"><input id=\"inputText\" type=\"text\" name=\"avtsrc\" maxlength=\"30\"/><br/>";

        echo 
    "<input id=\"inputButton\" type=\"submit\" value=\"Submit\"/>";

        echo 
    "</form>";

        echo 
    "<br/><br/><a href=\"index.php?action=caputdraconis&amp;sid=$sid\">";

      echo 
    "Admin CP</a><br/>";

      echo 
    "<a href=\"index.php?action=main&amp;sid=$sid\">";

      echo 
    "Home</a>";

      echo 
    "</p>";

        

    }



    /////////////////Add chatroom/////////////////

    else if($action=="addchr")

    {

        echo 
    "<p align=\"center\">";

        echo 
    "<b>Add Room</b><br/><br/>";

        echo 
    "Name:<form action=\"admonitionpr.php?action=addchr&amp;sid=$sid\" method=\"post\"><input id=\"inputText\" name=\"chrnm\" maxlength=\"30\"/><br/>";

        echo 
    "Minimum Age:<br/><input id=\"inputText\" name=\"chrage\" format=\"*N\" maxlength=\"3\" size=\"3\"/><br/>";

        echo 
    "Minimum Chat Posts:<br/><input id=\"inputText\" name=\"chrpst\" format=\"*N\" maxlength=\"4\" size=\"4\"/><br/>";

        echo 
    "Permission:<br/><select id=\"inputText\" name=\"chrprm\">";

        echo 
    "<option value=\"0\">Normal</option>";

        echo 
    "<option value=\"1\">Moderators</option>";

        echo 
    "<option value=\"2\">Admins</option>";

        echo 
    "</select><br/>";

        echo 
    "Censored:<br/><select id=\"inputText\" name=\"chrcns\">";

        echo 
    "<option value=\"1\">Yes</option>";

        echo 
    "<option value=\"0\">No</option>";

        echo 
    "</select><br/>";

        echo 
    "Fun:<br/><select id=\"inputText\" name=\"chrfun\">";

        echo 
    "<option value=\"0\">No</option>";

        echo 
    "<option value=\"1\">esreveR</option>";

        echo 
    "</select><br/>";

        echo 
    "<input id=\"inputButton\" type=\"submit\" value=\"Create\"/>";

        echo 
    "</form>";

        echo 
    "<br/><br/><a href=\"admonition.php?action=chrooms&amp;sid=$sid\">";

      echo 
    "Chatrooms</a><br/>";

        echo 
    "<a href=\"index.php?action=caputdraconis&amp;sid=$sid\">";

      echo 
    "Admin CP</a><br/>";

      echo 
    "<a href=\"index.php?action=main&amp;sid=$sid\">";

      echo 
    "Home</a>";

      echo 
    "</p>";

        

    }



    ////////////////////Edit Forum////////////////////

    else if($action=="edtfrm")

    {

        echo 
    "<p align=\"center\">";

        echo 
    "<b>Edit Forum</b><br/><br/>";

        
    $forums mysql_query("SELECT id,name FROM ibwf_forums ORDER BY position, id, name");

        echo 
    "<form action=\"admonitionpr.php?action=edtfrm&amp;sid=$sid\" method=\"post\">Forum: <select id=\"inputText\" name=\"fid\">";

        while(
    $forum=mysql_fetch_array($forums))

        {

          echo 
    "<option value=\"$forum[0]\">$forum[1]</option>";

        }

        echo 
    "</select>";

        echo 
    "<br/>Name:<input id=\"inputText\" name=\"frname\" maxlength=\"30\"/><br/>";

        echo 
    "Position:<input id=\"inputText\" name=\"frpos\" format=\"*N\" size=\"3\"  maxlength=\"3\"/><br/>";

        
    $fcats mysql_query("SELECT id, name FROM ibwf_fcats ORDER BY position, id, name");

        echo 
    "Category: <select id=\"inputText\" name=\"fcid\">";

        while (
    $fcat=mysql_fetch_array($fcats))

        {

            echo 
    "<option value=\"$fcat[0]\">$fcat[1]</option>";

        }

        echo 
    "</select><br/>";

        echo 
    "<input id=\"inputButton\" type=\"submit\" value=\"Edit\"/>";

        echo 
    "</form>";

        echo 
    "<br/><br/><a href=\"admonition.php?action=forums&amp;sid=$sid\">";

      echo 
    "Forums</a><br/>";

        echo 
    "<a href=\"index.php?action=caputdraconis&amp;sid=$sid\">";

      echo 
    "Admin CP</a><br/>";

      echo 
    "<a href=\"index.php?action=main&amp;sid=$sid\">";

      echo 
    "Home</a>";

      echo 
    "</p>";

        

    }

    ////////////////////Delete Forum///////////////////

    else if($action=="delfrm")

    {

        echo 
    "<p align=\"center\">";

        echo 
    "<b>Delete Forum</b><br/><br/>";

        
    $forums mysql_query("SELECT id,name FROM ibwf_forums ORDER BY position, id, name");

        echo 
    "Forum:<form action=\"admonitionpr.php?action=delfrm&amp;sid=$sid\" method=\"post\"><select id=\"inputText\" name=\"fid\">";

        while(
    $forum=mysql_fetch_array($forums))

        {

          echo 
    "<option value=\"$forum[0]\">$forum[1]</option>";

        }

        echo 
    "</select><br/>";

        

        echo 
    "<input id=\"inputButton\" type=\"submit\" name=\"Go\"/>";

        echo 
    "</form>";

        echo 
    "<br/><br/><a href=\"admonition.php?action=forums&amp;sid=$sid\">";

      echo 
    "Forums</a><br/>";

        echo 
    "<a href=\"index.php?action=caputdraconis&amp;sid=$sid\">";

      echo 
    "Admin CP</a><br/>";

      echo 
    "<a href=\"index.php?action=main&amp;sid=$sid\">";

      echo 
    "Home</a>";

      echo 
    "</p>";

        

    }



    ////////////Edit cats/////////////

    else if($action=="edtcat")

    {

        echo 
    "<p align=\"center\">";

        echo 
    "<b>Edit Category</b><br/><br/>";

        
    $fcats mysql_query("SELECT id, name FROM ibwf_fcats ORDER BY position, id, name");

        echo 
    "Edit:<form action=\"admonitionpr.php?action=edtcat&amp;sid=$sid\" method=\"post\"> <select id=\"inputText\" name=\"fcid\">";

        while (
    $fcat=mysql_fetch_array($fcats))

        {

            echo 
    "<option value=\"$fcat[0]\">$fcat[1]</option>";

        }

        echo 
    "</select><br/>";

        echo 
    "Name:<input id=\"inputText\" name=\"fcname\" maxlength=\"30\"/><br/>";

        echo 
    "Position:<input id=\"inputText\" name=\"fcpos\" format=\"*N\" size=\"3\"  maxlength=\"3\"/><br/>";

        echo 
    "<input id=\"inputButton\" type=\"submit\" value=\"Go\"/>";

        echo 
    "</form>";

        echo 
    "<br/><br/><a href=\"admonition.php?action=fcats&amp;sid=$sid\">";

      echo 
    "Forum Categories</a><br/>";

        echo 
    "<a href=\"index.php?action=caputdraconis&amp;sid=$sid\">";

      echo 
    "Admin CP</a><br/>";

      echo 
    "<a href=\"index.php?action=main&amp;sid=$sid\">";

      echo 
    "Home</a>";

      echo 
    "</p>";

        

        
    ///////////////////Delete Category//////////////

    }else if($action=="delcat")

    {

        echo 
    "<p align=\"center\">";

        echo 
    "<b>Delete Category</b><br/><br/>";

        
    $fcats mysql_query("SELECT id, name FROM ibwf_fcats ORDER BY position, id, name");

        echo 
    "Delete:<form action=\"admonitionpr.php?action=delcat&amp;sid=$sid\" method=\"post\"> <select id=\"inputText\" name=\"fcid\">";

        

        while (
    $fcat=mysql_fetch_array($fcats))

        {

            echo 
    "<option value=\"$fcat[0]\">$fcat[1]</option>";

        }

        echo 
    "</select><br/>";

        

        echo 
    "<input id=\"inputButton\" type=\"submit\" value=\"Go\"/>";

        echo 
    "</form>";

        echo 
    "<br/><br/><a href=\"admonition.php?action=fcats&amp;sid=$sid\">";

      echo 
    "Forum Categories</a><br/>";

        echo 
    "<a href=\"index.php?action=caputdraconis&amp;sid=$sid\">";

      echo 
    "Admin CP</a><br/>";

      echo 
    "<a href=\"index.php?action=main&amp;sid=$sid\">";

      echo 
    "Home</a>";

      echo 
    "</p>";

        

    }

    /////////////////////////////////change user info/////////////



    else if($action=="dnarna")

    {

        echo 
    "<p align=\"center\">";

        echo 
    "Type user nickname<br/><br/>";

        echo 
    "User: <form action=\"admonition.php?action=acui&amp;sid=$sid\" method=\"post\"><input id=\"inputText\" name=\"unick\" format=\"*x\" maxlength=\"30\"/><br/>";

        echo 
    "<input id=\"inputButton\" type=\"submit\" value=\"Find\"/>";

        echo 
    "</form>";

        echo 
    "<br/><br/><a href=\"index.php?action=caputdraconis&amp;sid=$sid\">";

      echo 
    "Admin CP</a><br/>";

      echo 
    "<a href=\"index.php?action=main&amp;sid=$sid\">";

      echo 
    "Home</a>";

      echo 
    "</p>";

        

    }

    //////////////////////////////////////Change User info

    else if($action=="acui")

    {

       echo 
    "<p align=\"center\">";

        
    $unick $_POST["unick"];

        
    $tid getuid_nick($unick);

        if(
    $tid==0)

        {

          echo 
    "<img src=\"http://coding-talk.com/images/notok.gif\" alt=\"x\"/>User Does Not exist<br/>";

        }else{

          echo 
    "</p>";

          echo 
    "<p>";

          echo 
    "<a href=\"admonition.php?action=chubi&amp;sid=$sid&amp;who=$tid\">»$unick's Profile</a><br/>";

          echo 
    "<a href=\"admonitionpr.php?action=delxp&amp;sid=$sid&amp;who=$tid\">»Delete $unick's posts</a><br/>";

          echo 
    "<a href=\"admonitionpr.php?action=delu&amp;sid=$sid&amp;who=$tid\">»Delete $unick</a><br/>";

          echo 
    "</p>";

          echo 
    "<p align=\"center\">";

        }

        echo 
    "<a href=\"admonition.php?action=chuinfo&amp;sid=$sid\">";

      echo 
    "Users Info</a><br/>";

        echo 
    "<a href=\"index.php?action=caputdraconis&amp;sid=$sid\">";


      echo 
    "Admin CP</a><br/>";

      echo 
    "<a href=\"index.php?action=main&amp;sid=$sid\">";

      echo 
    "Home</a>";

      echo 
    "</p>";

        

    }

    ////////////////////////////////////////////

    else if($action=="chubi")

    {

        
    $who $_GET["who"];

        
    $unick getnick_uid($who);

        
    $avat getavatar($who);

        
    $bdy mysql_fetch_array(mysql_query("SELECT birthday FROM ibwf_users WHERE id='".$who."'"));

        
    $uloc mysql_fetch_array(mysql_query("SELECT location FROM ibwf_users WHERE id='".$who."'"));

        
    $usig mysql_fetch_array(mysql_query("SELECT signature FROM ibwf_users WHERE id='".$who."'"));

        
    $sx mysql_fetch_array(mysql_query("SELECT sex FROM ibwf_users WHERE id='".$who."'"));

        
    $like mysql_fetch_array(mysql_query("SELECT likes FROM ibwf_users WHERE id='".$who."'"));

        
    $hate mysql_fetch_array(mysql_query("SELECT hates FROM ibwf_users WHERE id='".$who."'"));

        
    $rname mysql_fetch_array(mysql_query("SELECT rname FROM ibwf_users WHERE id='".$who."'"));

        
    $perm mysql_fetch_array(mysql_query("SELECT perm FROM ibwf_users WHERE id='".$who."'"));

        
    $bmsg mysql_fetch_array(mysql_query("SELECT budmsg FROM ibwf_users WHERE id='".$who."'"));

        echo 
    "<p><form action=\"admonitionpr.php?action=uprof&amp;sid=$sid&amp;who=$who\" method=\"post\">";

        echo 
    "Nickname: <br/><input id=\"inputText\" name=\"unick\" value=\"$unick\" maxlength=\"15\"/><br/>";

        echo 
    "Real Name: <br/><input id=\"inputText\" name=\"rname\" value=\"$rname[0]\" maxlength=\"50\"/><br/>";

        echo 
    "Avatar: <br/><input id=\"inputText\" name=\"savat\" value=\"$avat\" maxlength=\"100\"/><br/>";

        echo 
    "Birthday(YYYY-MM-DD): <br/><input id=\"inputText\" name=\"ubday\" value=\"$bdy[0]\" maxlength=\"50\"/><br/>";

        echo 
    "Location: <br/><input id=\"inputText\" name=\"uloc\" value=\"$uloc[0]\" maxlength=\"50\"/><br/>";

        echo 
    "Likes: <br/><input id=\"inputText\" name=\"like\" value=\"$like[0]\" maxlength=\"255\"/><br/>";

        echo 
    "Hates: <br/><input id=\"inputText\" name=\"hate\" value=\"$hate[0]\" maxlength=\"255\"/><br/>";

        echo 
    "Signature: <br/><input id=\"inputText\" name=\"usig\" value=\"$usig[0]\" maxlength=\"100\"/><br/>";

        echo 
    "Sex: <br/><select id=\"inputText\" name=\"usex\" value=\"$sx[0]\">";

        echo 
    "<option value=\"M\">Male</option>";

        echo 
    "<option value=\"F\">Female</option>";

        echo 
    "</select><br/>";

        echo 
    "Online Mood: <br/><input id=\"inputText\" name=\"bmsg\" value=\"$bmsg[0]\" maxlength=\"30\"/><br/>";

        echo 
    "Privileges: <br/><select id=\"inputText\" name=\"perm\" value=\"$perm[0]\">";

        echo 
    "<option value=\"0\">Normal</option>";

        echo 
    "<option value=\"1\">Moderator</option>";

        echo 
    "<option value=\"5\">Owner</option>";

        echo 
    "</select><br/>";

        echo 
    "<input id=\"inputButton\" type=\"submit\" value=\"Change\"/>";

    echo 
    "</form>";

    echo 
    "<br/><br/>";

    echo 
    "Password: <form action=\"admonitionpr.php?action=upwd&amp;sid=$sid&amp;who=$who\" method=\"post\"><input name=\"npwd\" format=\"*x\" maxlength=\"15\"/><br/>";

    echo 
    "<input id=\"inputButton\" type=\"submit\" value=\"Change\"/>";

    echo 
    "</form>";

    echo 
    "</p>";

    echo 
    "<p align=\"center\">";

    echo 
    "<a href=\"admonition.php?action=chuinfo&amp;sid=$sid\">";

    echo 
    "Users Info</a><br/>";

    echo 
    "<a href=\"index.php?action=caputdraconis&amp;sid=$sid\">";

    echo 
    "Admin CP</a><br/>";

    echo 
    "<a href=\"index.php?action=main&amp;sid=$sid\">";

    echo 
    "Home</a>";

    echo 
    "</p>";



    }else{

    echo 
    "<p align=\"center\">";

    echo 
    "I don't know how did you get into here, but there's nothing to show<br/><br/>";

    echo 
    "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"http://coding-talk.com/images/home.gif\" alt=\"*\"/>";

    echo 
    "Home</a>";

    echo 
    "</p>";

    }



    boxend();



    ?>

    </font></body></html>
    Last edited by metulj; 15.08.09, 12:18. Reason: [ php ] ... tag ... [ / php ] !

    Leave a comment:


  • cbwf
    replied
    Originally posted by capofret View Post
    I think i removed the list partners from the script.
    The perms are in genproc, just look at the script what numbers
    Lastly, if u are owner u cant open admin tools, if u are head admin u cant open admin tools as well, and i just dont get it why people want to open those tools when all tools are in owner tools.
    For register, just remove the // from the line where it says register in index.php, i think i disabled it.
    i am make admin then error is u r no admin and creat head admin thne error is direct logout

    Leave a comment:

Working...
X