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


<html>
<head id="Head1" runat="server">
    <title>as</title><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
  
    		<LINK href="images/adminstyle.css" type="text/css" rel="stylesheet">
<style type="text/css">
body {margin:0px; height:500px}
</style>
		<script language="JavaScript">
<!--
//By Dicky 2005-2-17 11:16:49
function Window_Load(Flag)
{

if (Flag == 0)
{

  parent.document.all['Loading'].style.display = 'block';
  parent.document.all['Loading'].style.width = '500';
   parent.document.all['Loading'].style.height = '60';
  //show the window
}
else
{
  parent.document.all['Loading'].style.display = 'none';
  
  //hide the window
}
}
//-->
</script>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head>
	<body rightmargin="0" leftmargin="0" topmargin="0" onload="Window_Load(1);">
	
		<form id="Form2" method="post" runat="server" onsubmit="Window_Load(0);">
    <div>
    <table width="100%" align="center" cellpadding="0" cellspacing="0" background="img/labelbg.gif" bgcolor="#EDF6FF">
      <tr>
    <td width="3%" height="36" class="tl"></td>
    <td width="92%" class="tm"><span class="tt"><span class="tt"> 平台基础设置管理 >> 推广图片添加和管理</span></td>
    <td width="0%" class="tm2"><span class="tt"></span></td>
    <td width="5%" class="tr"></td>
  </tr>
</table>
<br />
    <table width="100%" align="center">
      <tr>
                <td style="width: 100px; 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: 387px; height: 24px">
                </td>
            </tr>
            <tr>
                
        <td valign="top" > </td>
          <td >
                    <p>&nbsp; <br />
            <font color="#FF0000">尺寸自行定义,就是别太长了!</font></p>
          <p><font color="#FF0000">在这里你可以为你站会员添加宣传图片,添加内容显示在会员中心我的推广代码里面,会员可以通过推广图片进行宣传,任何人通过宣传进入站点注册成为会员,都将成为该会员的下线会员,该会员可以对他的下线会员进行提成,注意.这个功能不是传销,只有一级下线!!!</font></p></td>
                <td style="width: 387px; height: 11px">
                </td>
            </tr>
            <tr>
                <td >
                </td>
                <td >
                    <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="添加推广图片" /></td>
                <td >
                </td>
            </tr>
        </table>
        
    <table width="100%" 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="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="20%">
                            <div align="center">
                            <a href="?action=del&ID=<%#Eval("id") %>&dt=<%#Eval("dt") %>"
                                        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>