</tr> <? while ($rec_findprod = mysql_fetch_assoc($res_findprod)) { $eta = $rec_findprod['ready_tick'] - IB_TICK_CURRENT; ?> <form method="POST" action="main.php?mod=production&act=factory&do=cancelprod&prod_id=<?php echo $rec_findprod['id']; ?> "> <tr> <td><?php echo $rec_findprod['name']; ?> </td> <td><?php echo parseInteger($rec_findprod['amount']); ?> </td> <td><?php echo $eta; ?> </td> <td align="left"><input type="submit" name="docancel" value="Cancel"></td> </tr> </form> <? } ?> </table> </td> </tr>
if ($act == 'market') { include('market.php'); } if ($act == 'sell') { include('market.sell.php'); } } ?> </td> </tr> </table> <? include('includes/footer.inc.php'); ?> </center> <? ?> <!-- Javascript functions --> <script language="javascript"> updateResources('<?php echo parseInteger($playerdata['res_steel']); ?> ','<?php echo parseInteger($playerdata['res_crystal']); ?> ','<?php echo parseInteger($playerdata['res_erbium']); ?> ','<?php echo parseInteger($playerdata['res_titanium']); ?> ') </script> </body> </html>
&z=<?php echo $rec_uniscan['z']; ?> "><?php echo $rec_uniscan['rulername']; ?> of <?php echo $rec_uniscan['planetname']; ?> </a></td> <td><?php echo parseInteger($rec_uniscan['score']); ?> </td> <td><?php echo parseInteger($rec_uniscan['total_asteroids']); ?> </td> </tr> <? } } else { ?> <tr> <td colspan="5" align="center">There where no results for this scan.</td> </tr> <? } ?> </table> <?
<tr> <td align="center"><?echo $xyz[0].':'.$xyz[1].':'.$xyz[2];?></td> <td align="center"><a href="main.php?mod=main&act=mail&do=compose&x=<?php echo $xyz[0]; ?> &y=<?php echo $xyz[1]; ?> &z=<?php echo $xyz[2]; ?> "><? echo $rec_memberlist['rulername']; ?> of <?echo $rec_memberlist['planetname'];?></a></td> <td align="right"><?echo parseInteger($rec_memberlist['score']);?></td> <td align="right"><?echo parseInteger($totalroids);?></td> <td align="center"><font color="<?echo $status_color;?>"><?echo $status;?></font></td> </tr> <? } ?> </table> </td> </tr> </table> </td> <td width="4" background="img/border/R.gif"> </td> </tr> <tr> <td width="2%" valign="top"><img border="0" src="img/border/L_O.gif" width="20" height="15"></td> <td width="100%" background="img/border/O.gif" colspan="2"> </td>
<td><?php echo parseInteger($GALAXY_INFO['fund_crystal']); ?> </td> </tr> <tr> <td>Erbium:</td> <td><?php echo parseInteger($GALAXY_INFO['fund_erbium']); ?> </td> </tr> <tr> <td>Titanium:</td> <td><?php echo parseInteger($GALAXY_INFO['fund_titanium']); ?> </td> </tr> <? if (($playerdata['id'] == $GALAXY_INFO['commander_id']) || ($playerdata['id'] == $GALAXY_INFO['moe_id'])) { ?> <tr> <td width="800" align="left" background="img/bg_balk.jpg" colspan="2"><b>Donate from the fund</b></td> </tr> <tr> <td>Type:</td> <td> <select name="res_type"> <option value="steel">Steel</option> <option value="crystal">Crystal</option>
?> </td> <td><?php echo parseInteger($res['cost_steel']); ?> </td> <td><?php echo parseInteger($res['cost_crystal']); ?> </td> <td><?php echo parseInteger($res['cost_erbium']); ?> </td> <td><?php echo parseInteger($res['cost_titanium']); ?> </td> <td><?php echo $eta; ?> </td> <td><?php echo $line; ?> </td> </tr> <? } ?> </table>
<tr> <td width="250">Crystal cost:</td> <td width="550"><?echo parseInteger($crystal_res['factory_prod']);?></td> </tr> <tr> <td width="250">Erbium cost:</td> <td width="550"><?echo parseInteger($erbium_res['factory_prod']);?></td> </tr> <tr> <td width="800" colspan="2"> </td> </tr> <tr> <td width="250">Titanium production each tick:</td> <td width="550"> <? echo parseInteger($titanium_production); ?> </td> </tr> </table><br> <form method="POST" action="main.php?mod=office&act=resources&do=altertitaniumprod"> <table border="0" width="800"> <tr> <td width="800" background="img/bg_balk.jpg" colspan="2"><b>Alter titanium production process</b></td> </tr> <tr> <td width="250">Steel investment:</td> <td width="550"> <select name="steelinv"> <? for ($cntr = 0; $cntr <= 100; $cntr += 10) {
<tr> <td width="4" background="img/border/L.gif"> </td> <td width="696" height="100%" colspan="2" valign="top"> <table border="0" cellpadding="0" cellspacing="0" width="760"> <tr> <td valign="top"> <table border="0" width="456"> <tr> <td width="75">Game time:</td> <td><? echo date("H:i", time()); ?></td> </tr> <tr> <td width="75">Tick:</td> <td> <? echo parseInteger(IB_TICK_CURRENT).'/'.parseInteger(IB_TICK_LAST);?> <? $s = getNextTickTime(); if ($s > 0) { echo '(next tick in '.getDuration($s).')'; } elseif ((IB_TICK_CURRENT == 0) OR (IB_TICK_CURRENT == IB_TICK_LAST)) { echo '(<font color="red">OFFLINE</font>)'; } else { echo '(Processing...)'; }?> </td> </tr> <tr> <td width="75">Rank:</td> <td><?php echo getPlayerRank($playerdata['id']); ?> </td> </tr> </table>
<table border="0" width="400"> <tr> <td width="150">Current rank:</td> <td width="250">-</td> </tr> <tr> <td width="150">Total score:</td> <td width="250"><?php echo parseInteger($num_totalscore); ?> </td> </tr> <tr> <td width="150">Total asteroids:</td> <td width="250"><?php echo parseInteger($num_totalroids); ?> </td> </tr> <tr> <td width="150">Total members:</td> <td width="250"><?php echo $num_totalmembers; ?> </td> </tr> </table> </td> </td> </tr> </table>
</td> <td width="200"> <b>Steel:</b> <?php echo parseInteger($res_orderdata['steel']); ?> <br> <b>Crystal:</b> <?php echo parseInteger($res_orderdata['crystal']); ?> <br> <b>Erbium:</b> <?php echo parseInteger($res_orderdata['erbium']); ?> <br> <b>Titanium:</b> <?php echo parseInteger($res_orderdata['titanium']); ?> <br> </td> <td width="75" valign="middle"><?php echo $player['rulername']; ?> </td> <td width="75" align="center" valign="middle"><input type="submit" value="Buy" name="buy"></td> </tr> </form> <? } ?> </table>
<td width="125" background="img/bg_balk.jpg"><b>Score</b></td> <td width="75" background="img/bg_balk.jpg"><b>Asteroids</b></td> </tr> <? $sql_unialliance = "SELECT id, tag, name, total_members, score, asteroids FROM $table[universe_alliance]"; $res_unialliance = mysql_query($sql_unialliance); while ($rec_unialliance = mysql_fetch_array($res_unialliance)) { ?> <tr> <td><?echo $rec_unialliance['id'];?></td> <td align="center"><?echo $rec_unialliance['tag'];?></td> <td><?echo $rec_unialliance['name'];?></td> <td><?echo $rec_unialliance['total_members'];?></td> <td><?echo parseInteger(round($rec_unialliance['score'] / $rec_unialliance['total_members']));?></td> <td><?echo parseInteger($rec_unialliance['score']);?></td> <td><?echo parseInteger($rec_unialliance['asteroids']);?></td> </tr> <? } ?> </table> </td> </tr> </table> </td> <td width="4" background="img/border/R.gif"> </td> </tr> <tr> <td width="2%" valign="top"><img border="0" src="img/border/L_O.gif" width="20" height="15"></td> <td width="100%" background="img/border/O.gif" colspan="2"> </td> <td width="3%" valign="top"><img border="0" src="img/border/R_O.gif" width="20" height="15"></td>
?> <tr> <td><?php echo $rec_shipover['name']; ?> </td> <td><?php echo parseInteger($rec_shipover['amount']); ?> </td> <td><?php echo parseInteger($rec_shipover['amount'] - getAllFleetships($playerdata['id'], $rec_shipover['id'])); ?> </td> <td><?php echo parseInteger(getAllFleetships($playerdata['id'], $rec_shipover['id'])); ?> </td> </tr> <? } } } ?> </form> </table> </td> </tr> </table> </td> <td width="4" background="img/border/R.gif"> </td>
ON $table[playerunit].unit_id = $table[ships].id WHERE $table[playerunit].player_id = '$playerdata[id]' ORDER BY $table[ships].id"; $res_ships = mysql_query($sql_ships); $num_ships = @mysql_num_rows($res_ships); if ($num_ships > 0) { while ($rec_ships = mysql_fetch_assoc($res_ships)) { if ($rec_ships['amount'] > 0) { ?> <tr> <td><?php echo $rec_ships['name']; ?> </td> <td><?php echo parseInteger($rec_ships['amount']); ?> </td> </tr> <? } } } else { ?> <tr> <td colspan="2" align="center">You do not have ships.</td> </tr> <? } ?> </table>