Jump to content
MakeWebGames

Solid Snake

Members
  • Posts

    184
  • Joined

  • Last visited

    Never

Everything posted by Solid Snake

  1. Re: gym pass there it is EDIT: Link Removed (shedh)
  2. Re: gym pass   its been posted already
  3. Re: Gift.php   well when i try to put it into my database it comes with a error and im doing thanks not thinks
  4. Re: Gift.php and your ALTER TABLE users ADD thinks you done completely wrong 1) its not thinks its thanks 2)you forgot to put the rest "ALTER TABLE users ADD thanks date" or summit like that
  5. Re: Gift.php   yo n00b... ALTER TABLE users ADD thinks   Thats why you could get it more than once.. Thats why you should always validate your data! THe query does not exist thugs the value is 0! Probperbly gives an mysql error to eh? stfu i dont remember recalling that little function if there was i prolly did pick it up but recently i changed my SQLs and no there aint and look your another one who thinks EVERYONES a n00b
  6. i got it from seanybobs post before and i have been trying to fix it the reason why i was trying to fix it was because you could get the gift more than once and i dont know how to make it so that you can only get it once   <?php session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); $fm=money_formatter($ir['money']); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm); $h->menuarea(); if($ir['thanks']>0) {die("Sorry, you already got your gift today");} else { mysql_query("UPDATE users set thanks=thanks+1 WHERE userid={$ir['userid']}",$c); mysql_query("UPDATE users set money=money+200 WHERE userid={$ir['userid']}",$c); print"what ever here"; } $h->endpage(); ?>
  7. Re: gym pass   *Link Removed* well not anymore lol LostOne here has posted one up for free
  8. Re: [tribalwars.net] Fetch World Data   thats crazy
  9. Re: [tribalwars.net] Fetch World Data so it gets mods from that
  10. Re: [tribalwars.net] Fetch World Data could you show us a screenshot of this mod
  11. Re: [tribalwars.net] Attack Simulator could we have a screenshot of this mode please
  12. Re: gym pass you got to pay for that stuff
  13. Re: My $5 Annoucement Mod - FREE! whats it suppose to do is it like a forum or summit
  14. Re: Supporter Packs (FREE) lol cheers i need force lol
  15. Re: Supporter Packs (FREE) whhhhey ts matty2k6
  16. Re: Supporter Packs (FREE)   Dont forget to change the paypal add on it lol oh yes please do change the paypal address to your own unless you want to give me all your money
  17. Re: Supporter Packs (FREE) here it is fixed thanks to \~pain~/   Create or open supporter.php and put or replace code with <?php /*----------------------------------------------------- -- World Killers Codes -- Created by madogdan (Fixed by \~Pain~/) -- Copyright held 2005 by madogdan -- supporter.php -----------------------------------------------------*/ session_start(); require "global_func.php"; if($_SESSION['loggedin']==0) { header("Location: login.php");exit; } $userid=$_SESSION['userid']; require "header.php"; $h = new headers; $h->startheaders(); include "mysql.php"; global $c; $is=mysql_query("SELECT u.*,us.* FROM users u LEFT JOIN userstats us ON u.userid=us.userid WHERE u.userid=$userid",$c) or die(mysql_error()); $ir=mysql_fetch_array($is); check_level(); $fm=money_formatter($ir['money']); $cm=money_formatter($ir['crystals'],''); $lv=date('F j, Y, g:i a',$ir['laston']); $h->userdata($ir,$lv,$fm,$cm); $h->menuarea(); print <<<EOF <h3>Supporter Information Page</h3> <table align='left'> [/b] <td> <img src=paypal.gif> If you become a Supporter to World Killers, you will receive [b] [/b]: [b]1st Offer ($10/£5):[/b]<ul>[*]$1000000 game money [*]1000 crystals [*]200 IQ, the hardest stat to get in the game! [*]Supporter Only Weapons and Cities [*]30 days Supporter Status: White name + cross next to your name[*] Friend and Black Lists[*] 25% Energy every 5 mins instead of 8%[/list] <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type=hidden name=cmd value=_xclick> <input type="hidden" name="business" value="[email protected]"> <input type="hidden" name="item_name" value="WorldKillers|SP|1|{$ir['userid']}"> <input type="hidden" name="amount" value="10.00"> <input type="hidden" name="no_shipping" value="1"> <input type="hidden" name="return" value="http://world-killers.justfreespace.com/supporterdone.php?action=done"> <input type="hidden" name="cancel_return" value="http://world-killers.justfreespace.com/supporterdone.php?action=cancel"> <input type="hidden" name="notify_url" value="http://world-killers.justfrespace.com/ipn/ipn_supporter.php"> <input type="hidden" name="cn" value="Your Player ID"> <input type="hidden" name="currency_code" value="USD"> <input type="hidden" name="tax" value="0"> <input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"> </form> </table> EOF; $h->endpage(); ?>
  18. Re: Supporter Packs (FREE) CREATE TABLE `sps_process` ( ```sp_id``` int(11) NOT NULL default '0', ```sp_userid``` int(11) NOT NULL default '0', ```sp_time``` int(11) NOT NULL default '0', ```sp_type``` varchar(255) NOT NULL default '' ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
  19. Re: Supporter Packs (FREE) oh yes i one sec ill do it
  20. Re: Supporter Packs (FREE) i know that but this can be easily edited to make it better
  21. Re: Supporter Packs (FREE) and also all of those extra mods like that supporterestate.php there is actually 2 mods in one all you have to do is edit a bit so change ['supporterdays'] to ['donatordays'] simple :-D
  22. Re: Supporter Packs (FREE)   not sure about lite but it will work with V1 and with V2 you will have to edit it a bit but like i said about the lite its the same with V2 but anyone is welcome to take it and modify it to work with V2 or lite
  23. Re: Supporter Packs (FREE) +1 light for you
  24. Re: Supporter Packs (FREE) Add Below and add a little image aroud 11x11 or 14x14 sized called "supporter.gif" you missed the er ^^ lol cheers for that i forgot about that aswell
  25. Re: Supporter Packs (FREE) one thing i forgot here is the SQL   CREATE TABLE `sps_process` ( ```sp_id``` int(11) NOT NULL default '0', ```sp_userid``` int(11) NOT NULL default '0', ```sp_time``` int(11) NOT NULL default '0', ```sp_type``` varchar(255) NOT NULL default '' ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
×
×
  • Create New...