<%@ page language="C#" autoeventwireup="true" inherits="V5Shop.Admin.Template_Css_Operate, V5Shop.Shop.Template" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Src="control/PageBottom.ascx" TagName="PageBottom" TagPrefix="uc1" %>
<%@ Register Assembly="V5Shop.Control" Namespace="V5Shop.Control" TagPrefix="cc1" %>
<!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="css/css.css" rel="stylesheet" type="text/css">
<link href="css/css_list.css" rel="stylesheet" type="text/css">
<link href="css/control.css" rel="stylesheet" type="text/css">
<script type="text/javascript" language="javascript" src="js/Common.js"></script>
<script type="text/javascript" src="editor/fckeditor.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="Review" onmousedown="init(this)" onmousemove="moveit(this)" onmouseup="stopdrag(this)" style="z-index:10000; border:solid 1px black; display:none; position:absolute; top:50px; left:450px; background-color:White;"></div>
    <div id="AlphaField" style="background-color:#EEE;filter:alpha(opacity=50); position:absolute; left:0px; height:0px; width:100%; height:600px; z-index:9999; display:none;"></div>
        <div class="OperateTitle">
            <div>
                <asp:Label ID="lblTitleAdd" runat="server" Text="【 页面添加 】"></asp:Label> 
                <asp:Label ID="lblTitleEdit" runat="server" Text="【 页面编辑 】" Visible="false"></asp:Label> 
                <a href="Template_Css_Manage.aspx" title="返回页面列表">返回列表</a>
            </div>
        </div>
        
        <div>
        <table id="OperateTable" width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
                <td width="20%" height="30" align="right">
                    <asp:Label ID="Label1" runat="server" Text="模板名称："></asp:Label> 
                </td>
                <td align=left>
                    <%=tplname %>
                </td>
            </tr>
            <tr id="SelfPage" runat="server">
                <td width="20%" height="30" align="right">
                    <asp:Label ID="lblTitle" runat="server" Text="CSS名称："></asp:Label> 
                </td>
                <td align=left>
                    <asp:TextBox ID="txtTitle" runat="server" Width="300px" MaxLength="100"></asp:TextBox>
                    <span style="color: #ff0000">*</span><asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtTitle"
                                    Display="Dynamic" ErrorMessage="不能为空"></asp:RequiredFieldValidator>  
                    (请输入文件名即可，所有CSS文件都为.css格式)
                </td>
            </tr>
            <tr>
                <td height="30" align="right">
                    <asp:Label ID="lblContent" runat="server" Text="CSS内容："></asp:Label> 
                </td>
                <td align=left>
                    <asp:TextBox ID="fckcontent" runat="server" TextMode="MultiLine" Width="600px" Height="300px"></asp:TextBox>
                    <span style="color: #ff0000">*</span><asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="fckcontent"
                                    Display="Dynamic" ErrorMessage="不能为空"></asp:RequiredFieldValidator>  
                </td>
            </tr>
            <tr>
                <td height="30" align="right"></td>
                <td align=left>
                    <asp:Button ID="btnAdd" runat="server" Text="确定" OnClick="btnAdd_Click" class="button"/>
                    <asp:Button ID="btnEdit" runat="server" Text="更新" OnClick="btnEdit_Click" Visible="False" class="button"/>
                    <input id="iptReset" runat="server" type="reset" value="重置" class="button"/>    
                    <input id="Button1" runat="server" type="button" value="返回列表" onclick="window.location.href='Template_Css_Manage.aspx'" class="button"/>     
                </td>
            </tr>
        </table>  
        <script type="text/javascript">
            //加TABLE样式
            InitTrClass();
        </script>
    </div>
    <uc1:PageBottom ID="PageBottom1" runat="server" />
    </form>
</body>
</html>
