Initial commit: legacy WOPS PHP application
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
#Datenbank Verbindung einbinden
|
||||
require 'Connections/Connections.php';
|
||||
#Session starten und Prüfen ob bereits eingeloggt wurde
|
||||
session_name('wportal');
|
||||
session_start();
|
||||
|
||||
#Header und menü einbinden
|
||||
$webpagetitle = "Count";
|
||||
include "Includes/Header.php";
|
||||
#Timestamp auslesen für Countdown
|
||||
$timestamp = $con->query("Select timestamp from timestamp")->fetch_object()->timestamp;
|
||||
?>
|
||||
<div class="content">
|
||||
<div class="Rahmen">
|
||||
<div class="center">
|
||||
<div class="Countdown">
|
||||
<h2 id="c1"></h2>
|
||||
<h4 id="c2">Cowntdown Abgelaufen</h4>
|
||||
<p>...bis zum Ende</p>
|
||||
<script type="text/javascript">
|
||||
countdown("<?php echo $timestamp; ?>");
|
||||
</script>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user