]> git.mxchange.org Git - mailer.git/blob - templates/de/html/mailid/mailid_timer.tpl
Some typos
[mailer.git] / templates / de / html / mailid / mailid_timer.tpl
1 <script type="text/javascript">
2 <!--
3 var Timer = "$content[time]";
4
5 function Init() {
6         var Counter = window.setInterval("StartCounter()", 1000);
7 }
8
9 function StartCounter() {
10         if (Timer < 1) {
11                 return false;
12         }
13
14         Timer--;
15         document.confirm.counter.value = Timer;
16         if (Timer == 0) {
17                 document.location.href="{?URL?}/mailid_top.php?userid=$content[userid]&$content[type]=$content[data]&mode=confirm&code=$content[rand]";
18                 clearInterval(Counter);
19         }
20 }
21 //-->
22 </script>
23 <table border="0" cellspacing="0" cellpadding="0" class="member_mailidtop">
24         <tr>
25                 <td width="10" class="seperator">&nbsp;</td>
26                 <td width="220" align="center">
27                 <table border="0" cellspacing="0" cellpadding="0" width="200" class="member_confirm dashed">
28                         <tr>
29                                 <td height="3" class="seperator">&nbsp;</td>
30                         </tr>
31                         <tr>
32                                 <td align="center">
33                                 <form accept-charset="utf-8" name="confirm" style="margin-top: 0px; margin-bottom: 0px">
34                                 {--MEMBER_TIME_COUNTER_1--} <input type="text" name="counter"
35                                         size="$content[tim2]" readonly class="member_normal"
36                                         value="$content[time]">&nbsp;{--_SECONDS--}
37                                 {--MEMBER_TIME_COUNTER_2--}</form>
38                                 </td>
39                         </tr>
40                         <tr>
41                                 <td height="4" class="seperator">&nbsp;</td>
42                         </tr>
43                 </table>
44                 </td>
45                 <td width="10" class="seperator">&nbsp;</td>
46                 <td align="center">
47                 <table border="0" cellspacing="0" cellpadding="0"
48                         class="member_banner dashed">
49                         <tr>
50                                 <td height="3" class="seperator">&nbsp;</td>
51                         </tr>
52                         <tr>
53                                 <td align="center">$content[banner]</td>
54                         </tr>
55                         <tr>
56                                 <td height="4" class="seperator">&nbsp;</td>
57                         </tr>
58                 </table>
59                 </td>
60                 <td width="10" class="seperator">&nbsp;</td>
61         </tr>
62 </table>
63 <script type="text/javascript">
64 <!--
65   document.confirm.counter.value = Timer;
66   Init();
67 //-->
68 </script>