<%@ Page language="c#" Codebehind="ShopEval.aspx.cs" AutoEventWireup="true" Inherits="XpShop.Manage.ShopEval" %>
<!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>商家评论列表</title>
		<!--#include file="inc/head.inc"-->
		<script type="text/javascript" src="inc/PageBar.js"></script>
		<script type="text/javascript" src="inc/ShopEval.js"></script>
		<script type="text/javascript" src="inc/multi_popup.js"></script>
		<script type="text/javascript" src="inc/jquery.easydrag.handler.beta2.js"></script>
		<link type="text/css" rel="stylesheet" href="style/multi_popup.css" />
		<script src="inc/ui.datepicker.cn.js" type="text/javascript"></script>
		<link type="text/css" rel="stylesheet" href="style/ui.datepicker.css" />
        <script type="text/javascript">
            var reviewType = '<%=Request.QueryString["ReviewType"]%>';
            var isReload = false;//在ProductReviewDetail.aspx里面设置值
            $(document).ready(function(){
			    $('.popupClose').click(function(){
			        if(isReload){
			            $('#btnSearch').click();
			        }
			    });
			});
        </script>
		<style type="text/css">
		    .c1{width:5%;}
            .c2{width:40%;}
            .c3{width:20%;}
            .c4{width:10%;}
            .c5{width:10%;}
            .c6{width:5%;}
            .c7{width:5%;}
            .c8{width:5%;}
		</style>
	</head>
	<body>
	    <div class="container">
		    <div class="sub_container">
		    <div class="sub_container_title"><a href="<%=AdminDefault%>" target="_top">桌面</a><img src="images/admin_title.jpg" height=9px width=8px align="absmiddle" />商品评论列表</div>
		    <div class="sub_container_operation">
		        <table width="100%">
		            <tr>
			            <td>
				            <input type="button" id="btnDelete" name="btnDelete" value="删除选中项" class="inputbtn" />
			            </td>
			            <td>
			                搜索:
			                <select id="ddlSearchType">
			                    <option value="0">选择搜索条件</option>
			                    <option value="1">商家名称</option>
			                    <option value="2">评价人名称</option>
			                </select>
			                <input type="text" id="txtKeyword" />
			                时间:从<input type="text" id="txtStartTime" name="txtStartTime" size="15" />到<input type="text" id="txtEndTime" name="txtEndTime" size="15"/>
			                <input type="button" id="btnSearch" value="搜索" class="inputbtn" />
			            </td>
		            </tr>
		        </table>
		    </div>
		    <div class="sub_container_listhead" style="padding:0px;">
                <table cellSpacing="0" cellPadding="0" class="llist">
                    <tr id="listhead"><%--id="listhead不能少"--%>
	                    <th class="c8 center"><input type="checkbox" id="Checkbox1" name="chkAll" /></th>
	                    <th class="c1">ID</th>
	                    <th class="c2">评论标题</th>
	                    <th class="c3">被评商家</th>
	                    <th class="c4">评价人名称</th>
	                    <th class="c5">时间</th>
	                    <th class="c6">详细</th>                
	                    <th class="c7">删除</th>
	                </tr>
                </table>
            </div>
		    <div class="sub_container_content" style="padding:0px;">
			    <table id="datas" cellSpacing="0" cellPadding="0" class="llist">
				    <tr id="template" style="display:none;"><%--id="template"不能少--%>
					    <td class="c8 ccenter" id="checkbox"></td>
					    <td class="c1 ccenter" id="ID"></td>
					    <td class="c2" id="Title"></td>
					    <td class="c3 ccenter" id="SupplierName"></td>
					    <td class="c4 ccenter" id="MemberName"></td>
					    <td class="c5 ccenter" id="AddTime"></td>
					    <td class="c6 ccenter" id="Detail"></td>
					    <td class="c7 ccenter" id="Delete"></td>
				    </tr>
			    </table>
		    </div>
		    <div class="sub_container_page" id="pageDataList1_Pager"><!-- 翻页--><!-- 翻页结束--></div>
		    </div>
		</div>
        
        <div id="popupContact" class="popupContact"  style="z-index:2; width:800px; height:90%;">
            <div id="popupHead" class="popupHead">
                <div class="popupTitle">查看商家评论</div>
                <div class="popupClose" id="popupContactClose" title="关闭">关闭</div>
                <div style="clear:both;"></div>
            </div>
            <div style="position:relative; text-align:center;">
                <div>
                    <iframe id="frmdetail" src="#" frameborder="0" style=" width:100%; height:450px;"></iframe>
	            </div>
                <div style="clear:both; text-align:center;"><a class="hand popupClose">保存</a></div>
            </div>
        </div>
        <div id="backgroundPopup" class="backgroundPopup"></div>
	</body>
</html>
