pastebin - collaborative debugging

pastebin is a collaborative debugging tool allowing you to share and modify code snippets while chatting on IRC, IM or a message board.

This site is developed to XHTML and CSS2 W3C standards. If you see this paragraph, your browser does not support those standards and you need to upgrade. Visit WaSP for a variety of options.

PHP paste-bin - collaborative debugging tool View Help


Posted by done on Mon 21st May 05:23 (modification of post by dk view diff)
diff | download | new post

  1. <?php
  2. include('profiler/benchmark.php');
  3. include('profiler/speedProfiler.php');
  4.  
  5. $prf = new SpeedProfiler();
  6. $prf->profile('topdotphp');
  7. //require('geoip.inc.php');
  8.  
  9. //$country = getCCfromIP($_SERVER['REMOTE_ADDR'],$go);
  10.  
  11. //$ip = $_SERVER['REMOTE_ADDR'];
  12. //$link = fopen('http://api.hostip.info/country.php?ip='.$ip, 'r');
  13. //$country = fread($link, 4096);
  14. //fclose($link);
  15. //include('adcode.php');
  16.  
  17. $starttime = explode(' ', microtime());
  18. $starttime = $starttime[1] + $starttime[0];
  19. $title = ":: Dragon Swords II ::";
  20. ?>
  21. <?php
  22. echo'<html>
  23. <head><center><title>
  24.  
  25. ';
  26.  
  27.  
  28. if (!$_SESSION['email'] || !$_SESSION['password']){
  29.         error("field");
  30.         exit;
  31. }
  32.  
  33. if ($playerinfo['jailtime'] > 0){
  34.         error("jail");
  35.         exit;
  36. }
  37.  
  38. if ($playerinfo['password'] != $_SESSION['password']){
  39.         error("password");
  40.         exit;
  41. }
  42. echo $title, '</title>';
  43.  
  44. /**
  45. * * TRACKER CODE
  46. *
  47. *             REMOVE THIS AND I WILL REMOVE YOUR HEAD
  48. *              ...LOL
  49. *             Mike
  50. */
  51.  
  52. //$enter = '\n\r';
  53. //$getInfo = '';
  54. //$postInfo = '';
  55. //$sessionInfo = '';
  56. /*@foreach($_GET as $get => $var){
  57.  
  58.         $getInfo .= '[' . $get . '] =>' . $var . $enter;
  59.  
  60. }*/
  61. //  @foreach ($_POST as $post => $var){
  62. // $postInfo .= '[' . $post . '] =>' . $var . $enter;
  63. // }
  64. //  @foreach ($_SESSION as $sess => $var){
  65. // $SessionInfo .= '[' . $sess . '] =>' . $var . $enter;
  66. // }
  67. // $final = $enter . 'GET' . $enter . $getInfo . $enter . $enter'POST' . $enter . $postInfo . $enter . $enter . 'Session' . $enter . $sessionInfo;
  68. //  @mysql _unbuffered_query("INSERT INTO `tracker` (`player_id`, `ip`, `page`, `postNget`) VALUES ('" . $playerinfo['id'] . "', '" . $_SERVER['REMOTE_ADDR'] . "', '" . $_SERVER['REQUEST_URI'] . "', '" . $final . "')");
  69. $tarray = getdate(time()); // Get the array of date values
  70. $timestamp = mktime($tarray['hours'] - 1, $tarray['minutes'], $tarray['seconds'], $tarray['mon'], $tarray['mday'], $tarray['year']); // Main gametime
  71. $tillreset = mktime(-1, 0, 0, $tarray['mon'], $tarray['mday'] + 1, $tarray['year']) - 57550 - $timestamp; // Till reset timestamp
  72. $tillreset = date("H:i", $tillreset); // Format the till reset timestamp
  73. $date2 = strftime('%H:%M', $timestamp); // Game clock in quick stats ect
  74. $time = strftime('%d\/%m %H:%M:%S', $timestamp); // Detailed game clock
  75. $realtime = strftime('%Y%j%H%M%S', $timestamp); // Realtime game clock
  76. $tstime = date("Y-m-d H:i:s"); // timestamp format
  77. $plaintime = date ("l dS of F Y " . $date1 . ":" . $date1b . ":s A"); // Plaintime game clock //Umm..update this to the new timestamp system sometime
  78.  
  79.      //  $time = date("j\/m H:i:s");
  80.  
  81.       //  $realtime = date("YzHis");
  82. $ccsPlayerStyle = 'styles/style' . $playerinfo[style] . '.css';
  83. echo"<link rel=\"stylesheet\" type=\"text/css\" href=\"$ccsPlayerStyle\" />
  84. </head>";
  85. include("totalpoints.php");
  86.  
  87. $down = 0;
  88. if ($down == 1){
  89. $reason11 = "Back in a flash so keep checking, I promise";
  90.         if ($playerinfo['id'] > 10){
  91.                 echo "<BODY bgcolor = 000000><link href=\"$ccsPlayerStyle\" type=text/css rel=StyleSheet><center><p><font color=red><p><b><u>GAME IS DOWN!<p></b>Reason:</u> ", $reason11 , "</font>";
  92.                 exit;
  93.         }
  94. }
  95. ?>
  96. <script language="JavaScript">
  97.  
  98. var rand=Math.round(Math.random()*10000);
  99. var rand1=Math.round(Math.random()*10000);
  100. var rand2=Math.round(Math.random()*10000);
  101.  
  102. </script>
  103. <?
  104.  
  105. $clicker = mysql_query("update userdb set clickstoday=clickstoday+1 WHERE id = '$playerinfo[id]'");
  106.  
  107. echo "<BODY TOPMARGIN=0 LEFTMARGIN=0 bgcolor=000000>
  108.  
  109. <table width=990 border=0 cellspacing=0 cellpadding=0>
  110. <tr>
  111. <td width=175 valign=top>
  112. <table style=\"BORDER-RIGHT: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid;\" width=175 border=0 cellspacing=0 cellpadding=0><tr><td>
  113. <img src=\"styles/$playerinfo[style]/userinfobar.gif\"><DIV id=bottommenucell>";
  114.  
  115. $expneed = $playerinfo['exp_lvl'] - $playerinfo['exp'];
  116.  
  117. $gold2 = number_format($playerinfo['gold']);
  118.  
  119. $hacks = number_format($playerinfo['hacks']);
  120.  
  121. $hp_left = number_format($playerinfo['hp_left']);
  122.  
  123. $hp = number_format($playerinfo['hp']);
  124.  
  125. $expneed = number_format($expneed);
  126.  
  127. $goldstore = number_format($playerinfo['bank']);
  128.  
  129. if ($playerinfo['hp_left'] <= 0){
  130.         $status2 = "<img src=image/dead_icons/dead1.gif alt=Dead>";
  131. }
  132.  
  133.  
  134. if (($playerinfo['donated'] > 0) && ($playerinfo['donated'] < 6)){
  135.         $status2 .= "<img src=image/donator_icons/donator1.gif alt=>";
  136. }elseif (($playerinfo['donated'] > 5) && ($playerinfo['donated'] < 11)){
  137.         $status2 .= "<img src=image/donator_icons/donator2.gif alt=>";
  138. }elseif (($playerinfo['donated'] > 10) && ($playerinfo['donated'] < 16)){
  139.         $status2 .= "<img src=image/donator_icons/donator3.gif alt=>";
  140. }elseif (($playerinfo['donated'] > 15) && ($playerinfo['donated'] < 21)){
  141.         $status2 .= "<img src=image/donator_icons/donator4.gif alt=>";
  142. }elseif (($playerinfo['donated'] > 20) && ($playerinfo['donated'] < 26)){
  143.         $status2 .= "<img src=image/donator_icons/donator5.gif alt=>";
  144. }elseif (($playerinfo['donated'] > 25) && ($playerinfo['donated'] < 31)){
  145.         $status2 .= "<img src=image/donator_icons/donator6.gif alt=>";
  146. }elseif (($playerinfo['donated'] > 30) && ($playerinfo['donated'] < 36)){
  147.         $status2 .= "<img src=image/donator_icons/donator7.gif alt=>";
  148. }elseif (($playerinfo['donated'] > 35) && ($playerinfo['donated'] < 41)){
  149.         $status2 .= "<img src=image/donator_icons/donator8.gif alt=>";
  150. }elseif (($playerinfo['donated'] > 40) && ($playerinfo['donated'] < 46)){
  151.         $status2 .= "<img src=image/donator_icons/donator9.gif alt=>";
  152. }elseif (($playerinfo['donated'] > 45) && ($playerinfo['donated'] < 51)){
  153.         $status2 .= "<img src=image/donator_icons/donator10.gif alt=>";
  154. }elseif ($playerinfo['donated'] > 50){
  155.         $status2 .= "<img src=image/donator_icons/donator11.gif alt=>";
  156. }
  157.  
  158. if ($playerinfo['status'] == "Scribe"){
  159.         $status2 .= "<img src=image/stafficons/staff1.gif alt=Scribe>";
  160. }elseif ($playerinfo['status'] == "Mage"){
  161.         $status2 .= "<img src=image/stafficons/staff5.gif alt=Mage>";
  162. }elseif ($playerinfo['status'] == "King"){
  163.         $status2 .= "<img src=image/stafficons/staff2.gif alt=King>";
  164. }elseif ($playerinfo['status'] == "Paladin"){
  165.         $status2 .= "<img src=image/stafficons/staff_op.gif alt=Paladin>";
  166. }elseif ($playerinfo['status'] == "Lord"){
  167.         $status2 .= "<img src=image/stafficons/staff_vm.gif alt=Lord>";
  168. }elseif ($playerinfo['status'] == "Squire"){
  169.         $status2 .= "<img src=image/stafficons/staff6.gif alt=Squire>";
  170. }
  171.                 $goldcheck = mysql_query("SELECT id FROM userdb ORDER BY ((level*50000)+(hp*100)+(apoints*level*100)+(agility*10000)+(strength*10000)) DESC LIMIT 0,3");
  172.  
  173.                 $idthingy = 1;
  174.  
  175.                 while ($goldchecker = mysql_fetch_array($goldcheck)){
  176.                         if ($goldchecker['id'] == $playerinfo['id']){
  177.                                 $status2 .= "<img src=image/other/cup$idthingy.gif alt='Number $idthingy in rankings'>";
  178.                         }
  179.  
  180.                         $idthingy++;
  181.                 }
  182.  
  183. // NEW DATASTRAND
  184. $datastrand = ($playerinfo['level'] * 50000) + ($playerinfo['hp'] * 100) + ($playerinfo[apoints]*$playerinfo[level]*100) + ($playerinfo['agility'] * 10000) + ($playerinfo['strength'] * 10000);
  185.  
  186. $datastrand = number_format($datastrand);
  187. // Citys:
  188. // $cityname = black
  189. // Swamps = swamp
  190. // Caves = cave
  191. // Forest = forest
  192. // Valley = valley
  193. // Cyron = cyron
  194. // Desert = desert
  195. // Mistral = mistral
  196. // Silver Meadow = silver
  197. // Countryside = side
  198. // Battlefiels = wars
  199. switch ($playerinfo['city']){
  200.         case 'side':
  201.                 $locat = "Countryside";
  202.                 $slocat = "Countryside";
  203.         break;
  204.         case 'silver':
  205.                 $locat = "Silver Meadow";
  206.                 $slocat = "Meadow";
  207.         break;
  208.         case 'black':
  209.                 $locat = $cityname;
  210.                 $slocat = "Forest";
  211.         break;
  212.         case 'swamps':
  213.                 $locat = "Dark Swamps";
  214.                 $slocat = "Swamps";
  215.         break;
  216.         case 'caves':
  217.                 $locat = "Thieves Caves";
  218.                 $slocat = "Caves";
  219.         break;
  220.         case 'forest':
  221.                 $locat = "Forgotten Forest";
  222.                 $slocat = "Forest";
  223.         break;
  224.         case 'valley':
  225.                 $locat = "Mythril Valley";
  226.                 $slocat = "Valley";
  227.         break;
  228.         case 'cyron':
  229.                 $locat = "Ruins of Cyron";
  230.                 $slocat = "Cyron";
  231.         break;
  232.         case 'desert':
  233.                 $locat = "Daishi Desert";
  234.                 $slocat = "Desert";
  235.         break;
  236.         case 'mistral':
  237.                 $locat = "Mistral Castle";
  238.                 $slocat = "Castle";
  239.         break;
  240.         case 'wars':
  241.                 $locat = "Battlefields";
  242.                 $link = "Battlefield";
  243.         break;
  244. }
  245.  
  246. if ($playerinfo['status'] == "King" && $id < 100){
  247.         $playerinfo['username'] = "<font color=yellow>" . $playerinfo['username'] . "</font>";
  248. }elseif ($playerinfo['status'] == "Lord" && $id < 100){
  249.         $playerinfo['username'] = "<font color=#FF8000>" . $playerinfo['username'] . "</font>";
  250. }elseif ($playerinfo['status'] == "Paladin" && $id < 100){
  251.         $playerinfo['username'] = "<font color=#9f009f>" . $playerinfo['username'] . "</font>";
  252. }elseif ($playerinfo['status'] == "Mage" && $id < 100){
  253.         $playerinfo['username'] = "<font color=#2FE800>" . $playerinfo['username'] . "</font>";
  254. }elseif ($playerinfo['status'] == "Squire" && $id < 100){
  255.         $playerinfo['username'] = "<font color=#993333>" . $playerinfo['username'] . "</font>";
  256. }elseif ($playerinfo['status'] == "Scribe" && $id < 100){
  257.         $playerinfo['username'] = "<font color=red>" . $playerinfo['username'] . "</font>";
  258. }
  259.  
  260. $qexps = number_format($playerinfo['exp']);
  261. $qexpneed = number_format($playerinfo['exp_lvl']);
  262. $qgold2 = number_format($playerinfo['gold']);
  263. $qbank = number_format($playerinfo['bank']);
  264. $qhacks = number_format($playerinfo['hacks']);
  265. $qhpl = number_format($playerinfo['hp_left']);
  266. $qhp = number_format($playerinfo['hp']);
  267. $qlvl = number_format($playerinfo['level']);
  268. $qen = number_format($playerinfo['energy']);
  269. $pvp = number_format($playerinfo['pkenergy']);
  270. $mops = number_format($playerinfo['operations']);
  271.  
  272. function hbar($percent){
  273.         $percentleft = 100 - $percent;
  274.        
  275.  
  276.         echo "<table width=\"127\" cellspacing=\"0\" style=\"border-width: 1px; border-color: #000000;        height: 8px;\"><tr>";
  277.         if ($percent > 0){
  278.                 echo "<td width=\"", $percent , "%\" src=image/poll2.gif > </td>";
  279.         }
  280.         if ($percentleft > 0){
  281.                 echo "<td width=\"", $percentleft, "%\" src=image/barr.gif> </td>";
  282.         }
  283.         echo "</tr></table>";
  284. }
  285.  
  286. function ebar($percent){
  287.         $percentleft = 100 - $percent;
  288.         echo "<table width=\"127\" cellspacing=\"0\" style=\"border-width: 1px;        border-color: #000000;        height: 8px; border-style: double;\"><tr>";
  289.         if ($percent > 0){
  290.                 echo "<td width=\"", $percent , "%\" bgcolor=\"blue\"> </td>";
  291.         }
  292.         if ($percentleft > 0){
  293.                 echo "<td width=\"", $percentleft , "%\" bgcolor=\"yellow\"> </td>";
  294.         }
  295.         echo "</tr></table>";
  296. }
  297.  
  298. $hpleft1 = $playerinfo['hp_left'];
  299. $hp_1 = $playerinfo['hp'];
  300. $hpness = ($hpleft1 / $hp_1 * 100);
  301. $hpness = round($hpness);
  302. $expgot = $playerinfo['exp'];
  303. $exptolevel = $playerinfo['exp_lvl'];
  304. $expness = @($expgot / $exptolevel * 100);
  305. $expness = round($expness);
  306. $expneededreal = $playerinfo['exp_lvl'] - $playerinfo['exp'];
  307. echo "<u><b><center><a href=view.php?id=", $playerinfo['id'], ">", $playerinfo['username'] , "</a></center></b></u><center>", $status2 , "</center>
  308. <br><b>Level:</b> ", $qlvl , "<br><br>
  309. <b>HP:</b> ", $hp_left , "/", $hp , "<br>";
  310. //hbar($hpness);
  311.                                         $hpbar = floor(150 * ($playerinfo['hp_left'] / $playerinfo['hp']));
  312.  
  313.                                 $hpbar1 = 150 - $hpbar;
  314.        
  315.                                 echo "<table><tr>";
  316.  
  317.                                 echo "<td><img src=image/poll2.gif height=6 width=$hpbar>";
  318.  
  319.                                 echo "<img src=image/barr.gif height=6 width=$hpbar1></td>";
  320.  
  321.                                 echo "</tr></table>";
  322.  
  323. echo "<br><b>Exp:</b> ", $qexps , "/", $qexpneed , "<br>";
  324.  
  325.                                         $expbar = floor(150 * ($playerinfo['exp'] / $playerinfo['exp_lvl']));
  326.  
  327.                                 $expbar1 = 150 - $expbar;
  328.        
  329.                                 echo "<table><tr>";
  330.  
  331.                                 echo "<td><img src=image/poll2.gif height=6 width=$expbar>";
  332.  
  333.                                 echo "<img src=image/barr.gif height=6 width=$expbar1></td>";
  334.  
  335.                                 echo "</tr></table>";
  336.  
  337. <br><b>Energy:</b> ' . $qen . '<br />
  338. <b>PK Energy:</b> ' . $pvp . '<br />
  339. <b>Mining Operations:</b> ' . $mops . '<br /><br />
  340. <b>Strength:</b> ' . $playerinfo['strength'] . '<br />
  341. <b>Agility:</b> ' . $playerinfo['agility'] . '<br /><br>
  342. <b>Gold:</b> <font color=gold>' . $qgold2 . '</font><br>
  343. <b>Vault:</b> <font color=gold>' . $qbank . '</font><br>
  344. <b>Mythril:</b> <font color=CC99FF>' . $playerinfo['hacks'] . '</font><br>
  345. <b>Nectar:</b> <font color=yellow>' . $playerinfo['nectar'] . '</font><p>
  346. <center><i>' . $locat . '</font></i><p>
  347. <u><b>Total Points</font></b></u><br>' . $datastrand . '</font></center>
  348. <span class="style1">
  349. </span></div></div><img src=styles/' .$playerinfo[style] . '/mainmenubar.gif><br />
  350. <DIV id=topmenucell>';
  351. $timecheck = mysql_query("SELECT `time` FROM `usernews` WHERE `user` = '" . $playerinfo['id'] . "' AND `display` = '0' ORDER BY `id` DESC LIMIT 0,1");
  352.  
  353. $timecheck = mysql_fetch_array($timecheck);
  354.  
  355. if ($playerinfo['new_warrior'] == 'N'){
  356.         if ($timecheck['time'] > $playerinfo['lcheck']){
  357.                 echo "<img src=\"bullet.gif\"> <a href=main.php class=\"new\"><b><font color=green>Your Hut</font></b></a> (<B>NEW!</B>)<br>";
  358.         }else{
  359.                 echo "<img src=\"bullet.gif\"> <a href=main.php><b><font color=green>Your Hut</font></b></a><br>";
  360.         }
  361. }
  362. //echo "$country<br>";
  363. if ($playerinfo[id] == 7839){
  364.         $country = "GB";
  365. }
  366.  
  367.         echo "<img src=\"bullet2.gif\"> <a href=freeenergy1.php><font color=red><b>Get your Offer Points!</b></font></a><br />";
  368.  
  369.  
  370. if ($playerinfo['status'] == "King" || $playerinfo['status'] == "Lord" || $playerinfo['status'] == "Scribe" || $playerinfo['status'] == "Mage"){
  371.         echo"<img src=\"bullet.gif\"> <a href=admin.php>Management</a><br>";
  372. }elseif ($playerinfo['status'] == "Knight"){
  373.         echo"<img src=\"bullet.gif\"> <a href=moderating.php>Moderating</a><br>";
  374. }elseif ($playerinfo['status'] == "Paladin"){
  375.         echo"<img src=\"bullet.gif\"> <a href=operator.php>Operations</a><br>";
  376. }elseif ($playerinfo['status'] == "Squire"){
  377.         echo"<img src=\"bullet.gif\"> <a href=chatm.php>Monitoring</a><br>";
  378. }
  379.  
  380.  
  381.  
  382. echo "<img src=\"bullet.gif\"> <a href=account.php>My Account</a><br />";
  383.  
  384. if ($playerinfo['city'] != "black"){
  385.         echo"<img src=\"bullet.gif\"> <a href=explore.php>Back to $slocat</a><br>
  386.                  <img src=\"bullet.gif\"> <a href=gopt.php>Game Options</a><br>";
  387. }elseif ($playerinfo['city'] == "black"){
  388.         echo"<img src=\"bullet.gif\"> <a href=city.php>", $cityname, "</a><br />       
  389.                  <img src=\"bullet.gif\"> <a href=auctions.php>Auction House</a><br />
  390.                  <img src=\"bullet.gif\"> <a href=agency.php><font color=#0066CC>Journeyman's Shack</font></a><br />
  391.                  <img src=\"bullet.gif\"> <a href=arena.php>Battle Arena</a><br />
  392.                  <img src=\"bullet.gif\"> <a href=farmland.php>Farm Field</a><br />
  393.                  <img src=\"bullet.gif\"> <a href=vault.php>Players Vault</a><br />";
  394.                 
  395.         $cost = $playerinfo['hp'] - $playerinfo['hp_left'];
  396.         $cost = $cost / 3;
  397.         $cost = floor($cost);
  398.        
  399.         if ($playerinfo['hp_left'] < $playerinfo['hp']){
  400.                 echo "<img src=\"bullet.gif\"> <a href=hospital.php><font color=crimson>Health Fountain</font></a> [", $cost , "]<br />";
  401.         }else{
  402.                 echo "<img src=\"bullet.gif\"> <a href=hospital.php>Health Fountain</a><br />";
  403.         }
  404. }
  405.  
  406. if ($playerinfo['clan'] != 0){
  407.         echo "<img src=\"bullet.gif\"> <a href=clans2.php?action=myclan>Visit My Clan</a><br>";
  408. }
  409.  
  410. <img src=\"bullet.gif\"> <a href=messageboard.php>Message Board</a><br>
  411. <img src=\"bullet.gif\"> <a href=help.php><font color=yellow>Help Centre</font></a><br>
  412. <img src=\"bullet.gif\"> <a href=ranking.php>Hall of Fame</a><br>
  413. <img src=\"bullet.gif\"> <a href=players.php>Residential Scroll</a><br>
  414. <img src=\"bullet.gif\"> <a href=donatorinfo.php>Scroll of Noblemen</a><br>
  415. <img src=\"bullet2.gif\"> <a href=howtodonate.php><font color=red><b>Support Us</b></font></a><br>
  416. <img src=\"bullet.gif\"> <a href=logout.php>Logout</a><br></div>
  417. ";
  418. if ($playerinfo['ddays'] > "0"){
  419.  
  420. ?>
  421. <center><script language="JavaScript">
  422. <!--document.write('<a href="<?//= $click['url'] ?>" target="_blank"><img src="<?//= $img['url'] ?>" border="0" alt="Games Banner Network" width="0" height="0"></a>');
  423. -->
  424. </script></center><br><center><script language="JavaScript">
  425. <!--
  426. document.write('<a href="http://www.gamesbanner.net/work/click.php4?rnd='+rand+'" target="_blank"><img src="http://www.gamesbanner.net/work/show.php4?from=Finch&rnd='+rand+'" border="0" alt="Games Banner Network" width="0" height="0"></a>');
  427. // -->
  428. </script></center>
  429. <?
  430.  
  431. }elseif ($playerinfo['ddays'] <= "0"){
  432. echo "<img src=styles/$playerinfo[style]/advertisement.gif><br />
  433. <DIV id=topmenucell>";
  434.         echo '<center>
  435. <br />
  436. ';
  437. //this 1st below was already commented, further down wasnt - do not delete this
  438. ?>
  439.  
  440.  
  441.  
  442.  
  443. <!---<IFRAME SRC="http://www.flash-gamerz.com/gbnetworkcode.php" width=100 height=100 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling="no"></IFRAME> <br><center>--->
  444.  
  445. <script language="JavaScript">
  446.  
  447. <!--
  448. document.write('<a href="http://www.gamesbanner.net/work/click.php4?rnd='+rand+'" target="_blank"><img src="http://www.gamesbanner.net/work/show.php4?from=Finch&rnd='+rand+'" border="0" alt="Games Banner Network" width="100" height="100"></a>');
  449.  
  450. // -->
  451. </script><br><br>
  452. <IFRAME SRC="http://www.flash-gamerz.com/moregamerscode.php" width=0 height=0 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling="no"></IFRAME>
  453. <!-- GamerFlow.com code begin -->
  454. <IFRAME SRC="http://www.flash-gamerz.com/adcode12.php" width=0 height=0 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling="no"></IFRAME>
  455.  
  456. <IFRAME SRC="http://www.flash-gamerz.com/gbncode.php" width=0 height=0 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling="no"></IFRAME>
  457.  
  458. </center><br>
  459. <?
  460. $num4 = rand(1,200);
  461.  
  462. if ($num4 < "200") {
  463. ?>
  464. <!--<script language=JavaScript>
  465. document.write('<iframe src="<?=$click['url'] ?>" height=0 width=0></iframe>');
  466. </script>-->
  467. <?
  468.  
  469. }
  470. }
  471.  
  472. echo "<p></table>";
  473.  
  474. echo "<td width=\"640\" valign=top><center><img src=\"styles/$playerinfo[style]/contentbar.gif\"><table width=\"640\" cellspacing=\"0\" cellpadding=\"0\"><tr><td><DIV id=bottommenucell>";
  475.  
  476. if ($playerinfo['vote1'] == 1 && $playerinfo['vote2'] == 1 && $playerinfo['vote3'] == 1 && $playerinfo['vote4'] == 1 && $playerinfo['vote5'] == 1 && $playerinfo['vote6'] == 1 && $playerinfo['vote7'] == 1 && $playerinfo['vote8'] == 1 && $playerinfo['vote9'] == 1 && $playerinfo['vote10'] == 1 && $playerinfo['vote11'] == 1){
  477. echo "<br>";
  478. }else{
  479.        
  480.         echo "<br><center>";
  481.  
  482.         if ($playerinfo['ddays'] <= 0){
  483.                 $vamount = 5;
  484.         }elseif ($playerinfo['ddays'] > 0){
  485.                 $vamount = 10;
  486.         }
  487.  
  488.         echo "<font color=red><b><i>You will recieve ", $vamount , " energy for voting at each of the votesites below: </i><br>";
  489.  
  490. //      if ($playerinfo['vote1'] == 0){
  491. //            echo "- <a href=voter.php?site=1 target=_blank> Gamesites 200</a> | ";
  492. //      }
  493.         echo "|";
  494.         if ($playerinfo['vote1'] == 0){
  495.  
  496.                 echo "<script language=JavaScript>
  497. document.write('<a href=voter.php?site=1&rand='+rand+' target=_blank>GBFun</a>');
  498. </script>|";
  499.         }       
  500.         if ($playerinfo['vote2'] == 0){
  501.                 echo "<a href=voter.php?site=2 target=_blank>MMORPG50</a>|";
  502.         }
  503.  
  504.         if ($playerinfo['vote3'] == 0){
  505.                 echo "<a href=voter.php?site=3 target=_blank>GT100</a>|";
  506.         }
  507.  
  508.         if ($playerinfo['vote4'] == 0){
  509.                 echo "<a href=voter.php?site=4 target=_blank>TopRPG</a>|";
  510.         }
  511.  
  512.         if ($playerinfo['vote5'] == 0){
  513.                 echo "<a href=voter.php?site=5 target=_blank>AWG</a>|";
  514.         }
  515.  
  516.         if ($playerinfo['vote6'] == 0){
  517.                 echo "<a href=voter.php?site=6 target=_blank>XT100</a>|";
  518.         }
  519.  
  520.         if ($playerinfo['vote7'] == 0){
  521.                 echo "<a href=voter.php?site=7 target=_blank>OG</a>|";
  522.         }
  523.  
  524.         if ($playerinfo['vote8'] == 0){
  525.                 echo "<a href=voter.php?site=8 target=_blank>DoG</a>|";
  526.         }
  527.        
  528.         if ($playerinfo['vote9'] == 0){
  529.                 echo "<a href=voter.php?site=9 target=_blank>MMORPGT</a>|";
  530.         }
  531.         if ($playerinfo['vote10'] == 0){
  532.                 echo "<a href=voter.php?site=10 target=_blank>WoG</a>|";
  533.         }
  534.         if ($playerinfo['vote11'] == 0){
  535.                 echo "<a href=voter.php?site=11 target=_blank>FG</a>|";
  536.         }
  537.  
  538.  
  539.         echo "<br>( CLICKING AND VOTING AT ALL OF THESE WILL REMOVE THIS FROM HERE! )</font></b></center><br><br /><hr>";
  540. }
  541. $prf->profile('filedotphp');
  542.  
  543. ?>

Submit a correction or amendment below. (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Use syntax highlighting

To highlight particular lines, prefix each line with @@
:
:
Remember my settings