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

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

<%
/***********************************
* TAG参数初始化
***********************************/
//要显示文章的ID
String ANNOUNCE_ID = StrUtil.getNotNullStringValue(request.getParameter("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");

%>

<!--BEGIN: 显示通知通告-->
<cms4j:announce id="<%=ANNOUNCE_ID%>">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="<%=CSS_FRAME%>">
  <tr>
    <td valign="top">	<table width="98%"  border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td class="<%=CSS_CONTENT_AREA%>">
			<table style="WORD-BREAK: break-all" cellspacing=0 cellpadding=0 width=100% align=center border=0>
            <!--通知通告标题-->
			<tr valign=center align=center>
              <td height=50 class="<%=CSS_TITLE%>" style="WORD-BREAK: break-all"><%=announce.getTITLE()%></td>
            </tr>
            <tr valign=center align=middle>
              <td style="WORD-BREAK: break-all"></td>
            </tr>
			<!--通知通告内容-->
            <tr>
              <td class="<%=CSS_CONTENT%>" id=fontzoom style="WORD-BREAK: break-all" valign=top height=300>
                  <%=announce.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">发布日期：<%=announce.getADD_DATE_FORMATED("yyyy-MM-dd")%>&nbsp;&nbsp;</td>
                  </tr>
              </table></td>
            </tr>
        </table></td>
      </tr>
      <tr>
        <td height="4"></td>
      </tr>
    </table></td>
  </tr>
</table>
</cms4j:announce>
<!--END: 显示通知通告-->