<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="noodles.News.index" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title><%if(Newsid==0){%>资讯首页<%}%><%else {%><%=NewsName() %><%}%>-<%=Title() %>-掌握天下资讯</title>
    <meta name="keywords" content="<%=Word()%>"  />
    <meta name="description" content="<%=Descr()%>"  />
    <link rel="icon" type="image/x-icon" href="<%=WebIco()%>" />
    <script src="../style/js/public/jquery-3.3.1.min.js"></script>
    <script src="../style/js/public/cookies.jquery.js"></script>
    <script src="../ckeditor/ckeditor.js"></script>
    <script src="../layui/layui.js"></script>
    <script src="../style/js/public/Base.js"></script>
    <script src="../style/js/public/NewsPinLun.js"></script>
    <link href="../layui/css/layui.css" rel="stylesheet" />
    <link href="../style/css/public/SoftBaseNews.css" rel="stylesheet" />
</head>
<body>
    <!--#include file="../include/header.html"-->
        <div class="navbar">
        <div class="wrap auto fix">
            <a href="/" class="nav-item ">首页</a>
            <a href="../Soft/index.aspx" class="nav-item">电脑软件</a>
            <a href="../App/index.aspx" class="nav-item">手机软件</a>
            <a href="../Game/index.aspx" class="nav-item">手机游戏</a>
            <a href="index.aspx" class="nav-item cur">资讯</a>
            <a href="../Rank/Soft.aspx" class="nav-item ">排行榜</a>            
        </div>
    </div>
 
    <div class="sub-navbar">
        <div class="wrap auto fix sub-navbar-inner">
            <a href="index.aspx" class="title">
                <i class="ico ico-3"></i>
                <em class="txt">资讯</em>
                <i class="u-b"></i>
            </a>
            <div class="links">
                
                <%=CateNews()%>
                
                
            </div>
        </div>
    </div>
 

    <%if (Newsid==0){%>

    <div class="page-news-idx">
        <div class="wrap auto">
            <div class="s-news-idx fix">
                <div class="m-news-main fix">
                    <div class="col-l">
                        <div class="fix mb30">
                            <div class="slide J_g_slide">
                                <div class="tempWrap">
                                    
                                    <ul class="inner J_slide_inner">

                                       <%=NewsLunbo() %>                                                                  
                                </ul></div>
                                <ul class="pos">
                                    <%=NewslunboTmd() %>

                                </ul>
                            </div>
   
                        </div>
                        <ul class="list">
                     <%=NewsCommon(5) %>

 
                        </ul>
                    </div>
                    <div class="col-r">
                        <div class="inner">
                            <div class="hot-tit">通知公告</div>
                            <a href="javascript:;" class="f5 J_refresh_news"></a>
                            <i class="u-line"></i>
                            <div class="news">
                                <i class="u-dashed"></i>
                                <div class="J_refresh_news_cont">

                                    <ul class="tab-cont-item" style="display: block;">
                               <%=NewsTongZhi(6) %>
 
                                    </ul>
                                </div>
                            </div>
                        </div>
                   
                    </div>
                </div>

              <div class="fix mb30">
                    <div class="col-l-w fl">

                        <ul class="m-news-list-tab J_news_list_tab" >
                            <li class="item cur">最新发布</li>
                            <%=CataTabName(1) %>
                            <%=CataTabName(2) %>
                            <%=CataTabName(3) %>
                            <%=CataTabName(4) %>
                            <%=CataTabName(5) %>
                            <%=CataTabName(6) %>
                        </ul>

                        <!--最新发布-->
                        <div  class="news_ajax_block">
                      <div class="hidden">
                            <ul>

                        <%=CataNameList() %>


                            </ul>
                                
                          </div>
                              <ul class="list-main">数据加载中，请稍后...</ul>
                            <div class="m-get-more"><a href="javascript:;" onClick="javascript:loadMore();" class="btn J_news_list_more">加载更多</a></div>
                        </div>

                        <!--电脑教程-->
                        <div class="news_ajax_block" style="display: none;">
                           <div class="hiddens">
                            <ul>

                            <%=NewsCateList(1) %>


                            </ul>
                                </div>
                            <ul class="list-mains">数据加载中，请稍后...</ul>
                            <div class="m-get-mores">
                            <a href="javascript:;" onclick="javascript:loadMores();" class="btn J_news_list_mores">加载更多</a></div>
                        </div>

                      <!--游戏教程-->
                        <div class="news_ajax_block" style="display: none;">
                            <div class="hiddenss">
                            <ul>

                              <%=NewsCateList(2) %>


                            </ul>
                            </div>

                            <ul class="list-mainss">数据加载中，请稍后...</ul>
                            <div class="m-get-moress">
                            <a href="javascript:;" onclick="javascript:loadMoress();" class="btn J_news_list_moress">加载更多</a></div>
                        </div>

                     <!--IT教程-->
                         
                        <div class="news_ajax_block" style="display: none;">
                            <div class="hiddensw">
                            <ul>

                               <%=NewsCateList(3) %>


                            </ul>
                                </div>
                            <ul class="list-mainsw">数据加载中，请稍后...</ul>
                            <div class="m-get-moresw">
                            <a href="javascript:;" onclick="javascript:loadMoresw();" class="btn J_news_list_moresw">加载更多</a></div>
                        </div>

                           <!--科技资讯-->
                        <div class="news_ajax_block" style="display: none;">
                            <div class="hiddensl">
                            <ul>

                               <%=NewsCateList(4) %>


                            </ul>
                            </div>
                            <ul class="list-mainsl">数据加载中，请稍后...</ul>
                            <div class="m-get-moresl">
                            <a href="javascript:;" onclick="javascript:loadMoresl();" class="btn J_news_list_moresl">加载更多</a></div>
                        </div>

                       <!--常见问题-->
                        <div class="news_ajax_block" style="display: none;">
                            <div class="hiddensq">
                            <ul>

                               <%=NewsCateList(5) %>


                            </ul>
                             </div>
                            <ul class="list-mainsq">数据加载中，请稍后...</ul>
                            <div class="m-get-moresq">
                            <a href="javascript:;" onclick="javascript:loadMoresq();" class="btn J_news_list_moresq">加载更多</a></div>
                        </div>


                         <!--通知公告-->
                        <div class="news_ajax_block" style="display: none;">
                            <div class="hiddensb">
                            <ul>

                               <%=NewsCateList(6) %>


                            </ul>
                            </div>
                            <ul class="list-mainsb">数据加载中，请稍后...</ul>
                            <div class="m-get-moresb">

                            <a href="javascript:;" onclick="javascript:loadMoresb();" class="btn J_news_list_moresb">加载更多</a></div>
                        </div>


                    </div>
      
                    <div class="col-r-w m-side-col">
                        <div class="g-title fix">
                            <h2 class="title-txt">热门资讯</h2>
                        </div>
                        <div class="m-rank u-dashed mb50">
                            <ul>
                                <%=NewsMood()%>

                            </ul>
                        </div>
                        <div class="hot-rank J_g_mouseover_tab">
                            <div class="g-title fix">
                                <ul class="g-tab sty-2 J_tab">
                                    <li class="tab-item cur">软件人气排行<i class="bot-arrow ui-bg"></i></li>
                                </ul>
                            </div>
                            <div class="m-rank u-dashed mb50 J_tab_cont">
                                <ul class="tab-cont-item" style="display: block">
                                   
                                    <%=DataMood() %>

                                </ul>
                            </div>
                        </div>
                    
                    </div>
                </div>
         
            </div>
          
        </div>
    </div>
  
 
    <script src="../style/js/public/NewsMore.js"></script>

    <%}%>
    <%else {%>
    <div class="page-news-art">
        <div class="wrap auto">
          <input type="hidden" id="hidQId" runat="server" />
            <!-- 资讯内容页 -->
            <div class="s-news-art fix">
                <div class="art-main col-l-w">
                    <div class="c-cur-pos">
                         <span class="pos-txt">当前位置：</span><a href="./" class="pos-link"><%=Title()%></a> &gt; <a href="News.aspx?Cataid=<%=NewsGoryCataId() %>" class="pos-link"><%=NewsGoryName() %></a> &gt; <span>详细页面</span>
                    </div>
                    <div class="art-title">
                        <h1 class="title"><%=NewsName() %></h1>
                        <p class="sub">
                            <span>编辑：<%=NewsEditor()%></span>
                            <span class="ml30">添加时间：<%=NewsTime() %></span>
                            <span class="ml30">来源于：<%=NewsSource()%></span>
                            <span class="m131" style="margin-left: 30px;">更新时间：<%=NewsTimes()%></span>
                            <span class="m131" style="margin-left: 30px;">浏览：<%=NewsMoods()%>次</span>
                        </p>
                    </div>
                    <div class="m-art-cont">
                        <%=NewsContent()%>
                    </div>
                    <div class="">
                        <ul class="m-news-opt fix">
                            <li class="opt-item">
                                <%=NewsPage() %>
                            </li>
                            <li class="opt-item ta-r">
                                <%=NewsNext() %>
                            </li>
                        </ul>
                    </div>
                    <div class="m-art-about">
                        <div class="g-title fix">
                            <h2 class="title-txt">常见问题</h2>
                        </div>
                        <ul class="g-dot-list m-about-recom ovh">
                           <%=NewsCommons(5) %>
                        </ul>
                    </div>
                    <div class="m-changyan">
                    <style>.input_box textarea {width: 738px !important;max-width: 798px !important;}</style>
                        <!--畅言-->
                        <div class="comment J_tab_cont" style="padding-left:0;padding-right:0;" id="mark">
	<div class="g-title border-blue mb25 fix" id="comment_anchor">
		<h2 class="title-txt">发表评论</h2>
		<p>共<span id="total_comment"><%=CommentCount()%></span>条</p>
	</div>
	<div class="default_input_box">
		<div class="comment_input default_input">
			<div class="input_box fl" style="width:800px">
				<textarea  id="Newsbody"  class="textarea" ></textarea>
				<div class="verification">
					<label>验证码</label>
					<div class="code">
						<input type="text" class="input_val" placeholder="请输入验证码"/>
						<canvas id="Cv_Code" width="120" height="40" style="margin-left:20px;margin-top:-10px;position: relative;top: 14px;"></canvas>
					</div>
				</div>
				<button id="submit" class="submit_comment">提交评论</button>
			</div>
		</div>
	</div>
	<div class="comment_list" id="comment_list"></div>
	<div class="on_earth">
		<i></i>
		<span>没有更多评论了</span>
		<i></i>
	</div>
 <div id="pager" style="text-align:center;margin-top: 54px;">
              </div>
</div>
                        <!--畅言-->
                    </div>
                </div>
                <div class="m-side-col col-r-w">                    
                    <div class="g-title fix">
                        <h2 class="title-txt">热门资讯</h2>
                    </div>
                    <div class="m-rank u-dashed mb40">
                        <ul>
                          
                        <%=NewsMoodRan()%>

                        </ul>
                    </div>
                    <div class="g-title fix">
                        <h2 class="title-txt">频道热点资讯</h2>
                    </div>
                    <div class="m-rank u-dashed mb40">
                        <ul>
                            <%=NewsCateRan() %>


                        </ul>
                    </div>


                </div>
            </div>
            <!-- / 资讯内容页 -->
        </div>
    </div>




    <%} %>

             <div class="footer">
       
             <div>
                 <div  style="margin-left:-950px;margin-bottom: -17px;margin-top:20px;">
                    友情链接： <%=Link()%>
                     </div>
                  <a href="../link.aspx" target="_blank" class="link-item" rel="nofollow" style="margin-right:-950px;margin-bottom: 15px;">申请友链</a>
             </div>
                
        

    <div class="wrap auto fix">
        <div class="footer-link mb15">
            <a href="../QuesTion.aspx?Clausesid=7" target="_blank" class="link-item" rel="nofollow">软件发布</a>|
            <a href="../QuesTion.aspx?Clausesid=2" target="_blank" class="link-item">关于我们</a>|
            <a href="../QuesTion.aspx?Clausesid=6" target="_blank" class="link-item" rel="nofollow"><font color="red">版权声明</font></a>|
            <a href="../QuesTion.aspx?Clausesid=9" target="_blank" class="link-item">网站帮助</a>|
            <a href="../QuesTion.aspx?Clausesid=4" target="_blank" class="link-item">联系我们</a>|
            <a href="../QuesTion.aspx?Clausesid=3" target="_blank" class="link-item">广告合作</a>|
            <a href="../Tort.aspx" target="_blank" class="link-item"><font color="red">侵权提交</font></a>
        </div>
    </div>
         <%=Footer()%>
</div>
               
</body>
</html>
