<%@ page language="C#" autoeventwireup="true" inherits="admin_template_SetProgram, DianCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>
<%@ Import Namespace="D.Common" %>
<%@ Import Namespace="D.BLL" %>
<!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 runat="server">
    <title></title>
    <link id="CssName" rel="stylesheet" type="text/css" runat="server" />

    <script src="../../js/Common.js" type="text/javascript"></script>
    <script src="../../js/lhgdialog/lhgcore.lhgdialog.min.js?self=true&skin=<%=Function.GetCssNameColor()%>" type="text/javascript"></script>
    <script type="text/javascript" language="javascript" src="/js/<%=B_Lang.getLang() %>/listbox.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <table class="dh" cellpadding="0" cellspacing="0" border="0" align="center">
        <tr>
            <td>
                <asp:Image ID="P_Go" runat="server" ImageAlign="AbsMiddle" />
                您现在的位置：<a href="../info.aspx">后台管理</a> >> <a href="ProgramList.aspx">模版方案列表</a> >> 设置模版方案
            </td>
        </tr>
    </table>
    <table class="border" cellspacing="1" cellpadding="0" border="0" align="center">
        <tr>
            <td class="bqleft">
                方案名称：
            </td>
            <td class="bqright">
                <asp:TextBox ID="txtName" runat="server" CssClass="in1"></asp:TextBox>  <asp:TextBox ID="FilePicPath" runat="server" style="display:none">user|0</asp:TextBox>              
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                文件夹名称：
            </td>
            <td class="bqright">
                <asp:TextBox ID="txtFolderName" runat="server" CssClass="in1"></asp:TextBox> 如:/<%=Function.GetTemplateFolder()%>/<font color=red>Default</font>/ 此处填写红色部分
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                模版首页图片：
            </td>
            <td class="bqright">
                <asp:TextBox ID="txtImage" Columns="30" runat="server" CssClass="in1" style="float:left"></asp:TextBox><input type="button" value="上传图片" class="btn" style="float:left" onclick="WinOpenLhgDialog('上传图片','../common/uploadpic.aspx?ControlId=txtImage',620,280,'')" /><input type="button" value="从服务器上选择" class="btn" onclick="SelectFile('../common/SelectUploadFile2.aspx?filetype=image&ControlId=txtImage','')"  style="float:left"/> 上传图片默认保存到/<%=Function.GetUploadFolder()%>/user下面
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                立即启用该方案：
            </td>
            <td class="bqright">
                <asp:RadioButtonList ID="IsUse" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem Value="True">启用</asp:ListItem>
                    <asp:ListItem Value="False" Selected="True">不启用</asp:ListItem>
                </asp:RadioButtonList>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                方案描述：
            </td>
            <td class="bqright">
                <asp:TextBox ID="txtContent" runat="server" TextMode="MultiLine" Rows="6" Columns="40"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
            </td>
            <td class="bqright" height="40">
                <asp:Button ID="Button1" runat="server" Text=" 提交 " CssClass="btn radius30 pad_0_30" 
                    onclick="Button1_Click" />
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
