<%@ page contentType="text/html; charset=GBK" language="java" errorPage="" %>
<%@ taglib uri="/cms4j" prefix="cms4j" %>
 
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<title>CMS4J </title>
<link href="../skin/blue/css/oper_area_style.css" rel="stylesheet" type="text/css">
</head>
<script src="js/article.js"></script>
<script>
//删除栏目
function delArticleClassConfirm(){
	//如果用户选择了“取消”，则不执行操作
	if (window.confirm("您确定要删除此栏目吗？删除操作，将同时删除[所有子栏目]，以及所有子栏目内的[所有文章]，请慎重!"))
	{
		return true;
	}

	return false;
}
</script>
<body>
<table width="98%"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr height="12"> 
    <td width="3%"><img src="../../images/admin/oper_table_up_left.gif" width="26" height="12"></td>
    <td width="92%" background="../../images/admin/oper_table_up_bg.gif" height="12"></td>
    <td width="5%"><img src="../../images/admin/oper_table_up_right.gif" width="26" height="12"></td>
  </tr>
  <tr> 
    <td colspan="3"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td width="5" background="../../images/admin/oper_table_left_bg.gif"><img src="../../images/admin/oper_table_left_bg.gif" width="5" height="2"></td>
          <td background="../../images/admin/oper_table_bg.gif"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="23%" class="title_bar">站内信息检索管理</td>
                <td width="30%" align="center" class="title_bar"><input type="button" name="Submit3" value="栏目管理" onClick="location.href='article_class_list.jsp?cluster_node_id=<%=cn.com.dekn.cms.security.login.CMS4JUser.getClusterNodeIDForParam(request)%>'"></td>
                <td width="47%" align="right" class="title_bar">&nbsp;</td>
              </tr>
              <tr height="4"> 
                <td height="4" colspan="3"></td>
              </tr>
            </table>
			
			
            <table width="100%" border="0" cellpadding="0" cellspacing="1" class="table_border_bg">
              <tr class="table_title"> 
                <td width="25%">栏目名称</td>
                <td width="12%">简称</td>
                <td width="16%">栏目别名</td>
                <td width="14%">索引存放库</td>
                <td width="10%">最后索引</td>
                <td width="7%">已索引</td>
                <td width="7%">未索引</td>
                <td width="9%">操作</td>
              </tr>
              <cms4j:class class_state="all"  content_type="article" node_id="<%=cn.com.dekn.cms.security.login.CMS4JUser.getClusterNodeIDForParam(request)%>"> 
              <tr class="table_border_cell_bg"> 
                <td title="<%=class_info.getCLASS_REMARK()%>"><img src="../../images/tree_folder3.gif" width="15" height="15"><b><%=class_info.getCLASS_NAME()%></b></td>
                <td align="center"><%=class_info.getCLASS_NAME2()%></td>
                <td align="left"><%=class_info.getARTICLE_CLASS_ID()%></td>
                <td align="center"><%=class_info.getINDEX_DB_NAME()%></td>
                <td align="center"><%=class_info.getLAST_INDEX_DATETIME_FORMATED("yy-MM-dd")%></td>
                <td align="center"><%=class_info.getIndexedArticleCount2()%></td>
                <td align="center"><%=class_info.getNotIndexArticleCount2()%></td>
                <td align="right" class="text_button">
				
				<!--如果此栏目支持全文检索，才有检索按钮 -->
				<% if(class_info.getIsIndex().equals("true")) {%>
					<a href="../../do?action=reIndexForArticleClass&id=<%=class_info.getARTICLE_CLASS_ID()%>&cluster_node_id=<%=cn.com.dekn.cms.security.login.CMS4JUser.getClusterNodeIDForParam(request)%>"  onClick="divProcessing.style.display='';divProcessing.style.left=event.x;divProcessing.style.top=event.y-6;">索引</a> 
					<a href="../../do?action=clearIndexForArticleClass&id=<%=class_info.getARTICLE_CLASS_ID()%>&cluster_node_id=<%=cn.com.dekn.cms.security.login.CMS4JUser.getClusterNodeIDForParam(request)%>"  onClick="divProcessing.style.display='';divProcessing.style.left=event.x;divProcessing.style.top=event.y-6;">清空</a>
				<% } %>
				<!--end-->				</td>
              </tr>
			  		<!--二级栏目的表现-->
				  	<cms4j:class class_state="all"  content_type="article"> 
					  <tr class="table_border_cell_bg"> 
						<td title="<%=class_info.getCLASS_REMARK()%>"><img src="../../images/tree_line1.gif" width="17" height="16"><img src="../../images/tree_folder3.gif" width="15" height="15"><%=class_info.getCLASS_NAME()%></td>
						<td align="center"><%=class_info.getCLASS_NAME2()%></td>
						<td align="left"><%=class_info.getARTICLE_CLASS_ID()%></td>
						<td align="center"><%=class_info.getINDEX_DB_NAME()%></td>
						<td align="center"><%=class_info.getLAST_INDEX_DATETIME_FORMATED("yy-MM-dd")%></td>
						<td align="center"><%=class_info.getIndexedArticleCount2()%></td>
						<td align="center"><%=class_info.getNotIndexArticleCount2()%></td>
						<td align="right" class="text_button"><!--如果此栏目支持全文检索，才有检索按钮 -->
                            <% if(class_info.getIsIndex().equals("true")) {%>
                            <a href="../../do?action=reIndexForArticleClass&id=<%=class_info.getARTICLE_CLASS_ID()%>&cluster_node_id=<%=cn.com.dekn.cms.security.login.CMS4JUser.getClusterNodeIDForParam(request)%>"  onClick="divProcessing.style.display='';divProcessing.style.left=event.x;divProcessing.style.top=event.y-6;">索引</a> <a href="../../do?action=clearIndexForArticleClass&id=<%=class_info.getARTICLE_CLASS_ID()%>&cluster_node_id=<%=cn.com.dekn.cms.security.login.CMS4JUser.getClusterNodeIDForParam(request)%>"  onClick="divProcessing.style.display='';divProcessing.style.left=event.x;divProcessing.style.top=event.y-6;">清空</a>
                            <% } %>
                            <!--end-->                        </td>
					  </tr>
				  		<!--三级栏目的表现-->
				  		<cms4j:class class_state="all"  content_type="article"> 
						  <tr class="table_border_cell_bg"> 
							
                <td title="<%=class_info.getCLASS_REMARK()%>"><img src="../../images/tree_line3.gif" width="17" height="16"><img src="../../images/tree_line2.gif" width="17" height="16"><img src="../../images/tree_folder3.gif" width="15" height="15"><%=class_info.getCLASS_NAME()%></td>
							<td align="center"><%=class_info.getCLASS_NAME2()%></td>
							<td align="left"><%=class_info.getARTICLE_CLASS_ID()%></td>
							<td align="center"><%=class_info.getINDEX_DB_NAME()%></td>
							<td align="center"><%=class_info.getLAST_INDEX_DATETIME_FORMATED("yy-MM-dd")%></td>
							<td align="center"><%=class_info.getIndexedArticleCount2()%></td>
							<td align="center"><%=class_info.getNotIndexArticleCount2()%></td>
							<td align="right" class="text_button"><!--如果此栏目支持全文检索，才有检索按钮 -->
                                <% if(class_info.getIsIndex().equals("true")) {%>
                                <a href="../../do?action=reIndexForArticleClass&id=<%=class_info.getARTICLE_CLASS_ID()%>&cluster_node_id=<%=cn.com.dekn.cms.security.login.CMS4JUser.getClusterNodeIDForParam(request)%>"  onClick="divProcessing.style.display='';divProcessing.style.left=event.x;divProcessing.style.top=event.y-6;">索引</a> <a href="../../do?action=clearIndexForArticleClass&id=<%=class_info.getARTICLE_CLASS_ID()%>&cluster_node_id=<%=cn.com.dekn.cms.security.login.CMS4JUser.getClusterNodeIDForParam(request)%>"  onClick="divProcessing.style.display='';divProcessing.style.left=event.x;divProcessing.style.top=event.y-6;">清空</a>
                                <% } %>
                                <!--end-->
                            </td>
						  </tr>
				  		</cms4j:class> 
				  	</cms4j:class> 
			</cms4j:class> </table>
            
          </td>
          <td width="5" background="../../images/admin/oper_table_right_bg.gif"><img src="../../images/admin/oper_table_right_bg.gif" width="5" height="2"></td>
        </tr>
      </table></td>
  </tr>
  <tr height="13"> 
    <td><img src="../../images/admin/oper_table_down_left.gif" width="26" height="13"></td>
    <td width="100%" height="13" background="../../images/admin/oper_table_down_bg.gif"></td>
    <td align="right"><img src="../../images/admin/oper_table_down_right.gif" width="26" height="13"></td>
  </tr>
</table>

<div id=divProcessing style="width:44px;height:30px;position:absolute;left:252px;top:106px;display:none">
<table border=0 cellpadding=0 cellspacing=0 width="100%" height="100%"><tr><td width="28%" valign="middle"><img src="../../images/admin/wait.gif" width="32" height="32"></td>
  </tr></table>
</div>

</body>
</html>
