<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Link.aspx.cs" Inherits="Admin_Link_Link"
    EnableViewState="true" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<%@ Register Src="../Controls/EditionItem.ascx" TagName="EditionItem" TagPrefix="uc2" %>
<!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 id="Head1" runat="server">
    <title></title>
    <link href="../Stylesheet/Main.css" rel="stylesheet" type="text/css" />
    <script src="../Javascript/Common.js" type="text/javascript" language="JavaScript"></script>
</head>
<body>
    <form id="form1" runat="server">
        <ul class="tool">
            <li onmousemove="this.className='tool_li_ac'" onmouseout="this.className=''">
                <img src="../Images/icon_add.gif" width="14" height="14" align="absmiddle" />
                <a href="Link.aspx" title="增加资讯">增加友情链接</a></li>
            <li onmousemove="this.className='tool_li_ac'" onmouseout="this.className=''" id="boxDel"
                runat="server" visible="false">
                <img src="../Images/icon_del.gif" width="12" height="12" align="absmiddle" />
                <asp:LinkButton ID="lbtnDel" runat="server" OnClick="lbtnDel_Click" OnClientClick="return confirm('确认要将当前友情链接放入回收站吗？')"
                    ToolTip="将当前友情链接放入回收站">放入回收站</asp:LinkButton></li>
            <li>
                <div class="tool_back">
                    <a href="javaScript:history.back(-1)">返回上一步</a></div>
            </li>
        </ul>
        <div class="main_body">
            <h1>
                <asp:Literal ID="litTitle" runat="server" Text="增加友情链接"></asp:Literal></h1>
            <div class="item_body">
                <div class="ht2">
                </div>
                <div class="margin_left_2px">
                    <uc2:EditionItem ID="EditionItem1" runat="server" />
                </div>
                <ul class="item_body_list" id="item_body_list">
                    <li><span class="item_body_list_left">链接名称：</span> <span class="item_body_list_right">
                        <asp:TextBox ID="txtLinkName" runat="server" Width="300px"></asp:TextBox>
                        * </span></li>
                    <li><span class="item_body_list_left">链接地址：</span> <span class="item_body_list_right">
                        <asp:TextBox ID="txtLinkUrl" runat="server" Width="300px"></asp:TextBox>
                        * </span></li>
                    <li>
                        <asp:CheckBox ID="chkIsImage" runat="server" Text="图片链接" onclick="ShowObject(this, 'boxImage', true)" CssClass="input_no" /></li>
                    <li style="display: none;" id="boxImage" runat="server"><span class="item_body_list_left">Logo地址：</span>
                        <span class="item_body_list_right">
                            <asp:TextBox ID="txtImageUrl" runat="server" Width="300px"></asp:TextBox>
                            * </span></li>
                    <li><span class="item_body_list_left">排序：</span> <span class="item_body_list_right">
                        <asp:TextBox ID="txtSortOrder" runat="server" Width="100px" Text="0"></asp:TextBox>
                    </span></li>
                    <li><span class="item_body_list_left">* 状态：</span> <span class="item_body_list_right">
                        <asp:DropDownList ID="dropState" runat="server">
                            <asp:ListItem Value="1">启用</asp:ListItem>
                            <asp:ListItem Value="0">不启用</asp:ListItem>
                        </asp:DropDownList>
                    </span></li>
                </ul>
                <div class="padding8px align_center font_bold ht_color">
                    <asp:LinkButton ID="lbtnOk" runat="server" CssClass="btn_bg" OnClick="lbtnOk_Click">保存当前资讯</asp:LinkButton></div>
            </div>
            <div class="ht">
            </div>
            <div class="ht">
            </div>
            <ul class="ac_intro" runat="server" id="boxPageExplain">
                <li class="ac_intro_title">说明：</li>
                <li class="ac_intro_item">1. 友情链接的增加/编辑；</li>
            </ul>
        </div>
    </form>
</body>

<script language="javascript" type="text/javascript">
        LiColor("item_body_list");
</script>

</html>
