<%@ page contentType="text/html; charset=GBK" %>
<%@ taglib uri="/cms4j" prefix="cms4j" %>

<%@ page import = "cn.com.dekn.cms.util.*,cn.com.dekn.common.util.*" %>

<%
/***********************************
* TAG参数初始化
***********************************/
//要显示文章的ID
String ARTICLE_ID = ParamUtil.getStrParam(request,"ID","");

//网站群节点ID
String NODE_ID = 	ParamUtil.getStrParam(request,"NODE_ID","root"); 

//网站群节点参数
String CLUSTER_URL_PARAM = "";
if(null != request.getParameter("cluster_node_id")){
	CLUSTER_URL_PARAM = "cluster_node_id=" + StrUtil.encodeHTML(request.getParameter("cluster_node_id").toString());
}

//文章日期范围（all 显示所有；now 显示文章所设置的日期范围内； expire 显示过期的；notbegin 显示未开始的
String DATE = 		ParamUtil.getStrParam(request,"DATE","now"); 


/***********************************
* CSS样式 参数初始化
***********************************/
//CSS样式：外面框架
String CSS_FRAME = 			ParamUtil.getStrParam(request,"CSS_FRAME","page_frame"); 

//CSS样式：整个内容区域
String CSS_CONTENT_AREA =  	ParamUtil.getStrParam(request,"CSS_CONTENT_AREA","page_class_content_area"); 

//CSS样式：信息标题
String CSS_TITLE =  		ParamUtil.getStrParam(request,"CSS_TITLE","article_title");

//CSS样式：内容
String CSS_CONTENT =  		ParamUtil.getStrParam(request,"CSS_CONTENT","article_content"); 

//CSS样式：相关信息栏
String CSS_INFO_BAR =  		ParamUtil.getStrParam(request,"CSS_INFO_BAR","article_info_bar");

//CSS样式：文章列表标题栏
String CSS_TITLE_BAR =  	ParamUtil.getStrParam(request,"CSS_TITLE_BAR","article_info_bar");

//CSS样式：查看更多
String CSS_MORE =  			ParamUtil.getStrParam(request,"CSS_MORE","text_more"); 

//CSS样式：查看更多
String CSS_LIST =  			ParamUtil.getStrParam(request,"CSS_LIST","text_more"); 

%>
<!--BEGIN:设置文章显示条件-->
<cms4j:article article_id="<%=ARTICLE_ID%>" node_id="<%=NODE_ID%>" date="<%=DATE%>">
<table width="100%" height="406" border="0" align="center" cellpadding="0" cellspacing="0" class="<%=CSS_FRAME%>">
  <tr>
    <td valign="top">
	<table width="98%" height="389"  border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="100%" valign="top">          <table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td class="<%=CSS_CONTENT_AREA%>">
			
			<!--BEGIN: 显示文章-->
			<cms4j:article_list share="true">
			<table style="WORD-BREAK: break-all" cellSpacing=0 cellPadding=0 width=100% align=center border=0>
              <!--文章标题-->
			  <tr vAlign=center align=center>
                <td width="760" height=50 class="<%=CSS_TITLE%>" style="WORD-BREAK: break-all"><%=article_info.getTITLE()%></td>
              </tr>
              <tr vAlign=center align=middle>
                <td style="WORD-BREAK: break-all"></td>
              </tr>
			  <!--文章信息栏-->
              <tr align=middle>
                <td height="20" class="<%=CSS_INFO_BAR%>">作者：<%=article_info.getAUTHOR()%>&nbsp;&nbsp;&nbsp;&nbsp;文章来源：<%=article_info.getSOURCE()%>&nbsp;&nbsp;&nbsp;&nbsp;点击数：<%=article_info.getCLICKS2()%>&nbsp;&nbsp;&nbsp;&nbsp;更新时间：<%=article_info.getSAVE_DATE()%></td>
              </tr>
			  <!--文章内容-->
              <tr>
                <td class="<%=CSS_CONTENT%>" id=fontzoom style="WORD-BREAK: break-all" vAlign=top height=300>
                  <!--新闻正文内容-->
				  <%=article_info.getCONTENT2()%>
				  </td>
              </tr>

			  <%
				if(article_info.isHasPage()){
				%>
              <tr>
                <td align="center" class="list" height="40">
                  <!--新闻正文内容-->
				<jsp:include page="../../symbol/page/page_article_1.jsp">
					<jsp:param name="PAGE_COUNT" value="<%=article_info.getPageCount()%>"></jsp:param>
					<jsp:param name="CSS_CURR_PAGE" value="page_nolink"></jsp:param>
					<jsp:param name="CSS_OTHER_PAGE" value="page_link"></jsp:param>
					<jsp:param name="CSS_NEXT_PREV_PAGE" value="page_link"></jsp:param>
					<jsp:param name="CSS_NEXT_PREV_PAGE_NOLINK" value="page_nolink"></jsp:param>
                    <jsp:param name="NODE_ID" value="root"></jsp:param>
				</jsp:include>				  </td>
              </tr>
				<%
				}
				%>
			  
			  <!--文章信息栏-->
              <tr>
                <td height="20" align=right class="<%=CSS_INFO_BAR%>"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="58%" align="left"> </td>
                    <td width="42%" align="right"  class="<%=CSS_INFO_BAR%>">编辑：<%=article_info.getADD_USER()%>&nbsp;</td>
                  </tr>
                </table></td>
              </tr>
              <tr  align=right  height="4">
                <td height="4"></td>
              </tr>
            </table>
			</cms4j:article_list>
			<!--END: 显示文章-->
			
              </td>
          </tr>
          <tr>
            <td height="4"></td>
          </tr>
        </table>          </td>
      </tr>
    </table>
	<table width="98%"  border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="49%" valign="top">
			<!--BEGIN; 本栏目最新热门-->
			<table width="100%"  border="0" cellspacing="0" cellpadding="0">
				<tr>
				  <td valign="middle" ><table width="100%" height="22"  border="0" cellpadding="0" cellspacing="0">
					<tr class="<%=CSS_TITLE_BAR%>">
					  <td width="6%" align="center">※</td>
					  <td width="73%">本栏目最新热门</td>
					  <td width="21%" class="<%=CSS_MORE%>">&nbsp;</td>
					</tr>
				  </table></td>
				</tr>
				<tr>
				  <td height="136" valign="top" class="<%=CSS_CONTENT_AREA%>">

					<jsp:include page="../../symbol/article/list_1.jsp">
						<jsp:param name="CLASS_ID" value="<%=article_info.getARTICLE_CLASS_ID()%>"></jsp:param>
						<jsp:param name="FILTER" value="hot"></jsp:param>
						<jsp:param name="PAGE_SIZE" value="5"></jsp:param>
						<jsp:param name="ROW_HEIGHT" value="20"></jsp:param>
						<jsp:param name="TITLE_LENGTH" value="22"></jsp:param> 
						<jsp:param name="IS_NEW_IMG" value="images/new.gif"></jsp:param> 
						<jsp:param name="ADD_DATE_FORMAT" value="MM-dd"></jsp:param>
						<jsp:param name="SHOW_ADD_DATE_COLUMN" value="true"></jsp:param>
						<jsp:param name="IS_SHOW_CLASS_NAME_COLUMN" value="true"></jsp:param>
						<jsp:param name="CSS" value="<%=CSS_LIST%>"></jsp:param>
                        <jsp:param name="NODE_ID" value="<%=NODE_ID%>"></jsp:param>
						<jsp:param name="PN" value="1"></jsp:param>
					</jsp:include>				  </td>
				</tr>
				<tr>
				  <td height="4"></td>
				</tr>
			</table>
			<!--END; 本栏目最新热门-->
		</td>
        <td width="10">&nbsp;</td>
        <td width="49%" valign="top">
			<!--BEGIN: 相关文章-->
			<table width="100%"  border="0" cellspacing="0" cellpadding="0">
				<tr>
				  <td valign="middle" ><table width="100%" height="22"  border="0" cellpadding="0" cellspacing="0">
					<tr class="<%=CSS_TITLE_BAR%>">
					  <td width="5%" align="center">※</td>
					  <td width="74%">相关文章</td>
					  <td width="21%" class="<%=CSS_MORE%>">&nbsp;</td>
					</tr>
				  </table></td>
				</tr>
				<tr>
				  <td height="136" valign="top" class="<%=CSS_CONTENT_AREA%>">
					<jsp:include page="../../symbol/article/list_1.jsp">
						<jsp:param name="KEY" value="<%=article_info.getKEY_WORD()%>"></jsp:param>
						<jsp:param name="EXCLUDE" value="<%=article_info.getID()%>"></jsp:param>
						<jsp:param name="BIND_KEY_ARTICLE_ID" value="<%=article_info.getBIND_KEY_ARTICLE()%>"></jsp:param>
						<jsp:param name="TITLE_LENGTH" value="22"></jsp:param> 
						<jsp:param name="PAGE_SIZE" value="5"></jsp:param>
						<jsp:param name="PN" value="1"></jsp:param>
						<jsp:param name="CSS" value="<%=CSS_LIST%>"></jsp:param>
                        <jsp:param name="NODE_ID" value="<%=NODE_ID%>"></jsp:param>
					</jsp:include>
					</td>
				</tr>
				<tr>
				  <td height="4"></td>
				</tr>
			</table>
			<!--END: 相关文章-->
		</td>
      </tr>
    </table></td>
  </tr>
</table>
</cms4j:article>