Ataria - Lake Siphalon"; 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 "
Lake Siphalon
Congratulations!
You fished a $randv pounder!
Which, brings your totals up to.. $wtflol pounds.
And, has earned you.. $okay aD!!
"; } else { echo "
Lake Siphalon
You have already fished!
"; } } if (!$page) { echo "
Lake Siphalon
"; $check = mysql_query("SELECT * FROM `fishing` WHERE `uid`='{$_COOKIE['uid']}'"); $omg = mysql_num_rows($check); if ($omg == 1) { echo "
Good day, mate! Feel free to go fishing in the lake, just remember.. you can only go fishing once every three hours. So, plan your times according to your schedule for best results.

"; $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 "
"; } else { echo "-- You can fish again in.. $omgwtf minutes! -- "; } } else { echo "
Sorry, this lake is strictly used for fishing purposes only.
Please go to the Fish Market to get your license. Otherwise, have a good day!"; } echo "
"; } ?>