<%@ page language="C#" autoeventwireup="true" inherits="Admin_TemplateManage_addTemplate, App_Web_dfnp41-c" enableEventValidation="false" theme="theme1" stylesheettheme="theme1" %>

<!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>passionCMS2</title>

    <script language="javascript" type="text/javascript" src="JScript.js"></script>

</head>
<body bgcolor="#DBEAF5">
    <form id="form1" runat="server">
        <div>
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td background="../images/Top_line_3.gif" height="2">
                    </td>
                </tr>
                <tr>
                    <td valign="top">
                        <table border="0" cellpadding="0" cellspacing="0" width="100%" id="Table4" style="background-color: #3390C6;">
                            <tr>
                                <td height="27" width="20">
                                </td>
                                <td width="80" align="center">
                                    <a href="TemplateList.aspx?TypeId=0" class='menu_title'>模版列表</a>
                                </td>
                                <td width="80" align="center" background='../images/Menu_selected_bg.gif'>
                                    <a href="addTemplate.aspx">添加模版</a>
                                </td>
                                <td width="80" align="center">
                                    <a href="TemplateStoreroom.aspx" class='menu_title'>在线模版库</a>
                                </td>
                                <td>
                                    &nbsp;</td>
                                <td width="10">
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td background="../images/Sub_menu_bg.gif" height="24">
                        <table class="O" cellspacing="0" cellpadding="0" width="100%" border="0" id="Table6">
                            <tbody>
                                <tr>
                                    <td width="20">
                                        &nbsp;</td>
                                    <td>
                                        &nbsp;
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td style="height: 10px">
                    </td>
                </tr>
            </table>
            <table cellspacing="1" cellpadding="0" width="90%" bgcolor="#3a6ea5" border="0" align="center"
                id="Table8">
                <tbody>
                    <tr>
                        <td bgcolor="#ffffff">
                            <table cellspacing="0" cellpadding="0" width="90%" align="center" border="0" id="Table10">
                                <tbody>
                                    <tr>
                                        <td>
                                            <table cellspacing="0" cellpadding="0" width="180" align="left" border="0" id="Table11">
                                                <tr height="10">
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <img height="0" src="" width="6"></td>
                                                    <td width="5">
                                                        <img height="26" src="../images/t_01.gif" width="5"></td>
                                                    <td align="center" bgcolor="#3a6ea5">
                                                        <span class="menu_02"><strong>添加模版</strong></span></td>
                                                    <td width="5">
                                                        <img height="26" src="../images/t_02.gif" width="5"></td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="1" bgcolor="#3a6ea5">
                                            <img src="" height="1"></td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <table cellspacing="1" cellpadding="0" width="100%" bgcolor="#3a6ea5" border="0"
                                                id="Table12">
                                                <tbody>
                                                    <tr>
                                                        <td valign="top" align="center" bgcolor="#ffffff">
                                                            <table height="3" cellspacing="0" cellpadding="0" width="100%" align="center" border="0"
                                                                id="Table13">
                                                                <tr>
                                                                    <td bgcolor="#c4d3e4">
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                            <table height="70" cellspacing="0" cellpadding="0" width="100%" align="center" border="0"
                                                                id="Table14">
                                                                <tbody>
                                                                    <tr>
                                                                        <td align="center" width="50">
                                                                            <p>
                                                                                <img height="21" src="../images/ico_002.gif" width="17"></p>
                                                                        </td>
                                                                        <td align="left">
                                                                            请添加您需要的模版信息！
                                                                        </td>
                                                                    </tr>
                                                                </tbody>
                                                            </table>
                                                            <table height="3" cellspacing="0" cellpadding="0" width="100%" bgcolor="#f0f4f8"
                                                                border="0" id="Table15">
                                                                <tbody>
                                                                    <tr>
                                                                        <td>
                                                                        </td>
                                                                    </tr>
                                                                </tbody>
                                                            </table>
                                                            <table border="0" cellpadding="0" cellspacing="0" width="98%" align="center" bgcolor="#f7f8fc">
                                                                <tr>
                                                                    <td align="right" nowrap>
                                                                        模版名称：
                                                                    </td>
                                                                    <td align="left" nowrap>
                                                                        <asp:TextBox ID="txtTemplateName" runat="Server" MaxLength="50">
                                                                        </asp:TextBox>&nbsp;<font color="red">*</font>
                                                                    </td>
                                                                    <td align="left" nowrap>
                                                                        &nbsp;<asp:RequiredFieldValidator ID="errTepmlateName" runat="Server" ControlToValidate="txtTemplateName"
                                                                            Display="none" SetFocusOnError="true"></asp:RequiredFieldValidator>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td align="right" nowrap>
                                                                        类&nbsp;&nbsp;&nbsp;&nbsp;别：
                                                                    </td>
                                                                    <td align="left" nowrap>
                                                                        <asp:CheckBoxList ID="chkType" runat="server" RepeatColumns="5" RepeatDirection="Horizontal">
                                                                        </asp:CheckBoxList>
                                                                    </td>
                                                                    <td align="left" nowrap>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td align="right" nowrap>
                                                                        地&nbsp;&nbsp;&nbsp;&nbsp;址：
                                                                    </td>
                                                                    <td align="left" nowrap>
                                                                        <asp:TextBox ID="txtAddress" runat="server" MaxLength="255"></asp:TextBox>&nbsp;<font
                                                                            color="red">*</font>
                                                                    </td>
                                                                    <td align="left" nowrap>
                                                                        &nbsp;
                                                                        <asp:RequiredFieldValidator ID="errAddress" runat="server" ControlToValidate="txtAddress"
                                                                            Display="none" SetFocusOnError="true"></asp:RequiredFieldValidator>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td align="right" nowrap>
                                                                        缩&nbsp;略&nbsp;图：
                                                                    </td>
                                                                    <td align="left" nowrap>
                                                                        <a href="" id="Url" target="_blank">
                                                                            <img src="" id="Image" height="100" width="128" border="0" align="absmiddle" />
                                                                        </a>
                                                                    </td>
                                                                    <td align="left" nowrap>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td align="right" nowrap>
                                                                        说&nbsp;&nbsp;&nbsp;&nbsp;明：
                                                                    </td>
                                                                    <td align="left" nowrap>
                                                                        <asp:TextBox ID="txtExplain" runat="server" Rows="10" Columns="40" TextMode="multiLine"></asp:TextBox>
                                                                    </td>
                                                                    <td align="left" nowrap>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td>
                                                                        &nbsp;
                                                                    </td>
                                                                    <td align="left" nowrap>
                                                                        <asp:Label ID="lblError" runat="server" ForeColor="red"></asp:Label>
                                                                    </td>
                                                                    <td>
                                                                    </td>
                                                                </tr>
                                                                <tr>
                                                                    <td align="right" nowrap>
                                                                    </td>
                                                                    <td align="left" nowrap>
                                                                        <asp:Button ID="btnSubmit" runat="server" Text="提 交" OnClick="btnSubmit_Click" />
                                                                        &nbsp;&nbsp;
                                                                        <input type="reset" value="重 置" />
                                                                    </td>
                                                                    <td>
                                                                    </td>
                                                                </tr>
                                                            </table>
                                                        </td>
                                                    </tr>
                                                </tbody>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr height="3">
                                    </tr>
                                    <tr>
                                        <td colspan="5" align="right">
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </form>
</body>
</html>
