rendered paste body<?phpinclude("/home/ataria/public_html/global.php");echo "<title>Ataria - Lake Siphalon</title>";if ($page == 'Fish') { $omgyeah = mysql_query("SELECT * FROM `fishing` WHERE `uid`='{$_COOKIE['uid']}'"); $fetch = mysql_fetch_array($omgyeah); $time = $fetch[time]; $time2 = time(); $ztop = $time2-$time;$grabz = mysql_query("SELECT * FROM `fishing` WHERE `uid`='{$_COOKIE['uid']}'");$omggz = mysql_fetch_array($grabz);$overall_fish = $omggz['overall'];if ($overall_fish <= 50) {$randv = rand(1, 5);}if ($overall_fish > 51 && $overall_fish <= 100) {$randv = rand(5, 10);}if ($overall_fish > 101 && $overall_fish <= 250) {$randv = rand(10, 15);}if ($overall_fish > 251 && $overall_fish <= 500) {$randv = rand(15, 20);}if ($overall_fish > 501 && $overall_fish <= 1000) {$randv = rand(20, 25);}if ($overall_fish > 1001 && $overall_fish <= 1750) {$randv = rand(25, 30);}if ($overall_fish > 1751 && $overall_fish <= 2500) {$randv = rand(30, 35);}if ($overall_fish > 2501) {$randv = rand(35, 40);}$lol = $overall_fish+$randv;$wtflol = number_format($lol);if ($ztop >= 10800) {$updateyay = mysql_query("UPDATE `fishing` SET `overall`=$lol WHERE `uid`='{$_COOKIE['uid']}'");$okay = $randv*2;$addmeplz = mysql_query("UPDATE `fishing` SET `time`=$time2 WHERE `uid`='{$_COOKIE['uid']}'");$love = mysql_query("SELECT * FROM `users` WHERE `uid`='{$_COOKIE['uid']}'");$hump = mysql_fetch_array($love);$pointz = $hump['points'];$ilu = $pointz+$okay;$mypoints = mysql_query("UPDATE `users` SET `points`=$ilu WHERE `uid`='{$_COOKIE['uid']}'");echo "<center><table width=450 cellspacing=3 cellpadding=3><tr><td class=bar><font class=barfont><center>Lake Siphalon</td></tr><tr><td><center>Congratulations!<br>You fished a <b>$randv</b> pounder!<br>Which, brings your totals up to.. <b>$wtflol </b> pounds.<br>And, has earned you.. <b>$okay</b> aD!!</td></tr></table>";}else {echo "<center><table width=450 cellspacing=3 cellpadding=3><tr><td class=bar><font class=barfont><center>Lake Siphalon</td></tr><tr><td><center>You have already fished!</td></tr></table>";}}if (!$page) { echo "<center><table width=450 cellspacing=3 cellpadding=3><tr><td class=bar><font class=barfont><center>Lake Siphalon</td></tr><tr><td>";$check = mysql_query("SELECT * FROM `fishing` WHERE `uid`='{$_COOKIE['uid']}'");$omg = mysql_num_rows($check); if ($omg == 1) { echo "<center>Good day, mate! Feel free to go fishing in the lake, just remember.. you can only go fishing once every <b>three</b> hours. So, plan your times according to your schedule for best results.<br><br>"; $omgyeah = mysql_query("SELECT * FROM `fishing` WHERE `uid`='{$_COOKIE['uid']}'"); $fetch = mysql_fetch_array($omgyeah); $time = $fetch[time]; $time2 = time(); $ztop = $time2-$time; $yeahz = 10800-$ztop; $divide = $yeahz/60; $omgwtf = round($divide, 0); if ($ztop >= 10800) { echo " <form action=$PHP_SELF method=post> <input type=hidden name=page value=Fish> <input type=submit value=Fish!> </form> "; } else { echo "<B>-- You can fish again in.. $omgwtf minutes! -- </b>"; }}else {echo "<center>Sorry, this lake is <b>strictly</b> used for fishing purposes only. <br> Please go to the <b>Fish Market</b> to get your license. Otherwise, have a good day!";}echo "</td></tr></table>";}?>