<%@ Page Language="C#" AutoEventWireup="true" Inherits="EoyooCMS.ManageCode.Content_DownLoadReview" %>

<!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>
    <title>[ <%=naviname %> ] - 下载评论</title>
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Cache-Control" content="no-cache" />
    <meta http-equiv="Expires" content="0" />
   <script type="text/javascript" src="Script/Jquery.js"></script>
    <script type="text/javascript" src="Script/Common.js"></script>
    <script type="text/javascript" src="Script/Content_DownLoadReview.js"></script>
    <link href="Style/Iframe.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="wrapper-div">    
	<!-- 评论列表管理 -->
        <!-- 标 -->
            <div class="title-tab">
            <div class="title"><span class="title-ico titico11 F B"><%=naviname %> - <span class="V NoB">下载评论</span></span></div>
            <ul class="menu">
                <li><a class="<%=sift=="all"?"active":"" %>" href="<%=getFormUrl %>?sift=all&naviid=<%=naviid %>&naviname=<%=naviname %>&membername=<%=membername %>&key=<%=key %>"><span>全部</span></a></li>
                <li><a class="<%=sift=="0"?"active":"" %>" href="<%=getFormUrl %>?sift=0&naviid=<%=naviid %>&naviname=<%=naviname %>&membername=<%=membername %>&key=<%=key %>"><span>未审核</span></a></li>
                <li><a class="<%=sift=="1"?"active":"" %>" href="<%=getFormUrl %>?sift=1&naviid=<%=naviid %>&naviname=<%=naviname %>&membername=<%=membername %>&key=<%=key %>"><span>已审核</span></a></li>
            </ul>            
            </div>
        <!-- end 标 -->
        
         <div class="clear-8"></div>
                     <span class="tbox_form"><label class="topname">会员用户名：</label><input type="text" id="s_memberName" value="<%=membername %>" class="input162 f_left m_right6" /></span>
            <span class="tbox_form"><label class="topname">关键字：</label><input type="text" id="s_key" value="<%=key %>" class="input162 f_left m_right6" /></span>
            <a href="<%=getFormUrl %>?sift=<%=sift %>&naviid=<%=naviid %>&naviname=<%=naviname %>" id="serach_Btn" class="bule-btn W text_centent f_left">条件查询</a>
                <p class="PageBox">
                    <%=getPagesInfo %>
                </p>
        <div class="clear-8"></div>
        <!-- 通用table -->
                <table class="table-1">
        	<thead>
            	<tr>
                    <th width="30%" class="text_left">评论人</th>
                	<th width="50%" class="text_left" >评论内容</th>
                    <th width="12%" class="text_center" >时间</th>
                    <th width="8%">操作</th>
                </tr>
            </thead>
            <tbody id="Jquery_Tbody">
            <%if (_reviewListDat.Rows.Count > 0) %>
            <%{ %>
                <%foreach (System.Data.DataRow dat in _reviewListDat.Rows) %>
                <%{ %>
            	<tr>
                    <td class="text_left">
                    	<span class="H B"><%=dat["nickname"].ToString()%></span> 
                        <%if (dat["membername"].ToString()!="") %>
                        <%{ %>
                            (会员:<%=dat["membername"].ToString()%>)
                        <%} %>
                        <span class="F">[<%=getIpCity(dat["ip"].ToString())%>]</span> <span class="X Size9"><%=dat["ip"].ToString()%></span><br />
                         <span class="V">下载：<%=EoyooCMS.Common.StringPlus.StrCut(dat["title"].ToString(),60,"...")%> </span><br />
                         <span class="X">浏览器[ <%=dat["browser"].ToString()%> ] 操作系统 [ <%=dat["os"].ToString()%> ]</span>
                         
					</td>
                	<td class="text_left">
                        <span class="V"><%=cutText(dat["content"].ToString(), 36, "...")%></span> <a class="R" rev="<%=dat["content"].ToString() %>" rel="showAllContent" href="#">[显示全部]</a>
                    </td>
                    <td>
                    	<span class="G">(<%=getTime1(dat["addtime"].ToString())%>)</span><br />
                            <span class="V Size9"><%=getTime2(dat["addtime"].ToString())%></span>
                    </td>
                    <td>
                        <%if (dat["isaudit"].ToString() == "True") %>
                        <%{ %>
                        <a href="0" title="<%=dat["title"].ToString() %>" rel="audit" rev="<%=dat["id"].ToString() %>" nickname="<%=dat["nickname"].ToString() %>" class="Q underline">[取消审核]</a>
                        <%}else{ %>
                        <a href="1" title="<%=dat["title"].ToString() %>"  rel="audit" rev="<%=dat["id"].ToString() %>" nickname="<%=dat["nickname"].ToString() %>" class="F underline">[审核]</a>
                        <%} %>
                        <br />
                        <a href="<%=dat["id"].ToString() %>" title="<%=dat["title"].ToString() %>" rel="del" nickname="<%=dat["nickname"].ToString() %>" class="R underline">[删除]</a>
                    </td>
                </tr>
                <%} %>
            <%}else{ %>
            <tr>
            <td  colspan="4" class="text_left"><span class="V">暂无评论</span></td>
            </tr>
            <%} %>
            </tbody>
        </table>
        <!-- end 通用table -->
        <div class="clear-8"></div>
        <p class="PageBox">
            <%=getPagesInfo%>
        </p>
        <div class="clear-8"></div>
    <!-- end 评论列表管理 -->
</div>

</body>
</html>
