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


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

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<title><cms4j:site_config><%=siteconfig_info.getSITE_TITLE()%></cms4j:site_config></title>
<!--
{cms4j_cache_target_path = /news/$year/$month-$day}
{cms4j_cache_target_file = $seq.html}
-->
<style type="text/css">
<!--
.style1 {color: #666666}
.style2 {color: #003399}
.style4 {color: #EFEFEF}
-->
</style>
<link href="css/style.css" rel="stylesheet" type="text/css">

</head>

<body>
<jsp:include page="top.jsp"/>
<table width="774" border="0" align="center" cellpadding="0" cellspacing="0" class="page_frame">
  <tr>
    <td>
	
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="">
  <tr>
    <td valign="top"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="10"></td>
      </tr>
      <tr>
        <td height=50 align="center" class="article_title" style="WORD-BREAK: break-all">
		<cms4j:article article_id="${param.id}" pn="1">
		    <cms4j:article_list share="true">
		      <%=article_info.getTITLE()%>
			</cms4j:article_list>
		</cms4j:article>
		
		　文章评论</td>
        </tr>
       <tr>
        <td height="10"></td>
      </tr>
    </table>
	<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
	
	<cms4j:common_comment parent_id="${param.id}" type="article" node_id="root" page_size="10">
	  <tr>
        <td width="8%" height="18" align="center" class="article_info_bar"><%=common_comment_info.getCurrentCommentNum()%> 楼</td>
	    <td width="45%" height="18" class="article_info_bar"><%=common_comment_info.getADD_UNAME()%></td>
	    <td width="29%" height="18" class="article_info_bar">发表时间:<%=common_comment_info.getADD_DATETIME2("yyyy-MM-dd HH:mm:ss")%> </td>
	    <td width="18%" height="18" align="right" class="article_info_bar">IP:<%=common_comment_info.getADD_IP()%></td>
	    </tr>
	  <tr>
        <td height="30" colspan="4" class="text_copyright"><%=common_comment_info.getCONTENT()%> </td>
	  </tr>
	</cms4j:common_comment>
	  
    </table>
	
	<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="30" align="center">
		  <div align="right">
              <jsp:include page="../../symbol/page/page_1.jsp">
			  	<jsp:param name="CSS" value="text_copyright"></jsp:param>
			  </jsp:include>
                  </div></td>
        </tr>
    </table>
	<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
	
	<form action="../../do?action=addCommonComment&targetID=${param.id}&type=article" method="post">
      <tr>
        <td height="20" colspan="4" class="article_info_bar"><span class="article_info_bar">※</span> 发表评论</td>
        </tr>
      <tr>
        <td align="right" class="style2">姓名：</td>
        <td align="left"><input name="ADD_UNAME" type="text" id="ADD_UNAME"></td>
        <td align="right"><span class="style2">验证码：</span></td>
        <td align="left"><span class="list_cell_bg"><img name="CheckNumber" border=0 src="../../cms4jadmin/common/randomNumber.jsp" width="60" height="20" alt=""></span>
          <input name="randCode" type="text" class="LoginInput" id="randCode" size="9" maxlength="4"></td></tr>

      <tr>
        <td align="right" valign="top" class="style2">内容：</td>
        <td colspan="3" align="left" class="text_copyright"><textarea name="CONTENT" rows="3" id="CONTENT" style="width:98%"></textarea></td>
        </tr>

      <tr>
        <td width="9%" align="right" class="style2">&nbsp;</td>
        <td width="29%" align="left"><input type="submit" name="Submit" value="发 表">
          <input name="OK_RETURN_URL" type="hidden" id="OK_RETURN_URL" value="RELOAD"></td>
        <td width="29%">&nbsp;</td>
        <td width="33%" align="center">&nbsp;</td>
      </tr>
	  </form>
	  
    </table></td>
  </tr>
</table>
	
	</td>
  </tr>
</table>
<jsp:include page="bottom.jsp"/>
</body>
</html>
