1 <table border="0" cellspacing="0" cellpadding="0" width="100%" class="surfbar_table">
3 <td class="surfbar_td">
4 »<span class="surfbar_points">$content[reward] {!POINTS!}</span> in
5 <span id="surfbar_counter">$content[xxx]</span> <span
6 id="counter_word">Sekunden</span>« »<span
7 class="surfbar_reload">$content[curr_reload]</span> von <span
8 class="surfbar_max">$content[max_urls]</span> im Reload«<br />
10 »<a href="$content[url]" target="_blank">Aktuelle Seite in neuem
11 Fenster öffnen</a>« <span class="surfbar_navi">[<a
12 href="#" onclick="return StartStopCounter();" id="start">Anhalten</a>|<a
13 target="_parent" href="{!URL!}/login.php">Loginbereich</a>|<a
14 target="_parent" href="{!URL!}/modules.php?module=login&what=logout">Ausloggen</a>|<a
15 href="javascript:window.close()">Schliessen</a>]</span><br />
17 »{!MAIN_TITLE!} ist für den Inhalt nicht verantwortlich!«
21 <script language="JavaScript" type="text/javascript">
23 var currCounter = "$content[reload]";
24 var maxCounter = "$content[reload]";
25 var counter = document.getElementById("surfbar_counter");
28 function StartStopCounter () {
29 if (countDown == null) {
31 document.getElementById("start").innerHTML = "Anhalten";
32 countDown = window.setInterval("StartCounter()", 1000);
34 document.getElementById("start").innerHTML = "Weiter";
35 window.clearInterval(countDown);
42 countDown = window.setInterval("StartCounter()", 1000);
43 window.setTimeout("InitCounter()", 500);
47 parent.surfbar_url.location="{!URL!}/surfbar.php?id=$content[id]&check=$content[check]&salt=$content[salt]";
50 function ReloadThis() {
51 parent.surfbar_stats.location.reload();
52 this.location.reload();
55 function InitCounter() {
56 parent.surfbar_url.location.href = "$content[url]";
57 counter.innerHTML = $content[reload];
60 function StartCounter() {
61 if (currCounter < 1) {
66 counter.innerHTML = currCounter;
68 if (currCounter == 0) {
69 clearInterval(countDown);
71 window.setTimeout("ReloadThis()", 500);