A PHP Remake of the Rocknarok Multiverse Time clock https://rmt.yandols.xyz
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
RMT-Clock-PHP/index.php

31 lines
596 B

<html>
<title>Rocknarok Multiverse Time Clock</title>
<h1>Rocknarok Multiverse Time Clock</h1>
<br/><br/>
<script type= "text/javascript" src="jquery-1.4.1.min.js"> </script>
<script type= "text/javascript">
$(document).ready(function() {
function update() {
$.ajax({
type: 'POST',
url: 'servertime.php',
data: { server: ru-general },
timeout: 1000,
success: function(data) {
$("#timer").html(data);
window.setTimeout(update, 1000);
}
});
}
update();
});
</script>
<div id="timer"> </div>
</html>