<%@ page language="C#" autoeventwireup="true" inherits="admin_adminproduct, shazhiqiu_taoke_free" %>
<!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>
<link href="images/skin.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-color: #EEF2FB;
	font-size:12px;
}
-->
</style>
      <script src="fenye.js" type="text/javascript"></script> 
<script language="javascript" type="text/javascript">
function Cbg(obj, objColor)
{
obj.style.backgroundColor=objColor
}
function CheckAll(form){
for (var i=0;i<form.elements.length;i++){
var e = form.elements[i];
if (e.name != 'chkAll')
e.checked = form.chkAll.checked;
}
}
</script>
</head>
<body>
    <form id="form1" runat="server">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="17" valign="top" background="images/mail_leftbg.gif"><img src="images/left-top-right.gif" width="17" height="29" /></td>
    <td valign="top" background="images/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
        <td height="31"><div class="titlebt">管理商品</div></td>
      </tr>
    </table></td>
    <td width="16" valign="top" background="images/mail_rightbg.gif"><img src="images/nav-right-bg.gif" width="16" height="29" /></td>
  </tr>
  <tr>
    <td valign="middle" background="images/mail_leftbg.gif">&nbsp;</td>
    <td valign="top" bgcolor="#F7F8F9">

    <div class="divtext">
  <asp:Repeater ID="Repeater1" runat="server"  OnItemCreated="Repeater1_ItemCreated" OnItemCommand="Repeater1_ItemCommand">
<HeaderTemplate>
<table cellspacing="0" cellpadding="0" width="100%"  class="tablexian" border="0">
<tr>
<td align="center" style="width:5%;" class="tablebg"></td>
<td align="center" style="width:25%;"  class="tablebg">商品名</td>
    <td align="center" style="width:10%;" class="tablebg">分类</td>
<td align="center" style="width:15%;" class="tablebg">掌柜</td>
<td align="center"  class="tablebg">信誉</td>
<td align="center" class="tablebg">价格</td>
<td align="center" class="tablebg">数量</td>
<td align="center" class="tablebg">时间</td>
<td align="center" class="tablebg">修改</td>
<td align="center" class="tablebg">删除</td>

</tr>
</HeaderTemplate>
<ItemTemplate>
<tr onmouseover="Cbg(this, 'F2F2F2')" onmouseout="Cbg(this, 'ffffff')">
<td align="center" style="height:75px;width:75px;"><img src="/70-70-<%# Eval("productid") %>.jpeg" /><input id="Hidden2" type="hidden"  runat="server" value='<%# Eval("productid") %>'/> <input id="Hidden1" type="hidden"  runat="server" value='<%# Eval("productpic") %>'/></td>
<td align="left" style='line-height:20px;' ><%# Eval("productname")%></td>
    <td align="center" ><%# Eval("classname") %></td>
<td align="center" ><%# Eval("username") %></td>
<td align="center" ><img src="/images/taobao/<%# Eval("userhot") %>.gif" /></td>
<td align="center" ><span style="color:Red"><%# Convert.ToDouble(Eval("productprice")) %></span> 元</td>
<td align="center" ><%# Eval("productsum") %></td>
<td align="center"><%# Eval("producttime") %></td>
<td align="center"><a href="editproduct.aspx?productid=<%# Eval("productid")%>">修改</a></td>
<td align="center"><asp:LinkButton ID="del" runat="server" CommandArgument='<%# Eval("productid")%>' CommandName="delcmd">删除</asp:LinkButton></td>

</tr>
</ItemTemplate>
<FooterTemplate>
</table>  
</FooterTemplate>
</asp:Repeater>   
<table cellspacing="0" cellpadding="0" width="100%"  class="tablexian" style="margin-top:10px;" border="0">
<tr><td align="left">
    <asp:Label ID="fenye" runat="server"></asp:Label>
    </td></tr>
</table>
    </div>
     </td>
    <td background="images/mail_rightbg.gif">&nbsp;</td>
  </tr>
  <tr>
    <td valign="bottom" background="images/mail_leftbg.gif"><img src="images/buttom_left2.gif" width="17" height="17" /></td>
    <td background="images/buttom_bgs.gif"><img src="images/buttom_bgs.gif" width="17" height="17"></td>
    <td valign="bottom" background="images/mail_rightbg.gif"><img src="images/buttom_right2.gif" width="16" height="17" /></td>
  </tr>
</table>
    </form>
</body>
</html>