%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<%
String username=(String)session.getAttribute("username");
ResultSet rs_sale=conn.executeQuery("select top 3 ID,GoodsName,price,nowprice,picture,introduce from tb_goods where sale=1 order by INTime desc");
int sale_ID=0;
String s_goodsname="";
float s_price=0;
float s_nowprice=0;
String s_introduce="";
String s_picture="";
ResultSet rs_new=conn.executeQuery("select top 4 ID,GoodsName,nowprice,picture from tb_goods where newGoods=1 order by INTime desc");
int new_ID=0;
String new_goodsname="";
float new_nowprice=0;
String new_picture="";
%>
MR网络购物中心
<%int s=0;
while (rs_new.next()){
new_ID=rs_new.getInt(1);
new_goodsname=rs_new.getString(2);
new_nowprice=rs_new.getFloat(3);
new_picture=rs_new.getString(4);
if(s%2==0){
%>