📄 getcode.jsp
字号:
<%
/**
* Title:Lerx计数器(JSP+MySQL)
* Description:含有动网最新IP数据库 165501条 2004年11月5日更新,我找到的最新的也最合适的就是这个了,花了些时间处理导入到MySQL里。
* Copyright: Copyright (c) 2005
* Company:www.lerx.com,www.5z.com.cn,www.huafang.com.cn
* @author:lzh@5z.com.cn() QQ:27723812
* @version 1.0
* 开发平台:红旗Linux4.1,JDK 1.5.0_04-b05,Tomcat 5.5.9,MySQL 3.23.58
* 完成时间:2005.12.2
*/
%>
<%@ page contentType="text/html;charset=gb2312" %>
<%@ include file="const.jsp" %>
<%
String ps_id,ps_from,ps_title;
int pi_ShowStyle,pi_GraphStyle;
request.setCharacterEncoding("GB2312");
ps_id=request.getParameter("id").trim();
if (ps_id==null)
{
ps_id="";
}
else
{
ps_id=ps_id.trim();
}
pi_ShowStyle = Integer.valueOf(request.getParameter("showstype")).intValue();
pi_GraphStyle = Integer.valueOf(request.getParameter("graphstyle")).intValue();
ps_from = request.getParameter("from");
if (ps_from==null)
{
ps_from="";
}
else
{
ps_from=ps_from.trim();
}
if (ps_from.equals("modify"))
{
ps_title="获取代码";
}
else
{
ps_title="申请记数器成功";
}
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title><%=ps_title%></title>
</head>
<body bgcolor="<%=ps_BgColor%>" text="#FFFFFF" link="#FFFFCC" vlink="#FFFFCC" alink="#CCCCFF">
<div align="center">
<center>
<table border="0" width="750" height="100%" bgcolor="<%=ps_TableColor%>">
<tr>
<td width="100%" valign="middle" align="center">
<div align="center">
<center>
<table border="0" width="100%">
<tr>
<td width="100%" align="center"><b><%=ps_title%>!</b>
</td>
</tr>
<tr>
<td width="100%" height="40" align="center">
</td>
</tr>
<tr>
<td width="100%" align="center">您的记数器代码为:<br>
<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults"
U-File="fpweb:///_private/form_results.txt" S-Format="TEXT/CSV"
S-Label-Fields="TRUE" -->
<p align="center"><textarea rows="5" name="S1" cols="50"><script src="<%=ps_RootPath%>stat.jsp?id=<%=ps_id%>&graph=<%=pi_GraphStyle%>&type=<%=pi_ShowStyle%>"></script></textarea></p>
</form>
</td>
</tr>
<tr>
<td align="center" width="100%"><%@ include file="./copyright.jsp" %></td>
</tr>
</table>
</center>
</div>
</td>
</tr>
</table>
</center>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -