0
0

Website refactored

Prepared the website structure for the new layout
This commit is contained in:
Bryan
2019-05-29 19:01:38 +02:00
parent eeffcd93cf
commit b21dd0518d
10 changed files with 150 additions and 87 deletions

View File

@@ -26,8 +26,9 @@
<!DOCTYPE html>
<html>
<head>
<title id="title">Redirect in 5 seconds</title>
<link href="<?=substr($_SERVER['SCRIPT_NAME'],0,-10)?>/favicon.ico" rel="icon" type="image/x-icon">
<meta charset="UTF-8">
<link href="<?=$GLOBALS['config']['installation_path']?>/favicon.ico" rel="icon" type="image/x-icon">
<title>Redirect in 5 seconds | <?=$GLOBALS['config']['website_name']?></title>
</head>
<body>
<center>
@@ -37,7 +38,7 @@
window.onload = function() {
var seconds = 5;
function update_timeout (interval) {
document.getElementById("title").innerHTML = "Redirect in "+seconds+" seconds";
document.getElementById("title").innerHTML = "Redirect in " + seconds +" seconds | <?=$GLOBALS['config']['website_name']?>";
document.getElementById("body-timeout").innerHTML = seconds;
if (seconds == 0) {
window.location.href = "<?=$row['URL']?>";