Smiley Wars Script

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Smiley Wars Script

    Here`s a cr@ppy script that belongs to pinoy (the spammers club)
    its just another version of the kingdom war / loads of others script
    but thought id let everybody have it after there last muppetier spamming spree lol
    (if i had a sh1t site like that i would also need to go on mad spamming spree`s just to get 1 member to stay lol)

    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 "<link rel=\"stylesheet\" type=\"text/css\" href=\"style/style.css\"/>";
    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=\"http://coding-talk.com/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 "[b]THANK YOU VERY MUCH[/b]";
        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 = "version: v1.0";
    $bat = "wapbattle smilies warz";
    cleardata();
    if(isipbanned($uip,$ubr))
        {
          if(!isshield(getuid_sid($sid)))
          {
            
          echo "<p align=\"center\">";
          echo "<img src=\"http://coding-talk.com/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=\"http://coding-talk.com/images/notok.gif\" alt=\"x\"/>
    ";
          echo "You are [b]Banned[/b]
    ";
          $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=\"http://coding-talk.com/images/roll.gif\" alt=\"*\"/>
    ";
        echo "[size="1"]Earn more plusses! You wanna play $bat? good luck pinoy-wapper![/size]";
        echo "</p>";
        echo "<p align=\"center\">";
        echo "<a href=\"adv.php?action=bat&amp;sid=$sid\">»Play $bat</a>
    ";
        echo "</p>";
        echo "<p align=\"center\">";
        echo "<a href=\"index.php?action=funm&amp;sid=$sid\"><img src=\"http://coding-talk.com/images/roll.gif\" alt=\"*\"/>";
    echo "Fun/Games</a>
    ";
        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>";
       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\">";
       echo "<big>[b]$bat $version[/b]</big>
    ";
        echo "[b][size="1"]Craze![/size][/b]";
    
        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 "[size="1"][u]choose character:[/u][/size]";
    echo "<p align=\"center\">";
    echo "<a href=\"adv.php?action=bata&amp;sid=$sid\"><img alt=\"*\" src=\"../final_files/2guns.gif\"/></a>  -   <a href=\"adv.php?action=batb&amp;sid=$sid\"><img alt=\"*\" src=\"../final_files/7.gif\"/></a>";
    
       echo "</p>";
    
       
      ////// UNTILL HERE >>
        echo "<p align=\"center\">";
       echo "<a href=\"index.php?action=funm&amp;sid=$sid\">«back to fun menu</a>
    ";
        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>";
       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 "[b][u]$bat $version[/u][/b]
    ";
      echo "[b]Todo na to![/b]
    ";
      echo "[size="1"][u]choose from:[/u][/size]";
      echo "<a href=\"adv.php?action=bata&amp;sid=$sid\">[fire]</a> , <a href=\"adv.php?action=bata&amp;sid=$sid\">[double gun]</a> , <a href=\"adv.php?action=bata&amp;sid=$sid\">[shot]</a>";
       echo "</p>";
      $ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
      $ugpl = $ugpl[0];
      echo "Plusses: [b]$ugpl[/b]
    ";
    
    if ($num1 == 1) {
      $num = rand(1, 3);
      echo " 
    <img alt=\"\" src=\"../final_files/2guns.gif\"/>---power]]]]]]]]]]]]]]]]]]]]]]]>*= =
    <img alt=\"\" src=\"../final_files/7.gif\"/> 
     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=\"../final_files/2guns.gif\"/>---lowpower]>*=====================
    <img alt=\"\" src=\"../final_files/7.gif\"/>.
     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=\"../final_files/2guns.gif\"/>---draw]]]]]]]]]]]]]]>*[[[[[[[[[[[[[[draw
    <img alt=\"\" src=\"../final_files/7.gif\"/>
    . 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=\"../final_files/2guns.gif\"/>---]]]]]>*((((((((((((((((((super========
    <img alt=\"\" src=\"../final_files/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=\"../final_files/ghost.gif\"/>-*dead*-------------------------------------
    <img alt=\"\" src=\"../final_files/7.gif\"/>
    . 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=\"../final_files/2guns.gif\"/>--------------------------------------------*dead*-
    <img alt=\"\" src=\"../final_files/ghost.gif\"/>
    . 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 "[size="1"]<a href=\"index.php?action=funm&amp;sid=$sid\">Back To Fun Zone</a>[/size]";
    echo "
    ----------
    ";
      echo "[b]0 [/b]<a accesskey=\"0\" href=\"index.php?action=main&amp;sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
      echo "</p>";
    }
    
    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 "[b][u]$bat $version[/u][/b]
    ";
      echo "[b]Todo na to![/b]
    ";
      echo "[size="1"][u]choose from:[/u][/size]";
      echo "<a href=\"adv.php?action=batb&amp;sid=$sid\">[fire]</a> , <a href=\"adv.php?action=batb&amp;sid=$sid\">[double gun]</a> , <a href=\"adv.php?action=batb&amp;sid=$sid\">[shot]</a>";
       echo "</p>";
      $ugpl = mysql_fetch_array(mysql_query("SELECT plusses FROM ibwf_users WHERE id='".$uid."'"));
      $ugpl = $ugpl[0];
      echo "Plusses: [b]$ugpl[/b]
    ";
    
    if ($num1 == 1) {
      $num = rand(1, 3);
      echo " 
    <img src=\"../final_files/2guns.gif\" alt=\"\"/>---]]=========================power
    <img src=\"../final_files/7.gif\" alt=\"\"/> 
     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=\"../final_files/2guns.gif\"/>---power---------]................>*==
    <img alt=\"\" src=\"../final_files/7.gif\"/>.
     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=\"../final_files/2guns.gif\"/>---draw]]]]]]]]]]]]]]>*[[[[[[[[[[[[[[draw
    <img alt=\"\" src=\"../final_files/7.gif\"/>
    . 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=\"../final_files/2guns.gif\"/>---super]]]]]]]]]]]]]]]]]]]]]]]]]>*(((========
    <img alt=\"\" src=\"../final_files/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=\"../final_files/ghost.gif\"/>-*dead*-------------------------------------
    <img alt=\"\" src=\"../final_files/7.gif\"/>
    . 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=\"../final_files/2guns.gif\"/>--------------------------------------------*dead*-
    <img alt=\"\" src=\"../final_files/ghost.gif\"/>
    . 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 "[size="1"]<a href=\"index.php?action=funm&amp;sid=$sid\">Back To Fun Zone</a>[/size]";
    echo "
    ----------
    ";
      echo "[b]0 [/b]<a accesskey=\"0\" href=\"index.php?action=main&amp;sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
      echo "</p>";
    }
    
    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=\"/xhtml/index.php?action=main&amp;sid=$sid\"><img src=\"../images/home.gif\" alt=\"\"/>Home</a>";
      echo "</p>";
      exit();
    }
    
    
        echo "</body>";
        echo "</html>";
    ?>
Working...
X