Spaces:
Runtime error
Runtime error
File size: 1,212 Bytes
b7ce9ec |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
<!DOCTYPE html >
<head>
<title>IntelliJ IDEA License Server</title>
</head>
<body onload="showTime()">
<h1>Service is Runing...</h1><h3> IntelliJ IDEA License Server v1.5</h3><span id="time"></span></br>
<script>
var url=window.location.href;
document.write('<h2>You can use <u>' + url + '</u> as license server</h2>');
</script>
<script>
function showTime()
{
var today = new Date();
var year = today.getFullYear();
var month = today.getMonth()+1;
var day = today.getDate();
var hours = today.getHours();
var minutes = today.getMinutes();
var seconds = today.getSeconds();
month = month<10 ? "0"+month : month;
day = day <10 ? "0"+day : day;
hours = hours<10 ? "0"+hours : hours;
minutes = minutes<10 ? "0"+minutes : minutes;
seconds = seconds<10 ? "0"+seconds : seconds;
var str = year+"-"+month+"-"+day+" "+hours+":"+minutes+":"+seconds;
var obj = document.getElementById("time");
obj.innerHTML = str;
window.setTimeout("showTime()",1000);
}
</script>
</body>
</html>
|