mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-29 06:37:15 +00:00
Refactor + BugFix
1. Fix a bug in Admin Panel that you can edit by yourself your rank, now you cannot edit your rank anymore. 2. Now Alliance Leader can edit his own Position 3. Fix negative value on Demolition Building, now in database at lvl is appear new level not -1 4. Refactor Ajax map, now all is alligned (Ajax folder and Map folder) 5. Fix bug from Palace (when change capital now Automation recount population automaticaly on old capital and new capital)
This commit is contained in:
+94
-147
@@ -1,150 +1,97 @@
|
||||
<table cellpadding="1" cellspacing="1" class="build_details">
|
||||
<thead><tr>
|
||||
<td><?php echo ACADEMY; ?></td>
|
||||
<td><?php echo ACTION; ?></td>
|
||||
</tr></thead>
|
||||
<tbody>
|
||||
<?php
|
||||
// 22_2.tpl - ACADEMY TEUTON UNITS
|
||||
global $technology, $generator, $village, $session, $building, $bid22, $id;
|
||||
|
||||
<?php
|
||||
$fail = $success = 0;
|
||||
$acares = $technology->grabAcademyRes();
|
||||
for($i=12;$i<=19;$i++) {
|
||||
if($technology->meetRRequirement($i) && !$technology->getTech($i) && !$technology->isResearch($i,1)) {
|
||||
echo "<tr><td class=\"desc\">
|
||||
<div class=\"tit\">
|
||||
<img class=\"unit u".$i."\" src=\"img/x.gif\" alt=\"".$technology->getUnitName($i)."\" title=\"".$technology->getUnitName($i)."\" />
|
||||
<a href=\"#\" onClick=\"return Popup(".$i.",1);\">".$technology->getUnitName($i)."</a>
|
||||
</div>
|
||||
<div class=\"details\"><img class=\"r1\" src=\"img/x.gif\" alt=\"Lumber\" title=\"".LUMBER."\" />".${'r'.$i}['wood']."|<img class=\"r2\" src=\"img/x.gif\" alt=\"Clay\" title=\"".CLAY."\" />".${'r'.$i}['clay']."|<img class=\"r3\" src=\"img/x.gif\" alt=\"Iron\" title=\"".IRON."\" />".${'r'.$i}['iron']."|<img class=\"r4\" src=\"img/x.gif\" alt=\"Crop\" title=\"".CROP."\" />".${'r'.$i}['crop']."|<img class=\"clock\" src=\"img/x.gif\" alt=\"duration\" title=\"".DURATION."\" />";
|
||||
echo $generator->getTimeFormat(round(${'r'.$i}['time'] * ($bid22[$village->resarray['f'.$id]]['attri'] / 100)/SPEED));
|
||||
|
||||
//-- If available resources combined are not enough, remove NPC button
|
||||
$total_required = (int)(${'r'.$i}['wood'] + ${'r'.$i}['clay'] + ${'r'.$i}['iron'] + ${'r'.$i}['crop']);
|
||||
if($session->userinfo['gold'] >= 3 && $building->getTypeLevel(17) >= 1 && $village->atotal >= $total_required) {
|
||||
echo "|<a href=\"build.php?gid=17&t=3&r1=".${'r'.$i}['wood']."&r2=".${'r'.$i}['clay']."&r3=".${'r'.$i}['iron']."&r4=".${'r'.$i}['crop']."\" title=\"NPC trade\"><img class=\"npc\" src=\"img/x.gif\" alt=\"NPC trade\" title=\"NPC trade\" /></a>";
|
||||
}
|
||||
if(${'r'.$i}['wood'] > $village->maxstore || ${'r'.$i}['clay'] > $village->maxstore || ${'r'.$i}['iron'] > $village->maxstore) {
|
||||
echo "<br><span class=\"none\">".EXPAND_WAREHOUSE1."</span></div></td>";
|
||||
echo "<td class=\"none\">
|
||||
<div class=\"none\">".EXPAND_WAREHOUSE."</div>
|
||||
</td></tr>";
|
||||
}
|
||||
else if(${'r'.$i}['crop'] > $village->maxcrop) {
|
||||
echo "<br><span class=\"none\">".EXPAND_GRANARY1."</span></div></td>";
|
||||
echo "<td class=\"none\">
|
||||
<div class=\"none\">".EXPAND_GRANARY."</div>
|
||||
</td></tr>";
|
||||
}
|
||||
else if(${'r'.$i}['wood'] > $village->awood || ${'r'.$i}['clay'] > $village->aclay || ${'r'.$i}['iron'] > $village->airon || ${'r'.$i}['crop'] > $village->acrop) {
|
||||
if($village->getProd("crop")>0){
|
||||
$time = $technology->calculateAvaliable(22,${'r'.$i});
|
||||
echo "<br><span class=\"none\">".ENOUGH_RESOURCES." ".$time[0]." at ".$time[1]."</span></div></td>";
|
||||
} else {
|
||||
echo "<br><span class=\"none\">".CROP_NEGATIVE."</span></div></td>";
|
||||
}
|
||||
echo "<td class=\"act\"><div class=\"none\">".TOO_FEW_RESOURCES."</div></td></tr>";
|
||||
}
|
||||
else if ( count($acares) > 0 ) {
|
||||
echo "</td>";
|
||||
echo "<td class=\"none\">
|
||||
".RESEARCH_IN_PROGRESS."</td></tr>";
|
||||
}
|
||||
else if($session->access != BANNED){
|
||||
echo "</td>";
|
||||
echo "<td class=\"act\">
|
||||
<a class=\"research\" href=\"build.php?id=$id&a=$i&c=".$session->mchecker."\">".RESEARCH."</a></td></tr>";
|
||||
}else{
|
||||
echo "</td>";
|
||||
echo "<td class=\"act\">
|
||||
<a class=\"research\" href=\"banned.php\">".RESEARCH."</a></td></tr>";
|
||||
}
|
||||
$success += 1;
|
||||
}
|
||||
else {
|
||||
$fail += 1;
|
||||
}
|
||||
}
|
||||
if($success == 0) {
|
||||
echo "<td colspan=\"2\"><div class=\"none\" align=\"center\">".RESEARCH_AVAILABLE."</div></td>";
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php if($fail > 0) {
|
||||
echo "<p class=\"switch\"><a id=\"researchFutureLink\" href=\"#\" onclick=\"return $('researchFuture').toggle();\">".SHOW_MORE."</a></p>
|
||||
<table id=\"researchFuture\" class=\"build_details hide\" cellspacing=\"1\" cellpadding=\"1\">
|
||||
<thead><tr><td colspan=\"2\">".PREREQUISITES."</td></tr><tbody>";
|
||||
if(!$technology->meetRRequirement(13) && !$technology->getTech(13)) {
|
||||
echo"<tr><td class=\"desc\"><div class=\"tit\"><img class=\"unit u13\" title=\"".U13."\" alt=\"Axeman\" src=\"img/x.gif\"/>
|
||||
<a onclick=\"return Popup(13, 1);\" href=\"#\">Axeman</a></div></td><td class=\"cond\"><a href=\"#\" onclick=\"return Popup(22, 4);\">".ACADEMY." </a>
|
||||
<span title=\"+2\">".LEVEL." 3</span><br /><a href=\"#\" onclick=\"return Popup(12, 4);\">".BLACKSMITH." </a><span title=\"+1\">".LEVEL." 1</span> </td></tr>";
|
||||
}
|
||||
if(!$technology->meetRRequirement(14) && !$technology->getTech(14)) {
|
||||
echo "<tr><td class=\"desc\"><div class=\"tit\"><img class=\"unit u14\" title=\"".U14."\" alt=\"Scout\" src=\"img/x.gif\"/>
|
||||
<a onclick=\"return Popup(14, 1);\" href=\"#\">Scout</a></div></td><td class=\"cond\">
|
||||
<a href=\"#\" onclick=\"return Popup(22, 4);\">".ACADEMY." </a><span title=\"+2\">".LEVEL." 1</span><br /><a href=\"#\" onclick=\"return Popup(15, 4);\">".MAINBUILDING."</a>
|
||||
<span title=\"+3\">".LEVEL." 5</span> </td></tr>";
|
||||
}
|
||||
if(!$technology->meetRRequirement(15) && !$technology->getTech(15)) {
|
||||
echo "<tr><td class=\"desc\"><div class=\"tit\"><img class=\"unit u15\" title=\"".U15."\" alt=\"Paladin\" src=\"img/x.gif\"/>
|
||||
<a onclick=\"return Popup(15, 1);\" href=\"#\">Paladin</a></div></td><td class=\"cond\">
|
||||
<a href=\"#\" onclick=\"return Popup(22, 4);\">".ACADEMY." </a><span title=\"+2\">".LEVEL." 5</span><br /><a href=\"#\" onclick=\"return Popup(20, 4);\">".STABLE." </a>
|
||||
<span title=\"+5\">".LEVEL." 5</span> </td></tr>";
|
||||
}
|
||||
if(!$technology->meetRRequirement(16) && !$technology->getTech(16)) {
|
||||
echo "<tr><td class=\"desc\"><div class=\"tit\"><img class=\"unit u16\" title=\"".U16."\" alt=\"Teutonic Knight\" src=\"img/x.gif\"/>
|
||||
<a onclick=\"return Popup(16, 1);\" href=\"#\">Teutonic Knight</a></div></td><td class=\"cond\">
|
||||
<a href=\"#\" onclick=\"return Popup(22, 4);\">".ACADEMY." </a><span title=\"+2\">".LEVEL." 15</span><br /><a href=\"#\" onclick=\"return Popup(20, 4);\">
|
||||
".STABLE." </a><span title=\"+3\">".LEVEL." 10</span> </td></tr>";
|
||||
}
|
||||
if(!$technology->meetRRequirement(17) && !$technology->getTech(17)) {
|
||||
echo "
|
||||
<tr><td class=\"desc\"><div class=\"tit\"><img class=\"unit u17\" title=\"".U17."\" alt=\"Ram\" src=\"img/x.gif\"/>
|
||||
<a onclick=\"return Popup(17, 1);\" href=\"#\">Ram</a></div></td><td class=\"cond\"><a href=\"#\" onclick=\"return Popup(22, 4);\">".ACADEMY." </a>
|
||||
<span title=\"+7\">".LEVEL." 10</span><br /><a href=\"#\" onclick=\"return Popup(21, 4);\">".WORKSHOP." </a><span title=\"+1\">".LEVEL." 1</span></td></tr>";
|
||||
}
|
||||
if(!$technology->meetRRequirement(18) && !$technology->getTech(18)) {
|
||||
echo "<tr><td class=\"desc\"><div class=\"tit\"><img class=\"unit u18\" title=\"".U18."\" alt=\"Catapult\" src=\"img/x.gif\"/>
|
||||
<a onclick=\"return Popup(18, 1);\" href=\"#\">Catapult</a></div></td><td class=\"cond\"><a href=\"#\" onclick=\"return Popup(21, 4);\">".WORKSHOP."</a>
|
||||
<span title=\"+10\">".LEVEL." 10</span><br /><a href=\"#\" onclick=\"return Popup(22, 4);\">".ACADEMY." </a><span title=\"+12\">".LEVEL." 15</span> </td>
|
||||
</tr>";
|
||||
}
|
||||
if(!$technology->meetRRequirement(19) && !$technology->getTech(19)) {
|
||||
echo " <tr><td class=\"desc\"><div class=\"tit\"><img class=\"unit u19\" title=\"".U19."\" alt=\"Chief\" src=\"img/x.gif\"/>
|
||||
<a onclick=\"return Popup(19, 1);\" href=\"#\">Chief</a></div></td><td class=\"cond\">
|
||||
<a href=\"#\" onclick=\"return Popup(16, 4);\">".RALLYPOINT." </a><span title=\"+4\">".LEVEL." 5</span><br /><a href=\"#\" onclick=\"return Popup(22, 4);\">
|
||||
Academy </a><span title=\"+17\">".LEVEL." 20</span></td></tr>";
|
||||
}
|
||||
echo " <script type=\"text/javascript\">
|
||||
//<![CDATA[
|
||||
$(\"researchFuture\").toggle = (function()
|
||||
{
|
||||
this.toggleClass(\"hide\");
|
||||
|
||||
$(\"researchFutureLink\").set(\"text\",
|
||||
this.hasClass(\"hide\")
|
||||
? \"".SHOW_MORE."\"
|
||||
: \"".HIDE_MORE."\"
|
||||
);
|
||||
|
||||
return false;
|
||||
}).bind($(\"researchFuture\"));
|
||||
//]]>
|
||||
</script>";
|
||||
echo "</tbody></table>";
|
||||
}
|
||||
//$acares = $technology->grabAcademyRes();
|
||||
if(count($acares) > 0) {
|
||||
echo "<table cellpadding=\"1\" cellspacing=\"1\" class=\"under_progress\"><thead><tr><td>".RESEARCHING."</td><td>".DURATION."</td><td>".COMPLETE."</td></tr>
|
||||
</thead><tbody>";
|
||||
foreach($acares as $aca) {
|
||||
$unit = substr($aca['tech'],1,2);
|
||||
echo "<tr><td class=\"desc\"><img class=\"unit u$unit\" src=\"img/x.gif\" alt=\"".$technology->getUnitName($unit)."\" title=\"".$technology->getUnitName($unit)."\" />".$technology->getUnitName($unit)."</td>";
|
||||
echo "<td class=\"dur\"><span id=\"timer".++$session->timer."\">".$generator->getTimeFormat($aca['timestamp']-time())."</span></td>";
|
||||
$date = $generator->procMtime($aca['timestamp']);
|
||||
echo "<td class=\"fin\"><span>".$date[1]."</span><span> hrs</span></td>";
|
||||
echo "</tr>";
|
||||
}
|
||||
echo "</tbody></table>";
|
||||
}
|
||||
$success = $fail = 0;
|
||||
$level = (int)$village->resarray['f'.$id];
|
||||
?>
|
||||
<table cellpadding="1" cellspacing="1" class="build_details">
|
||||
<thead><tr><td><?php echo ACADEMY;?></td><td><?php echo ACTION;?></td></tr></thead>
|
||||
<tbody>
|
||||
<?php for ($i = 12; $i <= 19; $i++):
|
||||
if (!($technology->meetRRequirement($i) &&!$technology->getTech($i) &&!$technology->isResearch($i,1))) { $fail++; continue; }
|
||||
$success++;
|
||||
$res = ${'r'.$i};
|
||||
$name = $technology->getUnitName($i);
|
||||
$time = $generator->getTimeFormat(round($res['time'] * ($bid22[$level]['attri']/100) / SPEED));
|
||||
$total_required = (int)($res['wood']+$res['clay']+$res['iron']+$res['crop']);
|
||||
$showNpc = $session->userinfo['gold']>=3 && $building->getTypeLevel(17)>=1 && $village->atotal >= $total_required;
|
||||
?>
|
||||
<tr>
|
||||
<td class="desc">
|
||||
<div class="tit"><img class="unit u<?php echo $i;?>" src="img/x.gif" alt="<?php echo htmlspecialchars($name);?>" title="<?php echo htmlspecialchars($name);?>"/><a href="#" onClick="return Popup(<?php echo $i;?>,1);"><?php echo htmlspecialchars($name);?></a></div>
|
||||
<div class="details">
|
||||
<img class="r1" src="img/x.gif" title="<?php echo LUMBER;?>"/><?php echo (int)$res['wood'];?>|
|
||||
<img class="r2" src="img/x.gif" title="<?php echo CLAY;?>"/><?php echo (int)$res['clay'];?>|
|
||||
<img class="r3" src="img/x.gif" title="<?php echo IRON;?>"/><?php echo (int)$res['iron'];?>|
|
||||
<img class="r4" src="img/x.gif" title="<?php echo CROP;?>"/><?php echo (int)$res['crop'];?>|
|
||||
<img class="clock" src="img/x.gif" title="<?php echo DURATION;?>"/><?php echo $time;?>
|
||||
<?php if ($showNpc):?>|<a href="build.php?gid=17&t=3&r1=<?php echo (int)$res['wood'];?>&r2=<?php echo (int)$res['clay'];?>&r3=<?php echo (int)$res['iron'];?>&r4=<?php echo (int)$res['crop'];?>" title="NPC trade"><img class="npc" src="img/x.gif"/></a><?php endif;?>
|
||||
<?php
|
||||
if ($res['wood']>$village->maxstore||$res['clay']>$village->maxstore||$res['iron']>$village->maxstore) echo "<br><span class=\"none\">".EXPAND_WAREHOUSE1."</span>";
|
||||
elseif ($res['crop']>$village->maxcrop) echo "<br><span class=\"none\">".EXPAND_GRANARY1."</span>";
|
||||
elseif ($res['wood']>$village->awood||$res['clay']>$village->aclay||$res['iron']>$village->airon||$res['crop']>$village->acrop) {
|
||||
if ($village->getProd("crop")>0){ $t=$technology->calculateAvaliable(22,$res); echo "<br><span class=\"none\">".ENOUGH_RESOURCES." ".$t[0]." at ".$t[1]."</span>"; }
|
||||
else echo "<br><span class=\"none\">".CROP_NEGATIVE."</span>";
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</td>
|
||||
<td class="<?php echo ($res['wood']>$village->maxstore||$res['clay']>$village->maxstore||$res['iron']>$village->maxstore||$res['crop']>$village->maxcrop||$res['wood']>$village->awood||$res['clay']>$village->aclay||$res['iron']>$village->airon||$res['crop']>$village->acrop||count($acares)>0)?'none':'act';?>">
|
||||
<?php
|
||||
if ($res['wood']>$village->maxstore||$res['clay']>$village->maxstore||$res['iron']>$village->maxstore) echo "<div class=\"none\">".EXPAND_WAREHOUSE."</div>";
|
||||
elseif ($res['crop']>$village->maxcrop) echo "<div class=\"none\">".EXPAND_GRANARY."</div>";
|
||||
elseif ($res['wood']>$village->awood||$res['clay']>$village->aclay||$res['iron']>$village->airon||$res['crop']>$village->acrop) echo "<div class=\"none\">".TOO_FEW_RESOURCES."</div>";
|
||||
elseif (count($acares)>0) echo RESEARCH_IN_PROGRESS;
|
||||
elseif ($session->access!=BANNED) echo "<a class=\"research\" href=\"build.php?id=".(int)$id."&a=".$i."&c=".$session->mchecker."\">".RESEARCH."</a>";
|
||||
else echo "<a class=\"research\" href=\"banned.php\">".RESEARCH."</a>";
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endfor; if ($success===0):?>
|
||||
<tr><td colspan="2"><div class="none" align="center"><?php echo RESEARCH_AVAILABLE;?></div></td></tr>
|
||||
<?php endif;?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<?php if ($fail>0):?>
|
||||
<p class="switch"><a id="researchFutureLink" href="#" onclick="document.getElementById('researchFuture').classList.toggle('hide'); this.textContent = this.textContent == '<?php echo SHOW_MORE;?>'? '<?php echo HIDE_MORE;?>' : '<?php echo SHOW_MORE;?>'; return false;"><?php echo SHOW_MORE;?></a></p>
|
||||
<table id="researchFuture" class="build_details hide" cellspacing="1" cellpadding="1">
|
||||
<thead><tr><td colspan="2"><?php echo PREREQUISITES;?></td></tr></thead>
|
||||
<tbody>
|
||||
<?php if (!$technology->meetRRequirement(13) &&!$technology->getTech(13)):?>
|
||||
<tr><td class="desc"><div class="tit"><img class="unit u13" src="img/x.gif" alt="Axeman"/><a onclick="return Popup(13,1);" href="#">Axeman</a></div></td><td class="cond"><a href="#" onclick="return Popup(22,4);"><?php echo ACADEMY;?></a> <span><?php echo LEVEL;?> 3</span><br><a href="#" onclick="return Popup(12,4);"><?php echo BLACKSMITH;?></a> <span><?php echo LEVEL;?> 1</span></td></tr>
|
||||
<?php endif;?>
|
||||
<?php if (!$technology->meetRRequirement(14) &&!$technology->getTech(14)):?>
|
||||
<tr><td class="desc"><div class="tit"><img class="unit u14" src="img/x.gif" alt="Scout"/><a onclick="return Popup(14,1);" href="#">Scout</a></div></td><td class="cond"><a href="#" onclick="return Popup(22,4);"><?php echo ACADEMY;?></a> <span><?php echo LEVEL;?> 1</span><br><a href="#" onclick="return Popup(15,4);"><?php echo MAINBUILDING;?></a> <span><?php echo LEVEL;?> 5</span></td></tr>
|
||||
<?php endif;?>
|
||||
<?php if (!$technology->meetRRequirement(15) &&!$technology->getTech(15)):?>
|
||||
<tr><td class="desc"><div class="tit"><img class="unit u15" src="img/x.gif" alt="Paladin"/><a onclick="return Popup(15,1);" href="#">Paladin</a></div></td><td class="cond"><a href="#" onclick="return Popup(22,4);"><?php echo ACADEMY;?></a> <span><?php echo LEVEL;?> 5</span><br><a href="#" onclick="return Popup(20,4);"><?php echo STABLE;?></a> <span><?php echo LEVEL;?> 5</span></td></tr>
|
||||
<?php endif;?>
|
||||
<?php if (!$technology->meetRRequirement(16) &&!$technology->getTech(16)):?>
|
||||
<tr><td class="desc"><div class="tit"><img class="unit u16" src="img/x.gif" alt="Teutonic Knight"/><a onclick="return Popup(16,1);" href="#">Teutonic Knight</a></div></td><td class="cond"><a href="#" onclick="return Popup(22,4);"><?php echo ACADEMY;?></a> <span><?php echo LEVEL;?> 15</span><br><a href="#" onclick="return Popup(20,4);"><?php echo STABLE;?></a> <span><?php echo LEVEL;?> 10</span></td></tr>
|
||||
<?php endif;?>
|
||||
<?php if (!$technology->meetRRequirement(17) &&!$technology->getTech(17)):?>
|
||||
<tr><td class="desc"><div class="tit"><img class="unit u17" src="img/x.gif" alt="Ram"/><a onclick="return Popup(17,1);" href="#">Ram</a></div></td><td class="cond"><a href="#" onclick="return Popup(22,4);"><?php echo ACADEMY;?></a> <span><?php echo LEVEL;?> 10</span><br><a href="#" onclick="return Popup(21,4);"><?php echo WORKSHOP;?></a> <span><?php echo LEVEL;?> 1</span></td></tr>
|
||||
<?php endif;?>
|
||||
<?php if (!$technology->meetRRequirement(18) &&!$technology->getTech(18)):?>
|
||||
<tr><td class="desc"><div class="tit"><img class="unit u18" src="img/x.gif" alt="Catapult"/><a onclick="return Popup(18,1);" href="#">Catapult</a></div></td><td class="cond"><a href="#" onclick="return Popup(21,4);"><?php echo WORKSHOP;?></a> <span><?php echo LEVEL;?> 10</span><br><a href="#" onclick="return Popup(22,4);"><?php echo ACADEMY;?></a> <span><?php echo LEVEL;?> 15</span></td></tr>
|
||||
<?php endif;?>
|
||||
<?php if (!$technology->meetRRequirement(19) &&!$technology->getTech(19)):?>
|
||||
<tr><td class="desc"><div class="tit"><img class="unit u19" src="img/x.gif" alt="Chief"/><a onclick="return Popup(19,1);" href="#">Chief</a></div></td><td class="cond"><a href="#" onclick="return Popup(16,4);"><?php echo RALLYPOINT;?></a> <span><?php echo LEVEL;?> 5</span><br><a href="#" onclick="return Popup(22,4);">Academy</a> <span><?php echo LEVEL;?> 20</span></td></tr>
|
||||
<?php endif;?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php endif;?>
|
||||
|
||||
<?php if (count($acares)>0):?>
|
||||
<table cellpadding="1" cellspacing="1" class="under_progress">
|
||||
<thead><tr><td><?php echo RESEARCHING;?></td><td><?php echo DURATION;?></td><td><?php echo COMPLETE;?></td></tr></thead>
|
||||
<tbody>
|
||||
<?php foreach ($acares as $aca): $unit=(int)substr($aca['tech'],1,2); $name=$technology->getUnitName($unit); $date=$generator->procMtime($aca['timestamp']);?>
|
||||
<tr><td class="desc"><img class="unit u<?php echo $unit;?>" src="img/x.gif" alt="<?php echo htmlspecialchars($name);?>"/><?php echo htmlspecialchars($name);?></td><td class="dur"><span id="timer<?php echo ++$session->timer;?>"><?php echo $generator->getTimeFormat($aca['timestamp']-time());?></span></td><td class="fin"><span><?php echo $date[1];?></span><span> hrs</span></td></tr>
|
||||
<?php endforeach;?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php endif;?>
|
||||
Reference in New Issue
Block a user