<table border="1" style="margin-top: 20px; margin-bottom: 20px; border-collapse: collapse; margin-left: auto; margin-right: auto; text-align: center;"> <tr> <th colspan="3">' . cleanHtml($userRow['username']) . 's team!</th> </tr> ' . cellsToRows($teamCells, 3) . ' </table> </td> </tr> <tr> <td colspan="2"> <table border="1" style="margin-top: 20px; margin-bottom: 20px; border-collapse: collapse; margin-left: auto; margin-right: auto; text-align: center;"> <tr> <th colspan="4">' . cleanHtml($userRow['username']) . 's badges!</th> </tr> ' . cellsToRows($badgeCells, 3) . ' </table> </td> </tr> </table> '; } ?> <table width="100%" height="124" border="0" class="ranks"> <tbody><tr> <td style="" width="50%"><div align="center"><br> <input name="submit" value="Show Userbox" id="showhide" onClick="showbox();" class="longbutton" type="submit">
foreach ($salePokemon as $name => $price) { $cells[] = ' <img src="images/pokemon/' . $type . $name . '.png" /><br /> <input type="radio" name="buyPoke" value="' . $name . '" /> ' . $type . $name . '<br /> $' . number_format($price) . '<br /> '; } echo ' <div style="text-align: center; margin: 30px auto; "> You have $' . number_format($userMoney) . '<br /><br /> <a href="buy_pokemon.php">Normal</a> • <a href="buy_pokemon.php?type=shiny">Shiny</a> • <a href="buy_pokemon.php?type=planet">Planet</a> </div> <form action="" method="post"> <table class="pretty-table"> ' . cellsToRows($cells, 5) . ' <tr> <td colspan="5"><input type="submit" value="Buy Pokemon"></td> </tr> </table> </form> '; echo '</div>'; include '_footer.php'; ?>
You bought a ' . $pokeName . '. </div> '; } } else { echo '<div class="error">This pokemon is not for sale!</div>'; } } $cells = array(); foreach ($salePokemon as $name => $price) { $cells[] = ' <img src="images/pokemon/' . $name . '.png" /><br /> <input type="radio" name="submit" value="' . $name . '" /> ' . $name . '<br /> ' . number_format($price) . ' Points<br /> '; } ?> <form action="" method="post"> <table class="pretty-table"> <?php echo cellsToRows($cells, 5); ?> <tr> <td colspan="5"><input type="submit" value="Exchange Points For Pokemon"></td> </tr> </table> </form> <?php include '_footer.php';
$cells[] = ' <img src="images/pokemon/' . $poke['name'] . '.png" /><br /> ' . $poke['name'] . '<br /> Level: ' . $poke['level'] . '<br /> Exp: ' . $poke['exp'] . '<br /><br /> <form method="post"> <input type="hidden" name="pos" value="' . $pos . '" /> <input type="submit" value="Swap ' . $poke['name'] . ' for ' . $pokemon['name'] . '" /> </form> '; $pos++; } echo ' <table class="pretty-table"> ' . cellsToRows($cells, 3) . ' </table> '; } } ?> <center><script type="text/javascript"><!-- google_ad_client = "ca-pub-9678842478299123"; /* Pokemon Core Ads2 */ google_ad_slot = "8835563699"; google_ad_width = 728; google_ad_height = 90; //--> </script> <script type="text/javascript"
?> " /></td> </tr> <tr class="block"> <th colspan="2" style="vertical-align: top;"><?php echo $lang['register_starter']; ?> </th> </tr> <tr class="block"> <td colspan="2"> <table class="table" style="text-align: center"> <?php echo cellsToRows($starterCells, DEFAULT_STARTER_COLUMNS); ?> </table> </td> </tr> <tr class="block"> <th colspan="2"><?php echo $lang['register_captcha']; ?> </th> </tr> <tr> <td colspan="2"><?php echo recaptcha_get_html($publickey);
HP: ' . $pokeRow['hp'] . '/' . $pokeRow['maxhp'] . ' '; } $_SESSION['battle']['rebattlelink'] = '<a href="fix.php?d=' . $_GET['d'] . '&rebattle">Rebattle This Training Account</a>'; $_SESSION['battle']['onum'] = 0; if (isset($_GET['rebattle'])) { redirect('battle.php'); } include '_header.php'; printHeader('Training Center'); echo ' <div style="text-align: center;"> <a href="?d=g">Level 5-10</a> • <a href="?d=e">Level 5-10 x3</a> • <a href="?d=h">Level 15-20 x6</a> • <a href="?d=n">Level 25-35 x6</a><br /> <a href="?d=i">Level 40-50 x6</a> • <a href="?d=m">Level 60-70 x6</a> • <a href="?d=a">Level 80-90 x6</a> • <a href="?d=v">Level 95-100 x6</a> </div> <table class="pretty-table" style="margin-top: 10px;"> ' . cellsToRows($cells, 6) . ' <tr> <td colspan="6"> <form action="battle.php" method="post"> <input type="submit" value="Battle!"> </form> </td> </tr> </table> '; include '_footer.php';
$cell .= ' <tr> <td>' . $i++ . '</td> <td><a href="profile.php?id=' . $row['id'] . '">' . htmlspecialchars($row['username']) . '</a></td> <td>$' . number_format($row['money']) . '</td> </tr> '; } $cell .= '</table>'; $cells[] = $cell; } echo ' <div class="sub-content"> <div class="header">..:: Statistics ::..</div> <table class="stats-table"> ' . cellsToRows($cells, 2) . ' </table> </div> '; ?> </div> <center><script type="text/javascript"><!-- google_ad_client = "ca-pub-9678842478299123"; /* Pokemon Core Ads2 */ google_ad_slot = "8835563699"; google_ad_width = 728; google_ad_height = 90; //-->
$pid = $userInfo['poke' . $x]; if ($pid == 0) { $cells[] = ' <img src="images/pokemon/EMPTY.png" alt="No Pokemon" /><br /> Empty Slot<br /><br /> '; } else { $query3 = mysql_query("SELECT * FROM `user_pokemon` WHERE `id`='{$pid}'"); $pokeInfo = mysql_fetch_assoc($query3); $cells[] = ' <img src="images/pokemon/' . $pokeInfo['name'] . '.png" alt="' . $pokeInfo['name'] . '" /><br /> ' . $pokeInfo['name'] . '<br /> Level: ' . number_format($pokeInfo['level']) . '<br /> Exp: ' . number_format($pokeInfo['exp']) . '<br /> '; } } echo ' <tr style="display: none;" id="team' . $i . '"> <td colspan="5"> <h1>' . $userInfo['username'] . 's team!</h1> <table>' . cellsToRows($cells, 3) . '</table> </td> </tr> '; $i++; } echo ' </table> '; include '_footer.php';