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

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

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

//网站群节点ID
String NODE_ID = StrUtil.getNotNullStringValue(request.getParameter("NODE_ID"),"root");

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


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

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

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

//CSS样式：内容
String CSS_CONTENT =  StrUtil.getNotNullStringValue(request.getParameter("CSS_CONTENT"),"article_content");

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

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

%>
<!--BEGIN:设置文章显示条件-->
<cms4j:article article_id="<%=ARTICLE_ID%>" node_id="<%=NODE_ID%>">
<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.getCONTENT()%>
				  </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" class="<%=CSS_INFO_BAR%>"><table width="100%" height="22"  border="0" cellpadding="0" cellspacing="0">
					<tr class="<%=CSS_INFO_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="110" valign="top" class="<%=CSS_CONTENT_AREA%>">
					<jsp:include page="../../symbol/article/list_1.jsp">
						<jsp:param name="CLASS_ID" value="<%=shared_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="20"></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="NODE_ID" value="<%=NODE_ID%>"></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" class="<%=CSS_INFO_BAR%>"><table width="100%" height="22"  border="0" cellpadding="0" cellspacing="0">
					<tr class="<%=CSS_INFO_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="110" valign="top" class="<%=CSS_CONTENT_AREA%>">
					<jsp:include page="../../symbol/article/list_1.jsp">
						<jsp:param name="KEY" value="<%=shared_article_info.getKEY_WORD()%>"></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="20"></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="SCOPE" value=""></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>