?? small.jsp
字號:
<%@ page contentType="text/html;charset=GBK"%>
<jsp:useBean id="ppptech" class="ppptech.ppptech" scope="page" />
<%
String title="";
String temcontent="";
String content="";
String id=request.getParameter("id");
String url="http://www.yooxi.com/smallclass/"+id;
temcontent=ppptech.connect(url);
try{
content=ppptech.getcontent(temcontent,"<td align=\"center\" bgcolor=\"#d5e9fd\"","<table width=\"760\" height=\"44\" border=\"0\" align=\"center\">");
content=content.replaceAll("index.htm","index.jsp");
content=content.replaceAll("/commend/","commend.jsp?id=");
content=content.replaceAll("/game/","play.jsp?id=");
content=content.replaceAll("/bigclass/","class.jsp?id=");
content=content.replaceAll("/images/","images/");
content=content.replaceAll("/smallclass/","small.jsp?id=");
content=content.replaceAll("/smallclasscommend.jsp?id=","small.jsp?id=commend/");
content=content.replaceAll("/index.jsp","index.jsp");
title=ppptech.getcontent(temcontent,"<title>","</title>");
title=title.replaceAll("<title>","");
title=title.replaceAll("Yooxi.com小游戲門戶","小游戲頻道-MP3試聽網");
}catch(Exception e){
content="<br><br><div align=center><a href=http://www.ppptech.cn/GuestBook/ target=_blank>讀取數據出錯,請點此給站長留言!</a></div><br><br>";
title="系統出錯";
}
%>
<%@ include file="head.jsp" %>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<%=content%>
<jsp:include page="foot.html" flush="false" />
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -