<%@ Page Title="" Language="C#" ValidateRequest="false" MasterPageFile="~/BackCenter/Home/Edit.master" AutoEventWireup="true" CodeFile="SiteEdit.aspx.cs" Inherits="BackCenter_Site_SiteEdit" %>


<asp:Content ID="Content1" ContentPlaceHolderID="HeadContextPlaceHolder" runat="server">
<!--ckeditor编辑器--> 
<script type="text/javascript" src="/ckeditor/ckeditor_Full/ckeditor.js"></script>
<script type="text/javascript" src="/ckfinder/ckfinder.js"></script>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">
    <div class="r_top_line">
        <cite style="float: right">
            <img src="/App_Themes/BackCenter/images/right_tr.gif" /></cite></div>
    <div class="r_tit">
        <p class="home">
        位置：后台中心 >> 网站管理
        </p>
    </div>
    <div class="bd">
        <div class="tit_xs">
            <h2>
                网站<%=Request["ID"] != null ? "修改" : "新增"%>
            </h2>
        </div>
        <table width="94%" border="0" cellpadding="0" cellspacing="0" class="tab_style fl">
            <tr>
                <td class="n1">
                    网站名称：
                </td>
                <td class="n2">
                    <asp:TextBox ID="txt_SiteName" runat="server" MaxLength="50" CssClass="required"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="n1">
                    网站价格：
                </td>
                <td class="n2">
                    <asp:TextBox ID="txt_SitePrice" runat="server" MaxLength="50" CssClass="required"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="n1">
                    制作周期：
                </td>
                <td class="n2">
                    <asp:TextBox ID="txt_SiteCycle" runat="server" MaxLength="50" CssClass="required"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="n1">
                    网站图片：
                </td>
                <td class="n2">
                    <asp:Image ID="img_SiteImg" Visible="false" runat="server" Width="50px" Height="50px" />
                    <asp:FileUpload ID="fu_SiteImg" runat="server" />
                </td>
            </tr>
             <tr>
                <td class="n1">
                    所属类型：
                </td>
                <td class="n2">
                    <asp:DropDownList ID="ddl_SiteTypeId" runat="server" CssClass="required"></asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td class="n1">
                    网站特点：
                </td>
                <td class="n2">
                    <asp:TextBox ID="txt_SiteFeature" runat="server" TextMode="MultiLine" Rows="4" Columns="60" MaxLength="255" CssClass="required"></asp:TextBox>
                </td>
            </tr>
             <tr>
                <td class="n1">
                    网站简介：
                </td>
                <td class="n2">
                    <asp:TextBox ID="txt_SiteInfo" runat="server" TextMode="MultiLine" Rows="4" Columns="60" MaxLength="255" CssClass="required"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="n1">
                    附件：
                </td>
                <td class="n2">
                    <asp:FileUpload ID="fu_SiteAttachment" runat="server" />
                    <asp:label id="lab_SiteAttachment" runat="server"><a href target="_blank"></a></asp:label>
                    <asp:label id="lab_SiteAttachmentBak" runat="server" Visible="false"></asp:label>
                </td>
            </tr>
             <tr>
                <td class="n1">
                    详细描述：
                </td>
                <td class="n2">
                    <%--<asp:TextBox ID="txt_SiteDescription" runat="server" TextMode="MultiLine" CssClass = "ckeditor"></asp:TextBox>--%>
                    <asp:TextBox name="FileContent"  style="display:none" id="FileContent"  runat="server" ></asp:TextBox>
                    <IFRAME ID="eWebEditor" src="/ewebeditor/ewebeditor.htm?id=FileContent&style=blue" frameborder="0" scrolling="no" width="650" height="350"></IFRAME>
                    <input type="hidden" name="content" value="" id="content" />
                </td>
            </tr>
        </table>
        <div class="menu">
            <asp:Button ID="btnSave" CssClass="menu_b" runat="server" Text="保存" OnClick="btnSave_Click">
            </asp:Button>
            <input type="button" class="menu_o" value="返回" onclick="window.location.href='SiteIndex.aspx'" />
        </div>
    </div>
</asp:Content>

