{include file="pageheader.htm"}
<div class="list-div">
  <div style="background:#FFF; padding: 20px 50px; margin: 2px;">
    <table align="left">
      <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}如果您不做出选择,将在<span id="spanSeconds">3</span>秒后跳转到第一个链接地址.{/if}
        </td>
      </tr>
      <tr>
        <td></td>
        <td align="left">
          <ul style="margin:0; padding:0 10px" class="msg-link">
            {foreach from=$links item=link}
            <li><a href="{$link.href}">{$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}
{if $top_refresh}

<script type="text/javascript">

{literal}

var xmlHttp;

function createXMLHttpRequest() {
if (window.ActiveXObject) {
xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
}
else if (window.XMLHttpRequest) {
xmlHttp = new XMLHttpRequest();
}
}


createXMLHttpRequest();

var url = "channel_category.php?action=refresh";
xmlHttp.open("GET", url, true);

xmlHttp.onreadystatechange = goCallback;
xmlHttp.send(null);


function goCallback() {
if (xmlHttp.readyState == 4) {
if (xmlHttp.status == 200) {

var ff=xmlHttp.responseText;

var arr = ff.split('<!@!>')

window.top.k();
window.top.document.getElementById('ddtopmenubar').innerHTML=arr[0];
window.top.document.getElementById('ddsubmenuall').innerHTML=arr[1];

window.top.reloadDdlevelsmenu();
}
}
}



{/literal}

</script>


	<script>
	// window.top.document.getElementById('ddtopmenubar').innerHTML='aa';
	//window.top.frames['header-frame'].document.location.reload();</script>
{/if}
{if $all_refresh}

	<script>
	window.top.location.reload();
	//window.parent.frames["header-frame"].location.reload();
	//window.parent.frames["menu-frame"].location.reload();
	//window.parent.frames["drag-frame"].location.reload();
	//window.opener.location.reload();
	</script>

{/if}
{include file="pagefooter.htm"}