<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SheZhi_Guangao.aspx.cs" Inherits="Maticsoft.Web.WebPage.SheZhi_Guangao" %>

<%@ Register Src="../UserControls/HeaderControl.ascx" TagName="HeaderControl" TagPrefix="uc2" %>
<%@ Register src="../UserControls/FooterControl.ascx" tagname="FooterControl" tagprefix="uc3" %>
<%@ Register src="UserControls/SheZhi.ascx" tagname="SheZhi" tagprefix="uc1" %>
<!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">
	<meta http-equiv="content-type" content="text/html" charset="UTF-8">
	<title>艾尚团购 - 管理后台</title>
    <script type="text/javascript" src="../upfile/js/datePicker/WdatePicker.js" />
    <script type="text/javascript">
        function show(obj) {

            if (obj.value == "0") {
                document.getElementById("pic").style.display = "";
                document.getElementById("swf").style.display = "none";
                //        document.getElementById("fwei").innerHTML = "友情提示：建议宽度980";
                //        document.getElementById("fhei").innerHTML = "友情提示：建议高度50";

            } else if (obj.value == "1") {
                document.getElementById("pic").style.display = "none";
                document.getElementById("swf").style.display = "";
                //        document.getElementById("fwei").innerHTML = "友情提示：建议宽度190";
                //        document.getElementById("fhei").innerHTML = "友情提示：建议高度103";
            } else if (obj.value == "2") {
                document.getElementById("pic").style.display = "none";
                document.getElementById("swf").style.display = "none";
                document.getElementById("url").style.display = "none";
                document.getElementById("width").style.display = "none";
                document.getElementById("height").style.display = "none";

                document.getElementById("locationname").innerHTML = "html代码";
                document.getElementById("area").innerHTML = "html代码位置";
            }
            document.getElementById("fwei").color = "red";
            document.getElementById("fhei").color = "red";
        }
</script>
	<style type="text/css">
        #locationname
        {
            width: 482px;
            height: 71px;
        }
    </style>
	</head>
<body class="newbie">
    <form id="form1" runat="server">
    <div id="pagemasker"></div><div id="dialog"></div>
<div id="doc">
<uc2:HeaderControl ID="HeaderControl1" runat="server" />

  

<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="partner">
	<div class="dashboard" id="dashboard">
		<uc1:SheZhi  ID="SheZhi1" runat="server" />
	</div>
	<div id="content" class="clear mainwide">
        <div class="clear box">
            
            <div class="box-content">
                <div class="head"><h2><a href="SheZhi_GongGaoList.aspx" style="color:black;font-size:20px;">列表显示</a></h1></div>
                <div class="sect">
       
					

 


                         <div class="field" id="Div1" >
                            <label>广告标题</label>
                            <asp:TextBox ID="txttitle" runat="server" Width="250" />
                            
                            <font style="color:red" id="Font1"></font>
                        </div>

                        <div class="field" id="field_notice">
                            <label>广告内容</label>

                         <textarea cols="45" rows="5" name="locationname" id="locationname"  class="f-textarea xheditor {upImgUrl:'/uploadimg.aspx?immediate=1',urlType:'abs'}" runat="server"></textarea>
                           <%-- <input type="text" size="30" name="locationname" id="locationname" class="f-textarea xheditor {upImgUrl:'/upload.aspx?immediate=1',urlType:'abs'}" group="goto" datatype="require" require="true" value="<%=locationname %>" />--%>
                        </div>

                           <div class="field" id="Div2" >
                            <label>开始日期</label>
                           
                           <!--<asp:TextBox ID="txtstart" runat="server"   onfocus="WdatePicker()"/>-->
    <input id="txtstart" name="txtstart" type="text"  onfocus="WdatePicker()" value="<%=strStartTime %>" readonly=readonly/>
                            
                            <font style="color:red" id="Font2"></font>
                        </div>

                          <div class="field" id="Div3" >
                            <label>结束日期</label>
                         <input id="txtend" name="txtend" type="text" onfocus="WdatePicker()" value="<%=strEndTime %>" readonly=readonly />
                              <!--<asp:TextBox ID="txtend" runat="server"   onfocus="WdatePicker()"/>-->
                            <font style="color:red" id="Font3"></font>
                        </div>

                        <div class="field" id="location" >
                            <label id="area">广告位置</label>
                            

                            
                            <asp:DropDownList ID="ddllocation" runat="server">
                            <asp:ListItem Value="1">首页广告</asp:ListItem>
                                <asp:ListItem Value="2">右侧广告</asp:ListItem>
                            </asp:DropDownList>

                        </div>
                      
                   
                         <div class="field" id="height">
                            <label>排序</label>
                            <asp:TextBox ID="txtheight" runat="server"  class="number" group="goto"/>
                            
                            <font style="color:red" id="fhei"></font>
                        </div>
                    
                   

                      <div class="field" id="vis">
                            <label>是否显示</label>
                            

                            
                            <asp:DropDownList ID="ddldisplay" runat="server">
                            <asp:ListItem Value="1">显示</asp:ListItem>
                                <asp:ListItem Value="0">隐藏</asp:ListItem>
                            </asp:DropDownList>

                        </div>
                  
              
						<div class="act">

                         <%--   <input id="Submit1" type="submit" value="保存" name="commit" class="validator formbutton"  group="goto"/>--%>


                         
                               <asp:Button ID="Button2" runat="server" onclick="Button1_Click" Text="保存"  class="validator formbutton"  group="goto"/>
                            
                        </div>
            
                </div>
            </div>
            
        </div>
	</div>

</div>
</div> <!-- bd end -->
</div> <!-- bdw end -->

<uc3:FooterControl ID="FooterControl1" runat="server" />

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