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();
?>