mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
Change other date formats to one view
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="hab"><input type="text" class="fm" name="duration" value="1"></td>
|
||||
<td class="hab"><input type="text" class="fm" name="start" value="<?php echo date('d-m-Y H:i:s', strtotime("now")); ?>"></td>
|
||||
<td class="hab"><input type="text" class="fm" name="start" value="<?php echo date('d.m.Y H:i:s', strtotime("now")); ?>"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Default: 1 Hour<br />Value: Hours (0.5) for 30 mins</td>
|
||||
|
||||
@@ -22,7 +22,7 @@ INDELING CATEGORIEEN:
|
||||
== 8. in top 3 - klimmers ==
|
||||
== 9. in top 3 - overval ==
|
||||
******************************/
|
||||
//$geregistreerd=date('d-m-Y', ($allianceinfo['timestamp']));
|
||||
//$geregistreerd=date('d.m.Y', ($allianceinfo['timestamp']));
|
||||
|
||||
$profiel = preg_replace("/\[war]/s",'At war with<br>'.$database->getAllianceWar($aid), $profiel, 1);
|
||||
$profiel = preg_replace("/\[ally]/s",'Confederacies<br>'.$database->getAllianceDipProfile($aid,1), $profiel, 1);
|
||||
|
||||
@@ -42,7 +42,7 @@ echo '
|
||||
<td class="pla"><a href="spieler.php?uid='.$owner.'">'.$ownername.'</a></td>
|
||||
<td class="ha">'.$pop.'</td>
|
||||
<td class="aligned_coords"><div class="cox">('.$coor['x'].'</div><div class="pi">|</div><div class="coy">'.$coor['y'].')</div></td>
|
||||
<td class="dat">'.date('d-m-Y',$vcreated).'</td>
|
||||
<td class="dat">'.date('d.m.Y',$vcreated).'</td>
|
||||
</tr>';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@ echo '
|
||||
<td class="pla"><a href="spieler.php?uid='.$owner.'">'.$ownername.'</a></td>
|
||||
<td class="ha">'.$pop.'</td>
|
||||
<td class="aligned_coords"><div class="cox">('.$coor['x'].'</div><div class="pi">|</div><div class="coy">'.$coor['y'].')</div></td>
|
||||
<td class="dat">'.date('d-m-Y',$vcreated).'</td>
|
||||
<td class="dat">'.date('d.m.Y',$vcreated).'</td>
|
||||
</tr>';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34,7 +34,7 @@ $remainingDay = floor($secondsDiff/(3600*24));
|
||||
$left = \App\Utils\DateTime::getTimeFormat($secondsDiff);
|
||||
$profiel = preg_replace("/\[#0]/is",'<img src="'.$gpack.'img/t/tn.gif" border="0" onmouseout="med_closeDescription()" onmousemove="med_mouseMoveHandler(arguments[0],\'<table><tr><td>This player has '.$left.' hours of beginners protection left.</td></tr></table>\')">', $profiel, 1);
|
||||
} else {
|
||||
$geregistreerd=date('d-m-Y', ($displayarray['regtime']));
|
||||
$geregistreerd=date('d.m.Y', ($displayarray['regtime']));
|
||||
$profiel = preg_replace("/\[#0]/is",'<img src="'.$gpack.'img/t/tnd.gif" border="0" onmouseout="med_closeDescription()" onmousemove="med_mouseMoveHandler(arguments[0],\'<table><tr><td>This player registered his account on '.$geregistreerd.'.</td></tr></table>\')">', $profiel, 1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user