Updated page display
Updated signature image generator Navigation menu has been finalized Some deprectaed templates has been removed Fixed registration Fixed galaxy notices messages Signed-off-by: Gregory PLANCHAT <g.planchat@gmail.com>
This commit is contained in:
parent
ec7e40e1aa
commit
6d61e93c47
67 changed files with 10177 additions and 940 deletions
|
|
@ -1,15 +0,0 @@
|
|||
<center>
|
||||
<br />
|
||||
<?php echo $this->getData('BuildListScript')?>
|
||||
<table width=530>
|
||||
<?php echo $this->getData('BuildList')?>
|
||||
<tr>
|
||||
<th ><?php echo $this->getData('bld_usedcells')?></th>
|
||||
<th colspan="2" >
|
||||
<font color="#00FF00"><?php echo $this->getData('planet_field_current')?></font> / <font color="#FF0000"><?php echo $this->getData('planet_field_max')?></font> <?php echo $this->getData('bld_theyare')?> <?php echo $this->getData('field_libre')?> <?php echo $this->getData('bld_cellfree')?>
|
||||
</th >
|
||||
</tr>
|
||||
<?php echo $this->getData('BuildingsList')?>
|
||||
</table>
|
||||
<br />
|
||||
</center>
|
||||
|
|
@ -1,107 +0,0 @@
|
|||
<script src="scripts/cnt.js" type="text/javascript"></script>
|
||||
<div id="btc" class="z"></div><script language="JavaScript">
|
||||
pp = '<?php echo $this->getData('time')?>';
|
||||
pk = '<?php echo $this->getData('building_id')?>';
|
||||
pl = '<?php echo $this->getData('id')?>';
|
||||
ps = 'buildings.php';
|
||||
t();
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
v = new Date();
|
||||
p = 0;
|
||||
g = <?php echo $this->getData('b_building_queue')?>;
|
||||
s = 0;
|
||||
hs = 0;
|
||||
of = 1;
|
||||
c = new Array(<?php echo $this->getData('c')?>'');
|
||||
b = new Array(<?php echo $this->getData('b')?>'');
|
||||
a = new Array(<?php echo $this->getData('a')?>'');
|
||||
aa = '<?php echo $this->getData('completed')?>';
|
||||
|
||||
function t() {
|
||||
if ( hs == 0 ) {
|
||||
xd();
|
||||
hs = 1;
|
||||
}
|
||||
n = new Date();
|
||||
s = c[p]-g-Math.round((n.getTime()-v.getTime())/1000.);
|
||||
s = Math.round(s);
|
||||
m = 0;
|
||||
h = 0;
|
||||
if ( s < 0 ) {
|
||||
a[p]--;
|
||||
xd();
|
||||
if ( a[p] <= 0 ) {
|
||||
p++;
|
||||
xd();
|
||||
}
|
||||
g = 0;
|
||||
v = new Date();
|
||||
s = 0;
|
||||
}
|
||||
if ( s > 59 ) {
|
||||
m = Math.floor( s / 60 );
|
||||
s = s - m * 60;
|
||||
}
|
||||
if ( m > 59 ) {
|
||||
h = Math.floor( m / 60 );
|
||||
m = m - h * 60;
|
||||
}
|
||||
if ( s < 10 ) {
|
||||
s = "0" + s;
|
||||
}
|
||||
if ( m < 10 ) {
|
||||
m = "0" + m;
|
||||
}
|
||||
if (p > b.length - 2) {
|
||||
document.getElementById("bx").innerHTML=aa ;
|
||||
} else {
|
||||
document.getElementById("bx").innerHTML= b[p] + " " + h + ":" + m + ":" + s;
|
||||
}
|
||||
window.setTimeout("t();", 200);
|
||||
}
|
||||
|
||||
function xd() {
|
||||
while (document.Atr.auftr.length > 0) {
|
||||
document.Atr.auftr.options[document.Atr.auftr.length-1] = null;
|
||||
}
|
||||
if ( p > b.length - 2 ) {
|
||||
document.Atr.auftr.options[document.Atr.auftr.length] = new Option(aa);
|
||||
}
|
||||
for (iv = p; iv <= b.length - 2; iv++) {
|
||||
if ( a[iv] < 2 ) {
|
||||
ae = " ";
|
||||
} else {
|
||||
ae = " ";
|
||||
}
|
||||
if ( iv == p ) {
|
||||
act = " (<?php echo $this->getData('in_working')?>)";
|
||||
} else {
|
||||
act = "";
|
||||
}
|
||||
document.Atr.auftr.options[document.Atr.auftr.length] = new Option( a[iv] + ae + " \"" + b[iv] + "\"" + act, iv + of );
|
||||
}
|
||||
}
|
||||
|
||||
window.onload = t;
|
||||
</script>
|
||||
|
||||
<center>
|
||||
<br>
|
||||
<form name="Atr" method="get" action="buildings.php">
|
||||
<input type="hidden" name="mode" value="fleet">
|
||||
<table width="530">
|
||||
<tr>
|
||||
<td class="c" ><?php echo $this->getData('work_todo')?></td>
|
||||
</tr><tr>
|
||||
<th ><select name="auftr" size="10"></select></th>
|
||||
</tr><tr>
|
||||
<td class="c" ></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<?php echo $this->getData('total_left_time')?>
|
||||
|
||||
<?php echo $this->getData('pretty_time_b_hangar')?>
|
||||
<br>
|
||||
</center>
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
<tr>
|
||||
<td class="l">
|
||||
<a href="infos.php?gid=<?php echo $this->getData('i')?>">
|
||||
<img border="0" src="<?php echo $this->getData('dpath')?>gebaeude/<?php echo $this->getData('i')?>.gif" align="top" width="120" height="120">
|
||||
</a>
|
||||
</td>
|
||||
<td class="l">
|
||||
<a href="infos.php?gid=<?php echo $this->getData('i')?>"><?php echo $this->getData('n')?></a><?php echo $this->getData('nivel')?><br>
|
||||
<?php echo $this->getData('descriptions')?><br>
|
||||
<?php echo $this->getData('price')?>
|
||||
<?php echo $this->getData('time')?>
|
||||
<?php echo $this->getData('rest_price')?>
|
||||
</td>
|
||||
<td class="k"><?php echo $this->getData('click')?></td>
|
||||
</tr>
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
<script src="scripts/cnt.js" type="text/javascript"></script>
|
||||
<div id="btc" class="z"></div><SCRIPT language="JavaScript">
|
||||
pp='<?php echo $this->getData('time')?>';
|
||||
pk='<?php echo $this->getData('building_id')?>';
|
||||
pl='<?php echo $this->getData('id')?>';
|
||||
ps='buildings.php';
|
||||
t();
|
||||
</script>
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
<center>
|
||||
<br />
|
||||
<table align="top">
|
||||
<tr>
|
||||
<td>
|
||||
<form action="buildings.php?mode=defense" method="post">
|
||||
<table width=530>
|
||||
<?php echo $this->getData('buildlist')?>
|
||||
<tr>
|
||||
<td class="c" colspan=2 align="center"><input type="submit" value="<?php echo $this->getData('Construire')?>"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</td>
|
||||
<td valign="top"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php echo $this->getData('buildinglist')?>
|
||||
</center>
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
<center>
|
||||
<br />
|
||||
<table align="top">
|
||||
<tr>
|
||||
<td>
|
||||
<form action="buildings.php?mode=fleet" method="post">
|
||||
<table width=530>
|
||||
<?php echo $this->getData('buildlist')?>
|
||||
<tr>
|
||||
<td class="c" colspan=2 align="center"><input type="submit" value="<?php echo $this->getData('Construire')?>"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
</td>
|
||||
<td valign="top"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<?php echo $this->getData('buildinglist')?>
|
||||
</center>
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
<center>
|
||||
<font color="#ff0000"><?php echo $this->getData('noresearch')?></font>
|
||||
<br />
|
||||
<table align=top>
|
||||
<tr>
|
||||
<td>
|
||||
<table width=530>
|
||||
<tr>
|
||||
<?php echo $this->getData('technolist')?>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
<tr>
|
||||
<th class="l">
|
||||
<a href="infos.php?gid=<?php echo $this->getData('tech_id')?>">
|
||||
<img border=0 src="<?php echo $this->getData('dpath')?>gebaeude/<?php echo $this->getData('tech_id')?>.gif" align="top" width=120 height=120></a>
|
||||
</th>
|
||||
<td class="l">
|
||||
<a href="infos.php?gid=<?php echo $this->getData('tech_id')?>"><?php echo $this->getData('tech_name')?></a> <?php echo $this->getData('tech_level')?><br><?php echo $this->getData('tech_descr')?><br>
|
||||
<?php echo $this->getData('tech_price')?>
|
||||
<?php echo $this->getData('search_time')?>
|
||||
<?php echo $this->getData('tech_restp')?>
|
||||
</td>
|
||||
<th class="l">
|
||||
<?php echo $this->getData('tech_link')?>
|
||||
</th>
|
||||
</tr>
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
<div id="brp" class="z"></div>
|
||||
<script type="text/javascript">
|
||||
v = new Date();
|
||||
var brp = document.getElementById('brp');
|
||||
function t(){
|
||||
n = new Date();
|
||||
ss = <?php echo $this->getData('tech_time')?>;
|
||||
s = ss - Math.round( (n.getTime() - v.getTime()) / 1000.);
|
||||
m = 0;
|
||||
h = 0;
|
||||
if ( s < 0 ) {
|
||||
brp.innerHTML = '<?php echo $this->getData('ready')?><br><a href=buildings.php?mode=research&cp=<?php echo $this->getData('tech_home')?>><?php echo $this->getData('continue')?></a>';
|
||||
} else {
|
||||
if ( s > 59 ) { m = Math.floor( s / 60 ); s = s - m * 60; }
|
||||
if ( m > 59 ) { h = Math.floor( m / 60 ); m = m - h * 60; }
|
||||
if ( s < 10 ) { s = "0" + s }
|
||||
if ( m < 10 ) { m = "0" + m }
|
||||
brp.innerHTML = h + ':' + m + ':' + s + '<br><a href=buildings.php?mode=research&cmd=cancel&tech=<?php echo $this->getData('tech_id')?>><?php echo $this->getData('cancel')?><br><?php echo $this->getData('tech_name')?></a>';
|
||||
}
|
||||
window.setTimeout("t();",999);
|
||||
}
|
||||
window.onload=t;
|
||||
</script>
|
||||
|
|
@ -1,39 +0,0 @@
|
|||
<div>Production Actuelle:
|
||||
<select id="buildList" size="10"></select>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
var date = new Date();
|
||||
var data = <?php echo $this->getData('data')?>;
|
||||
var select = document.getElementById('buildList');
|
||||
|
||||
setInterval(function(){
|
||||
var now = new Date();
|
||||
var datediff = (now.getTime() - date.getTime()) / 1000;
|
||||
|
||||
var option = null;
|
||||
var index = 0;
|
||||
if (data.length == 0) {
|
||||
select.parentNode.style.display = 'none';
|
||||
return;
|
||||
}
|
||||
select.length = 0;
|
||||
for (i in data) {
|
||||
if (datediff > 0) {
|
||||
data[i]['actual_qty'] = data[i]['qty'] - Math.floor(datediff / data[i]['speed']);
|
||||
} else {
|
||||
data[i]['actual_qty'] = data[i]['qty'];
|
||||
}
|
||||
if (data[i]['actual_qty'] <= 0) {
|
||||
datediff = datediff - (data[i]['speed'] * data[i]['qty']);
|
||||
delete data[i];
|
||||
continue;
|
||||
} else {
|
||||
datediff = 0;
|
||||
}
|
||||
option = new Option(data[i]['label'] + ' (' + data[i]['actual_qty'] + ')', data[i]['speed'], false, true);
|
||||
select.options[index++] = option;
|
||||
}
|
||||
}, 1000);
|
||||
//]]>
|
||||
</script>
|
||||
|
|
@ -1,97 +0,0 @@
|
|||
<div id='leftmenu'>
|
||||
<script language="JavaScript">
|
||||
function f(target_url,win_name) {
|
||||
var new_win = window.open(target_url,win_name,'resizable=yes,scrollbars=yes,menubar=no,toolbar=no,width=550,height=280,top=0,left=0');
|
||||
new_win.focus();
|
||||
}
|
||||
</script>
|
||||
<body class="style" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">
|
||||
<center>
|
||||
<div id='menu'>
|
||||
<br>
|
||||
<table width="130" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td colspan="2" style="border-top: 1px #545454 solid"><div><center><?php echo $this->getData('servername')?><br>(<a href="changelog.php" target=<?php echo $this->getData('mf')?>><font color=red><?php echo $this->getData('XNovaRelease')?></font></a>)<center></div></td>
|
||||
</tr><tr>
|
||||
<td colspan="2" background="<?php echo $this->getData('dpath')?>img/bg1.gif"><center><?php echo $this->getData('devlp')?></center></td>
|
||||
</tr><tr>
|
||||
<td colspan="2"><div><a href="overview.php" accesskey="g" target="<?php echo $this->getData('mf')?>"><?php echo $this->getData('Overview')?></a></div></td>
|
||||
</tr><tr>
|
||||
|
||||
<td height="1px" colspan="2" style="background-color:#FFFFFF"></td>
|
||||
</tr><tr>
|
||||
<td colspan="2"><div><a href="buildings.php" accesskey="b" target="<?php echo $this->getData('mf')?>"><?php echo $this->getData('Buildings')?></a></div></td>
|
||||
</tr><tr>
|
||||
<td colspan="2"><div><a href="buildings.php?mode=research" accesskey="r" target="<?php echo $this->getData('mf')?>"><?php echo $this->getData('Research')?></a></div></td>
|
||||
</tr><tr>
|
||||
<td colspan="2"><div><a href="buildings.php?mode=fleet" accesskey="f" target="<?php echo $this->getData('mf')?>"><?php echo $this->getData('Shipyard')?></a></div></td>
|
||||
</tr><tr>
|
||||
<td colspan="2"><div><a href="buildings.php?mode=defense" accesskey="d" target="<?php echo $this->getData('mf')?>"><?php echo $this->getData('Defense')?></a></div></td>
|
||||
</tr><tr>
|
||||
<td colspan="2"><div><a href="officier.php" accesskey="o" target="<?php echo $this->getData('mf')?>"><?php echo $this->getData('Officiers')?></a></div></td>
|
||||
</tr><tr>
|
||||
<?php echo $this->getData('marchand_link')?>
|
||||
</tr><tr>
|
||||
<td colspan="2" background="<?php echo $this->getData('dpath')?>img/bg1.gif"><center><?php echo $this->getData('navig')?></center></td>
|
||||
</tr><tr>
|
||||
<td colspan="2"><div><a href="alliance.php" accesskey="a" target="<?php echo $this->getData('mf')?>"><?php echo $this->getData('Alliance')?></a></div></td>
|
||||
</tr><tr>
|
||||
<td colspan="2"><div><a href="fleet.php" accesskey="t" target="<?php echo $this->getData('mf')?>"><?php echo $this->getData('Fleet')?></a></div></td>
|
||||
</tr><tr>
|
||||
<td colspan="2"><div><a href="messages.php" accesskey="c" target="<?php echo $this->getData('mf')?>"><?php echo $this->getData('Messages')?></a></div></td>
|
||||
</tr><tr>
|
||||
|
||||
<td colspan="2" background="<?php echo $this->getData('dpath')?>img/bg1.gif"><center><?php echo $this->getData('observ')?></center></td>
|
||||
</tr><tr>
|
||||
<td colspan="2"><div><a href="galaxy.php?mode=0" accesskey="s" target="<?php echo $this->getData('mf')?>"><?php echo $this->getData('Galaxy')?></a></div></td>
|
||||
</tr><tr>
|
||||
<td colspan="2"><div><a href="imperium.php" accesskey="i" target="<?php echo $this->getData('mf')?>"><?php echo $this->getData('Imperium')?></a></div></td>
|
||||
</tr><tr>
|
||||
<td colspan="2"><div><a href="resources.php" accesskey="r" target="<?php echo $this->getData('mf')?>"><?php echo $this->getData('Resources')?></a></div></td>
|
||||
</tr><tr>
|
||||
<td colspan="2"><div><a href="techtree.php" accesskey="g" target="<?php echo $this->getData('mf')?>"><?php echo $this->getData('Technology')?></a></div></td>
|
||||
</tr><tr>
|
||||
|
||||
<td height="1px" colspan="2" style="background-color:#FFFFFF"></td>
|
||||
</tr><tr>
|
||||
<td colspan="2"><div><a href="records.php" accesskey="3" target="<?php echo $this->getData('mf')?>"><?php echo $this->getData('Records')?></a></div></td>
|
||||
</tr><tr>
|
||||
<td colspan="2"><div><a href="stat.php?range=<?php echo $this->getData('user_rank')?>" accesskey="k" target="<?php echo $this->getData('mf')?>"><?php echo $this->getData('Statistics')?></a></div></td>
|
||||
</tr><tr>
|
||||
<td colspan="2"><div><a href="search.php" accesskey="b" target="<?php echo $this->getData('mf')?>"><?php echo $this->getData('Search')?></a></div></td>
|
||||
</tr><tr>
|
||||
<td colspan="2"><div><a href="banned.php" accesskey="3" target="<?php echo $this->getData('mf')?>"><?php echo $this->getData('blocked')?></a></div></td>
|
||||
</tr><?php echo $this->getData('announce_link')?><tr>
|
||||
|
||||
|
||||
<td colspan="2" background="<?php echo $this->getData('dpath')?>img/bg1.gif"><center><?php echo $this->getData('commun')?></center></td>
|
||||
</tr><tr>
|
||||
<td colspan="2"><div><a href="#" onClick="f('buddy.php', '');" accesskey="c"><?php echo $this->getData('Buddylist')?></a></div></td>
|
||||
</tr></tr><?php echo $this->getData('notes_link')?><tr><tr>
|
||||
<td colspan="2"><div><a href="chat.php" accesskey="a" target="<?php echo $this->getData('mf')?>"><?php echo $this->getData('Chat')?></a></div></td>
|
||||
</tr><tr>
|
||||
<td colspan="2"><div><a href="<?php echo $this->getData('forum_url')?>" accesskey="1" target="<?php echo $this->getData('mf')?>"><?php echo $this->getData('Board')?></a></div></td>
|
||||
</tr><tr>
|
||||
<td colspan="2"><div><a href="add_declare.php" accesskey="1" target="<?php echo $this->getData('mf')?>"><?php echo $this->getData('multi')?></a></div></td>
|
||||
</tr><tr>
|
||||
<td colspan="2"><div><a href="rules.php" accesskey="c" target="<?php echo $this->getData('mf')?>"><?php echo $this->getData('Rules')?></a></div></td>
|
||||
</tr><tr>
|
||||
<td colspan="2"><div><a href="contact.php" accesskey="3" target="<?php echo $this->getData('mf')?>" ><?php echo $this->getData('Contact')?></a></div></td>
|
||||
</tr><tr>
|
||||
<td colspan="2"><div><a href="options.php" accesskey="o" target="<?php echo $this->getData('mf')?>"><?php echo $this->getData('Options')?></a></div></td>
|
||||
</tr>
|
||||
<?php echo $this->getData('ADMIN_LINK')?>
|
||||
<tr>
|
||||
</tr>
|
||||
<?php echo $this->getData('added_link')?>
|
||||
<tr>
|
||||
<td colspan="2"><div><a href="javascript:top.location.href='logout.php'" accesskey="s" style="color:red"><?php echo $this->getData('Logout')?></a></div></td>
|
||||
</tr><tr>
|
||||
<td colspan="2" background="<?php echo $this->getData('dpath')?>img/bg1.gif"><center><?php echo $this->getData('infog')?></center></td>
|
||||
</tr>
|
||||
<?php echo $this->getData('server_info')?>
|
||||
</table>
|
||||
</div>
|
||||
</center>
|
||||
</body>
|
||||
</div>
|
||||
|
|
@ -1,10 +1,14 @@
|
|||
<th>
|
||||
<h1><?php echo $this->escape($this['planet']->getData('name'))?></h1>
|
||||
<p><a href="<?php echo $this->getUrl('overview.php', array('cp' => $this['planet']->getId()))?>" title="<?php echo $this->escape($this['planet']->getData('name'))?>">
|
||||
<img src="<?php echo $this->getUrl('planeten/small/s_' . $this['planet']->getData('image') . '.jpg')?>" height="50" width="50" />
|
||||
</a></p>
|
||||
<?php if ($this['queue']->count() > 0):?>
|
||||
<p><?php echo $this->escape($this['queue_item']->getData('building_id'))?></p>
|
||||
<?php else:?>
|
||||
<p><?php echo $this->__('Idle.')?></p>
|
||||
<?php endif?>
|
||||
<td>
|
||||
<h1><?php echo $this->escape($this['planet']->getData('name'))?></h1>
|
||||
<p><a href="<?php echo $this->getUrl('overview.php', array('cp' => $this['planet']->getId()))?>" title="<?php echo $this->escape($this['planet']->getData('name'))?>">
|
||||
<img src="<?php echo $this->getSkinUrl('graphics/planeten/small/s_' . $this['planet']->getData('image') . '.jpg')?>" height="50" width="50" />
|
||||
</a></p>
|
||||
<?php if (isset($this['queue']) && $this['queue']->count() > 0):?>
|
||||
<p><?php echo $this->escape($this['queue_item']->getData('building_id'))?></p>
|
||||
<?php else:?>
|
||||
<p><?php echo $this->__('Idle.')?></p>
|
||||
<?php endif?>
|
||||
</td>
|
||||
<?php if ($this['even']):?>
|
||||
</tr><tr>
|
||||
<?php endif?>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<div class="shipyard item-list">
|
||||
<h1><?php echo $this->__('Shipyard')?></h1>
|
||||
<form action="<?php echo $this->getUrl('buildings.php', array('mode' => 'fleets'))?>" method="post">
|
||||
<form action="<?php echo $this->getUrl('buildings.php', array('mode' => 'fleet'))?>" method="post">
|
||||
<dl>
|
||||
<?php echo $this->getPartial('item-list.items')->render()?>
|
||||
</dl>
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
<?php
|
||||
|
|
@ -1 +0,0 @@
|
|||
<?php
|
||||
|
|
@ -1 +0,0 @@
|
|||
<?php
|
||||
|
|
@ -1,17 +1,42 @@
|
|||
<?php $currentPlanet = $this->getCurrentPlanet();?>
|
||||
<div class="planet-carrousel">
|
||||
<div class="arrow left">⇦</div>
|
||||
<div class="arrow left"><!--⇦--></div>
|
||||
<div class="items">
|
||||
<?php foreach ($this->getPlanetCollection() as $planet):?>
|
||||
<?php if ($planet->getId() != $currentPlanet->getId()):?>
|
||||
<div class="planet item">
|
||||
<?php if ($planet->getId() != $this->getCurrentPlanet()->getId()):?>
|
||||
<a href="<?php echo $this->getUrl('', array('cp' => $planet->getId()))?>"><?php echo $this->escape($planet->getName())?> [<?php echo $this->escape($planet->getCoords())?>]</a>
|
||||
<?php else:?>
|
||||
<?php echo $this->escape($planet->getName())?> [<?php echo $this->escape($planet->getCoords())?>]
|
||||
<?php endif?>
|
||||
<p class="planet-name"><a href="<?php echo $this->getUrl('overview.php', array('cp' => $planet->getId()))?>"><?php echo $this->escape($planet->getName())?></a></p>
|
||||
<div class="planet-image">
|
||||
<?php if (false && ($moon = $planet->getMoon()) !== null): ?>
|
||||
<a href="<?php echo $this->getUrl('overview.php', array('cp' => $moon->getId()))?>" class="moon">
|
||||
<img src="<?php echo $this->getSkinUrl($moon->getImage())?>" width="20" height="20"/>
|
||||
</a>
|
||||
<?php endif?>
|
||||
<a href="<?php echo $this->getUrl('overview.php', array('cp' => $planet->getId()))?>" class="planet">
|
||||
<img src="<?php echo $this->getSkinUrl($planet->getImage())?>" width="50" height="50"/>
|
||||
</a>
|
||||
</div>
|
||||
<p class="planet-position"><a href="<?php echo $this->getUrl('overview.php', array('cp' => $planet->getId()))?>">[<?php echo $this->escape($planet->getCoords())?>]</a></p>
|
||||
</div>
|
||||
<?php else:?>
|
||||
<div class="planet item selected">
|
||||
<p class="planet-name"><?php echo $this->escape($planet->getName())?></p>
|
||||
<div class="planet-image">
|
||||
<?php if (false && ($moon = $planet->getMoon()) !== null): ?>
|
||||
<span class="moon">
|
||||
<img src="<?php echo $this->getSkinUrl($moon->getImage())?>" width="20" height="20"/>
|
||||
</span>
|
||||
<?php endif?>
|
||||
<span class="planet">
|
||||
<img src="<?php echo $this->getSkinUrl($planet->getImage())?>" width="50" height="50"/>
|
||||
</span>
|
||||
</div>
|
||||
<p class="planet-position">[<?php echo $this->escape($planet->getCoords())?>]</p>
|
||||
</div>
|
||||
<?php endif?>
|
||||
<?php endforeach?>
|
||||
</div>
|
||||
<div class="arrow right">⇨</div>
|
||||
<div class="arrow right"><!--⇨--></div>
|
||||
</div>
|
||||
<div class="resources-display">
|
||||
<div class="resource metal">
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<title>XNova:Legacies</title>
|
||||
<title><?php echo $this->escape($this->getTitle())?></title>
|
||||
<link rel="shortcut icon" href="<?php echo $this->getUrl('favicon.ico')?>">
|
||||
<?php foreach ($this->getCss() as $css):?>
|
||||
<link rel="stylesheet" type="<?php echo $css['type']?>" href="<?php echo $this->getSkinUrl($css['path'])?>" />
|
||||
|
|
|
|||
|
|
@ -2,4 +2,17 @@
|
|||
<?php foreach ($this->getAllPartials() as $partial):?>
|
||||
<?php echo $partial->render()?>
|
||||
<?php endforeach?>
|
||||
<span class="last"></span>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
(function($){
|
||||
var navigation = $('.navigation');
|
||||
$('.navigation-node', navigation).hover(function(e){
|
||||
$('.navigation-link,.last', $(this)).show();
|
||||
}, function(e){
|
||||
$('.navigation-link,.last', $(this)).hide();
|
||||
});
|
||||
})(jQuery);
|
||||
//]]>
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -1 +1,3 @@
|
|||
<span class="<?php echo $this->escape($this->renderClasses())?>"><a href="<?php echo $this->escape($this->getLinkUrl())?>"><?php echo $this->escape($link->getLabel())?></a></span>
|
||||
<span class="<?php echo $this->escape($this->renderClasses())?> navigation-link">
|
||||
<a href="<?php echo $this->escape($this->getLinkUrl())?>"<?php foreach ($this->getAttributes() as $attributeName => $attributeValue):?> <?php echo $attributeName?>="<?php echo $attributeValue ?>"<?php endforeach?>><?php echo $this->escape($this->getLabel())?></a>
|
||||
</span>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
<div class="navigation-node">
|
||||
<?php foreach ($this->getAllPartials() as $partial):?>
|
||||
<p class="title"><?php echo $this->escape($this->getTitle())?></p>
|
||||
<?php foreach ($this->getAllPartials() as $name => $partial):?>
|
||||
<?php echo $partial->render()?>
|
||||
<?php endforeach?>
|
||||
<span class="last"></span>
|
||||
</div>
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
<form action="reg.php" method="post">
|
||||
<form action="reg.php" method="post" class="registration">
|
||||
<h1>Wootook!</h1>
|
||||
<fieldset>
|
||||
<legend><?php echo $this->__('User data:')?></legend>
|
||||
<p>
|
||||
|
|
|
|||
Loading…
Reference in a new issue