WebRoot/NewGoods.jsp
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<%@ page import="com.wgh.DB.connDB" %>
<%
connDB conn=new connDB();
String username=(String)session.getAttribute("username");
ResultSet rs=conn.executeQuery("select ID,GoodsName,Introduce,nowprice,picture from tb_goods where newgoods=1 order by GoodsName");
int goodsID=-1;
String goodsName="";
String introduce="";
float nowprice=(float)0.0;
String picture="";
%>
<html>
<head>
<title>Go购电子商城</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="CSS/style.css" rel="stylesheet">
</head>
<body>
<table width="790" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td class="tableBorder">
<jsp:include page="navigation.jsp"/>
<table width="790" height="236" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="182" height="182" valign="top">
<jsp:include page="left.jsp"/>
</td>
<td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="33" background="images/shop_12.gif"></td>
<td width="505" height="33" align="right" valign="middle" background="images/shop_12.gif"><table width="100%" height="24" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="8"></td>
</tr>
<tr>
<td align="right" class="word_green"><marquee direction="left" scrollamount="1" scrolldelay="1" onMouseOver="this.stop();" onMouseOut="this.start();">^_^ 顾客您好!购买商品请先登录 <a href="register.jsp" class="word_green">[新用户注册]</a></marquee></td>
</tr>
</table></td>
<td width="10" background="images/shop_12.gif"> </td>
</tr>
<tr>
<td width="93" height="50" background="images/shop_15.gif"> </td>
<td colspan="2" background="images/shop_16.gif">
<jsp:include page="search.jsp"/>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="189" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="80" background="images/center_newgoods.gif"> </td>
</tr>
<tr valign="top">
<td height="134" align="center">
<%
while(rs.next()){
goodsID=rs.getInt(1);
goodsName=rs.getString(2);
后面还有 44 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
