Jump to content
MakeWebGames

jamiee

Members
  • Posts

    129
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by jamiee

  1. Re: PUB oh ok +1 light for you :-D
  2. Re: time code so how do i do it then???
  3. Re: time code ty, and how long is the time set there all ready +3600 how did you get that so if i ask to much im new to this
  4. Re: time code so i just put that cobe at the top of my page and it will work
  5. Re: PUB +1 light for you :-D
  6. Re: PUB that worked ty :-D
  7. is there a code that up can put on your page and the user can only use that page say once over 10 min's ??
  8. Re: PUB ?> <?php /*----------------------------------------------------- -- Forgotten-Lands v1.0 BETA -- A product of KrAiG -- Do not send or sell to anyone else -- Please keep this text here -----------------------------------------------------*/ 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(); if(!$_GET['spend']) { print "<h2>Jimmys Bar</h2> [b]Bartender:[/b] Welcome to Jimmys Bar, we have a fine selection of alcohol for your drunken needs! [b]You:[/b] Sure, i feel the need to get a bit drunk, what do you have? [b]Bartender[/b]We have: <h3>Beers</h3> <table border='1' width='90%' bordercolor='#939393'><th>Name</th><th>Price</th><th><center>Buy</th></tr><tr> <td><center>Australian</td><td><center>$1000</td><td><center>[url='bar.php?spend=ausb']BUY[/url]</td></tr><tr> <td><center>French</td><td><center>$2000</td><td><center>[url='bar.php?spend=freb']BUY[/url]</td></tr><tr> <td><center>American</td><td><center>$3000</td><td><center>[url='bar.php?spend=ameb']BUY[/url]</td></tr><tr> <td><center>Scottish</td><td><center>$5000</td><td><center>[url='bar.php?spend=scob']BUY[/url]</td></tr></table>"; print " <h3>Wines</h3> <table border='1' width='90%' bordercolor='#939393<th>Name</th><th>Price</th><th><center>Buy</th></tr><tr> <td><center>British</td><td><center>$5000</td><td><center>[url='bar.php?spend=briw']BUY[/url]</td></tr><tr> <td><center>Scottish</td><td><center>$6000</td><td><center>[url='bar.php?spend=scow']BUY[/url]</td></tr><tr> <td><center>Spannish</td><td><center>$7000</td><td><center>[url='bar.php?spend=ameb']spaw[/url]</td></tr><tr> <td><center>Italian</td><td><center>$8000</td><td><center>[url='bar.php?spend=scob']itaw[/url]</td></tr></table>"; print " <h3>Spirits</h3> <table border='1' width='90%' bordercolor='#939393'><th>Name</th><th>Price</th><th><center>Buy</th></tr><tr> <td><center>British</td><td><center>$9000</td><td><center>[url='bar.php?spend=bris']BUY[/url]</td></tr><tr> <td><center>Irish</td><td><center>$10000</td><td><center>[url='bar.php?spend=iris']BUY[/url]</td></tr><tr> <td><center>Welsh</td><td><center>$12000</td><td><center>[url='bar.php?spend=wels']BUY[/url]</td></tr><tr> <td><center>Scottish</td><td><center>$15000</td><td><center>[url='bar.php?spend=scos']BUY[/url]</td></tr></table>"; } else { if($_GET['spend'] == 'ausb') { if($ir['money'] <1000) { print "You don't have enough money to buy some Australian Beer!"; } else { mysql_query("UPDATE users SET brave=brave+1,money=money-1000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET brave=maxbrave WHERE brave > maxbrave",$c); print "<center>You bought some Australian Beer for \$1000, you downed the pint straight away. You feel dizzy as a rush of your brave starts coming back to you. [url='index.php']>Home[/url]</center>"; } } else if($_GET['spend'] == 'freb') { if($ir['money'] <2000) { print "You don't have enough money to buy some French Beer!"; } else { mysql_query("UPDATE users SET brave=brave+3,money=money-2000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET brave=maxbrave WHERE brave > maxbrave",$c); print "<center>You bought some French Beer for \$2000, you downed the pint straight away. You feel dizzy as a rush of your brave starts coming back to you. [url='index.php']>Home[/url]</center>"; } } else if($_GET['spend'] == 'ameb') { if($ir['money'] <3000) { print "You don't have enough money to buy some American beer!"; } else { mysql_query("UPDATE users SET brave=brave+5,money=money-3000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET brave=maxbrave WHERE brave > maxbrave",$c); print "<center>You bought some American beer for \$3000, you downed the pint straight away. You feel dizzy as a rush of your brave starts coming back to you. [url='index.php']>Home[/url]</center>"; } } else if($_GET['spend'] == 'scob') { if($ir['money'] <5000) { print "You don't have enough money to buy some Scottish beer!"; } else { mysql_query("UPDATE users SET brave=brave+7 money=money-5000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET brave=maxbrave WHERE brave > maxbrave",$c); print "<center>You bought some Scottish beer for \$5000, you downed the pint straight away. You feel dizzy as a rush of your brave starts coming back to you. [url='index.php']>Home[/url]</center>"; } } else if($_GET['spend'] == 'briw') { if($ir['money'] <5000) { print "You don't have enough money to buy some British wine!"; } else { mysql_query("UPDATE users SET brave=brave+7,money=money-5000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET brave=maxbrave WHERE brave > maxbrave",$c); print "<center>You bought some British Wine for \$5000, you downed the wine straight away, its been a long day. You feel dizzy as a rush of your brave starts coming back to you. [url='index.php']>Home[/url]</center>"; } } else if($_GET['spend'] == 'scow') { if($ir['money'] <6000) { print "You don't have enough money to buy some Scottish wine!"; } else { mysql_query("UPDATE users SET brave=brave+8,money=money-6000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET brave=maxbrave WHERE brave > maxbrave",$c); print "<center>You bought some Scottish wine for \$6000, you downed the wine straight away, its been a long day. You feel dizzy as a rush of your brave starts coming back to you. [url='index.php']>Home[/url]</center>"; } } else if($_GET['spend'] == 'spaw') { if($ir['money'] <7000) { print "You don't have enough money to buy some Spannish wine!"; } else { mysql_query("UPDATE users SET brave=brave+10,money=money-7000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET brave=maxbrave WHERE brave > maxbrave",$c); print "<center>You bought some Spannish wine for \$7000, you downed the wine straight away, its been a long day. You feel dizzy as a rush of your brave starts coming back to you. [url='index.php']>Home[/url]</center>"; } } else if($_GET['spend'] == 'itaw') { if($ir['money'] <8000) { print "You don't have enough money to buy some Italian wine!"; } else { mysql_query("UPDATE users SET brave=brave+11,money=money-8000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET brave=maxbrave WHERE brave > maxbrave",$c); print "<center>You bought some Italian wine for \$8000, you downed the wine straight away, its been a long day. You feel dizzy as a rush of your brave starts coming back to you. [url='index.php']>Home[/url]</center>"; } } else if($_GET['spend'] == 'bris') { if($ir['money'] <9000) { print "You don't have enough money to buy some British spirit!"; } else { mysql_query("UPDATE users SET brave=brave+13,money=money-9000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET brave=maxbrave WHERE brave > maxbrave",$c); print "<center>You bought some British spirit for \$9000, you downed the spirit straight away. You feel dizzy as a rush of your brave starts coming back to you. [url='index.php']>Home[/url]</center>"; } } else if($_GET['spend'] == 'iris') { if($ir['money'] <10000) { print "You don't have enough money to buy some a Irish spirit!"; } else { mysql_query("UPDATE users SET brave=brave+14,money=money-10000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET brave=maxbrave WHERE brave > maxbrave",$c); print "<center>You bought Irish spirit for \$10000, you downed the spirit straight away. You feel dizzy as a rush of your brave starts coming back to you. [url='index.php']>Home[/url]</center>"; } } else if($_GET['spend'] == 'wels') { if($ir['money'] <12000) { print "You don't have enough money to buy some Welsh spirit!"; } else { mysql_query("UPDATE users SET brave=brave+17,money=money-12000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET brave=maxbrave WHERE brave > maxbrave",$c); print "<center>You bought some Welsh spirit for \$12000, you downed the spirit straight away. You feel dizzy as a rush of your brave starts coming back to you. [url='index.php']>Home[/url]</center>"; } } else if($_GET['spend'] == 'scos') { if($ir['money'] <15000) { print "You don't have enough money to buy some Scottish spirit!"; } else { mysql_query("UPDATE users SET brave=brave+20,money=money-15000 WHERE userid=$userid",$c); mysql_query("UPDATE users SET brave=maxbrave WHERE brave > maxbrave",$c); print "<center>You bought some Scottish spirit for \$15000, you downed the pint straight away. You feel dizzy as a rush of your brave starts coming back to you. [url='index.php']>Home[/url]</center>"; } } } $h->endpage(); ?>
  9. Re: PUB kraig i have your pub on my site i get the page with all the drinks on and when i go to buy on it goes to the next page and it says webpage cannot be found :?
  10. Re: PUB nope
  11. Re: PUB Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/biteme/public_html/pub.php on line 40 i got this can some 1 help ???
  12. Re: gym pass this is a simple mod or so ive been told so is some 1 ganna give it away ? :-D
  13. Re: gym pass can any one tell me how then ?
  14. Re: gym pass does everthin have to be about money ???
  15. hi all, can any one tell me how to put a code to put a gym pass on my gym and how to do it ??? thanx biteme
×
×
  • Create New...