<%@ page contentType="text/html; charset=GBK"%>
<%@ taglib uri="/cms4j" prefix="cms4j" %>
<cms4j:article article_id="${param.id}">
<cms4j:article_list share="true">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<title><cms4j:site_config node_id="root"><%=article_info.getTITLE_TEXT()%> - <%=siteconfig_info.getSITE_TITLE()%></cms4j:site_config></title>
<link href="css/css.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {color: #666666}
.style2 {color: #003399}
.style4 {color: #EFEFEF}
-->
</style>
</head>

<body>
<!--权限校验:判断访问者是否有访问此文章的权限，如果没有，则页面跳转至 err_forward_url 所指的页面-->
<cms4j:security type="can_view_article" article_id = "${param.id}" err_action_type="forward" err_forward_url = "purview_err.jsp"/>

<jsp:include page="top.jsp"/>

<table width="960" height="406" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#C5D1E5">
  <tr>
    <td valign="top" bgcolor="#FFFFFF" class="list_top_b"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="79%" height="40" align="center" valign="middle" class="article_title"><%=article_info.getTITLE()%></td>
      </tr>
      <tr>
        <td height="2" colspan="3" bgcolor="#84B8DF"></td>
      </tr>
    </table>
      <table width="98%"  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=""><!--BEGIN: 显示照片-->
                    <table style="WORD-BREAK: break-all" cellSpacing=0 cellPadding=0 width=100% align=center border=0>
                      <!--照片标题-->

                      <tr vAlign=center align=middle>
                        <td style="WORD-BREAK: break-all"></td>
                      </tr>
                      <!--照片信息栏-->
                      <tr align=middle>
                        <td height="30" align="center" class="list">描述:<%=article_info.getSUMMARY()%></td>
                      </tr>
                      <!--照片内容-->
                      <tr>
                        <td height="100" align="center" vAlign=top class="article_content" id=fontzoom style="WORD-BREAK: break-all"><%	
					int splitIndex = -1;
					String fileExtName = "";
						
					if(null!=article_info.getMULTI_RES()&&article_info.getMULTI_RES().equals("")==false){
						splitIndex = article_info.getMULTI_RES().indexOf(".");
						if(splitIndex>0){
							fileExtName = article_info.getMULTI_RES().substring(splitIndex+1).toLowerCase();
						}
					}
				%>
                            <%	if(fileExtName.equals("flv")){ %>
                            <object type="application/x-shockwave-flash" width="484" height="334" id="vcastr3">
                              <param name="movie" value="../../images/flvplayer.swf"/>
                              <param name="allowFullScreen" value="true" />
                              <param name="FlashVars" value="xml=<vcastr><channel><item><source><%=article_info.getMULTI_RES()%></source><duration></duration><title></title></item></channel><config><controlPanelBgColor>0x000000</controlPanelBgColor><isShowAbout>false</isShowAbout></config></vcastr>"/>
                            </object>
                            <% }else{ %>
                            <embed loop="true" autostart="true" height="288" width="384" src="<%=article_info.getMULTI_RES()%>"></embed>
                            <% } %>
                            <!--新闻正文内容--></td>
                      </tr>
                      <!--文章信息栏-->
                      <tr>
                        <td height="20" align=right><table width="100%"  border="0" cellpadding="10" cellspacing="0" class="time">
                            <tr>
                              <td width="54%" align="left"></td>
                              <td width="46%" align="right"  class="">添加人：<%=article_info.getADD_USER()%>&nbsp;&nbsp;&nbsp;&nbsp;点击数：<%=article_info.getCLICKS2()%>&nbsp;&nbsp;&nbsp;&nbsp;更新时间：<%=article_info.getSAVE_DATE()%>&nbsp;&nbsp;</td>
                            </tr>
                        </table></td>
                      </tr>
                    </table>
              <!--END: 显示照片-->            </td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
<jsp:include page="bottom.jsp"/>
<iframe src="../../counter?type=multimedia&id=${param.resID}" width="0" height="0"></iframe>
</body>
</html>
</cms4j:article_list>
</cms4j:article>
