<%@ page language="C#" autoeventwireup="true" inherits="MessageResult, App_Web_flu4wwrf" enableEventValidation="false" %>

<%@ Register src="inc/PageHead.ascx" tagname="PageHead" tagprefix="uc1" %>
<%@ Register src="inc/PageSearchBox.ascx" tagname="PageSearchBox" tagprefix="uc2" %>
<%@ Register src="inc/PageFooter.ascx" tagname="PageFooter" tagprefix="uc3" %>
<%@ Register src="inc/NewsRight.ascx" tagname="NewsRight" tagprefix="uc4" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    
    <title>消息结果_<%= ConfigurationManager.AppSettings["app_name"] %>_<%= ConfigurationManager.AppSettings["app_domain"] %></title>
    <link href="/css/style.css" rel="stylesheet" type="text/css" />
    <link href="/css/front.css" rel="stylesheet" type="text/css" />
    <style type="text/css"></style>
    <script type="text/javascript" src="js/data.js"></script>
    <script type="text/javascript" src="/Js/jquery.js"></script>
    <script type="text/javascript" src="/Js/utils.js"></script>
    <script type="text/javascript" src="/Js/_effect.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="wrapper">
            <uc1:PageHead ID="PageHead1" runat="server" />
            
            <div class="body msgresult">
                <!-- 主要内容开始 -->
                <div class="bdy">
                    <div class="tit">消息结果</div>
                    <div class="bg">
                        <div class="cnt"><%= Request.QueryString["msg"] != null ? Request.QueryString["msg"] : "消息"%></div>
                        <div class="descr">请等待<span class="second">5</span>秒后系统会自动跳转到相应页面..</div>
                        <div class="btns">
                            <a href="<%= Request.QueryString["returnurl"] %>" class="hbtn" >确认并返回</a>
                        </div>
                    </div>
                </div>
                
                <!-- 主要内容结束 -->
                <uc3:PageFooter ID="PageFooter1" runat="server" />
            </div>
        </div>
    </form>
    
    <% if (Request.QueryString["returnurl"] != null)
       { %>
    <script type="text/javascript">
        var i=0;
        setInterval(function(){
            i++;
            if(i>=5){
                window.location = "<%= Request.QueryString["returnurl"] %>";
                return;
            }
            $(".second").text(5-i);
        },1000);
    </script>
    <%}else{ %>
        <script type="text/javascript">
            var i = 0;
            setInterval(function() {
                i++;
                if (i >= 5) {
                    history.back(-1);
                    return;
                }
                $(".second").text(5 - i);
            }, 1000);
    </script>
    <%} %>
</body>
</html>
