<%@ page language="C#" autoeventwireup="true" inherits="news_index, ZKCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register TagName="meta" TagPrefix="UC" Src="~/s/include/meta.ascx" %>
<%@ Register TagName="head" TagPrefix="UC" Src="~/s/include/head.ascx" %>
<%@ Register TagName="tip_bar" TagPrefix="UC" Src="~/s/include/tip_bar.ascx" %>
<%@ Register TagName="foot" TagPrefix="UC" Src="~/s/include/foot.ascx" %>
<!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 runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title><%=ZK.config("newstitle")%><%=ZK.config("sitetitle") %></title>
    <meta name="keywords" content="<%=ZK.config("newskeywords") %>" />
    <meta name="description" content="<%=ZK.config("newsdescription") %>" />
    <UC:meta ID="meta1" runat="server" />
</head>
<body>
    <div class="wrap">
        <a name="pagetop" id="pagetop"></a>
        <UC:head ID="head1" runat="server" />
        <div class="box">
            <div class="mt5"><!--#include file="~/s/gg/AD_news_banner1.html"--></div>
        </div>
        <UC:tip_bar ID="tip_bar1" runat="server" />
        <form id="form1" runat="server">
        <asp:Literal ID="JS1" runat="server"></asp:Literal>
        <div class="box">
            <div class="hto mt5">
                <div class="fl" style="width: 670px">
                    <div class="hto">
                        <div class="fl" style="width: 275px">
                            <div class="slide"><div id="self_slidetitletext" style="display:none"></div><div id="self_slidetitletext_bg"></div><asp:Literal ID="Literal_Slide" runat="server"></asp:Literal></div>                           
                            <div class="c2 mt5">
                                <div class="b">
                                    <div class="fl"></div>
                                    <div class="con">近期排行</div>
                                    <div class="fr"></div>
                                    <div class="clear"></div>
                                </div>
                                <div class="v">
                                    <div class="s1">
                                        <%=ZK.getInfoList1(10, "3", 40, WMcompare.IsEqual(ZK.configDataType(), "1", "and datediff(d,time,getdate())<=7", "and datediff('d',time,now())<=7"), "order by click desc,time desc,id desc", false, false, "", "<div class=\"red\" style=\"height:240px\">No data!</div>", "_blank", true)%>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="fr" style="width: 390px">
                            <div class="c2">
                                <div class="v" style="border-top-width: 1px; padding-top: 6px;-moz-border-radius: 5px;-webkit-border-radius:5px;border-radius: 5px;">
                                    <style type="text/css"> #self_slidetitletext{font-size:14px;height:35px;line-height:36px;background-color:transparent;position:absolute;z-index:2;width:271px;overflow:hidden;font-weight:bold;}#self_slidetitletext_bg{background-color:#000;filter:Alpha(Opacity=40);-moz-opacity:0.4;opacity:0.4;position:absolute;z-index:1;height:35px;width:271px;}#self_slidetitletext a{padding:0 4px 0 7px;color:#fff;display:block;}#self_slidetitletext a:hover{color:#fff;text-decoration:none;}.self_x1{padding:0px 5px;font-size:24px;line-height:30px;overflow:hidden;height:30px;text-align:center;word-wrap:break-word;word-break:break-all;}.self_x1 a{font-family:"Microsoft YaHei","黑体",Verdana,Arial,Helvetica,sans-serif;color:#f60;}.self_x1 a:hover{color:#ff6600;}.self_x2{padding-top:3px;padding-left:12px;padding-bottom:4px;}.self_x2 li{line-height:26px;height:26px;font-size:14px;background-image:url(/skin/public/dian.jpg);background-position:0px 10px;background-repeat:no-repeat;padding-left:10px;overflow:hidden;word-wrap:break-word;word-break:break-all;}.self_x2 li a{color:#333;}.self_x2 li a font{font-size:14px;}.self_x2 li a:hover,.self_x2 li a:hover font{color:#f60;}</style>
                                    <div class="s1 self_x1">
                                        <asp:Literal ID="LiteralTopNews" runat="server"></asp:Literal>
                                    </div>
                                    <div class="self_x2">
                                        <asp:Literal ID="LiteralMainNews" runat="server" Text="#3"></asp:Literal>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="clear"></div>
                    </div>
                </div>
                <script type="text/javascript">                            
                    function slideshowtitletext(){                      
                        var arr1=document.getElementById("mainslidePic").getElementsByTagName("li");
                        var arr2=document.getElementById("mainslideNum").getElementsByTagName("li");
                        var on="";for(var i=0;i<arr2.length;i++){if(arr2[i].className=="on")on=""+i+"";}
                        document.getElementById("self_slidetitletext").innerHTML="<a href=\""+arr1[on].childNodes[0].href+"\" target=\"_blank\">"+(arr1[on].childNodes[0].childNodes[0].alt).substring(0,30)+"</a>";
                    }
                    document.getElementById("self_slidetitletext").style.display="";setInterval(slideshowtitletext,500);   
                </script>
                <div class="fr" style="width: 275px">
                    <div class="c2">
                        <div class="b">
                            <div class="fl"></div>
                            <div class="con">活动推广</div>
                            <div class="fr"></div>
                            <div class="clear"></div>
                        </div>
                        <div class="v">
                            <div class="s2"><!--#include file="~/s/include/public_activitytxt.html" --></div>
                            <div class="flow mt5" style="width: 255px; height: 114px; margin-left: 9px"><!--#include file="~/s/include/public_activityslide.html" --></div>
                            <div class="convenience_nav"><ul><!--#include file="~/s/include/public_conveniencenav.html" --></ul><div class="clear"></div></div>
                        </div>
                    </div>
                </div>
                <div class="clear"></div>
            </div>
        </div>
     <div class="box">
            <div class="c3 mt5">
                <div class="b">
                    <div class="fl"></div>
                    <div class="con">图片新闻</div>
                    <div class="fr"><a href="/news/pic.htm?classid=0" target="_blank">更多图片</a></div>
                    <div class="clear"></div>
                </div>
                <div class="v">
                    <style type="text/css">#scrollMarqueBox1{padding-top:8px;padding-left:4px;padding-right:4px}#scrollMarqueBox1 div div{height:162px;overflow:hidden}#scrollMarqueBox1 div div td{text-align:center;width:20%}#scrollMarqueBox1 div div td img{width:163px;height:120px;display:block;margin-bottom:5px;padding:4px;border:solid 1px #ccc;margin-left:5px;margin-right:5px}#scrollMarqueBox1 div div td a{color:#333}#scrollMarqueBox1 div div td a:hover{color:#f60}#scrollMarqueBox1 div div td .flow{height:20px;display:block}</style>
                    <div id="scrollMarqueBox1" style="height: 162px; overflow: hidden">
                        <div id="scrollMarqueCon1" style="overflow: hidden"><asp:Literal ID="PicsNews" runat="server"></asp:Literal></div>
                    </div>

                    <script type="text/javascript">
                        var scrollMarqueArr1=document.getElementById("scrollMarqueCon1").getElementsByTagName("div");
                        if(scrollMarqueArr1.length>0){
                            document.getElementById("scrollMarqueCon1").innerHTML="<div>"+scrollMarqueArr1[scrollMarqueArr1.length-1].innerHTML+"</div>"+document.getElementById("scrollMarqueCon1").innerHTML;var scrollMarqueHeight1=162*scrollMarqueArr1.length;
                            setInterval("scrollMarqueUP(162,scrollMarqueHeight1,document.getElementById('scrollMarqueBox1'),18)", 10);
                            setInterval("scrollMarqueDS(162,scrollMarqueHeight1,document.getElementById('scrollMarqueBox1'),18)",5000);
                        }
                    </script>

                </div>
            </div>
        </div>
        <div class="box">
            <div class="c3 mt5">
                <div class="b">
                    <div class="fl"></div>
                    <div class="con">资讯中心</div>
                    <div class="fr"></div>
                    <div class="clear"></div>
                </div>
                <div class="v">                   
                    <div class="groupnews">
                        <asp:Literal ID="Literal_GroupNews" runat="server"></asp:Literal>
                        <div class="clear"></div>
                    </div>
                </div>
            </div>        
        </div>
            <div class="box"><%=ZK.config("newscodeclips1") %></div>
        </form>
        <UC:foot ID="foot1" runat="server" />
    </div>
</body>
</html>
