<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Flink_Add.aspx.cs" Inherits="TotCms.Web.Admin.Flink_Add" %>

<%@ Register src="UI/main_top.ascx" tagname="main_top" tagprefix="uc1" %>

<!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">
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <title>添加链接</title>
  <link href="style/global.css" rel="stylesheet" type="text/css" />
  <script type="text/javascript" src="js/common.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
      <uc1:main_top ID="main_top1" runat="server" />
    
    </div>
    <table style="width:100%;" border="0" cellpadding="0" cellspacing="1" 
      class="black_border">
      <tr class="suphead">
        <td colspan="2">
                    添加友情链接</td>
    </tr>
    <tr>
      <td class="fields_text">
        网站名称：</td>
      <td class="fields_input">
        <asp:TextBox ID="Title" runat="server"></asp:TextBox>
          <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
          ControlToValidate="Title" ErrorMessage="网站名称不能为空"></asp:RequiredFieldValidator>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        域名地址：</td>
      <td class="fields_input">
        <asp:TextBox ID="Url" runat="server" CssClass="input_middle"></asp:TextBox>
          <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
          ControlToValidate="Url" ErrorMessage="域域名地址不能为空"></asp:RequiredFieldValidator>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        Logo：</td>
      <td class="fields_input">
        <asp:TextBox ID="Logo" runat="server" CssClass="input_middle"></asp:TextBox>
          &nbsp;<input name="UpLoad" type="button" id="UpLoad" value="上传" onclick="popupWindow('Upload.aspx?rid=Logo','UpLoad',420,130,1)" />
          &nbsp;
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        类型：</td>
      <td class="fields_input">
        <asp:DropDownList ID="LinkType" runat="server">
          <asp:ListItem Value="0">文字链接</asp:ListItem>
          <asp:ListItem Value="1">图片链接</asp:ListItem>
        </asp:DropDownList>
          </td>
    </tr>
    <tr>
      <td class="fields_text">
        排序：</td>
      <td class="fields_input">
        <asp:TextBox ID="SortId" runat="server">0</asp:TextBox>
        数字越小越靠前</td>
    </tr>
    <tr>
      <td colspan="2" align="center">
        <asp:Button ID="Button1" runat="server" Text="添 加" onclick="Button1_Click" />
        <input id="Button2" type="reset" value="取 消" /></td>
    </tr>
  </table>
    </form>
</body>
</html>
