-<SCRIPT language="JavaScript" type="text/javascript">
+<script type="text/javascript">
<!--
-var Timer = "{--_TIME_VALUE!}";
+var timer = "$content[time]";
-function Init() {
- var Counter = window.setInterval("StartCounter()", 1000);
+function init() {
+ var Counter = window.setInterval("startCounter()", 1000);
}
-function StartCounter() {
- if (Timer < 1) {
+function startCounter() {
+ if (timer < 1) {
return false;
}
- Timer--;
- document.confirm.counter.value = Timer;
- if (Timer == 0) {
- document.location.href="{!URL!}/mailid_top.php?uid={!_UID_VALUE!}&{!_TYPE_VALUE!}={!_DATA_VALUE!}&mode=confirm&code={--_RAND_VALUE!}";
+ timer--;
+ document.confirm.counter.value = timer;
+ if (timer == 0) {
clearInterval(Counter);
+ document.location.href = '{%url,js=mailid_top.php?userid=$content[userid]&$content[type]=$content[data]&do=confirm&code=$content[rand]%}';
}
}
//-->
-</SCRIPT>
-<TABLE border="0" cellspacing="0" cellpadding="0"
- class="member_mailidtop">
- <TR>
- <TD width="10" class="seperator"> </TD>
- <TD width="220" align="center">
- <TABLE border="0" cellspacing="0" cellpadding="0" width="200"
- class="member_confirm dashed">
- <TR>
- <TD height="3" class="seperator"> </TD>
- </TR>
- <TR>
- <TD align="center">
- <FORM name="confirm" style="margin-top: 0px; margin-bottom: 0px">
- {--MEMBER_TIME_COUNTER_1--} <INPUT type="text" name="counter"
- size="{--_TIM2_VALUE!}" readonly class="member_normal"
- value="{--_TIME_VALUE!}"> {--SECS--}
- {--MEMBER_TIME_COUNTER_2--}</FORM>
- </TD>
- </TR>
- <TR>
- <TD height="4" class="seperator"> </TD>
- </TR>
- </TABLE>
- </TD>
- <TD width="10" class="seperator"> </TD>
- <TD align="center">
- <TABLE border="0" cellspacing="0" cellpadding="0"
- class="member_banner dashed">
- <TR>
- <TD height="3" class="seperator"> </TD>
- </TR>
- <TR>
- <TD align="center">{--_TEMPLATE_BANNER--}</TD>
- </TR>
- <TR>
- <TD height="4" class="seperator"> </TD>
- </TR>
- </TABLE>
- </TD>
- <TD width="10" class="seperator"> </TD>
- </TR>
-</TABLE>
-<SCRIPT language="JavaScript" type="text/javascript">
+</script>
+<table border="0" cellspacing="0" cellpadding="0" class="mailid_table">
+ <tr>
+ <td width="220" align="center">
+ <table border="0" cellspacing="0" cellpadding="0" class="form_submit dashed">
+ <tr>
+ <td align="center">
+ <form accept-charset="UTF-8" name="confirm" style="margin-top: 0px;margin-bottom:0px">
+ {--MEMBER_TIME_COUNTER_1--}
+ <input type="text" class="form_field" name="counter" size="$content[tim2]" readonly="readonly" value="$content[time]" />
+ {--MEMBER_TIME_COUNTER_2--}
+ </form>
+ </td>
+ </tr>
+ </table>
+ </td>
+ <td align="center">
+ <div class="banner dashed">
+ $content[banner]
+ </div>
+ </td>
+ </tr>
+</table>
+<script type="text/javascript">
<!--
- document.confirm.counter.value = Timer;
- Init();
+document.confirm.counter.value = timer;
+init();
//-->
-</SCRIPT>
\ No newline at end of file
+</script>