<%@ page language="C#" autoeventwireup="true" inherits="admin_other_setpager, DianCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>
<!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>

    <style>
        .show input
        {
            margin: 1px 2px 1px 0px;
        }
    </style>
</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="pagerlist.aspx">分页方案列表</a> >>
                设置分页方案
            </td>
        </tr>
    </table>
    <table class="border" cellspacing="1" cellpadding="0" width="99%" border="0" align="center">
        <tr>
            <td class="bqleft">
                方案名称：
            </td>
            <td class="bqright">
                <asp:TextBox ID="txtName" runat="server" Columns="30" CssClass="in1"></asp:TextBox>
                如：蓝色典雅
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                首页样式：
            </td>
            <td class="bqright">
                <table>
                    <tr>
                        <td>
                            可以点击时：<asp:TextBox ID="txtFirstPageShow" runat="server" Columns="50" CssClass="in1">&lt;a href=&quot;{D_Url}&quot;&gt;{D_Text}&lt;/a&gt;</asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            不能点击时：<asp:TextBox ID="txtFirstPageHidden" runat="server" Columns="50" CssClass="in1" 
                                Text="&lt;span class=&quot;disabled&quot;&gt;{D_Text}&lt;/span&gt;"></asp:TextBox>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                上一页样式：
            </td>
            <td class="bqright">
                <table>
                    <tr>
                        <td>
                            可以点击时：<asp:TextBox ID="txtPrevPageShow" runat="server" Columns="50" CssClass="in1">&lt;a href=&quot;{D_Url}&quot;&gt;{D_Text}&lt;/a&gt;</asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            不能点击时：<asp:TextBox ID="txtPrevPageHidden" runat="server" Columns="50" CssClass="in1">&lt;span class=&quot;disabled&quot;&gt;{D_Text}&lt;/span&gt;</asp:TextBox>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                页码样式：
            </td>
            <td class="bqright">
                <table>
                    <tr>
                        <td>
                            当前页：<asp:TextBox ID="txtPageNumShow" runat="server" Columns="50" CssClass="in1">&lt;span class=&quot;current&quot;&gt;{D_Text}&lt;/span&gt;</asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            其他页：<asp:TextBox ID="txtPageNumHidden" runat="server" Columns="50" CssClass="in1">&lt;a href=&quot;{D_Url}&quot;&gt;{D_Text}&lt;/a&gt;</asp:TextBox>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                下一页样式：
            </td>
            <td class="bqright">
                <table>
                    <tr>
                        <td>
                            可以点击时：<asp:TextBox ID="txtNextPageShow" runat="server" Columns="50" CssClass="in1">&lt;a href=&quot;{D_Url}&quot;&gt;{D_Text}&lt;/a&gt;</asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            不能点击时：<asp:TextBox ID="txtNextPageHidden" runat="server" Columns="50" CssClass="in1">&lt;span class=&quot;disabled&quot;&gt;{D_Text}&lt;/span&gt;</asp:TextBox>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                尾页样式：
            </td>
            <td class="bqright">
                <table>
                    <tr>
                        <td>
                            可以点击时：<asp:TextBox ID="txtLastPageShow" runat="server" Columns="50" CssClass="in1">&lt;a href=&quot;{D_Url}&quot;&gt;{D_Text}&lt;/a&gt;</asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            不能点击时：<asp:TextBox ID="txtLastPageHidden" runat="server" Columns="50" CssClass="in1">&lt;span class=&quot;disabled&quot;&gt;{D_Text}&lt;/span&gt;</asp:TextBox>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
        
            <td class="bqleft">
                其他样式：
            </td>
            <td class="bqright">
                <table>
                    <tr>
                        <td>
                            总页数：<asp:TextBox ID="txtTatalPage" runat="server" Columns="50" CssClass="in1">{D_Text}</asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            总数量：<asp:TextBox ID="txtTatalCount" runat="server" Columns="50" CssClass="in1">{D_Text}</asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            每页数：<asp:TextBox ID="txtPageSize" runat="server" Columns="50" CssClass="in1">{D_Text}</asp:TextBox>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                显示设置：
            </td>
            <td class="bqright show">
                <input id="Button8" type="button" value="当前页" class="btn" onclick="CreateRange('txtHtml','{D_CurrentPageIndex}')" /><input
                    id="Button2" type="button" value="总页数" class="btn" onclick="CreateRange('txtHtml','{D_PageCount}')" /><input
                        id="Button3" type="button" value="总数量" class="btn" onclick="CreateRange('txtHtml','{D_RecordCount}')" /><input
                            id="Button3" type="button" value="每页条数" class="btn" onclick="CreateRange('txtHtml','{D_PageSize}')" /><input
                                id="Button4" type="button" value="首页" class="btn" onclick="CreateRange('txtHtml','{D_FirstPage}')"/><input id="Button5" type="button"
                                    value="上一页" class="btn" onclick="CreateRange('txtHtml','{D_PrevPage}')" /><input id="Button11" type="button" value="页码" class="btn" onclick="CreateRange('txtHtml','{D_PageNum}')" /><input
                                        id="Button7" type="button" value="下一页" class="btn" onclick="CreateRange('txtHtml','{D_NextPage}')" /><input id="Button6" type="button"
                                            value="尾页" class="btn" onclick="CreateRange('txtHtml','{D_LastPage}')" /><br /><input id="Button9" type="button" value="模型单位" class="btn" onclick="CreateRange('txtHtml','{D_ModelUnit}')" />
                <input id="Button9" type="button" value="<div></div>" class="btn" onclick="CreateRange('txtHtml','<div></div>')" /><input
                    id="Button10" type="button" value="<span></span>" class="btn" onclick="CreateRange('txtHtml','<span></span>')" /><br />
                <asp:TextBox ID="txtHtml" runat="server" Columns="70" TextMode="MultiLine" Rows="7"></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>
