<%@ page language="C#" autoeventwireup="true" inherits="admin_template_downmuban, DianCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Import Namespace="D.Common" %>
<%@ Import Namespace="D.BLL" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <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>
</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> >> 下载网页模板
                </td>
            </tr>
        </table>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <table class="border" cellspacing="1" cellpadding="0" width="99%" border="0" align="center">
                    <tr>
                        <td class="bqleft">下载模板：</td>
                        <td class="bqright">
                            <asp:TextBox ID="txtURL" runat="server" CssClass="in1" Columns="60" Text="http://"></asp:TextBox>如是首页，请在后面加/
                        </td>
                    </tr>
                    <tr>
                        <td class="bqleft">网页编码：
                        </td>
                        <td class="bqright">
                            <table cellpadding="0" cellspac="0" border="0">
                                <tr>
                                    <td>
                                        <asp:RadioButtonList ID="RadCodeType" runat="server" RepeatDirection="Horizontal">
                                            <asp:ListItem Value="UTF-8" Selected="True">UTF-8</asp:ListItem>
                                            <asp:ListItem Value="GB2312">GB2312</asp:ListItem>
                                            <asp:ListItem Value="Big5">Big5</asp:ListItem>
                                        </asp:RadioButtonList></td>
                                    <td><a href="javascript:" title="在目标网站中右键-编码(gbk即为gb2312)">如何得到编码？</a></td>
                                </tr>
                            </table>

                        </td>
                    </tr>
                    <tr>
                        <td class="bqleft">下载后替换为：
                        </td>
                        <td class="bqright">
                            <asp:TextBox ID="txtTemplate" runat="server" Columns="50" CssClass="in1" Style="float: left"></asp:TextBox><input
                                id="Button2" type="button" value="选择模板" class="btn" onclick="WinOpenLhgDialog('选择模板','../template/SelectTemplate.aspx?ControlId=txtTemplate',650,450,'')"
                                style="float: left" /><asp:Button ID="Button1" runat="server" CssClass="btn" Text=" 立即下载模板 " OnClick="Button1_Click" /><asp:Timer ID="Timer1" runat="server" OnTick="Timer1_Tick" Interval="1000"></asp:Timer>
                        </td>
                    </tr>
                    <tr>
                        <td class="bqleft">下载进度：</td>
                        <td class="bqright">
                            <asp:TextBox ID="txtLoadInfo" runat="server" Style="width: 98%" TextMode="MultiLine" Rows="20"></asp:TextBox>
                        </td>
                    </tr>
                </table>
            </ContentTemplate>
        </asp:UpdatePanel>
    </form>
</body>
</html>
