<%@ page language="C#" autoeventwireup="true" inherits="admin_label_zhidinginfo, DianCMS" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>
<%@ 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 type="text/javascript" src="../../js/<%=B_Lang.getLang() %>/label.js"></script>

    <script src="../../js/Common.js" type="text/javascript"></script>

    <script type="text/javascript">
        var api = frameElement.api, W = api.opener;
        function Select(obj, Id, Name) {
            DianCMS_$(obj + "Name").value = Name;
            DianCMS_$(obj + "Id").value = Id;
        }
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <table class="border" cellspacing="1" cellpadding="0" width="99%" border="0" align="center" style="margin-top:5px;">
        <tr>
            <td class="bqleft">
                引用样式：
            </td>
            <td class="bqright" height="28">
                <table cellpadding="0" cellspacing="0" border="0">
                    <tr>
                        <td>
                <div onmousemove="ShowDiv('4')" onmouseout="HiddenDiv('4')" id="Href4" style="z-index: 100;
                    display: none; width: 322px; position: absolute; visibility: visible; height:180px;
                    overflow: auto;margin-top:21px;">
                    <table class="xiala" cellpadding="2" cellspacing="0" border="0" width="100%">
                        <asp:Repeater ID="Repeater2" runat="server">
                            <ItemTemplate>
                                <tr onmouseover="this.className='tdMoveTrBg'" onmouseout="this.className=''">
                                    <td onclick="Select('txtInfoBrowseStyle','<%#Eval("StyleId") %>','<%#Eval("Name") %>');HiddenDiv('4')"
                                        style="cursor: pointer">
                                        <span>
                                            <%#Eval("Name") %></span>
                                    </td>
                                </tr>
                            </ItemTemplate>
                        </asp:Repeater>
                        <tr onmouseover="this.className='tdMoveTrBg'" onmouseout="this.className=''">
                            <td>
                                <span><b>■以下为通用样式■</b></span>
                            </td>
                        </tr>
                        <asp:Repeater ID="Repeater7" runat="server">
                            <ItemTemplate>
                                <tr onmouseover="this.className='tdMoveTrBg'" onmouseout="this.className=''">
                                    <td onclick="Select('txtInfoBrowseStyle','<%#Eval("StyleId") %>','<%#Eval("Name") %>');HiddenDiv('4')"
                                        style="cursor: pointer">
                                        <span>
                                            <%#Eval("Name") %></span>
                                    </td>
                                </tr>
                            </ItemTemplate>
                        </asp:Repeater>
                    </table>
                </div></td>
                    </tr>
                    <tr>
                        <td><asp:TextBox ID="txtInfoBrowseStyleName" Text="选择样式" runat="server" CssClass="in1" onclick="ShowDiv('4')" onmouseout="HiddenDiv('4')"
                    Style="width: 320px;"></asp:TextBox><asp:TextBox ID="txtInfoBrowseStyleId" runat="server"
                        CssClass="in1" Style="display: none"></asp:TextBox></td>
                    </tr>
                </table>
                
            </td>
        </tr>
        <tr>
            <td class="bqleft">
                内容Id：
            </td>
            <td class="bqright" height="28">
                <asp:TextBox ID="txtInfoId" runat="server" CssClass="in1"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="bqleft">
            </td>
            <td class="bqright" height="40">
                <asp:Button ID="Button3" runat="server" Text=" 确认 " CssClass="btn radius30 pad_0_30" OnClick="Button3_Click" /><input id="Button6" type="button" value=" 取消 " onclick="frameElement.api.close();"
                    class="btn radius30 pad_0_30" style="margin-left: 20px" />
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
