<%@ page language="C#" autoeventwireup="true" inherits="admin_pimg, App_Web_5fvwns4r" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<!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 rel="stylesheet" href="style/css.css" type="text/css" /> 
<link rel="stylesheet" href="style/page.css" type="text/css" /> 
<script language="javascript" type="text/javascript" src="../js.js"></script> 

</head>
<body>
    <form id="form1" runat="server">


<table width="100%" border="0" cellpadding="0" cellspacing="0" class="map">
  <tr>
    <td>图片管理</td>
    <td align="right"></td>
  </tr>
</table>
 
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="title" align="center">
  <tr>
    <td>图片信息</td>
    <td width="50%"><span style="color:Red;"><%=title9 %></span></td>
  </tr>
</table>


  <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="list">
    <thead>
    <tr class="header">
      <td align="center">名称</td>
      <td align="center">排序</td>
      <td align="center">图片</td>
      <td align="center">上传图片</td>
      <td align="center">操作</td>
    </tr>
     </thead>

	 <asp:Repeater ID="RepeaterN" runat="server" OnItemDataBound="Repeater1_ItemDataBound" OnItemCommand="Repeater1_ItemCommand">
         <ItemTemplate>     
    <tr>
      <td align="center"><asp:TextBox ID="Title" Width="200px" runat="server" Text='<%#Eval("title")%>' />
      
      </td>
      <td align="center"><asp:TextBox ID="Ordernumber" Width="30px" runat="server" Text='<%#Eval("ordernumber")%>' /></td>
      <td align="center"><%#Eval("img1").ToString() != "" ? "<img src='../upload/" + Eval("img1") + "' height='50' />" : ""%> </td>
      <td><asp:FileUpload ID="fileUp" runat="server" Width="200px" Height="20px" /></td>
      <td align="center">
      
          <asp:ImageButton ID="ImgBtn" CommandName="Update" ImageUrl="images/icon_edit.gif" runat="server" />
          <asp:HiddenField ID="Productid" Value='<%#Eval("productid")%>' runat="server" />
          <asp:HiddenField ID="Pimgid" Value='<%#Eval("pimgid")%>' runat="server" />
          <asp:HiddenField ID="Imgold" Value='<%#Eval("img1")%>' runat="server" />
      
     <a href="pimg.aspx?pimgid=<%#Eval("pimgid")%>&productid=<%#Eval("productid")%>&action=del" onClick="javascript:return confirm('确定删除吗?');"><img src="images/icon_drop.gif" border="0" alt="删除" /></a>

      </td>
    </tr>
	     </ItemTemplate>
      </asp:Repeater> 
          
  </table>
   




<br>
<br>

<table width="98%" border="0" cellpadding="0" cellspacing="0" class="title" align="center">
  <tr>
    <td>添加图片</td>
  </tr>
</table>


  <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="add">
    <tr>
      <td width="30%" align="right">名称：</td>
      <td align="left"> <input runat="server" name="title" type="text" maxlength="50" class="input" id="title" style="width:200px;" />
      </td>
    </tr>
    <tr>
      <td align="right">排序：</td>
      <td align="left"><input runat="server" name="ordernumber" type="text" maxlength="6" value="0" class="input" id="ordernumber" style="width:100px;" /></td>
    </tr>
    <tr>
      <td align="right">图片：</td>
      <td align="left">
      					  <asp:FileUpload ID="fileUp" runat="server" Width="500px" Height="20px" CssClass="input" />
					  
					  <asp:HiddenField runat="server" ID="Img" />  
      </td>
    </tr>

    <tr>
      <td align="right">&nbsp;</td>
      <td align="left" valign="middle"><label>
        <asp:Button ID="Btn" runat="server" Text="确定" CssClass="btn" OnClick="Btn_Click" />
        <input name="button1" type="reset" class="btn" id="button1" value="清除" />
        <asp:HiddenField ID="Productid" runat="server" />
      </label></td>
    </tr>
  </table>



 
 
<!--#include file="footer.htm"-->


    </form>
</body>
</html>
