<%@ page language="C#" autoeventwireup="true" inherits="admin2_sp6a, 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="sp6.aspx?id=<%=idc%>">已选择相关商品</a></span>
<span style="margin-left:30px;font-weight:normal;"><a href="sp1.aspx">商品列表</a></span>
</div></td></tr></table>

<table width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#e2e2e2"  style="margin-bottom:5px;">
<tr style="background-color:#ffffff;"><td >
<a href="sp6a.aspx?id=<%=idc%>">所有商品</a>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
<asp:Button ID="Button1"  runat="server" Text="搜索" OnClick="Button1_Click" />
</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 nowrap="nowrap">选择</td><td >编号</td><td >名称</td><td >小图</td><td >分类</td><td nowrap="nowrap">市场价</td><td nowrap="nowrap">商城价</td>
</tr></HeaderTemplate><ItemTemplate>
<tr bgcolor="#FFFFFF" onMouseOver=sbyg('div<%#Eval("fpid") %>') onMouseOut=sbyk('div<%#Eval("fpid") %>') id="div<%#Eval("fpid") %>" style="cursor:hand;" >
<td><%#xz(Eval("fpid").ToString())%></td>
<td><%#wordd(rsd(Eval("fpbh").ToString()))%></td>
<td><a href="../pshow.aspx?pid=<%#Eval("fpid")%>" target=_blank><%#rsd(Eval("fpbt").ToString())%></a></td>
<td><a href="../pshow.aspx?pid=<%#Eval("fpid")%>" target=_blank><img src="../upload/sp/<%#Eval("fpxt").ToString()%>" width=60px height=60px border="1"/></a></td>
<td nowrap="nowrap"><a href="sp6a.aspx?lb=<%#Eval("fpfl")%>&id=<%=idc%>"><%#fl(Eval("fpfl").ToString())%></a></td>

<td>
<span style="text-decoration:line-through; color:Gray;" >￥<%#Eval("fpjg")%></span>
</td>

<td>￥<%#Eval("fpscj")%></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="xz('4');sendRequest('sp6c.aspx?h=<%=idc%>','sp6.aspx?id=<%=idc%>');">确定所选</a>
<span id="PageInfo" runat="server"></span>
</td></tr></table>
 
<%=rfh()%>
</form></body>