<%@ page contentType="text/html; charset=GBK" language="java" errorPage="" %>
<%@ taglib uri="/cms4j" prefix="cms4j" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<script src="../../js/common.js"></script>
<script src="../../js/page_init.js"></script>
<script src="js/article.js"></script>

<script>
//删除专题
function delArticleSpecialConfirm(){
	//如果用户选择了“取消”，则不执行操作
	if (window.confirm("您确定要删除此专题吗？删除操作，原此专题中的文章将设置为[无]专题，请慎重!"))
	{
		return true;
	}

	return false;
}

//清空专题
function clearArticleSpecialConfirm(){
	//如果用户选择了“取消”，则不执行操作
	if (window.confirm("您确定要清空此专题吗？清空操作，原此专题中的文章将设置为[无]专题，请慎重!"))
	{
		return true;
	}

	return false;
}

</script>

<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>

<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="31%" class="title_bar">专题文章管理                  </td>
                <td width="26%" align="center" class="title_bar">&nbsp;                    </td>
                <td width="43%" align="right" class="title_bar"><input type="button" name="Submit" value="添加新专题" onClick="location.href='article_special_add.jsp'">                  </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="21%" height="15">专题名称</td>
                <td width="19%">专题别名(ID)</td>
                <td width="11%">文章数</td>
                <td width="15%">专题文章点击总数</td>
                <td width="25%">操作</td>
              </tr>
			  
			  	<cms4j:article_special state="all">
              <tr class="table_border_cell_bg" title="<%=special.getREMARK()%>">
                <td height="22" align="left">&nbsp;<%=special.getNAME()%></td>
                <td height="22" align="center"><%=special.getSPECIAL_ID()%></td>
                <td height="22" align="center"><%=special.getArticleCount()%></td>
                <td height="22" align="center"><%=special.getArticleClickCount()%></td>
                <td height="22" align="center" class="text_button"><a href="article_special_modify.jsp?id=<%=special.getSPECIAL_ID()%>">设置</a> <a href="../../do?action=delArticleSpecial&id=<%=special.getSPECIAL_ID()%>"  onClick="return delArticleSpecialConfirm()">删除</a> <a href="../../do?action=clearArticleSpecial&id=<%=special.getSPECIAL_ID()%>"  onClick="return clearArticleSpecialConfirm()">清空</a> 

 
                  <a href="../../do?action=orderArticleSpecial&id=<%=special.getSPECIAL_ID()%>&type=up">↑升</a> <a href="../../do?action=orderArticleSpecial&id=<%=special.getSPECIAL_ID()%>&type=down">↓降</a></td>
              </tr>
				</cms4j:article_special>			  
            </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>
</body>
</html>
