📄 zlxz_3.jsp~2~
字号:
<%@page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage=""%>
<%@page import="java.util.*"%>
<%@page import="java.text.*"%>
<%@page import="com.j2ee.func.zlxz.*"%>
<% Vector vct=(Vector)request.getAttribute("vct");
String type=(String)request.getAttribute("type");
String counts=(String )request.getAttribute("count");
int count=Integer.parseInt(counts);
String pagenos=(String)request.getAttribute("pageno");
int pageno=Integer.parseInt(pagenos);
String pagesizes=(String)request.getAttribute("pagesize");
int pagesize=Integer.parseInt(pagesizes);
String typevia=(String)request.getAttribute("typevia");
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>
zlxz_3
</title>
<link href="css/indexcss.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#ffffff">
<table width="770" height="114" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="29" colspan="3"><table width="770" height="25" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="15%" height="28"><img src="image/member_enter.gif" width="120" height="26"></td>
<td width="58%" bgcolor="#E6E6E6"> <form action="logincservlet" method="post" name="form1">
用户名
<input name="name" type="text" size="16" maxlength="20">
密码
<input name="password" type="password" value="" size="16">
<select name="usertype">
<option value="0" selected>个人用户</option>
<option value="1">企业用户</option>
</select>
<input type="submit" name="Submit" value="登陆">
</form></td>
<td width="13%" bordercolor="#FFFFFF" bgcolor="#E6E6E6"><p>注册帐号</p></td>
<td width="10%" bordercolor="#FFFFFF" bgcolor="#E6E6E6">忘记密码</td>
<td width="4%" bordercolor="#FFFFFF" bgcolor="#E6E6E6"> </td>
</tr>
</table></td>
</tr>
<tr>
<td width="26%" height="60" class="index"><img src="image/log.jpg" width="200" height="60"></td>
<td width="62%" height="60" class="index"><img src="image/top.jpg" width="476" height="60"></td>
<td width="12%" align="center" valign="middle"> <p><img src="image/jt1.gif" width="11" height="11" ><a onClick="this.style.behavior='url(#default#homepage)';this.sethomepage('http://com.com.com');return false;" href="" title="将本站设为你的首页">
设为首页</a><br >
<img src="image/jt2.gif" width="11" height="11"> <a href="javascript:window.external.AddFavorite(location.href,document.title)" title="将本站加入到你的收藏夹">
加入收藏</a><br>
<img src="image/jt3.gif" width="11" height="11"> <a href="list.list@eyou.com">
联系我们</a></p></td>
</tr>
<tr>
<td height="25" colspan="3" align="center" valign="top"> <table class=table2 height=22 cellspacing=0 bordercolordark=#ffffff
cellpadding=0 width=764 align=center bordercolorlight=#00000 border=0>
<tbody>
<tr>
<td bgcolor=#4a70ac colspan=2 height=1></td>
</tr>
<tr>
<td width=212 background=image/tabs_m_tile.gif
height=22><div align=center></div></td>
<td width=552 background=image/tabs_m_tile.gif
height=22><div align=right><font color=#000000> <font
color=#000020><a href="newsservlet">新闻资讯</a></font><a href="newsservlet">
</a>| <font
color=#000020><a href="jswz1servlet">技术文章</a></font> |<a href="zlxzservlet">
最新下载 </a>| </font></div></td>
</tr>
</tbody>
</table></td>
</tr>
</table>
<TABLE height=278 cellSpacing=0 borderColorDark=#e2dffd cellPadding=0 width=760
align=center bgColor=#ffffff border=0 borderlightcolor="#EBF1F1"
witdth="100%">
<TBODY>
<TR>
<TD vAlign=top width=197 bgColor=#f7f7ff> <TABLE cellSpacing=0 cellPadding=0 width="100" border=0>
<TBODY>
<TR>
<TD width="25%" background=image/line4.gif><IMG
height=31 src="image/searchicon.gif" width=50></TD>
<TD vAlign=bottom width="75%"
background=image/line4.gif> <DIV align=center><STRONG>== 站内搜索
==</STRONG></DIV></TD>
</TR>
<TR bgColor=#f7f7ff>
<TD colSpan=2> <DIV align=center><BR>
<FORM name=form2 action=searchresult.php?s= method=post>
<TABLE cellSpacing=0 cellPadding=0 width="95%" border=0>
<TBODY>
<TR>
<TD width="38%" height=30> <DIV align=right>关键字:</DIV></TD>
<TD width="62%" height=30><INPUT class=stedit id=KeyWords
maxLength=30 size=13 name=KeyWords></TD>
</TR>
<TR>
<TD height=30> <DIV align=right>类 别:</DIV></TD>
<TD height=30><SELECT id=Block name=Block>
<OPTION
value=news>新闻资讯</OPTION>
<OPTION value=articles
selected>技术文章</OPTION>
<OPTION value=download>下载</OPTION>
<OPTION value=website>网站</OPTION>
</SELECT></TD>
</TR>
<TR>
<TD colSpan=2 height=30> <DIV align=center>
<INPUT type=image height=20 width=80
src="image/search.gif" border=0
name=imageField2>
</DIV></TD>
</TR>
</TBODY>
</TABLE>
</FORM>
</DIV></TD>
</TR>
</TBODY>
</TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="95%" align=center border=0>
<TBODY>
<TR>
<TD>◆ <STRONG>文章分类:</STRONG></TD>
</TR>
<TR>
<TD bgColor=#440000 height=1></TD>
</TR>
</TBODY>
</TABLE>
<BR>
<TABLE cellSpacing=0 cellPadding=0 width="80%" align=center border=0>
<TBODY>
<TR vAlign=center>
<TD width="17%" height=20> <DIV align=center><STRONG>-></STRONG></DIV></TD>
<TD width="83%"><a href="zlxz2servlet?type=qb&pageno=1">全部下载</a></TD>
<TR vAlign=center>
<TD width="17%" height=20> <DIV align=center><STRONG><FONT
color=#660000>-></FONT></STRONG></DIV></TD>
<TD width="83%"><a href="zlxz2servlet?type=ydm&pageno=1">源代码下载</a></TD>
</TR>
<TR vAlign=center>
<TD width="17%" height=20> <DIV align=center><STRONG><FONT
color=#660000>-></FONT></STRONG></DIV></TD>
<TD width="83%"><a href="zlxz2servlet?type=sj&pageno=1">书籍下载</a></TD>
</TR>
<TR vAlign=center>
<TD width="17%" height=20> <DIV align=center><STRONG><FONT
color=#660000>-></FONT></STRONG></DIV></TD>
<TD width="83%"><a href="zlxz2servlet?type=yy&pageno=1">应用程序下载</a></TD>
</TR>
</TBODY>
</TABLE>
<BR> <TABLE cellSpacing=0 cellPadding=0 width="95%" align=center border=0>
<TBODY>
<TR>
<TD>◆ <STRONG>技术文章<FONT color=#ff0000>
TOP10</FONT>: </STRONG></TD>
</TR>
<TR>
<TD bgColor=#440000 height=1></TD>
</TR>
</TBODY>
</TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="95%" align=center border=0>
<TBODY>
<TR>
<TD vAlign=top width="9%" height=20> <DIV align=right></DIV></TD>
<TD vAlign=top width="90%"> </TD>
</TR>
</TBODY>
</TABLE>
<BR> <BR> </TD>
<TD width=1 bgColor=#440000 height=271 rowSpan=0></TD>
<TD align="left" vAlign=top> <table width="640" border="1" align="center" cellpadding="2" cellspacing="0" bgcolor="#fffbff">
<tr bordercolor="0">
<td width="46" height="24"><img name="c" src="image/c6.gif" width="26" height="22" alt=""></td>
<td width="584" bordercolor="#FFFFFF"><%=typevia%>下载下载列表</td>
</tr>
</table>
<%int xzsi=0;
while(xzsi<vct.size()){
ZlxzInfo wi=new ZlxzInfo(); wi=(ZlxzInfo)vct.elementAt(xzsi);%>
<TABLE cellSpacing=0 borderColorDark=#e7efff cellPadding=2 width="640"
align=center borderColorLight=#5279ad border=1>
<TBODY>
<TR bgColor=#e7efff>
<TD width="48%" bgColor=#e7efff> <DIV align=center><STRONG>名称</STRONG></DIV></TD>
<TD width="15%"> <DIV align=center><STRONG>所属类别</STRONG></DIV></TD>
<TD width="14%"> <DIV align=center><STRONG>添加日期</STRONG></DIV></TD>
<TD width="10%"> <DIV align=center><STRONG>大小</STRONG></DIV></TD>
<TD width="13%"> <DIV align=center><STRONG>评价</STRONG></DIV></TD>
</TR>
<TR bgColor=#f7f3f7>
<TD bgColor=#f7f3f7><FONT color=#006633><STRONG><FONT
color=#ff0000>-></FONT><a href="zlxz3servlet?id=<%=wi.getId()%>" target="_blank"><%=wi.getTitle()%></a></STRONG></FONT></TD>
<TD> <DIV align=center><%=wi.getType()%></DIV></TD>
<TD> <DIV align=center><%=wi.getSentdate()%></DIV></TD>
<TD> <DIV align=center>K</DIV></TD>
<TD> <DIV align=center></DIV></TD>
</TR>
<TR bgColor=#fffbff>
<TD colSpan=5 height=50> </TD>
</TR>
</TBODY>
</TABLE>
<%xzsi++;}%>
<form action="zlxz2Servlet ?type=<%=type%>" name="myform" method="Post">
<table width="584" border="0">
<tr>
<td width="578"> <%if (pageno==1){%> <font color="#999999">首页 上一页</font>
<%}else{%> <a href="zlxz2Servlet ?type=<%=type%>&pageno=1">
首页</a> <a href="zlxz2Servlet ?type=<%=type%>&pageno=<%=pageno-1%>">
上一页</a> <%}
if(pageno==(count%pagesize==0?count/pagesize:count/pagesize+1)){%> <font color="#999999">下一页 末页</font>
<%}else{ %> <a href="zlxz2Servlet ?type=<%=type%>&pageno=<%=pageno+1%>">
下一页</a> <a href="zlxz2Servlet ?type=<%=type%>&pageno=<%=(count%pagesize==0?count/pagesize:count/pagesize+1)%>">
末页</a> <%} %>
当前页
<input name="pageno" type="text" size="4" value="<%=pageno%>">
<input name="button" type="button" onclick="window.location='zlxz2Servlet ?type=<%=type%>&pageno='+myform.pageno.value" value="go"/>
页数 <%=pageno%>/<%=count%pagesize==0?count/pagesize:count/pagesize+1%> 每页:<%=pagesize%> 总数:<%=count%></td>
</tr>
</table>
</form>
</TD>
</TR>
</TBODY>
</TABLE>
<DIV align=center>
<TABLE cellSpacing=0 cellPadding=0 width=770 align=center border=0>
<TBODY>
<TR>
<TD width="775"> <DIV align=center><IMG height=30 src="image/di.gif"
width=770></DIV></TD>
</TR>
</TBODY>
</TABLE>
</DIV>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -