<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="specialPick.aspx.cs" Inherits="Kcms.UI.admin.specialPick" %>
<!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>
    <title></title>
    <link href="skins/work-style.css" rel="stylesheet" type="text/css" />
    <script src="/inc/artDialog/artDialog.min.js" type="text/javascript"></script>
    <script src="../scripts/public.js" type="text/javascript"></script>
</head>
<body>
    <form id="form2" runat="server">
<div class="container">
 <div class="path clearfix"><div class="l"><h4><img src="skins/icon/procurementlist_summ.gif" align="absmiddle" />专题管理</h4></div><div class="r"><asp:Literal ID="litAdv" runat="server"></asp:Literal></div></div>
 <div class="mbox clearfix">
  <div class="left">
    <a href="special.aspx">专题列表</a>
   <a href="specialEdit.aspx">专题设置</a>
   <a href="specialPick.aspx" class="on">提取专题</a>
  </div>
  <div class="right">
    <script type="text/javascript">
        function zoomtextarea(objname, zoom) {
            zoomsize = zoom ? 10 : -10;
            obj = document.getElementsByName(objname)[0];
            //	if(obj.rows + zoomsize > 0 && obj.cols + zoomsize * 3 > 0) {
            //		obj.rows += zoomsize;
            //		obj.cols += zoomsize * 3;
            //	}
            if (obj.rows + zoomsize > 0) {
                obj.rows += zoomsize;
            }
        }
</script>
<table class="rtable" width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
  <td width="30%"><b>批量专题：</b><asp:RequiredFieldValidator 
          ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtSpeName" 
          Display="Dynamic" ErrorMessage="*" SetFocusOnError="True"></asp:RequiredFieldValidator>
      <br />
在右侧输入框中输入专题关键字名称，每行填写一个。</td>
  <td>
       <img alt="" src="skins/zoomin.gif" onclick="zoomtextarea('txtKeywords', 1)" style="cursor:pointer"/>&nbsp; <img alt="" src="skins/zoomout.gif" onclick="zoomtextarea('txtKeywords', 0)" style="cursor:pointer"/><br />
      <asp:TextBox ID="txtSpeName" runat="server" Columns="28" Rows="10" 
          TextMode="MultiLine" Wrap="False"></asp:TextBox>
    </td>
</tr>
<tr>
  <td><b>所属频道：</b><asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
          ControlToValidate="drpChannelId" Display="Dynamic" ErrorMessage="*" 
          SetFocusOnError="True" InitialValue="0"></asp:RequiredFieldValidator></td>
  <td>
      <asp:DropDownList ID="drpChannelId" runat="server">
      </asp:DropDownList>　<a href="channel.aspx">添加频道</a>
    </td>
</tr>
<tr>
  <td><b>所属问答分类：</b></td>
  <td><asp:TextBox ID="txtAskClassId" runat="server" Columns="3" onfocus="this.blur()"
          onkeyup="this.value=this.value.replace(/\D/g,'')" onpaste="return false" 
          style="ime-mode:disabled">0</asp:TextBox><a href="javascript:showSelect('txtAskClassId',2)">选择分类</a></td>
</tr>
<tr>
  <td>&nbsp;</td>
  <td><asp:Button ID="btnPost" runat="server" CssClass="btn0" Text="批量添加" 
          onclick="btnPost_Click" OnClientClick="this.value='正在提交，请等待完成…';" UseSubmitBehavior="False"/></td>
</tr>
<tr>
  <td>&nbsp;</td>
  <td>&nbsp;</td>
</tr>
<tr>
  <td><b>获取百度风云榜</b><br />
      输入【<a href="http://top.baidu.com/" target="_blank">风云榜</a>】的地址自动获取。<br />
      如：http://top.baidu.com/buzz.php?p=girls </td>
  <td>
      <asp:TextBox ID="txtTopUrl" runat="server" Columns="48"></asp:TextBox>
      <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
          ControlToValidate="txtTopUrl" ErrorMessage="*" SetFocusOnError="True" 
          ValidationGroup="g2"></asp:RequiredFieldValidator>
      <asp:Button ID="Button1" runat="server" Text="获取风云榜" CssClass="btn0" 
          onclick="Button1_Click" ValidationGroup="g2" />
    </td>
</tr>
</table>
  </div>
 </div>
</div>
</form>
</body>
</html>