WebRoot/admin/goods_list.jsp

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%@ page contentType="text/html; charset=gb2312" language="java" %>
<%@ page import="java.sql.*"%>
<%@ page import="java.util.*"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<jsp:useBean scope="page" id="Goods" class="com.bar.db.Goods" />
<jsp:useBean scope="page" id="Goodinfo" class="com.bar.db.Goodinfo" />
<jsp:useBean scope="page" id="pages" class="com.bar.page.SplitPage" />
<style type="text/css">
body{ margin:0 auto; font-family:Georgia, "Times New Roman", Times, serif; font-size:12px}
td{ border-right:1px #CCC dashed; border-bottom:1px #CCC dashed;}
.font1{color:#FFF}
.input1{ width:80px; height:20px; background-color:#333; border:1px #CCC dashed; color:#FFF}
.input2{ width:120px; height:20px; background-color:#333; border:1px #CCC dashed; color:#FFF}
</style>
</head>
<%
	ResultSet rs = Goodinfo.show_goodinfo();
	pages.initialize(rs,20);
	String strPage=null;
	int showPage = 1;
	//获取跳转到的目的页面
	strPage=request.getParameter("showPage");
	
	if (strPage==null)
	{
		showPage=1;
	}
	else
	{
		try
		{
			showPage=Integer.parseInt(strPage);
		}
		catch(NumberFormatException e)
		{
			showPage = 1;
		}
		if(showPage<1) 
		{
			showPage=1;
		}
		if(showPage>pages.getPageCount()) 
		{
			showPage=pages.getPageCount();
		}
	}
	//获取要显示的数据集合
	Vector vData=pages.getPage(showPage);	
%>

<body bgcolor="#F4FFFE">
<div align="center">
<form name="form1" action="delete_goodinfo.jsp" method="post" target="_self">
<table width="100%" border="0" cellpadding="0" cellspacing="1">
<tr bgcolor="#0066FF" class="font1">
<td width="7%" height="20" align="center">选中</td>
<td width="20%" height="20" align="center">套餐</td>
后面还有 84 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。