Fixed login

Started building page cleanup
Modified code pools
Backported layout/blocks/templates 3-step view system
Reforged Overview page
Moved graphics, added topnav template, fixed number render bug
Added BCMath optionnal usage
Updated BC Math comparison for capped resources
Fixed planet resource production updates
Various additions

Signed-off-by: Gregory PLANCHAT <g.planchat@gmail.com>
This commit is contained in:
Gregory PLANCHAT 2011-07-25 08:45:57 +02:00
commit f2d4b0f7e2
384 changed files with 2727 additions and 1364 deletions

View file

@ -1,7 +1,7 @@
<script language="JavaScript" type="text/javascript" src="scripts/time.js"></script>
<br>
<table width="519">
<tr><td class="c" colspan="4"><a href="overview.php?mode=renameplanet" title="{Planet_menu}">{Planet} "{planet_name}"</a> ({user_username})</td></tr>
<tr><td class="c" colspan="4"><a href="overview.php?action=rename" title="{Planet_menu}">{Planet} "{planet_name}"</a> ({user_username})</td></tr>
{Have_new_message}
{Have_new_level_mineur}
{Have_new_level_raid}
@ -14,12 +14,12 @@
</tr>
{fleet_list}
<tr><th>{moon_img}<br>{moon}</th>
<th colspan="2"><img src="{dpath}planeten/{planet_image}.jpg" height="200" width="200"><br>{building}</th>
<th colspan="2"><img src="{dpath}graphics/planeten/{planet_image}.jpg" height="200" width="200"><br>{building}</th>
<th class="s"><table class="s" align="top" border="0"><tr>{anothers_planets}</tr></table></th></tr>
<tr><th>{Diameter}</th>
<th colspan="3">{planet_diameter} km (<a title="{Developed_fields}">{planet_field_current}</a> / <a title="{max_eveloped_fields}">{planet_field_max}</a> {fields})</th></tr>
<th>{Developed_fields}</th>
<th colspan="3" align="center"><div style="border: 1px solid rgb(153, 153, 255); width: 400px;"><div id="CaseBarre" style="background-color: {case_barre_barcolor}; width: {case_barre}px;"><font color="#CCF19F">{case_pourcentage}</font></div></th>
<th colspan="3" align="center"><div style="border: 1px solid rgb(153, 153, 255); width: 400px;"><div id="CaseBarre" style="background-color: {case_barre_barcolor}; width: {case_barre}%;"><font color="#CCF19F">{case_pourcentage}</font></div></th>
<tr><tr><th>{ov_off_level}</th><th colspan="3" align="center"><table border="0" width="100%"><tbody><tr>
<td align="center" width="50%" style="background-color: transparent;"><b>{ov_off_mines} : {lvl_minier}</b></td>
<td align="center" width="50%" style="background-color: transparent;"><b>{ov_off_raids} : {lvl_raid}</b></td></tr></tbody></table></th></tr>

View file

@ -1,53 +0,0 @@
<div id="header_top">
<center>
<table class="header">
<tbody>
<tr class="header">
<td class="header">
<center>
<table class="header">
<tbody>
<tr class="header">
<td class="header"><img src="{dpath}planeten/small/s_{image}.jpg" height="50" width="50"></td>
<td class="header" valign="middle">
<select size="1" onChange="eval('location=\''+this.options[this.selectedIndex].value+'\'');">
{planetlist}
</select>
</td>
</tr>
</tbody>
</table>
</center>
</td>
<td class="header">
<table style="width: 508px;" class="header" id="resources" padding-right="30" border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr class="header">
<td class="header" align="center" width="140"><img src="{dpath}images/metall.gif" border="0" height="22" width="42"></td>
<td class="header" align="center" width="140"><img src="{dpath}images/kristall.gif" border="0" height="22" width="42"></td>
<td class="header" align="center" width="140"><img src="{dpath}images/deuterium.gif" border="0" height="22" width="42"></td>
<td class="header" align="center" width="140"><img src="{dpath}images/energie.gif" border="0" height="22" width="42"></td>
<td class="header" align="center" width="140"><img src="{dpath}images/message.gif" border="0" height="22" width="42"></td>
</tr>
<tr class="header">
<td class="header" align="center" width="140"><i><b><font color="#ffffff">{Metal}</font></b></i></td>
<td class="header" align="center" width="140"><i><b><font color="#ffffff">{Crystal}</font></b></i></td>
<td class="header" align="center" width="140"><i><b><font color="#ffffff">{Deuterium}</font></b></i></td>
<td class="header" align="center" width="140"><i><b><font color="#ffffff">{Energy}</font></b></i></td>
<td class="header" align="center" width="140"><i><b><font color="#ffffff">{Message}</font></b></i></td>
</tr>
<tr class="header">
<td class="header" align="center" width="140"><font>{metal}</font></td>
<td class="header" align="center" width="140"><font>{crystal}</font></td>
<td class="header" align="center" width="140"><font>{deuterium}</font></td>
<td class="header" align="center" width="140"><font>{energy}</font></td>
<td class="header" align="center" width="140"><font>{message}</font></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</center>
</div>