<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="UpdateAds.aspx.vb" Inherits="Dingtai.Website.UpdateAds" %>

<!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 id="Head1" runat="server">
    <title>无标题页</title>
    <link href="/Skins/default/css/admin.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript" src="/My97DatePicker/My97DatePicker/WdatePicker.js"></script>
    <script language ="javascript"  type ="text/javascript" >
    function yan(){
//        var name =document.getElementById ("txtAdsName").value;
//        var Tsql=document.getElementById ("txtAdsPath").value;
//        if(name==""|| name ==null ){
//            alert ("请输入广告名称！");
//            return false;
//        }
//        if(Tsql =="" || Tsql==null ){
//            alert ("请输入广告路径！");
//            return false;
//        }
        return true;
    }   
    </script>
</head>
<body id="tag2_right">
<form id="form1" runat="server">
<div id="body">
<div id="title">
    <h5>您现在的位置：<a href="#">后台管理</a> &gt; 添加标签</h5>
</div>

<div id="box">
 <br />
        <div id="Div1">
            <a href ="MediaAdsList.aspx"><img alt="" src="/Skins/default/images/fhlb.gif" /></a>                 
       </div>
       <%--<div class="center_title"></div>--%>
        <div class="center">    
            <div class="center_left"><span>广告名称：</span><asp:TextBox ID="txtAdsName" CssClass ="wbk" runat="server" Enabled="false"></asp:TextBox></div>
            <div class="center_right"><span>广告路径：</span><asp:TextBox ID="txtAdsPath" CssClass ="wbk" runat="server"></asp:TextBox></div>
            <div class="center_left"><span>播放时长：</span><asp:TextBox ID="txtShowTime" CssClass ="wbk" runat="server"></asp:TextBox></div>
            <div class="center_right"><span>链接地址：</span><asp:TextBox ID="txtAdLink" CssClass ="wbk" runat="server"></asp:TextBox></div>
	        <div class="center_left"><span>广告宽度：</span><asp:TextBox ID="txtAdWidth" CssClass ="wbk" runat="server"></asp:TextBox></div>
            <div class="center_right"><span>广告高度：</span><asp:TextBox ID="txtAdHeight" CssClass ="wbk" runat="server"></asp:TextBox></div>
            <div class="center_left"><span>开始时间：</span><asp:TextBox ID="txtStartTime" onclick ="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" CssClass ="wbk" runat="server"></asp:TextBox></div>
            <div class="center_right"><span>结束时间：</span><asp:TextBox ID="txtEndTime" onclick ="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" CssClass ="wbk" runat="server"></asp:TextBox></div>
            <div class="center_left"><span>显示位置：</span><asp:DropDownList ID="ddlAdPosition" runat="server" CssClass ="wbk"></asp:DropDownList></div>
            <div class="center_right"><span>状　　态：</span><asp:DropDownList ID="ddlAdStatus" runat="server" CssClass ="wbk"></asp:DropDownList></div>
            
            
            <%--<div class="center_left"> <span>广告名称：</span><asp:TextBox ID="txtAdsName" CssClass ="wbk" runat="server"></asp:TextBox></div>
            <div class="center_right"><span>广告路径：</span><asp:TextBox ID="txtAdsPath" CssClass ="wbk" runat="server"></asp:TextBox></div>
            <div class="center_left"><span>广告类型：</span><asp:DropDownList ID="ddlType" runat="server" CssClass ="wbk"></asp:DropDownList></div>
            <div class="center_right"><span> 播放时长：</span><asp:TextBox ID="txtShowTime" CssClass ="wbk" runat="server"></asp:TextBox></div>
	        --%><div class="center_content"> </div>
	        <div class="center_buttom"><asp:ImageButton ID="ImageButton1" runat="server" OnClientClick ="return yan()" ImageUrl ="/Skins/default/images/tj_an.gif" />        
          <asp:HyperLink ID="HyperLink2" runat="server" ForeColor="#00599B" Font-Bold="True" ImageUrl="/Skins/default/images/qx_an.gif"
           NavigateUrl="MediaAdsList.aspx"></asp:HyperLink> </div>
        </div>  
      
</div>
</div>
</form>
</body>
</html>

