📄 looktie.jsp
字号:
<%@ page language="java" pageEncoding="gbk"%>
<%@include file="../islogin.jsp"%>
<%@page import="java.net.InetAddress"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<jsp:directive.page
import="org.springframework.context.ApplicationContext" />
<jsp:directive.page
import="org.springframework.context.support.ClassPathXmlApplicationContext" />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
<head>
<html:base />
<title>看帖</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<style type="text/css">
<!--
body,td,th {
font-size: 12px;
}
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.STYLE8 {
font-size: 36px;
font-weight: bold;
color: #FFFFFF;
}
.STYLE9 {color: #FFFFFF}
.STYLE11 {
font-size: 14px;
color: #FFFFFF;
font-weight: bold;
}
.STYLE12 {font-size: 24px}
.STYLE15 {color: #0000FF}
-->
</style>
<script language="javascript">
function Check()
{
filePath = document.forms[0].picture.value;
var i = filePath.lastIndexOf('.'); //从右边开始找第一个'.'
var len = filePath.length; //取得总长度
var str = filePath.substring(len,i+1); //取得后缀名
var exName = "JPG,GIF,PNF,TXT"; //允许的后缀名
var k = exName.indexOf(str.toUpperCase());//转成大写后判断
if(k==-1) //没有符合的
{
alert("非图片格式,请您上传图片!");
return false;
}
return true;
}
function yinyong(a,b,c)
{
var str = "[QUOTE]"+b+"在:"+c+"发表:</br>"+a+"[/QUOTE]";
str=str.replace(/\[QUOTE\](.+?)\[\/QUOTE\]/ig,"<BLOCKQUOTE>引用:<HR>$1<HR></BLOCKQUOTE>");
document.getElementById('content').value=str;
document.getElementById('content').focus();
}
function Checkuser(a,b)
{
if(a!=b){
alert('不能对别人的信息进行操作!');
return false;
}
return true;
}
function Check1(){
var turnpage = document.getElementById("turnPage").value;
var totals = document.getElementById("totalPages").value;
if(turnpage==""){
alert("请输入要跳转的页面数");
}else if(turnpage!=""&&isNumberString(turnpage,"1234567890")!=1){
alert("请输入正确的页面数");
}else if(turnpage!=""&&turnpage>totals){
alert("请输入正确的页面数");
}else if(turnpage!=""&&turnpage<=0){
alert("请输入正确的页面数");
}else{
window.location="/oa/calendar.do?currentPage=" + turnpage;
}
}
function isNumberString (InString,RefString)
{
if(InString.length==0) return (false);
for (Count=0; Count < InString.length; Count++)
{
TempChar= InString.substring (Count, Count+1);
if (RefString.indexOf (TempChar, 0)==-1)
return (false);
}
return (true);
}
</script>
</head>
<script type="text/javascript">
function check(){
var content = document.forms[0].content.value;
if(content == ""){
alert("请填写回复内容!");
return false;
}
return true;
}
</script>
<body>
<table width="960" height="61" border="0" align="center"
cellpadding="0" cellspacing="0" bgcolor="#8080ff">
<tr>
<td height="36" bgcolor="#8080ff">
<div align="right">
<span class="STYLE8"><span class="STYLE12">联合征信</span>BBS</span>
</div>
</td>
<td bgcolor="#8080ff">
</td>
</tr>
<tr>
<td height="10" colspan="3" bgcolor="#8080ff">
</td>
</tr>
</table>
<table width="100" height="3" border="0" cellpadding="0"
cellspacing="0">
<tr>
<td height="3"></td>
</tr>
</table>
<table width="960" border="0" align="center" cellpadding="0"
cellspacing="1" bgcolor="#CCCCCC" style="padding-top:4px;">
<tr>
<td height="24" colspan="2" bgcolor="#FFFFFF">
<marquee direction=right>
<font color="blue">欢迎您访问论坛:${sessionScope.username }
</font>
</marquee>
</td>
</tr>
</table>
<table width="100" height="3" border="0" cellpadding="0"
cellspacing="0">
<tr>
<td height="3">
</td>
</tr>
</table>
<table width="960" height="42" border="0" cellpadding="0"
cellspacing="0">
<tr>
<td width="15" height="42">
</td>
<td width="571">
<table width="330" height="35" border="0" cellpadding="0"
cellspacing="0">
<tr>
<td width="15" bgcolor="#8080ff">
</td>
<td width="100" height="28" bgcolor="#8080ff">
<div align="center" class="STYLE15 STYLE11">
<span class="STYLE11"><a
href="<%=request.getContextPath()%>/issueTie.do?id=${subid}"><span class="STYLE11">我要发帖</a> </span>
</div>
</td>
<td width="100" bgcolor="#8080ff">
<div align="center">
<span class="STYLE11"><a
href="<%=request.getContextPath() %>/info.do?id=${subid}"><span class="STYLE11">返回列表</a> </span>
</div>
</td>
<td width="94" bgcolor="#8080ff">
<div align="center">
<span class="STYLE11"><a
href="<%=request.getContextPath() %>/moduleList.do"><span class="STYLE11">返回首页</a></span>
</div>
</td>
<td width="15" bgcolor="#8080ff">
</td>
</tr>
<tr>
<td height="10" colspan="5" bgcolor="#8080ff">
</td>
</tr>
</table>
</td>
<td width="378">
<logic:notEmpty name="integrallist">
<logic:iterate id="integral" name="integrallist">
<table width="283" height="30" border="0" align="right"
cellpadding="0" cellspacing="0">
<tr>
<td width="154" height="24" rowspan="2">
<div align="center">
<strong>个人信息</strong>
</div>
</td>
<td width="129" height="16">
<span class="STYLE15"> 积 分:<bean:write
name="integral" property="integrals" /> </span>
</td>
</tr>
<tr>
<td height="16">
<span class="STYLE15"> 等 级:<bean:write
name="integral" property="leve" /> </span>
</td>
</tr>
<tr>
<td width="154" height="12">
<div align="center">
<span class="STYLE15"> <bean:write name="integral"
property="username" /> </span>
</div>
</td>
<td height="16">
<span class="STYLE15"> 发帖数:<bean:write
name="integral" property="issuenums" /> </span>
</td>
</tr>
</table>
</logic:iterate>
</logic:notEmpty>
</td>
</tr>
</table>
<table width="100" height="3" border="0" cellpadding="0"
cellspacing="0">
<tr>
<td height="3">
</td>
</tr>
</table>
<logic:notEmpty name="onetie">
<logic:iterate id="tie" name="onetie">
<table width="960" border="0" align="center" cellpadding="0"
cellspacing="1" bgcolor="#CCCCCC">
<tr>
<td width="963" height="25" bgcolor="#8080ff" class="STYLE11">
<img src="../images/img08.gif" width="20" height="20" />
标题:
<bean:write name="tie" property="theme" />
</td>
</tr>
<tr>
<td width="963" height="1" bgcolor="#8080ff">
</td>
</tr>
<tr>
<td width="963" height="1"
style="padding-top:2px; padding-bottom:2px;">
<table width="100%" border="0" align="center" cellpadding="0"
cellspacing="0">
<tr>
<td width="163" height="24" bgcolor="#D5DDF2">
<div align="center">
发帖人
</div>
</td>
<td colspan="2" bgcolor="#D5DDF2">
<div align="left">
<font color="#4444FF">主题:</font>
<bean:write name="tie" property="theme" />
</div>
</td>
</tr>
<tr>
<td height="112" bgcolor="#FFFFFF"
style="border-left:#D5DDF2 1px solid;">
<table width="131" height="99" border="0" align="center">
<tr>
<td width="112" valign="top" align="center">
<bean:write name="tie" property="issuename" />
</td>
</tr>
</table>
<div align="center"></div>
</td>
<td height="129" colspan="2" rowspan="2" bgcolor="#FFFFFF"
style="border-left:#D5DDF2 1px solid;">
<table width="762" height="130" border="0" align="center">
<tr valign="top">
<td width="774" height="126">
<logic:notEmpty name="tie" property="face">
<img src="../images/${tie.face }"/>
</logic:notEmpty>
<font size="2">${tiecontent }</font>
</br>
<logic:notEmpty name="tie" property="picture">
<img src="/oafile/bbs/${tie.picture }"/>
</logic:notEmpty>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="38" bgcolor="#FFFFFF"
style="border-left:#D5DDF2 1px solid;">
<logic:notEmpty name="issuelist">
<logic:iterate id="issuer" name="issuelist">
<table align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="111" align="center">
${issuer.username }
</td>
</tr>
<tr>
<td width="111">
<span class="STYLE17">等 级:<bean:write
name="issuer" property="leve" /> </span>
</td>
</tr>
<tr>
<td>
<span class="STYLE17">发贴数: <bean:write
name="issuer" property="issuenums" /> </span>
</td>
</tr>
<tr>
<td>
<span class="STYLE17">积 分: <bean:write
name="issuer" property="integrals" /> </span>
</td>
</tr>
</table>
</logic:iterate>
</logic:notEmpty>
<div align="center"></div>
</td>
</tr>
<tr>
<td height="31" bgcolor="#FFFFFF"
style="border-top:#D5DDF2 1px solid;">
<div align="center">
注册时间:2007-08-04
</div>
</td>
<td width="534" height="31" bgcolor="#FFFFFF"
style="border-left:#D5DDF2 1px solid;border-top:#D5DDF2 1px solid;">
<div align="left">
<img src="../images/image.gif" width="22" height="22" />
<span class="STYLE17">楼主</span>
<img src="../images/image.gif" width="22" height="22" />
<span class="STYLE17">发贴时间:<bean:write name="tie"
property="infodate" /> </span>
</div>
</td>
<td width="241" bgcolor="#FFFFFF"
style="border-left:#D5DDF2 1px solid;border-top:#D5DDF2 1px solid;">
<div align="center">
<img src="../image/isbest.gif" width="14" height="15" />
<span class="STYLE17">
<a href="<%=request.getContextPath() %>/updateInfo.do?tid=${tie.id }">修改</a>
</span>
<img src="../image/replynow.gif" width="16" height="16" />
<span class="STYLE17">
<a href="<%=request.getContextPath() %>/delTie.do?tid=${tie.id }">删除</a>
</span>
<img src="../images/img.gif" width="16" height="16"/>
<span class="STYLE17">
<a href="javascript:yinyong('${tie.content}','${tie.issuename}','${tie.infodate }')">引用</a>
</span>
<img src="../images/gotop.gif" width="15" height="15" />
<span class="STYLE17"><a href="javascript:scroll(0,0)">Top</a></span>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="100" height="3" border="0" cellpadding="0"
cellspacing="0">
<tr>
<td>
</td>
</tr>
</table>
<logic:notEmpty name="revertlist">
<%int floor=(Integer)request.getAttribute("floor")+1; %>
<logic:iterate id="revert" name="revertlist">
<table width="960" border="0" align="center" cellpadding="0"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -