Jump to content
MakeWebGames

Phantom

Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Everything posted by Phantom

  1. Re: Request |Nuclear Mod| v2   print "You have launched the nuclear bomb. "; $q=mysql_query("SELECT * FROM users WHERE user_level=1 ORDER BY userid ASC",$c); $moneytaken=0; $crystaltaken=0; $banktaken=0; while($r=mysql_fetch_array($q))   isnt it db query in v2 ?? ... Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/generall/public_html/nuclearbomb.php on line 2 Parse error: syntax error, unexpected T_STRING in /home/generall/public_html/nuclearbomb.php on line 2   error wich i get
  2. I cant seem to find it ... can someone please post one for v2 Thanks ...
  3. Re: 3 Revamps [V2] seems great ... but what is Display ??? displayadd.php
  4. I have problem with item pic mod : I need to do this Find: print "<table width=75% class='table' cellspacing='1'><tr style='background: gray;'><th colspan=2>[b]Looking up info on {$id['itmname']}[/b]</th></tr><tr bgcolor=#dfdfdf><td colspan=2>The [b]{$id['itmname']}[/b] is a/an {$id['itmtypename']} Item - [b]{$id['itmdesc']}[/b]</th><tr style='background: gray;'><th colspan=2>Item Info</th></tr><tr style='background:gray'><th>Item Buy Price</th><th>Item Sell Price</th></tr><tr><td>";   Replace With : if($id['itmpic']) { $itmpic = "<tr style='background: gray;'><td colspan='2' style='text-align: center;'>[img=itmpics/".$id[]</td></tr>"; } print "<table width=75% class='table' cellspacing='1'><tr style='background: gray;'><th colspan=2>[b]Looking up info on {$id['itmname']}[/b]</th></tr>$itmpic<tr bgcolor=#dfdfdf><td colspan=2>The [b]{$id['itmname']}[/b] is a/an {$id['itmtypename']} Item - [b]{$id['itmdesc']}[/b]</th><tr style='background: gray;'><th colspan=2>Item Info</th></tr><tr style='background:gray'><th>Item Buy Price</th><th>Item Sell Price</th></tr><tr><td>";   can someone do it to my code Here is it :   <?php include "globals.php"; //look up item $_GET['ID'] = abs((int) $_GET['ID']); $itmid=$_GET['ID']; if(!$itmid) { print "Invalid item ID"; } else { $q=$db->query("SELECT i.*,it.* FROM items i LEFT JOIN itemtypes it ON i.itmtype=itmtypeid WHERE i.itmid=$itmid LIMIT 1"); if (!$db->num_rows($q)) { print "Invalid item ID"; } else { $id=$db->fetch_row($q); if($id['itmpic']) { $itmpic = "<tr style='background: gray;'><td colspan='2' style='text-align: center;'>[img=itmpics/".$id[]</td></tr>"; } print "<table width=75% class='table' cellspacing='1'><tr style='background: gray;'><th colspan=2>[b]Looking up info on {$id['itmname']}[/b]</th></tr>$itmpic<tr bgcolor=#dfdfdf><td colspan=2>The [b]{$id['itmname']}[/b] is a/an {$id['itmtypename']} Item - [b]{$id['itmdesc']}[/b]</th><tr style='background: gray;'><th colspan=2>Item Info</th></tr><tr style='background:gray'><th>Item Buy Price</th><th>Item Sell Price</th></tr><tr><td>"; if($id['itmbuyprice']) { print money_formatter($id['itmbuyprice']); } else { print "N/A"; } print "</td><td>"; if($id['itmsellprice']) { print money_formatter($id['itmsellprice']); } else { print "N/A</td></tr></table>"; } } } $h->endpage(); ?>
  5. Re: Explore.php Error $end (unexpected) yeah thanks ... just found out it was coded like shit ... :P ...
  6. Hmm i need some help trying to fix and error in this shit...i have found an parse error on line 121 Parse error: parse error, unexpected $ in explore.php on line 121   Parse error: syntax error, unexpected $end in /^^^^/^^^^/^^^^/explore.php on line 121   Here is the whole code :   <?php include "globals.php"; $tresder=(int) rand(100,999); if($ir['jail'] or $ir['hospital']) { die("Are you stupid?I bet you cant move in that wheelchair!."); } if ($ir['donatorpack'] == 0) { print" <form action=starterkit.php><input type='submit' value='Claim Your Free Starter Kit Now!'></form>"; } if($ir['pagetutorials'] == ON) { print " <table width=75% border=3 bordercolor=#BDBDBD cellspacing=0 bgcolor=#FBFBE0 frame=border rules=none> <tr><td width=75><img src=images/lightbulb.gif> <font color=#999999>[i][[url="preferences.php><font"][i]Turn Off[/i]</font>[/url]][/i]</font></center></td><td><center>[b]Explore Tutorial[/b]</center><font color=#000000 size=2> Here you can view all of the Locations Available to you in General Life. The Amount of Places can be quite overwhelming at first but you should be able to find your way around in no time. Feel Free to go to the Places and Look Around. As you go up Levels, You will Unlock New Areas, And if you Become a Donator You Will have More Features. </font></td></tr></table> "; } print "<table cellspacing='1' border='0' cellpadding='3' class='table' width='70%'><tr background='lostcity.jpeg'><th>You begin exploring the area you're in, you see a bit that interests you</th></table> "; print "<table cellspacing='1' border='0' cellpadding='3' class='table' width='85%'><tr height=100><td valign=top> <table cellspacing='1' border='0' cellpadding='3' class='table' width='100%'><tr background='tablehgrad.png'><th>Shopping District </th></table> [img=images/box.png] [url='shops.php']Shopping Mall[/url] [img=images/box.png] [url='auctions.php']Auction Market[/url] [img=images/box.png] [url='stockmarket.php']Stock Market[/url] [img=images/box.png] [url='dmarket.php']Donator Days Market[/url] [img=images/box.png] [url='mbmarket.php']Mailbomb Market[/url] [img=images/box.png] [url='shopindex.php']Users Shops[/url] [img=images/box.png] [url='itemdirectory.php']Search Users Shops[/url] "; $haveshop=mysql_query("select count(*) as cnt from usershops where userid=$userid",$c); $go=mysql_fetch_array($haveshop); if($go['cnt']==0) { $link=""; } else if($go['cnt']!=0) { $link="<a href=shopadmin.php>"; } print"$link"; print "</td> <td valign=top> <table cellspacing='1' border='0' cellpadding='3' class='table' width='100%'><tr background='tablehgrad.png'><th>City Center </th></table> [img=images/box.png] [url='monorail.php']Travel Agency[/url] [img=images/box.png] [url='estate.php']Estate Agent[/url] [img=images/box.png] [url='bank.php']City Bank[/url] [img=images/box.png] [url='creditcard.php']Credit Card Services[/url] [img=images/box.png] [url='marital.php']Church[/url]"; if($ir['location'] == 100) { print " [img=images/box.png] [url='cbank.php']Crystal Reserves Bank[/url] "; print "</td> <td v<table cellspacing='1' border='0' cellpadding='3' class='table' width='100%'><tr background='tablehgrad.png'><th>Luck Or Suck </th></table> [img=images/box.png] [url='slots.php']Slot Machines[/url] [img=images/box.png] [url='magicslots.php']Magic Slots[/url] [img=images/box.png] [url='roulette.php?tresde=$tresder']Roulette[/url] [img=images/box.png] [url='lottery.php']Lottery[/url] [img=images/box.png] [url='hilow.php']Pick High-Low[/url] [img=images/box.png] [url='lucky.php']Lucky Boxes[/url]"; if($ir['location'] == 150) { print " [img=images/box.png] [url='slotsmachine3.php']Super Slots[/url] "; } print "</td></tr><tr height=100> <td valign=top> <table cellspacing='1' border='0' cellpadding='3' class='table' width='100%'><tr background='tablehgrad.png'><th>Smart Side </th></table> [img=images/box.png] [url='locate.php']Locate Player[/url] [img=images/box.png] [url='breport.php']Bug Report[/url]</td><td valign=top> [img=images/box.png] [url='stafflist.php']Our Staff[/url] <table cellspacing='1' border='0' cellpadding='3' class='table' width='100%'><tr background='tablehgrad.png'><th>General Life </th></table> [img=images/box.png] [url='userlist.php']User List[/url] [img=images/box.png] [url='usersonline.php']Users Online[/url] [img=images/box.png] [url='vdonators.php']Supporters List[/url] [img=images/box.png] [url='halloffame.php']Hall of Fame[/url] [img=images/box.png] [url='hos.php']Hall of Shame[/url] [img=images/box.png] [url='stats.php']Game Statistics[/url] [img=images/box.png] [url='polling.php']Polling Booth[/url] <table cellspacing='1' border='0' cellpadding='3' class='table' width='100%'><tr background='tablehgrad.png'> <th>Dark Part Of Town </th></table> [img=images/box.png] [url='ctemple.php']The Black Market[/url] [img=images/box.png] [url='escortservice.php']Escort Service[/url] [img=images/box.png] [url='battleladder.php']Battle Ladder[/url] [img=images/box.png] [url='doorshoot.php']Door Shoot[/url] [img=images/box.png] [url='honorexchange.php']Honor Exchange[/url] [img=images/box.png] [url='honorawards.php']Honor Awards[/url] </td> "; print "</td></tr><tr height=100> <td valign=top> <table cellspacing='1' border='0' cellpadding='3' class='table' width='100%'><tr background='tablehgrad.png'><th>Fun Zone </th></table> [img=images/box.png] <a href='maths.php'>Maths Challenge [img=images/box.png] <a href='guesswho.php'>Guess Who? [img=images/box.png] [url='tell.php']Tell a Friend[/url] [img=images/box.png] [url='calculator.php']Calculator Wizard[/url] [img=images/box.png] [url='musicplayer.php']Music Player[/url] [img=images/box.png] [url='reward.php']Dont Click Here![/url] </td><td valign=top> <table cellspacing='1' border='0' cellpadding='3' class='table' width='100%'><tr background='tablehgrad.png'><th>Prison Side </th></table> [img=images/box.png] [url='fedjail.php']Federal Jail[/url] [img=images/box.png] [url='jail.php']City Jail[/url] </td><td valign=top> <table cellspacing='1' border='0' cellpadding='3' class='table' width='100%'><tr background='tablehgrad.png'> <th>Gang Alley </th></table> [img=images/box.png] [url='gangcentral.php']Gangs[/url] [img=images/box.png] [url='gangwars.php']Gang Wars[/url] [img=images/box.png] [url='searchgan.php']Search Gang[/url] [img=images/box.png] [url='topgangs.php']Top 10 Gangs[/url] </td>"; print "</td></tr></table></th> <table cellspacing='1' border='0' cellpadding='3' class='table' width='70%'><th>This is Your Referal Link </th></tr> <td><center>http://{$domain}/register.php?REF=$userid Every Signup from this Link earns you Two Valuable Crystals!</td></tr></table></th>"; $h->endpage(); ?>
×
×
  • Create New...