<div align="center">
<div class="member_table dashed" style="width:500px;height:50px">
- <div id="member_title2 bottom2">
+ <div id="member_title2 bottom">
<strong>Surfbar angehalten!</strong>
</div>
<div id="surfbar_button">
- Keine URLs mehr verfürgbar oder Datenbankfehler liegt vor.<br />
+ Keine URLs mehr verfügbar oder Datenbankfehler liegt vor.<br />
Neustart in <span id="surfbar_counter">$content[start]</span> Sekunden
</div>
</div>
</div>
-<script language="JavaScript" type="text/javascript">
-<!--
-var interval = null;
-var counter = "$content[restart]";
-var timer = document.getElementById("surfbar_counter");
-var buttonDiv = document.getElementById("surfbar_button");
-
-function Restart () {
- this.location.reload();
-}
-
-function ShowButton () {
- buttonDiv.innerHTML = "<form action='{?URL?}/surfbar.php' target='_self' method='GET'><input type='hidden' name='frame' value='top' /><input type='submit' id='member_submit' value='Surfbar erneut starten' /></form>";
-}
-
-function Counter () {
- if (counter == 0) {
- if ($content[autostart] == true) {
- Restart();
- } else {
- ShowButton();
- }
- window.clearInterval(interval);
- } else {
- counter--;
- timer.innerHTML = counter;
- }
-}
-
-function Init () {
- interval = window.setInterval("Counter()", 1000);
- timer.innerHTML = "$content[restart]";
-}
-
-window.setTimeout("Init()", 500);
-//-->
-</script>
+<script src="{?URL?}/js.php?js=surfbar_stopped{%version=surfbar%}&restart=$content[restart]&autostart=$content[autostart]"
+ type="text/javascript"></script>