Change other date formats to one view

This commit is contained in:
Vladyslav
2018-05-20 02:33:25 +03:00
parent 68f9282dc7
commit cbcc9b5262
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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>
+1 -1
View File
@@ -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);
+1 -1
View File
@@ -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>';
}
}
+1 -1
View File
@@ -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>';
}
}
+1 -1
View File
@@ -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);
}