<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="news.aspx.cs" Inherits="TW.UI.news" %>

<!DOCTYPE html>
<html>
<head lang="en">
	
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv=X-UA-Compatible content=IE=EmulateIE9 />
<script type="text/javascript" src="/static/card/js/configweb.js"></script>
	<title>新闻公告中心_<%=config.SiteName %></title>
	<link rel="stylesheet" href="/static/card/css/public.css" />
    <link rel="stylesheet" href="/static/card/css/service.css" />
    <link rel="stylesheet" href="/static/card/css/bootstrap.pagination.css" />
    <link rel="stylesheet" type="text/css" href="/images/page.css">
    <script type="text/javascript" src="/static/card/js/jquery-1.11.3.js"></script>
    <script type="text/javascript" src="/static/card/js/tools.js"></script>
    <script type="text/javascript" src="/static/card/js/jquery.twbsPagination.js"></script>
    <script type="text/javascript">
        $(function () {
            pagelist("zngg", 1);
            pagelist("cpgg", 1);
            pagelist("news", 1);
            $(".notice-nav-a").click(function () {
                $(this).addClass("notice-nav-a-cur").siblings().removeClass("notice-nav-a-cur");
                $(".notice-div").eq($(this).index()).show().siblings(".notice-div").hide();
            });
        });
        function pagelist(type, page) {
            $.ajax({
                type: "post",
                url: "?act=page&type=" + type + "&page=" + page,
                dataType: "html",
                timeout: 60 * 1000,
                success: function (data) {
                    var ary = data.split("|||||");
                    $("#" + type + "pager").html(ary[0]);
                    $("#" + type + "list").html(ary[1]);
                }
            });
        }
    </script>
</head>

<style type="text/css">
.notice-nav{    height: 51px;
    line-height: 51px;
    font-size: 14px;
    border: 1px solid #b3b3b3;
    border-top: 5px solid #ea4444;}
.notice-nav .notice-nav-a{
	width:80px;
	text-align:center;    
}
.notice-nav .notice-nav-a:hover{text-decoration:none;}
.notice-nav .notice-nav-a-cur{
      background: #ea4444;
    color: #fff;
}
.notice .content-wrap{border-top:0;    height: 463px;}
</style>
<body>
<TW:Header ID="Header1" runat="server" />
<div class="content">
    <div class="container clearfix">
        <div class="news-wrap pull-left notice">
            <div class="head-title">公告</div>
            <div class="notice-nav"><a href="javascript:;" class="notice-nav-a pull-left notice-nav-a-cur">站内公告</a><a href="javascript:;" class="notice-nav-a  pull-left">产品公告</a></div>
            <div class="notice-div">
	            <div class="content-wrap">
	              <ul id="zngglist">
                  </ul>
	            </div>           
	            <div class="text-right" id="znggpager">
	                
	            </div>
            </div>
            
            <div class="notice-div" style="display:none">
             <div class="content-wrap">
	            <ul id="cpgglist">
                </ul>
            </div>            
            <div class="text-right" id="cpggpager">
                
            </div>
            </div>
        </div>
        <div class="news-wrap pull-right">
            <div class="head-title">新闻</div>
            <div class="content-wrap">
	            <ul id="newslist">
                </ul>
            </div>
            <div class="text-right" id="newspager">
            
            </div>
        </div>
       
    </div>
</div>
<TW:Footer ID="Footer1" runat="server" />
</body>
</html>

