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