Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/491e883b-1dc5-4ca0-83bf-39faa9060c34 Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
33 lines
No EOL
784 B
HTML
33 lines
No EOL
784 B
HTML
<!-- top wrapper -->
|
|
<div id="topWrapper">
|
|
|
|
<div id="topBanner" onclick="location.href='%logo%'"></div>
|
|
</div>
|
|
|
|
<div id="datetime"><script type="text/javascript">
|
|
<!--
|
|
var currentDate = new Date()
|
|
var day = currentDate.getDate()
|
|
var month = currentDate.getMonth() + 1
|
|
var year = currentDate.getFullYear()
|
|
document.write("<b>" + month + "/" + day + "/" + year + "</b>" + " | ")
|
|
|
|
var currentTime = new Date()
|
|
var hours = currentTime.getHours()
|
|
var minutes = currentTime.getMinutes()
|
|
|
|
if (minutes < 10)
|
|
minutes = "0" + minutes
|
|
|
|
var suffix = "AM";
|
|
if (hours >= 12) {
|
|
suffix = "PM";
|
|
hours = hours - 12;
|
|
}
|
|
if (hours == 0) {
|
|
hours = 12;
|
|
}
|
|
|
|
document.write("<b>" + hours + ":" + minutes + " " + suffix + "</b>")
|
|
//-->
|
|
</script></div> |