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

📄 news-look.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"%>

<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;
}
.STYLE1 {
	font-size: 14px;
	color: #FFFFFF;
	}
.STYLE16 {color: #000000;}
.STYLE24 {	font-size: 14;
	color: #FFFFFF;
}
.STYLE25 {
	font-size: 14px;
	color: #000000;
}
.STYLE2 {font-size: 14; color: #000000; }
	

-->
</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="34" border="0" cellpadding="0" cellspacing="0" >
  <tr>
    <td width="693" height="25" bgcolor="#A4B5E3" style="padding-right:2px;padding-left:2px;padding-top:2px;padding-bottom:2px;"><div align="center" class="STYLE1">${news.title}</div></td>
  </tr>
</table>
<table width="700" height="22" border="0" cellpadding="0" cellspacing="0">
  <tr align="center">
    <td height="22" style="border-bottom:#D5DDF2 1px solid;">发布日期:&nbsp;${news.date}&nbsp;&nbsp;来源:&nbsp;${news.source}&nbsp;&nbsp;评论条数:&nbsp;${num}</td>
  </tr>
</table>
<table width="700" height="100" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td  valign="top" style="padding-top:15px; padding-bottom:15px;padding-right:15px; padding-left:15px;"><span class="STYLE19">${news.content}</span></td>
  </tr>
</table>
<table width="100" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="20"></td>
  </tr>
</table>
<table width="700" height="25" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td width="529" bgcolor="#FFFFFF" class="STYLE24"><span class="STYLE25">&nbsp;<strong>评论新闻</strong></span></td>
    <td width="90" bgcolor="#FFFFFF"><div align="center">共有${num}条评论</div></td>
    <td width="81" bgcolor="#FFFFFF"><div align="center"><a href="newsReviewLook.do?newsid=${news.id}">查看评论</a></div></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="${news.id}" />
<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="67" height="30" bgcolor="#FFFFFF" style="border-bottom:#D5DDF2 1px solid; border-right:#D5DDF2 1px solid;"><div align="center">评论:</div></td>
    <td width="628" 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 + -