1
mein quellcode
<?php
session_start();
if(!session_is_registered('user') ) {
header("index.php");
die;
}
$user = $_SESSION['user']
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<head>
<title> IGNIS (Nacharmung)<title>
<script language="javascript">
window.setTimeout("ZeitAnzeigen()",1000);
Wochentagname = new Array("Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag");
function ZeitAnzeigen() {
var Jetzt = new Date();
var Tag = Jetzt.getDate();
var Monat = Jetzt.getMonth() + 1;
var Jahr = Jetzt.getYear();
var Jahr = Jetzt.getYear();
if (Jahr < 999)
Jahr += 1900;
var Stunden = Jetzt.getHours();
var Minuten = Jetzt.getMinutes();
var Sekunden = Jetzt.getSeconds();
var WoTag = Jetzt.getDay();
var Vortag = ((Tag < 10) ? "0" : "");
var Vormon = ((Monat < 10) ? ".0" : ".");
var Vorstd = ((Stunden < 10) ? "0" : "");
var Vormin = ((Minuten < 10) ? ":0" : ":");
var Vorsek = ((Sekunden < 10) ? ":0" : ":");
var msDatum = Vortag + Tag + Vormon + Monat + "." + Jahr + " ";
var nsDatum = Vortag + Tag + Vormon + Monat + "." + Jahr + " " ;
var Uhrzeit = Vorstd + Stunden + Vormin + Minuten + Vorsek + Sekunden;
var msJetzt = msDatum + " " + Uhrzeit;
var nsJetzt = nsDatum + " " + Uhrzeit;
document.getElementById('Uhr').innerHTML = msJetzt
if(document.layers) {
document.Uhr.document.write('<div id="Uhr" style="font-family:Century Gothic,Arial;color:black;font-size:17px;top:100px;left:10px">'+nsJetzt+'</div>')
document.close()
}
var timer=setTimeout("ZeitAnzeigen()",1000)
}
</script>
<style type='text/css'>
input.yellow {border:1px solid gray; background:yellow;}
input.gray {border:1px solid gray; background:gray;}
input.green {border:1px solid gray; background:green;}
a, img, button {border:0 none}
body {
color: black; background-color: silver;
font-size: 100.01%;
font-family: Helvetica,Arial,sans-serif;
margin: 0; padding: 1em 0;
text-align: left;
float: center;
}
div#IGNIS {
text-align: left;
margin: 0 auto;
width: 1140px;
height: 1140px;
padding: 0.5em;
border: 5px ridge gray;
}
div#Block1 {
font-size: 0.91em;
float: left; width: 10em;
margin: 0; padding: 0;
border: 0px;
width: 380px;
height: 35px;
}
div#Block2 {
font-size: 0.91em;
float: left; width: 10em;
margin: 0; padding: 0;
border: 0px;
width: 380px;
height: 35px;
}
div#Block3 {
font-size: 0.91em;
float: left; width: 10em;
margin: 0; padding: 0;
border: 0px;
width: 380px;
height: 50px;
}
div#Alarm {
font-size: 0.91em;
float: left; width: 10em;
margin: 0; padding: 0;
border: 0px;
width: 1140px;
height: 40px;
}
div#hr {
font-size: 0.91em;
float: left; width: 10em;
margin: 0; padding: 0;
border: 0px;
width: 1140px;
height: 20px;
}
</style>
</head>
<body>
<div id="IGNIS">
<table onload="ZeitAnzeigen()" id="1" border="3" style="text-align: center; width: 1140px; height: 32px;">
<tr>
<td style="width: 71px";>AP 1</td>
<td style="width: 320px";><?php echo $user?></td>
<td style="width: 430px";>1A + KV</td> <!--Notrufaufname - KW -->
<td style="width: 159px";><div id="Uhr" style="font-family:Century Gothic,; color: black; font-size: 17px; top: 300px; left: 260px"> </div></td>
<td style="width: 127px";>Normalbetrieb</td>
</tr>
</table>
<form action="/IGNIS/text.php" method="post">
<div id="Block1">
<a href="/IGNIS/IGNIS_Alarmirung.html"><img src="img/IGNIS_Notruf.png" alt="Notruf"></a><a href="/IGNIS_404.php"><img src="img/IGNIS_Blitz.png" alt="Blitz"></a><a href="/IGNIS_404.php"><img src="img/IGNIS_ZB-OB.png" alt="ZB/OB"></a><a href="/IGNIS_404.php"><img src="img/IGNIS_UGM.png" alt="UGM"></a>
</div>
<div id="Block2">
<a href="/IGNIS_404.php"><img src="img/IGNIS_Sprech.png" alt="Sprech"></a><a href="/IGNIS_404.php"><img src="img/IGNIS_Fristen.png" alt="Fristen"></a><a href="/IGNIS_404.php"><img src="img/IGNIS_Vorbestell.png" alt="Vorbestell"></a><a href="/IGNIS_404.php"><img src="img/IGNIS_Meldung.png" alt="Meldung"></a>
</div>
<div id="Block3">
<input type="image" src="img/IGNIS_Alarm..png" value="Alarm" name="Alarm"><img src="img/IGNIS_Eing._int..png" alt="Eing. int."></a><a href="/IGNIS_404.php"><img src="img/IGNIS_Eing._ext..png" alt="Eing. ext."></a><input type="image" src="img/IGNIS_Keller.png" value="Keller" name="Keller">
</div>
<div id="hr">
<hr width="100%">
</div>
<div id="Alarm" onload="ZeitAnzeigen()">
AS:<input class="yellow" type="text" size="116" maxlength="116" name="AS" id="AS"> US<br/><br/>
Ort:<input class="gray" disabled="disabled" type="text" size="5" maxlength="5" name="PLZ" id="PLZ"> <input class="gray" disabled="disabled" type="text" size="30" maxlength="30" name="Ort" id="Ort"><br/><br/>
Str:<input class="yellow" type="text" size="30" maxlength="30" name="Str" id="Str"> SV Hnr <input class="yellow" type="text" size="10" maxlength="10" name="Hnr" id="Hnr"> Ob<br/><br/>
<input type="checkbox" name="Pol" value="Ja">Polizei
<input type="checkbox" name="SoSi" value="Ja">Sonderrechte
<input type="checkbox" name="Dienst" value="Ja">gehobener Dienst
<input checked="checked" disabled="disabled" type="checkbox" name="estakut" value="Ja"><font color="#666666">EST Aktuell</font>
<input disabled="disabled" type="checkbox" name="abmarsch5" value="Ja"><font color="#666666">5-er Abmarsch</font>
<input type="hidden" name="Dispo" value="<?php echo $user ?>">
<input type="hidden" name="Version" value="IGNIS 1.6">
</div>
</form>
</div>
<center>© 2011 by Sebastian Straubing </center>
</body>
</html>
wird nur von firefox angezeigt und ich weis nicht warum