70 lines
No EOL
2.9 KiB
Text
70 lines
No EOL
2.9 KiB
Text
<#include "../game.ftl">
|
|
<#macro page title hidePlanets=false>
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
|
<head>
|
|
<title>Legacy Worlds Beta 6 <@version/> - ${title?xhtml}</title>
|
|
<link rel="stylesheet" type="text/css" href="css/main.css" />
|
|
<script type="text/javascript" charset="utf-8" src="js/jquery-1.4.2.min.js"></script>
|
|
<script type="text/javascript" charset="utf-8" src="js/main.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="extframe">
|
|
<div class="internal" id="intframe">
|
|
<a id="hbutton" href="overview" title="Page Empire"><span>Legacy Worlds Beta 6 <@version/></span></a>
|
|
<div id="version"><@abbr_gt/>: <@game_time record=data.page.gameTime /> / <@abbr_st/>: ${data.page.serverTime?string("yyyy-MM-dd HH:mm:ss ZZZZZ")}</div>
|
|
|
|
<!-- Title and planet list -->
|
|
<div class="top-centered">
|
|
<p id="tc-title">${title?xhtml}</p>
|
|
<#if !hidePlanets>
|
|
<p> </p>
|
|
<#if data.page.planets?size == 0>
|
|
<p id="get-new-planet"><a href="get-planet">Obtenir une nouvelle planète</a></p>
|
|
<#else>
|
|
<p id="jump-to-planet"><span class="jtp-text">Aller à la planète</span>: <span>
|
|
<#list data.page.planets as planet>
|
|
<a href="planet-${planet.id}">${planet.name?xhtml}</a>
|
|
</#list>
|
|
</span></p>
|
|
</#if>
|
|
</#if>
|
|
</div>
|
|
|
|
<div id="lbox" class="game-info">
|
|
<strong>${data.page.empire}</strong>
|
|
<#if data.page.alliance?has_content>
|
|
[<strong>${data.page.alliance}</strong>]
|
|
</#if><br/>
|
|
<span id="gi-cash">${data.page.cash?string(",##0")}</span> <@abbr_bgc/><br/>
|
|
<#if data.page.special?has_content>
|
|
<span class="special-info">
|
|
<#switch data.page.special>
|
|
<#case 'v'>EN VACANCES<#break>
|
|
<#case 's'>PRELIMINAIRES AUX VACANCES<#break>
|
|
<#case 'q'>EN TRAIN D'ABANDONNER<#break>
|
|
</#switch>
|
|
</span>
|
|
</#if>
|
|
<br/>
|
|
<a href="account">Compte</a> - <a href="logout.action">Déconnexion</a>
|
|
</div>
|
|
|
|
<a class="mbutton" id="b0" href="planets" title="Planètes">Planètes</a>
|
|
<a class="mbutton" id="b1" href="fleets" title="Flottes">Flottes</a>
|
|
<a class="mbutton" id="b2" href="map" title="Carte de l'univers">Carte</a>
|
|
<a class="mbutton" id="b3" href="alliance" title="Alliance">Alliance</a>
|
|
<a class="mbutton" id="b4" href="enemies" title="Gèstion des listes de joueurs et alliances ennemis">Listes d'ennemis</a>
|
|
<a class="mbutton" id="b5" href="messages" title="Messages">Messages</a>
|
|
<a class="mbutton" id="b6" href="bugtrack" title="Application de suivi des bugs">Suivi des bugs</a>
|
|
|
|
<div class="cframe"><#nested></div>
|
|
</div>
|
|
<div class="internal" id="footer">
|
|
Copyright (C) 2004-2010, <a title="DeepClone Development" href="http://www.deepclone.com">DeepClone Development</a>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
</#macro> |