mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-24 21:46:11 +00:00
first commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
if(!isset($timer)) {
|
||||
$timer = 1;
|
||||
}
|
||||
$timeleft = $database->getVillageField($village->wid, 'celebration');
|
||||
if($timeleft > Time()){
|
||||
echo '</br>';
|
||||
echo '<table cellpadding="0" cellspacing="0" id="building_contract">';
|
||||
echo '<tr><td>';
|
||||
echo 'celebration still needs:';
|
||||
echo "</td><td><span id=\"timer".$timer."\">";
|
||||
echo $generator->getTimeFormat($timeleft-time());
|
||||
echo "</span> hrs.</td>";
|
||||
echo "<td>done at ".date('H:i', $timeleft)."</td></tr>";
|
||||
echo "</table>";
|
||||
$timer +=1;
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user