<%@ page language="C#" autoeventwireup="true" inherits="admin2_sp1, GJ_YM" enableviewstatemac="false" enableEventValidation="false" %>
<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">
<input type="hidden" name="hid_xz" id="hid_xz" /><input type="hidden" name="hid_cz" id="hid_cz" />
<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="sp1a.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="sp1.aspx">所有商品</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 align=center nowrap="nowrap">精/新/热/降</td><td nowrap="nowrap">市场/商城价</td>
<td nowrap="nowrap">点击/库存</td><td nowrap="nowrap">购物券</td><td>操作</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><a href="../pshow.aspx?pid=<%#Eval("fpid")%>" target=_blank><%#rsd(Eval("fpbt").ToString())%></a><br /><%#wordd(rsd(Eval("fpbh").ToString()))%><br /><a href="sp1.aspx?lb=<%#Eval("fpfl")%>"><%#fl(Eval("fpfl").ToString())%></a><br /><%#pp(Eval("fppp").ToString())%></td>
<td align=center><%#wyj(Eval("fpjp").ToString(), Eval("fpxp").ToString(), Eval("fprx").ToString(),Eval("fpjj").ToString(),Eval("fpid").ToString())%></td>
<td><span style="text-decoration:line-through; color:Gray;" >￥<%#Eval("fpjg")%></span><br />￥<%#Eval("fpscj")%><br />销量：<%#Eval("fpxl")%></td>
<td><%#Eval("fpdj")%><br /><%#Eval("fpkc")%><br />排序：<%#Eval("fppx").ToString()%></td>
<td><%#yhj(Eval("fpyhj").ToString())%><br /><%#sj(Eval("fpsj").ToString(), Eval("fpid").ToString())%><%#cx(Eval("fpcx").ToString())%></td>
<td nowrap="nowrap"><%#ghxs(Eval("fpid").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('sp1c.aspx');}">删除所选</a> |

<a href="javascript:;" onclick="if(confirm('所选将上架，确定吗?')){xz('8');sendRequest('sp1c.aspx');}">所选上架</a> |
<a href="javascript:;" onclick="if(confirm('所选将取消上架，确定吗?')){xz('9');sendRequest('sp1c.aspx');}">所选取消上架</a> 

<span id="PageInfo" runat="server"></span>

</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="if(confirm('所选将设置精品，确定吗?')){xz('20');sendRequest('sp1c.aspx');}">所选设置精品</a> |
<a href="javascript:;" onclick="if(confirm('所选将取消精品，确定吗?')){xz('21');sendRequest('sp1c.aspx');}">所选取消精品</a> |

<a href="javascript:;" onclick="if(confirm('所选将设置新品，确定吗?')){xz('30');sendRequest('sp1c.aspx');}">所选设置新品</a> |
<a href="javascript:;" onclick="if(confirm('所选将取消新品，确定吗?')){xz('31');sendRequest('sp1c.aspx');}">所选取消新品</a> |

<a href="javascript:;" onclick="if(confirm('所选将设置热销，确定吗?')){xz('40');sendRequest('sp1c.aspx');}">所选设置热销</a> |
<a href="javascript:;" onclick="if(confirm('所选将取消热销，确定吗?')){xz('41');sendRequest('sp1c.aspx');}">所选取消热销</a> |

<a href="javascript:;" onclick="if(confirm('所选将设置热销，确定吗?')){xz('50');sendRequest('sp1c.aspx');}">所选设置降价</a> |
<a href="javascript:;" onclick="if(confirm('所选将取消热销，确定吗?')){xz('51');sendRequest('sp1c.aspx');}">所选取消降价</a> 

</td></tr></table>
 
<%=rfh()%>
</form></body>