<%@ page language="C#" masterpagefile="~/admin/Manager.master" autoeventwireup="true" inherits="admin_link, App_Web_link.aspx.fdf7a39c" title="友情连接管理" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    &nbsp;<asp:GridView ID="LinkView" runat="server" AutoGenerateColumns="False" CellPadding="4"
        ForeColor="#333333" GridLines="None" Width="753px" DataKeyNames="link_ID" OnRowCommand="LinkView_RowCommand" OnRowDeleting="LinkView_RowDeleting" PageSize="8">
        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <Columns>
            <asp:TemplateField HeaderText="网站名称">
                <ItemTemplate>
                    <asp:TextBox ID="LinkName" runat="server" Text='<%# Eval("link_Name") %>' Width="123px" ></asp:TextBox>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="网站地址">
                <ItemTemplate>
                    <asp:TextBox ID="LinkURL" runat="server" Text='<%# Eval("link_URL") %>'></asp:TextBox>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Logo图片地址">
                <ItemTemplate>
                    <asp:TextBox ID="LinkLogo" runat="server" Text='<%# Eval("link_Image") %>'></asp:TextBox>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="排序">
                <ItemTemplate>
                    <asp:TextBox ID="LinkOrder" runat="server" Text='<%# Eval("link_Order") %>' Width="33px"></asp:TextBox>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="网站类型">
                <ItemTemplate>
                    <asp:DropDownList ID="urlInTop" runat="server" SelectedValue='<%# Eval("link_IsMain") %>'>
                        <asp:ListItem Value="0">大学社区</asp:ListItem>
                        <asp:ListItem Value="1">实用查询</asp:ListItem>
                        <asp:ListItem Value="2">其他</asp:ListItem>
                    </asp:DropDownList>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="开通">
                <ItemTemplate>
                    <asp:DropDownList ID="LinkShow" runat="server" SelectedValue='<%# Eval("Link_IsShow") %>'>
                        <asp:ListItem Value="0">未审核</asp:ListItem>
                        <asp:ListItem Value="1">已开通</asp:ListItem>
                    </asp:DropDownList>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:ButtonField CommandName="RowUpdating" Text="修改" />
            <asp:CommandField ShowDeleteButton="True" />
        </Columns>
        <RowStyle BackColor="#EFF3FB" />
        <EditRowStyle BackColor="#2461BF" />
        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <AlternatingRowStyle BackColor="White" />
    </asp:GridView>
    <br />
    <table border="0" cellpadding="2" cellspacing="1" class="TablePanel" style="width: 635px">
        <tr align="center" bgcolor="#d5dae0">
            <td align="left" class="TDHead" colspan="4" style="border-top: #999 1px solid; height: 16px">
                <a name="AddLink"></a>
                <img src="images/add.gif" style="margin: 0px 2px -3px" />添加</td>
        </tr>
        <tr align="center">
            <td style="width: 7px; height: 10px;">
                <asp:TextBox ID="LinkName" runat="server" Width="125px"></asp:TextBox></td>
            <td style="width: 164px; height: 10px;">
                &nbsp;<asp:TextBox ID="LinkURL" runat="server" Width="151px"></asp:TextBox></td>
            <td style="width: 161px; height: 10px;">
                <asp:TextBox ID="LinkLogo" runat="server" Width="144px"></asp:TextBox></td>
            <td style="width: 158px ; height: 10px;" align="left">
                <asp:TextBox ID="LinkOrder" runat="server" Width="44px"></asp:TextBox></td>
        </tr>
    </table>
    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
    <asp:Button ID="Button18" runat="server" CssClass="button" OnClick="Button18_Click"
        Text="保存模块代码" />
</asp:Content>

