⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 news-ping.jsp

📁 一个oa系统
💻 JSP
字号:
<%@ page language="java" pageEncoding="gb2312"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@include file="../islogin.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>评论新闻</title>
<style type="text/css">
<!--
body,td,th {
	font-size: 12px;
}
body {
	margin-left: 6px;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.STYLE16 {color: #000000;}
.STYLE19 {color: #000000;
          font-size: 13;}
.STYLE24 {
	font-size: 14;
	color: #FFFFFF;
}
.STYLE25 {font-size: 14px}
.STYLE26 {
	font-size: 14px;
	color: #0000FF;
}
-->
</style></head>
<script type="text/javascript">
function addmood(id){
    document.getElementById("review").value +='<img src="<%=request.getContextPath() %>/image/contentface/'+id +'.gif" border="0"/>';
}
</script>
<body>
<table width="700" height="25" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td bgcolor="#A4B5E3" class="STYLE24"><span class="STYLE25">&nbsp;<strong>评论新闻</strong></span></td>
  </tr>
</table>
<table width="100" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="8"></td>
  </tr>
</table>
<table width="700" height="25" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="30" bgcolor="#EAEAEA"><div align="center" style="border-bottom:#D5DDF2 1px solid; border-left:#D5DDF2 1px solid;border-top:#D5DDF2 1px solid; border-right:#D5DDF2 1px solid;padding-top:2px; padding-bottom:2px;padding-right:2px; padding-left:2px;">
    <span class="STYLE26"><a href="newsLook.do?id=${newsid}">${title}</a></span></div></td>
  </tr>
</table>
<table width="100" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="8"></td>
  </tr>
</table>
<table width="700" border="0" cellpadding="0" cellspacing="1" bgcolor="#D8D8D8">
  <c:forEach items="${reviews}" var="review">
  <tr>
    <td height="72"  valign="top" bgcolor="#FFFFFF" style="padding-top:15px; padding-bottom:15px;padding-right:15px; padding-left:15px;">
       <span class="STYLE19">
       	  ${review.reviewman} 发表于 ${review.date}<br />
       	  ${review.review}
       </span></td>
  </tr>
  </c:forEach>
</table>
<table width="100" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="8"></td>
  </tr>
</table>
<table width="700" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="30" bgcolor="#D8D8D8"> <div align="right">
        &nbsp;第 ${pager.currentPage} 页/共 ${pager.totalPages} 页&nbsp;总记录 ${pager.totalRecoder} 条
		<a href="newsReviewLook.do?newsid=${newsid}&page=1">首页</a>&nbsp;
		<c:if test="${pager.currentPage == 1}">
		上一页&nbsp; 
		</c:if>
		<c:if test="${pager.currentPage != 1}">
		<a href="newsReviewLook.do?newsid=${newsid}&page=${pager.upPage}">上一页</a>&nbsp; 
		</c:if>
		<c:if test="${pager.currentPage == pager.totalPages}">
		下一页&nbsp;
		</c:if>
		<c:if test="${pager.currentPage != pager.totalPages}">
		<a href="newsReviewLook.do?newsid=${newsid}&page=${pager.downPage}">下一页</a>&nbsp;
		</c:if>
		<a href="newsReviewLook.do?newsid=${newsid}&page=${pager.totalPages}">末页</a>&nbsp; 跳转至
		<form action="newsReviewLook.do?newsid=${newsid}" method="post" style="display:inline">
		<input name="page" type="text" size="2" />
		<input name="Submit" type="submit" class="anniu" value="GO" /></form>
    </div></td>
    <td bgcolor="#D8D8D8">&nbsp;</td>
  </tr>
</table>
<table width="100" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="8"></td>
  </tr>
</table>
<form action="../newsReview.do" method="post">
<input type="hidden" name="newsid" value="${newsid}" />
<table width="700" border="0" cellpadding="0" cellspacing="0"style="border-bottom:#D5DDF2 1px solid; border-left:#D5DDF2 1px solid;border-top:#D5DDF2 1px solid; border-right:#D5DDF2 1px solid;">
  <tr>
    <td width="74" height="30" bgcolor="#FFFFFF" style="border-bottom:#D5DDF2 1px solid; border-right:#D5DDF2 1px solid;"><div align="center">评论:</div></td>
    <td width="624" height="37" style="padding-top:2px; padding-bottom:2px;padding-right:2px; padding-left:2px;border-bottom:#D5DDF2 1px solid;"><textarea name="review" cols="85" rows="10"></textarea></td>
  </tr>
  <tr>
    <td height="22" bgcolor="#FFFFFF" style="border-bottom:#D5DDF2 1px solid; border-right:#D5DDF2 1px solid;"><div align="center">表情:</div></td>
    <td height="22" style="border-bottom:#D5DDF2 1px solid;"><span style="padding-top:2px; padding-bottom:2px;padding-right:2px; padding-left:2px;border-bottom:#D5DDF2 1px solid;">
      <img onclick="addmood('em01')" style="cursor: hand" src="image/contentface/em01.gif" width="19" height="19" />
          <img onclick="addmood('em02')" style="cursor: hand" src="image/contentface/em02.gif" width="19" height="19" /> 
          <img onclick="addmood('em03')" style="cursor: hand" src="image/contentface/em03.gif" width="19" height="19" /> 
          <img onclick="addmood('em04')" style="cursor: hand" src="image/contentface/em04.gif" width="19" height="19" /> 
          <img onclick="addmood('em05')" style="cursor: hand" src="image/contentface/em05.gif" width="19" height="19" /> 
          <img onclick="addmood('em06')" style="cursor: hand" src="image/contentface/em06.gif" width="19" height="19" /> 
          <img onclick="addmood('em07')" style="cursor: hand" src="image/contentface/em07.gif" width="19" height="19" /> 
          <img onclick="addmood('em08')" style="cursor: hand" src="image/contentface/em08.gif" width="19" height="19" /> 
          <img onclick="addmood('em09')" style="cursor: hand" src="image/contentface/em09.gif" width="19" height="19" /> 
          <img onclick="addmood('em10')" style="cursor: hand" src="image/contentface/em10.gif" width="19" height="19" /> 
          <img onclick="addmood('em11')" style="cursor: hand" src="image/contentface/em11.gif" width="19" height="19" /> 
          <img onclick="addmood('em12')" style="cursor: hand" src="image/contentface/em12.gif" width="19" height="19" /> 
          <img onclick="addmood('em13')" style="cursor: hand" src="image/contentface/em13.gif" width="19" height="19" /> 
          <img onclick="addmood('em14')" style="cursor: hand" src="image/contentface/em14.gif" width="19" height="19" />
          <img onclick="addmood('em15')" style="cursor: hand" src="image/contentface/em15.gif" width="19" height="19" /> 
          <img onclick="addmood('em16')" style="cursor: hand" src="image/contentface/em16.gif" width="19" height="19" /> 
          <img onclick="addmood('em17')" style="cursor: hand" src="image/contentface/em17.gif" width="19" height="19" /> 
          <img onclick="addmood('em18')" style="cursor: hand" src="image/contentface/em18.gif" width="19" height="19" /> 
          <img onclick="addmood('em19')" style="cursor: hand" src="image/contentface/em19.gif" width="19" height="19" />
          <img onclick="addmood('em20')" style="cursor: hand" src="image/contentface/em20.gif" width="19" height="19" />
          <img onclick="addmood('em21')" style="cursor: hand" src="image/contentface/em21.gif" width="19" height="19" /> 
          <img onclick="addmood('em22')" style="cursor: hand" src="image/contentface/em22.gif" width="19" height="19" /> 
          <img onclick="addmood('em23')" style="cursor: hand" src="image/contentface/em23.gif" width="19" height="19" />
          <img onclick="addmood('em24')" style="cursor: hand" src="image/contentface/em24.gif" width="19" height="19" />
          <img onclick="addmood('em25')" style="cursor: hand" src="image/contentface/em25.gif" width="19" height="19" /> 
        </span></td>
  </tr>
  
  <tr>
    <td height="22" bgcolor="#FFFFFF" >&nbsp;</td>
    <td height="22">
      
      <div align="center">
        <input type="submit" name="Submit2" value="提 交" />
          
        <input type="reset" name="Submit" value="清 除" />
        </div></td>
  </tr>
</table>
</form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -