<%@ page language="VB" autoeventwireup="false" inherits="qiye_admin_admin_youqing, App_Web_admin_youqing.aspx.25f04327" %>
<head>
<title>链接管理</title>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<!--#include file="js/tanboxf4.inc"-->
<link href="css/css.css" rel="stylesheet" type="text/css" />
<link href="css/body.css" rel="stylesheet" type="text/css" />
<link href="css/text.css" rel="stylesheet" type="text/css" />
<link href="css/button.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript">

function CheckAll(form) //传一个表单作参数
{ 
for (var i=0;i<form.elements.length;i++) //对这个表单里的元素进行循环
{ 
var e = form.elements[i]; //一个一个元素判断
if (e.Name != "yqspl_int_id"&&e.disabled!=true) //如果该元素的name属性为chkAll并且disabled!=true.即:该控件可用时.
e.checked = form.chkAll.checked; //控元素的checked与当前选中的控件checked保持一致.即:全选/全不选.
} 
} 
document.oncontextmenu=new Function('event.returnValue=false;');
    </script>
    </head>
    <body>
				  <form id="form1" runat="server">
				  <table width="100%" border="0" cellspacing="3" cellpadding="0">
                    <tr>
                      <td><table width="100%" border="0" cellpadding="0" cellspacing="0">
                          <tr>
                            <td bgcolor="#E7E7E7"><table width="100%" border="0" cellspacing="1" cellpadding="0">
                                <tr>
                                  <td bgcolor="#FFFFFF"><table width="100%" height="53" border="0" cellpadding="0" cellspacing="5">
                                      <tr>
                                        <td height="19" bgcolor="#EBEBEB"><table width="100%" border="0" cellspacing="8" cellpadding="0">
                                            <tr>
                                              <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="3" cellpadding="0">
                                                  <tr>
                                                    <td width="15%" height="25" align="center" class="wuse16"><strong class="16huise">管理中心</strong></td>
                                                    <td width="76%" valign="bottom" class="huise12">链接管理</td>
                                                    <td width="9%" valign="bottom" class="huise12">&nbsp;</td>
                                                  </tr>
                                              </table></td>
                                            </tr>
                                        </table></td>
                                      </tr>
                                      
                                  </table></td>
                                </tr>
                                <tr>
                                  <td bgcolor="#FFFFFF"><table width="100%" height="29" border="0" cellpadding="0" cellspacing="5">
                                      <tr>
                                        <td height="19" bgcolor="#F3F3F3">&nbsp;</td>
                                    </tr>
                                  </table></td>
                                </tr>
                            </table></td>
                          </tr>
                      </table></td>
                    </tr>
                  </table>
                  
                  <fieldset style="margin:10px 5px 5px 5px; padding:0px 5px 5px 5px;"><legend class="wuse12"><strong>添加新链接</strong></legend>

                  <table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#E7E7E7" style="margin-top:5px;">
                    <tr>
                      <td width="30%" height="30" align="center" bgcolor="#F6F6F6"><span class="wuse12">隶属分类：</span></td>
                      <td height="25"><asp:DropDownList ID="yq_lei" runat="server"> </asp:DropDownList></td>
                    </tr>
                    <tr>
                      <td height="30" align="center" bgcolor="#F6F6F6"><span class="wuse12">链接名称：</span> </td>
                      <td height="25"><span class="wuse12">
                        <input name="yq_name" type="text" class="lvsetext150x22" id="yq_name" 
                                                                          maxlength="50" />
                        <span class="hongse12"> *</span></span></td>
                    </tr>
                    <tr>
                      <td height="30" align="center" bgcolor="#F6F6F6"><span class="wuse12">链接地址：</span></td>
                      <td height="25"><span class="hongse12">
                        <input name="yq_dz" type="text" 
                            class="lvsetext350x22" id="yq_dz" value="http://" maxlength="255" />
                        *</span></td>
                    </tr>
                  </table>
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="30%" height="30">&nbsp;</td>
                      <td>
                          <asp:Button ID="yq_ok" runat="server" CssClass="btn" 
                                Text="提  交" />                    
                          &nbsp;&nbsp;<input name="Submit" type="reset" class="btn" value="重  置" />
                          &nbsp;&nbsp;<asp:Label ID="yq_ts" runat="server"></asp:Label>                      </td>
                    </tr>
                  </table>
                  </fieldset>
<fieldset style="margin:10px 5px 5px 5px; padding:0px 5px 5px 5px;"><legend class="wuse12"><strong>已建立的链接项</strong></legend>

<table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:5px;">
  <tr>
    <td bgcolor="#FFFFFF" class="wuse12"><table width="100%" border="1" cellpadding="0" cellspacing="1" bordercolor="#F6F6F6">
      <tr>
        <td width="21" background="image/listbg.gif" bgcolor="#FFFFFF" class="wuse12"><input name="chkAll" type="checkbox" id="chkAll" onClick="CheckAll(this.form)" value="checkbox" style="border:0" /></td>
        <td width="25%" height="22" align="center" background="image/listbg.gif" bgcolor="#FFFFFF" class="wuse12">链接名称</td>
        <td width="16%" align="center" background="image/listbg.gif" bgcolor="#FFFFFF" class="wuse12">隶属分类</td>
        <td align="center" background="image/listbg.gif" bgcolor="#FFFFFF" class="wuse12">链接地址</td>
        <td width="10%" align="center" background="image/listbg.gif" bgcolor="#FFFFFF" class="wuse12">状态 | 管理</td>
      </tr>
      <asp:Repeater ID="data_yq" runat="server">
        <ItemTemplate>
          <tr onMouseOver="this.bgColor='#DBDBDB';" onMouseOut="this.bgColor='#ffffff';" bgColor=#ffffff>
            <td height="30"><input name="yqspl_int_id" type="checkbox" value="<%#Eval("yq_id")%>" /></td>
            <td align="center" class="wuse12"><%#Eval("yq_name")%></td>
            <td align="center" class="huise12"><%#Eval("yq_lei")%></td>
            <td class="lanse12"><%#Eval("yq_dz")%></td>
            <td align="center" class="wuse12"><%#Eval("yq_verify")%> | <a href="javascript:ShowHtmlString(570,190,'admin_update_youqing.aspx?update_id=<%#Eval("yq_id")%>','修改链接');" >修改</a> </td>
          </tr>
        </ItemTemplate>
      </asp:Repeater>
    </table></td>
  </tr>
  <tr>
    <td height="30" class="wuse12">分类转移：
      <asp:DropDownList ID="yq_quantity_lei" runat="server"> </asp:DropDownList>
      &nbsp;&nbsp;
      <asp:Button ID="yq_quantity_uplei" runat="server" 
                            CssClass="btn" Text="批量转移" />
      &nbsp;&nbsp;
      <asp:Button ID="yq_quantity_verify_true" runat="server" 
                            CssClass="btn" Text="批量已审" />
      &nbsp;&nbsp;
      <asp:Button ID="yq_quantity_verify_false" runat="server" 
                            CssClass="btn" Text="批量未审" />
      &nbsp;&nbsp;
      <asp:Button CssClass="btn1_mouseout" ID="yq_quantity_delete" runat="server" 
                                      Text="批量删除"/></td>
  </tr>
</table>
</fieldset>
<asp:Label CssClass="wuse12" ID="web_page" runat="server"></asp:Label>
				  </form>
                  </body>