7c6f3abbc3ccbbae151cfa35d0ce8dba770a6744
[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">$content[xxx]</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;&nbsp;<span class="surfbar_navi">[<a
12                  target="_parent" href="{!URL!}/login.php">Loginbereich</a>|<a
13                  target="_parent" href="{!URL!}/modules.php?module=login&amp;what=logout">Ausloggen</a>|<a
14                  href="javascript:window.close()">Schliessen</a>]</span><br />
15
16                 &raquo;{!MAIN_TITLE!} ist f&uuml;r den Inhalt nicht verantwortlich!&laquo;
17         </td>
18 </tr>
19 </table>
20 <script language="JavaScript" type="text/javascript">
21 <!--
22 var currCounter = "$content[reload]";
23 var maxCounter = "$content[reload]";
24 var counter = document.getElementById("surfbar_counter");
25 var countDown = null;
26
27 function Init() {
28         countDown = window.setInterval("StartCounter()", 1000);
29         window.setTimeout("InitCounter()", 500);
30 }
31
32 function Confirm() {
33         parent.surfbar_url.location="{!URL!}/surfbar.php?id=$content[id]&check=$content[check]&salt=$content[salt]";
34 }
35
36 function ReloadThis() {
37         parent.surfbar_stats.location.reload();
38         this.location.reload();
39 }
40
41 function InitCounter() {
42         parent.surfbar_url.location.href = "$content[url]";
43         counter.innerHTML = $content[reload];
44 }
45
46 function StartCounter() {
47         if (currCounter < 1) {
48                 return false;
49         }
50
51         currCounter--;
52         counter.innerHTML = currCounter;
53
54         if (currCounter == 0) {
55                 clearInterval(countDown);
56                 Confirm();
57                 window.setTimeout("ReloadThis()", 500);
58         }
59 }
60
61 Init();
62
63 //-->
64 </script>