<%@ Page Language="C#" AutoEventWireup="true" CodeFile="htm_index.aspx.cs" Inherits="admin_htm_index" %>

<!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 href="/images/css/inbox.css"rel="stylesheet" type="text/css" />
     <script>
    function op(id)
    {
       window.open("temp_list.aspx?id="+id,"","width=500,height=450,top=200,left=200");
    }
    function setValue(temp,id)
    {
       temp=temp.replace("templates/","");
       document.getElementById(id).value=temp;
    }
      function Ts()
     {
        document.getElementById("Lab_info").style.display="none";
        document.getElementById("tishi").innerHTML="首页更新中.........";
     }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table align="center" style="width: 100%" class="Ibx_gTable_Con">
            <tr>
                <td align="center">
                    首页生成</td>
            </tr>
            <tr>
                <td align="center">
                    说明:首页一般生成到网站根目录,如果不想生成找到index.html后缀删除</td>
            </tr>
            <tr>
                <td align="center">
                    首页模板:<asp:TextBox ID="temp_index" runat="server" Width="300px"></asp:TextBox>&nbsp;&nbsp;<a href="JavaScript:op('temp_index')" class=bt_css>选择模版...</a></td>
            </tr>
            <tr>
                <td align="center">
                    <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" OnClientClick="Ts();" Text="生成首页" /></td>
            </tr>
            <tr>
                <td align="center">
                    <asp:Label ID="Lab_info" runat="server" ></asp:Label><span id="tishi" style="color:Green;font-size:15px"></span></td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
