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

<!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" />
       <link href="../admin/skin/css.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;
    }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table style="width: 100%" class=Ibx_gTable_Con>
            <tr>
                <td align="center" colspan="2">
                    默认模板选项</td>
            </tr>
            <tr>
                <td>
                    首页模板:</td>
                <td>
                    <asp:TextBox ID="txtindex" runat="server" Width="200px"></asp:TextBox>&nbsp;&nbsp;<a href="JavaScript:op('txtindex')" class=bt_css>选择模版...</a></td>
            </tr>
            <tr>
                <td>
                    封面页模板:</td>
                <td>
                    <asp:TextBox ID="txtdefault" runat="server" Width="200px"></asp:TextBox>&nbsp;&nbsp;<a href="JavaScript:op('txtdefault')" class=bt_css>选择模版...</a></td>
            </tr>
            <tr>
                <td>
                    列表页模板:</td>
                <td>
                    <asp:TextBox ID="txtlist" runat="server" Width="200px"></asp:TextBox>&nbsp;&nbsp;<a href="JavaScript:op('txtlist')" class=bt_css>选择模版...</a></td>
            </tr>
            <tr>
                <td>
                    内容页模板:</td>
                <td>
                    <asp:TextBox ID="txtarticle" runat="server" Width="200px"></asp:TextBox>&nbsp;&nbsp;<a href="JavaScript:op('txtarticle')" class=bt_css>选择模版...</a></td>
            </tr>
            <tr>
                <td>
                    搜索页模板:</td>
                <td>
                    <asp:TextBox ID="txtsearch" runat="server" Width="200px"></asp:TextBox>&nbsp;&nbsp;<a href="JavaScript:op('txtsearch')" class=bt_css>选择模版...</a></td>
            </tr>
            <tr>
                <td align="center" colspan="2">
                    <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/admin/skin/images/button_save.gif"
                        OnClick="ImageButton1_Click" /></td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
