6 use CGI::Carp qw(fatalsToBrowser);
9 $paramstring = $ENV{"QUERY_STRING"};
10 @felder = split "&", $paramstring;
12 ($name, $wert) = split "=", $_;
18 . " - <a href=\"login.pl?password="
20 . "&action=logout\" target=\"_top\">"
21 . $locale->text('Logout')
23 my ($Sekunden, $Minuten, $Stunden, $Monatstag, $Monat,
24 $Jahr, $Wochentag, $Jahrestag, $Sommerzeit)
26 my $CTIME_String = localtime(time);
29 $Monat = $Monat < 10 ? $Monat = "0" . $Monat : $Monat;
30 $Monatstag = $Monatstag < 10 ? $Monatstag = "0" . $Monatstag : $Monatstag;
32 my @Wochentage = ("Sonntag", "Montag", "Dienstag", "Mittwoch",
33 "Donnerstag", "Freitag", "Samstag");
34 my @Monatsnamen = ("", "Januar", "Februar", "März",
35 "April", "Mai", "Juni", "Juli",
36 "August", "September", "Oktober", "November",
39 $Wochentage[$Wochentag] . ", der "
44 #$zeit="<div id='Uhr'>".$Stunden.":".$Minuten.":".$Sekunden."</div>";
45 my $zeit = "<div id='Uhr'>" . $Stunden . ":" . $Minuten . "</div>";
48 <script type="text/javascript">
50 var clockid=new Array()
51 var clockidoutside=new Array()
53 var thistime= new Date()
54 var hours= | . $Stunden . qq|;
55 var minutes= | . $Minuten . qq|;
56 var seconds= | . $Sekunden . qq|;
57 if (eval(hours) <10) {hours="0"+hours}
58 if (eval(minutes) < 10) {minutes="0"+minutes}
59 if (seconds < 10) {seconds="0"+seconds}
60 //var thistime = hours+":"+minutes+":"+seconds
61 var thistime = hours+":"+minutes
63 function writeclock() {
65 if (document.all \|\| document.getElementById \|\| document.layers) {
66 clockid[i_clock]="clock"+i_clock
67 document.write("<font family=arial size=2><span id='"+clockid[i_clock]+"' style='position:relative'>"+thistime+"</span></font>")
73 hours=thistime.getHours()
74 minutes=thistime.getMinutes()
75 seconds=thistime.getSeconds()
76 if (eval(hours) <10) {hours="0"+hours}
77 if (eval(minutes) < 10) {minutes="0"+minutes}
78 if (seconds < 10) {seconds="0"+seconds}
79 //thistime = hours+":"+minutes+":"+seconds
80 thistime = hours+":"+minutes
83 for (i=0;i<=clockid.length-1;i++) {
84 var thisclock=eval(clockid[i])
85 thisclock.innerHTML=thistime
89 if (document.getElementById) {
90 for (i=0;i<=clockid.length-1;i++) {
91 document.getElementById(clockid[i]).innerHTML=thistime
94 var timer=setTimeout("clockon()",60000)
103 <body bgcolor="#ffffff" text="#ffffff" link="#ffffff" vlink="#ffffff" alink="#ffffff" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" style="background-image: url('image/fade.png'); background-repeat:repeat-x;">
105 <table border="0" width="100%" background="image/bg_titel.gif" cellpadding="0" cellspacing="0">
107 <td style="color:white; font-family:verdana,arial,sans-serif; font-size: 12px;"> [<a href="JavaScript:top.main_window.print()">| . $locale->text('drucken') . qq|</a>]</td>
108 <td align="right" style="vertical-align:middle; color:white; font-family:verdana,arial,sans-serif; font-size: 12px;" nowrap>|
109 . $login . $datum . qq| <script>writeclock()</script>