<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/cms4j" prefix="cms4j" %>

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


<%
//��ǰվ��ķ���������(����Ŀ¼��
String CONTEXT_PATH = cn.com.dekn.cms.syscfg.vo.SiteConfig.getInstance().getCONTEXT_PATH();

//Ĭ�ϵ�������ʾҳ,������������Ϣ��ȡ
String DEF_ARTICLE_SHOW_PATH = "";

//��վȺ�ڵ�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());
}
%>

<cms4j:site_config node_id="<%=NODE_ID%>">
<% DEF_ARTICLE_SHOW_PATH = siteconfig_info.getARTICLE_VIEW_TEMPLET_PATH(); %>
</cms4j:site_config>


<% 
/***********************************
* TAG�����ʼ��
***********************************/
//Ҫ��ʾ��Ŀ��ID
String CLASS_ID = ParamUtil.getStrParam(request,"CLASS_ID","all"); 

//��������
String FILTER = ParamUtil.getStrParam(request,"FILTER","summary_image");

//��������2
String FILTER2 = ParamUtil.getStrParam(request,"FILTER2","");

//��������
String ORDER = ParamUtil.getStrParam(request,"ORDER","");

//��ʾ��һ��ר��
String SPECIAL_ID = ParamUtil.getStrParam(request,"SPECIAL_ID",""); 

//��Ŀ��״̬(Ĭ����ʾ״̬ΪUSE��)
String CLASS_STATE = 	ParamUtil.getStrParam(request,"CLASS_STATE","use");

//��Ŀ����ʾ��ʽ��all Ϊ��ʾ���У� show Ϊ��ʾ���ڵ�������ʾ�ġ� hiddenΪ��ʾ���ڵ����в���ʾ�ġ�
String CLASS_SHOW = 	ParamUtil.getStrParam(request,"CLASS_SHOW","all");

//�������ڷ�Χ��all ��ʾ���У�now ��ʾ���������õ����ڷ�Χ�ڣ� expire ��ʾ���ڵģ�notbegin ��ʾδ��ʼ��
String DATE = ParamUtil.getStrParam(request,"DATE","now");

//�ų�
String EXCLUDE = 		ParamUtil.getStrParam(request,"EXCLUDE","");

//�ų�2
String EXCLUDE2 = 		ParamUtil.getStrParam(request,"EXCLUDE2","");

//ָ����ʾ�ڼ�ҳ�����
int PN = ParamUtil.getIntParam(request,"PN",0);

//����
String PAGE_SIZE = ParamUtil.getStrParam(request,"PAGE_SIZE","5"); 



/***********************************
* ��ʾ���Բ����ʼ��
***********************************/

//���ű��ⳤ��
int TITLE_LENGTH = ParamUtil.getIntParam(request,"TITLE_LENGTH",18);

//���ⳤ�ȳ���ʱ��ʾ���ַ�
String TITLE_OUT_STR = ParamUtil.getStrParam(request,"TITLE_OUT_STR","..");

//��ʾ���µ�Ĭ��ҳ��
String SHOW_ARTICLE_PAGE = ParamUtil.getStrParam(request,"SHOW_ARTICLE_PAGE",DEF_ARTICLE_SHOW_PATH);

//ͼ����
int IMG_WIDTH = ParamUtil.getIntParam(request,"IMG_WIDTH",251);

//ͼ��߶�
int IMG_HEIGHT = ParamUtil.getIntParam(request,"IMG_HEIGHT",180);

//ͼƬչ���ؼ�
String PPT_OBJECT = ParamUtil.getStrParam(request,"PPT_OBJECT",CONTEXT_PATH + "/images/focus.swf"); 

/***********************************
* ������
***********************************/
//������ʾͼƬ��URL
String imgURL = "";


%>


	


				<cms4j:article page_size="<%=PAGE_SIZE%>" class_id="<%=CLASS_ID%>" filter="summary_image" node_id="<%=NODE_ID%>"  class_state="<%=CLASS_STATE%>" class_show="<%=CLASS_SHOW%>" date="<%=DATE%>">
				<cms4j:article_list>
					<a href="<%=article_info.getURL(SHOW_ARTICLE_PAGE,CLUSTER_URL_PARAM)%>"  blockid="3027" target="_blank"><img  src="<%=article_info.getHOMEPAGE_IMAGE()%>" width="<%=IMG_WIDTH%>" height="<%=IMG_HEIGHT%>" alt="<%=article_info.getTITLE_TEXT()%>" /></a>
		    	</cms4j:article_list>
		    	</cms4j:article>


    			

	


 


			
				

				