Spaces removed...
[mailer.git] / templates / de / html / surfbar / surfbar_frame_top.tpl
1 <table border="0" cellspacing="0" cellpadding="0" width="100%" class="surfbar_table">
2 <tr>
3         <td class="surfbar_td">
4                 &raquo;<span class="surfbar_points">$content[reward] {!POINTS!}</span> in
5                 <span id="surfbar_counter">X</span>&nbsp;<span
6                  id="counter_word">Sekunden</span>&laquo;&nbsp;&raquo;<span
7                  class="surfbar_reload">$content[curr_reload]</span> von <span
8                  class="surfbar_max">$content[max_urls]</span> im Reload&laquo;<br />
9
10                 &raquo;<a href="$content[url]" target="_blank">Aktuelle Seite in neuem
11                 Fenster &ouml;ffnen</a>&laquo;<br />&nbsp;[<a target="_parent"
12                  href="{!URL!}/modules.php?module=login&amp;what=logout">Ausloggen</a>|<a
13                  href="javascript:window.close()">Schliessen</a>]
14
15                 &raquo;{!MAIN_TITLE!} ist f&uuml;r den Inhalt nicht verantwortlich!&laquo;
16         </td>
17 </tr>
18 </table>
19 <script language="JavaScript" type="text/javascript">
20 <!--
21 var currCounter = "$content[reload]";
22 var maxCounter = "$content[reload]";
23 var counter = document.getElementById("surfbar_counter");
24 var countDown = null;
25
26 function Init() {
27         countDown = window.setInterval("StartCounter()", 1000);
28         window.setTimeout("InitCounter()", 500);
29 }
30
31 function Confirm() {
32         parent.surfbar_url.location="{!URL!}/surfbar.php?id=$content[id]&check=$content[check]&salt=$content[salt]";
33 }
34
35 function ReloadThis() {
36         this.location.reload();
37 }
38
39 function InitCounter() {
40         parent.surfbar_url.location.href = "$content[url]";
41         counter.innerHTML = $content[reload];
42 }
43
44 function StartCounter() {
45         if (currCounter < 1) {
46                 return false;
47         }
48
49         currCounter--;
50         counter.innerHTML = currCounter;
51
52         if (currCounter == 0) {
53                 clearInterval(countDown);
54                 Confirm();
55                 window.setTimeout("ReloadThis()", 500);
56         }
57 }
58
59 Init();
60
61 //-->
62 </script>