?? getcode.jsp
字號(hào):
<%
/**
* Title:Lerx計(jì)數(shù)器(JSP+MySQL)
* Description:含有動(dòng)網(wǎng)最新IP數(shù)據(jù)庫(kù) 165501條 2004年11月5日更新,我找到的最新的也最合適的就是這個(gè)了,花了些時(shí)間處理導(dǎo)入到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
* 開發(fā)平臺(tái):紅旗Linux4.1,JDK 1.5.0_04-b05,Tomcat 5.5.9,MySQL 3.23.58
* 完成時(shí)間: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="申請(qǐng)記數(shù)器成功";
}
%>
<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">您的記數(shù)器代碼為:<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>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -