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.
83 lines
1.8 KiB
83 lines
1.8 KiB
<html>
|
|
<title>Rocknarok Multiverse Time Clock</title>
|
|
<h1>Rocknarok Multiverse Time Clock</h1>
|
|
|
|
<br/><br/>
|
|
|
|
<!-- Request Rocknarok Universe datetime from API -->
|
|
<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) {
|
|
$("#ruclock").html(data);
|
|
window.setTimeout(update, 1000);
|
|
}
|
|
});
|
|
}
|
|
update();
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
<!-- Request St. Sky Universe datetime from API -->
|
|
<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': 'ssu_general' },
|
|
timeout: 1000,
|
|
success: function(data) {
|
|
$("#ssuclock").html(data);
|
|
window.setTimeout(update, 1000);
|
|
}
|
|
});
|
|
}
|
|
update();
|
|
|
|
});
|
|
</script>
|
|
|
|
<!-- Request Kocharion Universe datetime from API -->
|
|
<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': 'ku_general' },
|
|
timeout: 1000,
|
|
success: function(data) {
|
|
$("#kuclock").html(data);
|
|
window.setTimeout(update, 1000);
|
|
}
|
|
});
|
|
}
|
|
update();
|
|
|
|
});
|
|
</script>
|
|
|
|
<p>Rocknarok Universe Current time:<p>
|
|
<div id="ruclock"> </div> <br/>
|
|
|
|
<p>St. Sky Universe Current time:</p>
|
|
<div id="ssuclock"> </div> <br/>
|
|
|
|
<p>Kocharion Universe Current time:</p>
|
|
<div id="kuclock"> </div> <br/>
|
|
|
|
</html> |