<%@ Page Language="C#" AutoEventWireup="true" debug="true" Inherits="WinLibClass.Form.Admin.UserPicNote.List"  CodePage="65001" PathLevel="1" PageFileFlag="UserPicNote_List" PageFileTitle="晒图信息" DataBindingType="1" PageFlagId="1" %>

<%@ Register TagPrefix="Site" TagName="Menu" Src="../WUC/Site_Menu.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<Site:Menu id="menu_headtitle" runat="server" Flag="HeadTitle" CurrentPageTitle = "晒图信息" />
<Site:Menu id="menu_headjs" runat="server" Flag="HeadJs" PathLevel="1" />
<Site:Menu id="menu_headcss" runat="server" Flag="HeadCss" PathLevel="1" />
<script type="text/javascript" src="/PaiPaiJS/UserPicNoteShow.js?t=2010"></script>
<script type="text/javascript" src="../js/PointSettingLog.js?t=2010"></script>


<script>
//增加
function Edit_PointSettingLogInfo(id,_vid,_gt,_uid)
{	
//访问类型,AJAX路径,数据JSON,弹出框ID,弹出框标题,等执行的函数名;
var _url="../PointSettingLog/update2.aspx?IsAdd=0";//RuleType
var _data = {"VendueId":_vid,"GameType":_gt,"UserID":_uid,"_dlgId":"<%=PageFileFlag%>_Points"};	
Common.EditFunction("POST",_url,_data,"<%=PageFileFlag%>_Points","点/积分赠送设置","UpdateData");	
//将本行设置为选中颜色
SetActive(id);	
}

//编辑
function Edit_Info(id)
{
//访问类型,AJAX路径,数据JSON,弹出框ID,弹出框标题,等执行的函数名;
var _url="update.aspx?IsAdd=0";
var _data = {"id":id};	
Common.EditFunction("POST",_url,_data,"<%=PageFileFlag%>","<%=PageFileTitle%>:编辑","SaveInfoSub");	
//将本行设置为选中颜色
SetActive(id);
}


//删除
function Del_Info(id)
{
//弹出框ID,标题，内容，删除程序执行路径，参数表
var _url =  "update.aspx?IsAdd=3";
var _data ={"id":id};
Common.ConfirmDelete2 ("POST",_url,_data,"<%=PageFileFlag%>","删除确认","",true);
SetActive(id);	
}
//11:43 2010-9-29
$(document).ready(function(){
//	client_SetPageNo(<%=intPageNo%>);//记录页码
});


</script>


</head>
<body>

<Site:Menu id="menu_topmenu" runat="server" Flag="TopMenu"  />
<div class1="wrap" id="wrap">
	<Site:Menu id="Wuc_LeftMenu" runat="server" Flag="LeftMenu" PageFileFlag="Menu_A_800_801" PathLevel="1" />	
	<div class1="mainbox" class="MainBox W1100 ">
		<div class="PGTitle LH30 ">
			<div class="W200 FL MGL10 FWB FS12"><%=PageFileTitle%></div>
			<div class="ChileMenu1 FL FS12">
			</div>
			<div class="Clear"></div>
		</div>
		<div class="ContBox MGT10 " >

<table class="Table FS12 ">

<tr style="height:30px;font-weight: bold;">
<TH style="width:30px">序号</TH>
<TH style="width:250px">拍品信息</TH>
<TH style="width:100px">竞拍者/保价者</TH>

<TH >感言</TH>
<TH style="width:100px">后台审核状态</TH>
<TH style="width:60px">类型</TH>
<TH style="width:100px">奖励点值/积分</TH>
<TH style="width:80px">晒图</TH>
<TH style="width:80px">操作</TH>
</tr>

<asp:Repeater id="rpList" runat="server">
<ItemTemplate>

<tr id="tr_<%#Eval("id")%>">
		<td><%#Eval("id")%></TD>
		<TD><%#Eval("ProductName")%>(拍品号:<%#Eval("VendueId")%>)</td>
		<td><%# (Eval("UserNickName"))%></td>
		<td title="<%#Eval("TextA")%>"><%#DV.Eval(Eval("TextA"),30,"..")%></td>
		<td style="font-family:宋体;font-weight:bold;"><%#Eval("IsChecked").Equals(1)?"<font color='green' title='允许前台公开'>√</font>":"<font color='red' title='禁止前台公开'>×</font>"%></td>
		<td><%# GetOrderFormTypeName(Eval("OrderFormType"))%></td>
		<td><a onclick="Edit_PointSettingLogInfo(<%#Eval("id")%>,<%#Eval("Vendueid")%>,<%#Eval("GameType")%>,<%#Eval("UserId")%>)">查看/处理</a></td>
		<td style="text-align:center"> 
			<a href="javascript:" onclick="UserPicNoteShow_PicManage(<%#Eval("Vendueid")%>,<%#Eval("GameType")%>,<%#Eval("OrderFormType")%>)">查看/处理</a>
		</td>		
		
		<td>
			<A onclick="Edit_Info('<%#Eval("id")%>');" >编辑</A>
			<A  onclick="Del_Info('<%#Eval("id")%>');" >删除</A>
		</td>
</tr>
</ItemTemplate>
</asp:Repeater>
</table>
		</div>
		<div class="ContBox" >
			<div class="page" style="margin-left:-13px;"><%=strPageInfo%>  -  <a href="#"onclick="Edit_Info();return false;"  class="A_Add">添加</a> 
			</div>
		</div>
	</div>
</div>


<div class="clear"></div>
<Site:Menu id="menu_foot" runat="server" Flag="Foot"   />
</body>
</html>
