smilies warz

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

    smilies warz

    here are a smilies war script
    Code:
    <?php
    include("core.php");
    include("config.php");
    include("xhtmlfunctions.php");
    header("Content-type: text/html; charset=ISO-8859-1");
    echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>";
    echo "<!DOCTYPE html PUBLIC \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\"\"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">";
    echo "<html xmlns=\"http://www.w3.org/1999/xhtml\">";
        echo "<head>";
        echo "<title>$stitle</title>";
    echo "
    <meta http-equiv=\"Cache-Control\" content=\"must-revalidate\" />
    <meta http-equiv=\"Cache-Control\" content=\"no-cache\"/>
    <meta name=\"description\" content=\"spammers club :)\">
    <meta name=\"keywords\" content=\"free, community, forums, chat, wap, communicate\">
    ";
        echo "</head>";
        echo "<body>";
    $bcon = connectdb();
    if (!$bcon)
    {
    
        echo "<p align=\"center\">";
        echo "<img src=\"images/exit.gif\" alt=\"*\"/>
    ";
        echo "ERROR! cannot connect to database
    
    ";
        echo "This error usually happens when backing up the database, please be patient, The site will be up as soon as possible
    
    ";
        echo "THANK YOU VERY MUCH";
        echo "</p>";
        exit();
    }
    $brws = explode(" ",$HTTP_USER_AGENT);
    $ubr = $brws[0];
    $uip = getip();
    $action = $_GET["action"];
    $sid = $_GET["sid"];
    $page = $_GET["page"];
    $who = $_GET["who"];
    $wnick = getnick_uid($who);
    $uid = getuid_sid($sid);
    $version = "";
    $bat = "smilies warz";
    cleardata();
    if(isipbanned($uip,$ubr))
        {
          if(!isshield(getuid_sid($sid)))
          {
    
          echo "<p align=\"center\">";
          echo "<img src=\"images/notok.gif\" alt=\"x\"/>  ";
          echo "This IP address is blocked ";
          echo " ";
          echo "However we grant a shield against IP-Ban for our best users, you can try to see if you are shielded by trying to login, if you keep coming to this page that means you are not shielded, so come back when the ip-ban period is over";
          $banto = mysql_fetch_array(mysql_query("SELECT  timeto FROM ibwf_penalties WHERE  penalty='2' AND ipadd='".$uip."' AND browserm='".$ubr."' LIMIT 1 "));
          $remain =  $banto[0] - time();
          $rmsg = gettimemsg($remain);
          echo " IP: $rmsg  ";
    
          echo "</p>";
          echo "  ";
      echo "<form action=\"login.php\" method=\"get\">";
      echo "username:
     <input name=\"loguid\" format=\"*x\" size=\"8\" maxlength=\"30\"/> ";
      echo "password:
     <input type=\"password\" name=\"logpwd\" size=\"8\" maxlength=\"30\"/>  ";
    echo "<input type=\"submit\" value=\"login »\"/>";
    echo "</form>";
      echo "</p>";
          exit();
          }
        }
    if(($action != "") && ($action!="terms"))
    {
        $uid = getuid_sid($sid);
        if((islogged($sid)==false)||($uid==0))
        {
    
          echo "<p align=\"center\">";
          echo "You are not logged in
    ";
          echo "Or Your session has been expired
    
    ";
          echo "<a href=\"index.php\">Login</a>";
          echo "</p>";
          exit();
        }
    }
    if(isbanned($uid))
        {
    
          echo "<p align=\"center\">";
          echo "<img src=\"images/notok.gif\" alt=\"x\"/>
    ";
          echo "You are Banned
    ";
          $banto = mysql_fetch_array(mysql_query("SELECT timeto FROM ibwf_penalties WHERE uid='".$uid."' AND penalty='1'"));
          $banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM ibwf_users WHERE id='".$uid."'"));
    
       $remain = $banto[0]- time();
       $rmsg = gettimemsg($remain);
       echo "Time to finish your penalty: $rmsg
    
    ";
       echo "Ban Reason: $banres[0]";
       echo "</p>";
       exit();
    }
    $res = mysql_query("UPDATE ibwf_users SET browserm='".$ubr."', ipadd='".$uip."' WHERE id='".getuid_sid($sid)."'");
    
    ////////////////////////////////////////MAIN PAGE
    if($action=="battle")
    {
        addonline(getuid_sid($sid),"playing $bat","");
        $pstyle = gettheme($sid);
      echo xhtmlhead("$stitle",$pstyle);
        $view = $_GET["view"];
        if($view=="")$view="date";
        echo "<p align=\"center\">";
        echo "<img src=\"images/roll.gif\" alt=\"*\"/>
    ";
        echo "Earn more plusses! You wanna play $bat? good luck!";
        echo "</p>";
        echo "<p align=\"center\">";
        echo "<a href=\"adv.php?action=bat&amp;sid=$sid\">»Play $bat</a><br/>
    ";
        echo "</p>";
        echo "<p align=\"center\">";
        echo "<a href=\"index.php?action=funm&amp;sid=$sid\"><img src=\"images/roll.gif\" alt=\"*\"/>";
    echo "Fun/Games</a><br/>";
        echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
    echo "Home</a>";
      echo "</p>";
       exit();
    }
    
    else if($action=="bat")
    {
        addonline(getuid_sid($sid),"Trying his luck at $bat","");
             $pstyle = gettheme($sid);
      echo xhtmlhead("$stitle",$pstyle);
        $view = $_GET["view"];
        if($view=="")$view="date";
        echo "<p align=\"center\">";
          if(getplusses(getuid_sid($sid))<75)
        {
            echo "You need at least 75 plusses to play $bat!";
        }
        echo "</p>";
    //////ALL LISTS SCRIPT <<
    
    echo "<p align=\"left\">";
    echo "choose character:";
    echo "<p align=\"center\">";
    echo "<a href=\"adv.php?action=bata&amp;sid=$sid\"><img alt=\"*\" src=\"../images/2guns.gif\"/></a>  -   <a href=\"adv.php?action=batb&amp;sid=$sid\"><img alt=\"*\" src=\"../images/7.gif\"/></a><br/>";
    
       echo "</p>";
    
    
      ////// UNTILL HERE >>
        echo "<p align=\"center\">";
       echo "<a href=\"index.php?action=funm&amp;sid=$sid\">«back to fun menu</a><br/>
    ";
        echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
    echo "Home</a>";
      echo "</p>";
       exit();
    }
    ////////////////////////////////////////////////////////
    if($action=="bata")
    {
      addonline(getuid_sid($sid),"Playing $bat","");
          $pstyle = gettheme($sid);
      echo xhtmlhead("$stitle",$pstyle);
       echo "<p align=\"center\">";
        //////ALL LISTS SCRIPT <<
    
    $num1 = rand(1, 6);
    
      $uid = mysql_fetch_array(mysql_query("SELECT uid FROM ibwf_ses WHERE id='".$sid."'"));
      $uid = $uid[0];
    $usrid = $uid;
        echo "<a href=\"adv.php?action=bata&amp;sid=$sid\">[fire]</a><br/>
        <a href=\"adv.php?action=bata&amp;sid=$sid\">[double gun]</a><br/>
         <a href=\"adv.php?action=bata&amp;sid=$sid\">[shot]</a><br/>";
       echo "</p>";
      $ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
      $ugpl = $ugpl[0];
      echo "Plusses: $ugpl
    ";
    
    if ($num1 == 1) {
      $num = rand(1, 3);
      echo "
    <img alt=\"\" src=\"../images/2guns.gif\"/>---power]]]]]]]]]]]]]]]]]]]]]]]>*= =
    <br/><img alt=\"\" src=\"../images/7.gif\"/><br/>
     You've Won 100 Plusses!";
                            $ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
                            $ugpl = $ugpl[0];
                            $ugpl2 = $ugpl + "100";
                            mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
    
    echo "
    ";
    }
    if ($num1 == 2) {
      $num = rand(1, 3);
      echo "
    <img alt=\"\" src=\"../images/2guns.gif\"/>---lowpower]>*=====================
    <br/><img alt=\"\" src=\"../images/7.gif\"/><br/>.
     Sorry You've Lost 50 Plusses!";
                            $ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
                            $ugpl = $ugpl[0];
                            $ugpl2 = $ugpl - "50";
                            mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
    
    echo "
    ";
    }
    if ($num1 == 3) {
      $num = rand(1, 3);
        echo "
    <img alt=\"\" src=\"../images/2guns.gif\"/>---draw]]]]]]]]]]]]]]>*[[[[[[[[[[[[[[draw
    <br/><img alt=\"\" src=\"../images/7.gif\"/><br/>
    . You draw! Minus 10 plusses for transaction fee";
                            $ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
                            $ugpl = $ugpl[0];
                            $ugpl2 = $ugpl - "10";
                            mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
    
    echo "
    ";
    }
    if ($num1 == 4) {
      $num = rand(1, 3);
        echo "
    <img alt=\"\" src=\"../images/2guns.gif\"/>---]]]]]>*((((((((((((((((((super========
    <br/><img alt=\"\" src=\"../images/7.gif\"/>
    . You lost! Minus 40 plusses for transaction fee";
                            $ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
                            $ugpl = $ugpl[0];
                            $ugpl2 = $ugpl - "40";
                            mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
    
    echo "
    ";
    }
    if ($num1 == 5) {
      $num = rand(1, 3);
        echo "
    <img alt=\"\" src=\"../images/ghost.gif\"/>-*dead*------------------ <br/>
    <img alt=\"\" src=\"../images/7.gif\"/><br/>
    . You lost! Minus 100000 from all your plusses for transaction fee";
                            $ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
                            $ugpl = $ugpl[0];
                            $ugpl2 = $ugpl - "100000";
                             mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
    
    echo "
    ";
    }
    if ($num1 == 6) {
      $num = rand(1, 3);
        echo "
    <img alt=\"\" src=\"../images/2guns.gif\"/>--------------------*dead*-<br/>
    <img alt=\"\" src=\"../images/ghost.gif\"/><br/>
    . You won! plus 100000 plusses for you!";
                            $ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
                            $ugpl = $ugpl[0];
                            $ugpl2 = $ugpl + "100000";
                            mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
    
    echo "
    ";
    }
    echo "<br/><a href=\"index.php?action=funm&amp;sid=$sid\">Back To Fun Zone</a><br/>";
    
      echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
      echo "</p>";
       exit();
    }
    if($action=="batb")
    {
        addonline(getuid_sid($sid),"Playing $bat","");
             $pstyle = gettheme($sid);
      echo xhtmlhead("$stitle",$pstyle);
        echo "<p align=\"center\">";
    
        //////ALL LISTS SCRIPT <<
    
    $num1 = rand(1, 6);
    
      $uid = mysql_fetch_array(mysql_query("SELECT uid FROM ibwf_ses WHERE id='".$sid."'"));
      $uid = $uid[0];
    $usrid = $uid;
    
      echo "<a href=\"adv.php?action=batb&amp;sid=$sid\">[fire]</a><br/> <a href=\"adv.php?action=batb&amp;sid=$sid\">[double gun]</a><br/> <a href=\"adv.php?action=batb&amp;sid=$sid\">[shot]</a><br/>";
       echo "</p>";
      $ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
      $ugpl = $ugpl[0];
      echo "Plusses: $ugpl
    ";
    
    if ($num1 == 1) {
      $num = rand(1, 3);
      echo "
    <img src=\"../images/2guns.gif\" alt=\"\"/>---]]=========================power <br/>
    <img src=\"../images/7.gif\" alt=\"\"/><br/>
     You've Won 100 Plusses!";
                            $ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
                            $ugpl = $ugpl[0];
                            $ugpl2 = $ugpl + "100";
                            mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
    
    echo "
    ";
    }
    
    if ($num1 == 2) {
      $num = rand(1, 3);
      echo "
    <img alt=\"\" src=\"../images/2guns.gif\"/>---power---------]................>*==  <br/>
    <img alt=\"\" src=\"../images/7.gif\"/><br/>.
     Sorry You've Lost 50 Plusses!";
                            $ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
                            $ugpl = $ugpl[0];
                            $ugpl2 = $ugpl - "50";
                            mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
    
    echo "
    ";
    }
    
    if ($num1 == 3) {
      $num = rand(1, 3);
        echo "
    <img alt=\"\" src=\"../images/2guns.gif\"/>---draw]]]]]]]]]]]]]]>*[[[[[[[[[[[[[[draw    <br/>
    <img alt=\"\" src=\"../images/7.gif\"/><br/>
    . You draw! Minus 10 plusses for transaction fee";
                            $ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
                            $ugpl = $ugpl[0];
                            $ugpl2 = $ugpl - "10";
                            mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
    
    echo "
    ";
    }
    if ($num1 == 4) {
      $num = rand(1, 3);
        echo "
    <img alt=\"\" src=\"../images/2guns.gif\"/>---super]]]]]]]]]]]]]]]]]]]]]]]]]>*(((======== <br/>
    <img alt=\"\" src=\"../images/7.gif\"/><br/>
    . You lost! Minus 40 plusses for transaction fee";
                            $ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
                            $ugpl = $ugpl[0];
                            $ugpl2 = $ugpl - "40";
                            mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
    
    echo "
    ";
    }
    if ($num1 == 5) {
      $num = rand(1, 3);
        echo "
    <img alt=\"\" src=\"../images/ghost.gif\"/>-*dead*-------------------------------------   <br/>
    <img alt=\"\" src=\"../images/7.gif\"/><br/>
    . You win! plus 100000 from all your plusses for 0 transaction fee";
                            $ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
                            $ugpl = $ugpl[0];
                            $ugpl2 = $ugpl + "100000";
                            mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
    
    echo "
    ";
    }
    if ($num1 == 6) {
      $num = rand(1, 3);
        echo "
    <img alt=\"\" src=\"../images/2guns.gif\"/>--------------------------------------------*dead*-<br/>
    <img alt=\"\" src=\"../images/ghost.gif\"/> <br/>
    . You lose! minus 100000 plusses for you!";
                            $ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
                            $ugpl = $ugpl[0];
                            $ugpl2 = $ugpl - "100000";
                            mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
    
    echo "
    ";
    }
    echo "<br/><a href=\"index.php?action=funm&amp;sid=$sid\">Back To Fun Zone</a><br/>";
    
      echo "0 <a accesskey=\"0\" href=\"index.php?action=main&amp;sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
      echo "</p>";
       exit();
    }
    else{
      addonline(getuid_sid($sid),"Where am i?","");
           $pstyle = gettheme($sid);
      echo xhtmlhead("$stitle",$pstyle);
      echo "<p align=\"center\">";
      echo "I don't know how did you get into here, but there's nothing to show
    
    ";
      echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
      echo "</p>";
      exit();
    }
    
    
        echo "</body>";
        echo "</html>";
    ?>
    if u do any updates on it please also post it here
    Attached Files

    #2
    ok so i make a page called smiliewarz.php?

    Comment


      #3
      nope adv.php but u can change the links in the script

      Comment


        #4
        what is the prupose of this script?
        LESS TALK. LESS MISTAKE.

        HTTP://APPSROB.COM - LIST OF MY FACEBOOK APPS!

        Comment


          #5
          this one u can choose an smilie between 2 and then u fight against each other

          Comment


            #6
            now i know.. thanks 4 this..
            LESS TALK. LESS MISTAKE.

            HTTP://APPSROB.COM - LIST OF MY FACEBOOK APPS!

            Comment


              #7
              ok do you have this for mobilezones script without xhtmlfunctions lol

              Comment


                #8
                easy to change it remove the xhtmlfunctions.php from the page and this $pstyle = gettheme($sid);
                echo xhtmlhead("$stitle",$pstyle); and replace it with boxstart code

                Comment


                  #9
                  ok ive done that now but it says i dont have permission to view that page? (I don't know how did you get into here, but there's nothing to show )

                  Comment


                    #10
                    Code:
                    <?php
                    include("core.php");
                    include("config.php");
                    header("Content-type: text/html; charset=ISO-8859-1");
                    echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>";
                    echo "<!DOCTYPE html PUBLIC \"-//WAPFORUM//DTD XHTML Mobile 1.0//EN\"\"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">";
                    echo "<html xmlns=\"http://www.w3.org/1999/xhtml\">";
                        echo "<head>";
                        echo "<title>$stitle</title>";
                    echo "
                    <meta http-equiv=\"Cache-Control\" content=\"must-revalidate\" />
                    <meta http-equiv=\"Cache-Control\" content=\"no-cache\"/>
                    <meta name=\"description\" content=\"spammers club :)\">
                    <meta name=\"keywords\" content=\"free, community, forums, chat, wap, communicate\">
                    ";
                        echo "</head>";
                        echo "<body>";
                    $bcon = connectdb();
                    if (!$bcon)
                    {
                    
                        echo "<p align=\"center\">";
                        echo "<img src=\"images/exit.gif\" alt=\"*\"/>
                    ";
                        echo "ERROR! cannot connect to database
                    
                    ";
                        echo "This error usually happens when backing up the database, please be patient, The site will be up as soon as possible
                    
                    ";
                        echo "THANK YOU VERY MUCH";
                        echo "</p>";
                        exit();
                    }
                    $brws = explode(" ",$HTTP_USER_AGENT);
                    $ubr = $brws[0];
                    $uip = getip();
                    $action = $_GET["action"];
                    $sid = $_GET["sid"];
                    $page = $_GET["page"];
                    $who = $_GET["who"];
                    $wnick = getnick_uid($who);
                    $uid = getuid_sid($sid);
                    $version = "";
                    $bat = "smilies warz";
                    cleardata();
                    if(isipbanned($uip,$ubr))
                        {
                          if(!isshield(getuid_sid($sid)))
                          {
                    
                          echo "<p align=\"center\">";
                          echo "<img src=\"images/notok.gif\" alt=\"x\"/>  ";
                          echo "This IP address is blocked ";
                          echo " ";
                          echo "However we grant a shield against IP-Ban for our best users, you can try to see if you are shielded by trying to login, if you keep coming to this page that means you are not shielded, so come back when the ip-ban period is over";
                          $banto = mysql_fetch_array(mysql_query("SELECT  timeto FROM ibwf_penalties WHERE  penalty='2' AND ipadd='".$uip."' AND browserm='".$ubr."' LIMIT 1 "));
                          $remain =  $banto[0] - time();
                          $rmsg = gettimemsg($remain);
                          echo " IP: $rmsg  ";
                    
                          echo "</p>";
                          echo "  ";
                      echo "<form action=\"login.php\" method=\"get\">";
                      echo "username:
                     <input name=\"loguid\" format=\"*x\" size=\"8\" maxlength=\"30\"/> ";
                      echo "password:
                     <input type=\"password\" name=\"logpwd\" size=\"8\" maxlength=\"30\"/>  ";
                    echo "<input type=\"submit\" value=\"login »\"/>";
                    echo "</form>";
                      echo "</p>";
                          exit();
                          }
                        }
                    if(($action != "") && ($action!="terms"))
                    {
                        $uid = getuid_sid($sid);
                        if((islogged($sid)==false)||($uid==0))
                        {
                    
                          echo "<p align=\"center\">";
                          echo "You are not logged in
                    ";
                          echo "Or Your session has been expired
                    
                    ";
                          echo "<a href=\"index.php\">Login</a>";
                          echo "</p>";
                          exit();
                        }
                    }
                    if(isbanned($uid))
                        {
                    
                          echo "<p align=\"center\">";
                          echo "<img src=\"images/notok.gif\" alt=\"x\"/>
                    ";
                          echo "You are Banned
                    ";
                          $banto = mysql_fetch_array(mysql_query("SELECT timeto FROM ibwf_penalties WHERE uid='".$uid."' AND penalty='1'"));
                          $banres = mysql_fetch_array(mysql_query("SELECT lastpnreas FROM ibwf_users WHERE id='".$uid."'"));
                    
                       $remain = $banto[0]- time();
                       $rmsg = gettimemsg($remain);
                       echo "Time to finish your penalty: $rmsg
                    
                    ";
                       echo "Ban Reason: $banres[0]";
                       echo "</p>";
                       exit();
                    }
                    $res = mysql_query("UPDATE ibwf_users SET browserm='".$ubr."', ipadd='".$uip."' WHERE id='".getuid_sid($sid)."'");
                    
                    ////////////////////////////////////////MAIN PAGE
                    if($action=="battle")
                    {
                        addonline(getuid_sid($sid),"playing $bat","");
                           $view = $_GET["view"];
                        if($view=="")$view="date";
                        echo "<p align=\"center\">";
                        echo "<img src=\"images/roll.gif\" alt=\"*\"/>
                    ";
                        echo "Earn more plusses! You wanna play $bat? good luck!";
                        echo "</p>";
                        echo "<p align=\"center\">";
                        echo "<a href=\"adv.php?action=bat&amp;sid=$sid\">»Play $bat</a><br/>
                    ";
                        echo "</p>";
                        echo "<p align=\"center\">";
                        echo "<a href=\"index.php?action=funm&amp;sid=$sid\"><img src=\"images/roll.gif\" alt=\"*\"/>";
                    echo "Fun/Games</a><br/>";
                        echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
                    echo "Home</a>";
                      echo "</p>";
                       exit();
                    }
                    
                    else if($action=="bat")
                    {
                        addonline(getuid_sid($sid),"Trying his luck at $bat","");
                                $view = $_GET["view"];
                        if($view=="")$view="date";
                        echo "<p align=\"center\">";
                          if(getplusses(getuid_sid($sid))<75)
                        {
                            echo "You need at least 75 plusses to play $bat!";
                        }
                        echo "</p>";
                    //////ALL LISTS SCRIPT <<
                    
                    echo "<p align=\"left\">";
                    echo "choose character:";
                    echo "<p align=\"center\">";
                    echo "<a href=\"adv.php?action=bata&amp;sid=$sid\"><img alt=\"*\" src=\"../images/2guns.gif\"/></a>  -   <a href=\"adv.php?action=batb&amp;sid=$sid\"><img alt=\"*\" src=\"../images/7.gif\"/></a><br/>";
                    
                       echo "</p>";
                    
                    
                      ////// UNTILL HERE >>
                        echo "<p align=\"center\">";
                       echo "<a href=\"index.php?action=funm&amp;sid=$sid\">«back to fun menu</a><br/>
                    ";
                        echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
                    echo "Home</a>";
                      echo "</p>";
                       exit();
                    }
                    ////////////////////////////////////////////////////////
                    if($action=="bata")
                    {
                      addonline(getuid_sid($sid),"Playing $bat","");
                            echo "<p align=\"center\">";
                        //////ALL LISTS SCRIPT <<
                    
                    $num1 = rand(1, 6);
                    
                      $uid = mysql_fetch_array(mysql_query("SELECT uid FROM ibwf_ses WHERE id='".$sid."'"));
                      $uid = $uid[0];
                    $usrid = $uid;
                        echo "<a href=\"adv.php?action=bata&amp;sid=$sid\">[fire]</a><br/>
                        <a href=\"adv.php?action=bata&amp;sid=$sid\">[double gun]</a><br/>
                         <a href=\"adv.php?action=bata&amp;sid=$sid\">[shot]</a><br/>";
                       echo "</p>";
                      $ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
                      $ugpl = $ugpl[0];
                      echo "Plusses: $ugpl
                    ";
                    
                    if ($num1 == 1) {
                      $num = rand(1, 3);
                      echo "
                    <img alt=\"\" src=\"../images/2guns.gif\"/>---power]]]]]]]]]]]]]]]]]]]]]]]>*= =
                    <br/><img alt=\"\" src=\"../images/7.gif\"/><br/>
                     You've Won 100 Plusses!";
                                            $ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
                                            $ugpl = $ugpl[0];
                                            $ugpl2 = $ugpl + "100";
                                            mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
                    
                    echo "
                    ";
                    }
                    if ($num1 == 2) {
                      $num = rand(1, 3);
                      echo "
                    <img alt=\"\" src=\"../images/2guns.gif\"/>---lowpower]>*=====================
                    <br/><img alt=\"\" src=\"../images/7.gif\"/><br/>.
                     Sorry You've Lost 50 Plusses!";
                                            $ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
                                            $ugpl = $ugpl[0];
                                            $ugpl2 = $ugpl - "50";
                                            mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
                    
                    echo "
                    ";
                    }
                    if ($num1 == 3) {
                      $num = rand(1, 3);
                        echo "
                    <img alt=\"\" src=\"../images/2guns.gif\"/>---draw]]]]]]]]]]]]]]>*[[[[[[[[[[[[[[draw
                    <br/><img alt=\"\" src=\"../images/7.gif\"/><br/>
                    . You draw! Minus 10 plusses for transaction fee";
                                            $ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
                                            $ugpl = $ugpl[0];
                                            $ugpl2 = $ugpl - "10";
                                            mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
                    
                    echo "
                    ";
                    }
                    if ($num1 == 4) {
                      $num = rand(1, 3);
                        echo "
                    <img alt=\"\" src=\"../images/2guns.gif\"/>---]]]]]>*((((((((((((((((((super========
                    <br/><img alt=\"\" src=\"../images/7.gif\"/>
                    . You lost! Minus 40 plusses for transaction fee";
                                            $ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
                                            $ugpl = $ugpl[0];
                                            $ugpl2 = $ugpl - "40";
                                            mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
                    
                    echo "
                    ";
                    }
                    if ($num1 == 5) {
                      $num = rand(1, 3);
                        echo "
                    <img alt=\"\" src=\"../images/ghost.gif\"/>-*dead*------------------ <br/>
                    <img alt=\"\" src=\"../images/7.gif\"/><br/>
                    . You lost! Minus 100000 from all your plusses for transaction fee";
                                            $ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
                                            $ugpl = $ugpl[0];
                                            $ugpl2 = $ugpl - "100000";
                                             mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
                    
                    echo "
                    ";
                    }
                    if ($num1 == 6) {
                      $num = rand(1, 3);
                        echo "
                    <img alt=\"\" src=\"../images/2guns.gif\"/>--------------------*dead*-<br/>
                    <img alt=\"\" src=\"../images/ghost.gif\"/><br/>
                    . You won! plus 100000 plusses for you!";
                                            $ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
                                            $ugpl = $ugpl[0];
                                            $ugpl2 = $ugpl + "100000";
                                            mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
                    
                    echo "
                    ";
                    }
                    echo "<br/><a href=\"index.php?action=funm&amp;sid=$sid\">Back To Fun Zone</a><br/>";
                    
                      echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
                      echo "</p>";
                       exit();
                    }
                    if($action=="batb")
                    {
                        addonline(getuid_sid($sid),"Playing $bat","");
                                echo "<p align=\"center\">";
                    
                        //////ALL LISTS SCRIPT <<
                    
                    $num1 = rand(1, 6);
                    
                      $uid = mysql_fetch_array(mysql_query("SELECT uid FROM ibwf_ses WHERE id='".$sid."'"));
                      $uid = $uid[0];
                    $usrid = $uid;
                    
                      echo "<a href=\"adv.php?action=batb&amp;sid=$sid\">[fire]</a><br/> <a href=\"adv.php?action=batb&amp;sid=$sid\">[double gun]</a><br/> <a href=\"adv.php?action=batb&amp;sid=$sid\">[shot]</a><br/>";
                       echo "</p>";
                      $ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
                      $ugpl = $ugpl[0];
                      echo "Plusses: $ugpl
                    ";
                    
                    if ($num1 == 1) {
                      $num = rand(1, 3);
                      echo "
                    <img src=\"../images/2guns.gif\" alt=\"\"/>---]]=========================power <br/>
                    <img src=\"../images/7.gif\" alt=\"\"/><br/>
                     You've Won 100 Plusses!";
                                            $ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
                                            $ugpl = $ugpl[0];
                                            $ugpl2 = $ugpl + "100";
                                            mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
                    
                    echo "
                    ";
                    }
                    
                    if ($num1 == 2) {
                      $num = rand(1, 3);
                      echo "
                    <img alt=\"\" src=\"../images/2guns.gif\"/>---power---------]................>*==  <br/>
                    <img alt=\"\" src=\"../images/7.gif\"/><br/>.
                     Sorry You've Lost 50 Plusses!";
                                            $ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
                                            $ugpl = $ugpl[0];
                                            $ugpl2 = $ugpl - "50";
                                            mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
                    
                    echo "
                    ";
                    }
                    
                    if ($num1 == 3) {
                      $num = rand(1, 3);
                        echo "
                    <img alt=\"\" src=\"../images/2guns.gif\"/>---draw]]]]]]]]]]]]]]>*[[[[[[[[[[[[[[draw    <br/>
                    <img alt=\"\" src=\"../images/7.gif\"/><br/>
                    . You draw! Minus 10 plusses for transaction fee";
                                            $ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
                                            $ugpl = $ugpl[0];
                                            $ugpl2 = $ugpl - "10";
                                            mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
                    
                    echo "
                    ";
                    }
                    if ($num1 == 4) {
                      $num = rand(1, 3);
                        echo "
                    <img alt=\"\" src=\"../images/2guns.gif\"/>---super]]]]]]]]]]]]]]]]]]]]]]]]]>*(((======== <br/>
                    <img alt=\"\" src=\"../images/7.gif\"/><br/>
                    . You lost! Minus 40 plusses for transaction fee";
                                            $ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
                                            $ugpl = $ugpl[0];
                                            $ugpl2 = $ugpl - "40";
                                            mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
                    
                    echo "
                    ";
                    }
                    if ($num1 == 5) {
                      $num = rand(1, 3);
                        echo "
                    <img alt=\"\" src=\"../images/ghost.gif\"/>-*dead*-------------------------------------   <br/>
                    <img alt=\"\" src=\"../images/7.gif\"/><br/>
                    . You win! plus 100000 from all your plusses for 0 transaction fee";
                                            $ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
                                            $ugpl = $ugpl[0];
                                            $ugpl2 = $ugpl + "100000";
                                            mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
                    
                    echo "
                    ";
                    }
                    if ($num1 == 6) {
                      $num = rand(1, 3);
                        echo "
                    <img alt=\"\" src=\"../images/2guns.gif\"/>--------------------------------------------*dead*-<br/>
                    <img alt=\"\" src=\"../images/ghost.gif\"/> <br/>
                    . You lose! minus 100000 plusses for you!";
                                            $ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
                                            $ugpl = $ugpl[0];
                                            $ugpl2 = $ugpl - "100000";
                                            mysql_query("UPDATE ibwf_users SET plusses='".$ugpl2."' WHERE id='".$uid."'");
                    
                    echo "
                    ";
                    }
                    echo "<br/><a href=\"index.php?action=funm&amp;sid=$sid\">Back To Fun Zone</a><br/>";
                    
                      echo "0 <a accesskey=\"0\" href=\"index.php?action=main&amp;sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
                      echo "</p>";
                       exit();
                    }
                    else{
                      addonline(getuid_sid($sid),"Where am i?","");
                           echo "<p align=\"center\">";
                      echo "I don't know how did you get into here, but there's nothing to show
                    
                    ";
                      echo "<a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
                      echo "</p>";
                      exit();
                    }
                    
                    
                        echo "</body>";
                        echo "</html>";
                    ?>
                    and the use function is index?action=battle

                    Comment


                      #11
                      nice wap game

                      Comment

                      Working...
                      X