<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Addad.aspx.cs" Inherits="web.Supply.Addad" %>



<html>
<head id="Head1" runat="server">
    <title>as</title><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    		    <link href="css/css.css" rel="stylesheet" type="text/css" />
  
     <style type="text/css">
    .head {background-image: url(img/labelbg.gif);background-repeat: repeat-x;}
    </style>

</head>
	<body rightmargin="0" leftmargin="0" topmargin="0" >
	
		<form id="Form2" method="post" runat="server" >
    <div>

<div class="top">
          <table width="100%" align="center" cellpadding="0" cellspacing="0" background="img/labelbg.gif" bgcolor="#EDF6FF">
            <tr>
		      <td width="2%" height="35" class="tl"></td>
		<td width="90%" class="tm"><span class="tt">店铺管理 &gt;&gt;店铺广告添加</span></td>
		      <td width="1%" class="tm2"><span class="tt"></span></td>
		<td width="3%" class="tr"></td>
	</tr>
</table>
</div>
<br />
<table width="400">
            <tr>
                <td style="width: 462px; height: 24px">
                    <div align="center"><strong>广告图片</strong></div></td>
          <td style="width: 646px; height: 24px">
                    <asp:FileUpload ID="FileUpload1" runat="server" /></td>
                <td style="width: 365px; height: 24px">
                </td>
            </tr>
            <tr>
                
        <td valign="top" style="width: 462px; height: 11px"> 
          <div align="center"><strong>连接URL</strong></div></td>
          <td style="width: 646px; height: 11px">
                    <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>&nbsp;
              <br />
          <font color="#FF0000">
              <br />
              说明：<br />
              1、广告尺寸为：364 X 150px<br />
              <br />
          </font></td>
                <td style="width: 365px; height: 11px">
                </td>
            </tr>
            <tr>
                <td style="width: 462px">
                </td>
                <td style="width: 646px">
                    <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="提交" /></td>
                <td style="width: 365px">
                </td>
            </tr>
        </table>
        
    <table width="723" border="0" align="center">
      <tr>
            <td><div align="center">
              <table width="100%" align="center">
                <tr>
                  <td style="width: 90%; height: 107px">
                         <asp:DataList ID="DataList1" runat="server" Width="100%">
                         <HeaderTemplate>
                          
                      <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" bordercolor="#33CCFF" background="img/labelbg.gif" class="tableborder">
                        <tr bgcolor="#EDF6FF" class="header"> 
                          <td width="40%" height="25" background="img/labelbg.gif"> 
                            <div align="center"> 广告图片</div>
                        </td>
                        
                          <td width="40%" height="25" background="img/labelbg.gif"> 
                            <div align="center"> URL</div>
                        </td>
                       
                          <td width="20%" height="25" background="img/labelbg.gif"> 
                            <div align="center"> 操作</div>
                        </td>
                    </tr>
                         </table>
                         </HeaderTemplate>
           <ItemTemplate> 
          
                <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
                     
                     
                     <tr bgcolor="#ffffff" id="news">
                        <td height="25" width="40%">
                            <div align="center">
                              <a href="../upload/uploadfiles/<%#Eval("dt")%>" target=_blank><%#Eval("dt")%></a>
                            </div>
                        </td>
                     
                        <td height="25" width="40%">
                            <div align="center">
                                <%#Eval("url")%>
                            </div>
                        </td>
                       
                        <td height="25" width="20%">
                            <div align="center">
                            <a href="?action=del&ID=<%#Eval("id") %>&dt=<%#Eval("dt") %>&xt=<%#Eval("xt") %>"
                                        onclick="return confirm('确认要删除？');">
                                        <img src="images/DelNews.png" alt='删除' title='删除' border="0"></a>&nbsp;
                              
                            </div>
                        </td>
                    </tr>
                </table>
            </ItemTemplate>
           
        </asp:DataList>
                  </td>
                </tr>
              </table>
            </div></td>
          </tr>
        </table>
      <br />
    </div>
    </form>
</body>
</html>
