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

📄 info_list.jsp.svn-base

📁 用JSP JAVA 做的 系统 只是初来扎到还望西黄!别乱来哦!
💻 SVN-BASE
字号:
<%--function:交流信息列表
	author:zxh
--%>

<%@ page language="java" import="java.util.*" pageEncoding="GBK"%>
<%@ taglib uri="/WEB-INF/tlds/frametag.tld" prefix="by"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<%String info_list=request.getAttribute("info_list").toString(); %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <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">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link rel="stylesheet" href="<%=path %>/CSS/style.css" type="text/css">
	<script type="text/javascript">
		function isDelInfo(id)
		{	
			location.href="<%=path%>/Selevet.do?action=INFO_DELETE&id="+id+"&CMD=D&type=0";
		}
		function modifyInfo(id)
		{
			location.href="<%=path%>/Selevet.do?action=INFO_MODIFY&id="+id+"&type=0";
		}
		function lookInfo(id)
		{
			location.href="<%=path%>/Selevet.do?action=INFO_LOOK&id="+id+"&type=0";
		}
	</script>
  </head>
  
   <body  topmargin="0" leftmargin="0">
  <center>
<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td height="26" align="center" valign="middle" bgcolor="#66CCFF">
						交流信息
					</td>
				</tr>
			</table>
			<p></p>
		<div align="center">
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
			<tr>
				<td>
					&nbsp;&nbsp;&nbsp;<a href="<%=path%>/JSP/info/info_add.jsp">添加交流信息
					</a>
				</td>
			</tr>
		</table>
		</div>
		<input type="hidden" name="rowsel" value="注意,这个必须要">
<form id="form1" name="form1" method="post" action="">
<table border="1" width="96%" cellspacing="0" cellpadding="0" bordercolor="#99CCFF" bordercolordark="#FFFFFF">
      
    <tr>
      <td width="12%" height="27" bgcolor="#A4CDFF" align="center"><strong>标题</strong></td>
      <td width="10%" height="27" bgcolor="#A4CDFF" align="center"><strong>发布人</strong></td>
      <td width="10%" height="27" bgcolor="#A4CDFF" align="center"><strong>发布时间</strong></td>
     <td width="8%" height="27" bgcolor="#A4CDFF" align="center"><strong>操作</strong></td>
    </tr>
    <by:forby name="info_list" id="info">
    <tr>
      <td height="25px" align="center">&nbsp;
      	<script type="text/javascript">
      	var str="${info.TITLE}";
      	if(str.length>10){
      		document.write(str.substring(0,10)+"...");
      	}else{
      		document.write(str.substring(0,10));
      	}
      	
       </script>
       </td>
      <td height="25px" align="center">&nbsp;${info.ISSUE_USER_NAME} </td>
      <td height="25px" align="center">&nbsp;${info.ISSUE_DATE}</td>
      <td height="25px" align="center">        	
      	<a href="javascript:{lookInfo('${info.ID}');}">查看</a>&nbsp;
      	<a href="javascript:{modifyInfo('${info.ID}');}">修改</a>&nbsp;
		<a href="javascript:{isDelInfo('${info.ID}');}" onClick="return confirm('是否确定要删除这条交流信息?');">删除</a>       		 
	  </td>
    </tr>
    </by:forby>
  </table>

</form>
</div>

${pagebar}

</center>
  </body>
</html>

⌨️ 快捷键说明

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