bhq@iemsoft.cn
2018-11-27 e2b48dac099e43f4b3243cdf19a7522e4b5eccbe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{include file="pageheader.htm"}
<div class="list-div1">
  <div style="background:#ffffff; padding: 20px 50px; margin: 2px;">
    <table align="center" width="400" border="0" style="background:#FFF;">
      <tr>
        <td width="50" valign="top">
          {if $msg_type==0}
          <img src="images/information.gif" width="32" height="32" border="0" alt="information" />
          {elseif $msg_type eq 1}
          <img src="images/warning.gif" width="32" height="32" border="0" alt="warning" />
          {else}
          <img src="images/confirm.gif" width="32" height="32" border="0" alt="confirm" />
          {/if}
        </td>
        <td style="font-size: 14px; font-weight: bold">{$msg_detail}</td>
      </tr>
      <tr>
        <td></td>
        <td id="redirectionMsg">
          {if $auto_redirect}{$lang.auto_redirection}{/if}
        </td>
      </tr>
      <tr>
        <td></td>
        <td>
          <ul style="margin:0; padding:0 10px" class="msg-link">
            {foreach from=$links item=link}
            <li><a href="{$link.href}" {if $link.target}target="{$link.target}"{/if}>{$link.text}</a></li>
            {/foreach}
          </ul>
 
        </td>
      </tr>
    </table>
  </div>
</div>
{if $auto_redirect}
<script language="JavaScript">
<!--
var seconds = 3;
var defaultUrl = "{$default_url}";
 
{literal}
onload = function()
{
  if (defaultUrl == 'javascript:history.go(-1)' && window.history.length == 0)
  {
    document.getElementById('redirectionMsg').innerHTML = '';
    return;
  }
 
  window.setInterval(redirection, 1000);
}
function redirection()
{
  if (seconds <= 0)
  {
    window.clearInterval();
    return;
  }
 
  seconds --;
  document.getElementById('spanSeconds').innerHTML = seconds;
 
  if (seconds == 0)
  {
    window.clearInterval();
    location.href = defaultUrl;
  }
}
//-->
</script>
{/literal}
{/if}
{include file="pagefooter.htm"}