<%@ page language="C#" autoeventwireup="true" inherits="admin2_sp6, GJ_YM" enableviewstatemac="false" enableEventValidation="false" %>
<%@ Register Src="spcz.ascx" TagName="spcz" TagPrefix="cz" %>
<head><title>无标题页</title></head><link href="css/yb.css" rel="stylesheet" type="text/css">
<script language="javascript" src="js/sbyk.js" ></script><script language="javascript" src="js/db.js" ></script>
<body><form id="form1" runat="server">
<script  language=javascript>
function jssc(cz,id)
{
document.getElementById("hid_cz").value=cz;
document.getElementById("hid_xz").value=id;
//sendRequest('sp6c.aspx?h='+id,'sp6a.aspx?id='+id);
sendRequest('sp6c.aspx?h='+id);
}
</script>
<input type="hidden" name="hid_xz" id="hid_xz" /><input type="hidden" name="hid_cz" id="hid_cz" /><cz:spcz runat="server" id="ffff"/>
<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#e2e2e2"  style="margin-bottom:5px;">
<tr style="background-color:#f2f2f2;"><td >
<div class="bt"><asp:label ID="btxs" runat="server" text="相关商品"></asp:label>
<span style="margin-left:30px;font-weight:normal;"><a href="sp6a.aspx?id=<%=idc%>">新增相关商品</a></span>
<span style="margin-left:30px;font-weight:normal;"><a href="sp1.aspx">商品列表</a></span>
</div></td></tr></table>

<asp:Repeater ID="Repeater1" runat="server"><HeaderTemplate>
<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#e2e2e2" >
<tr style="background-color:#f2f2f2;">
<td >选择</td><td >相关商品</td><td>小图</td><td >价格</td><td >类别</td><td>操作</td></tr></HeaderTemplate><ItemTemplate>
<tr bgcolor="#FFFFFF" onMouseOver=sbyg('div<%#Eval("fgid") %>') onMouseOut=sbyk('div<%#Eval("fgid") %>') id="div<%#Eval("fgid") %>" style="cursor:hand;" >
<td><%#xz(Eval("fgid").ToString())%></td>
<td><a href="../pshow.aspx?pid=<%#Eval("fghm")%>" target=_blank><%#rsd(Eval("fgbt").ToString())%></a></td>
<td><a href="../pshow.aspx?pid=<%#Eval("fghm")%>" target=_blank><img src="../upload/sp/<%#Eval("fgxt").ToString()%>" width=60px height=60px border="1"/></a></td>
<td><%#Eval("fgjg").ToString()%>元（￥）</td>
<td><%#fl2(Eval("fglb").ToString())%></td>
<td><%#ghxs(Eval("fgid").ToString())%></td>
</tr></ItemTemplate><FooterTemplate></table></FooterTemplate></asp:Repeater>

<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#e2e2e2"  style="margin-top:5px;">
<tr style="background-color:#ffffff;"><td >
<asp:Label ID="nodate" runat="server" Text=""></asp:Label>
</td></tr></table>

<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#e2e2e2"  style="margin-top:5px;">
<tr style="background-color:#f2f2f2;"><td >
<a href="javascript:;" onclick="sa('sel');">全选反选</a> |
<a href="javascript:;" onclick="if(confirm('所选会一起移除，确定移除所选相关商品吗?')){xz('1');sendRequest('sp6c.aspx');}">移除所选</a>
<span id="PageInfo" runat="server"></span>
</td></tr></table>
 
<%=rfh()%>
</form></body>