📄 buyshop.jsp
字号:
</table>
</div>
<div id="right">
<div id="right1">
<form action="servlet/indexfromShopDetailServlet" method="post" name="frmyou">
<input type="hidden" name="addshopidx">
</form>
<table width="690" height="1031" border="0" cellpadding="0" cellspacing="0">
<tr align="left" valign="top">
<td height="28" colspan="2"><img src="image/pdbg01.gif" width="695" height="28"></td>
</tr>
<%
ArrayList array=(ArrayList)shopbean.getquerybysid(Integer.valueOf(buyshopid));
if(!array.isEmpty()||array.size()!=0)
{
shopinfo=(ShopInfo)array.get(0);
ArrayList alnumber=(ArrayList)shopnuminfobean.getquerybysid(Integer.valueOf(shopinfo.getSid()));
shopnuminfo=(ShopNuminfo)alnumber.get(0);
TypeInfoBean typebean=new TypeInfoBean();
ArrayList altype=(ArrayList)typebean.getquerybyTID(Integer.valueOf(shopinfo.getTid()));
TypeInfo type=(TypeInfo)altype.get(0);
ArrayList aluser=(ArrayList)userbean.getquerybyuserid(Integer.valueOf(shopinfo.getUserid()));
userinfo=(UserInfo)aluser.get(0);
%>
<tr>
<td width="354" height="316" align="center" valign="middle"><img src="<%=shopinfo.getShopphoto() %>" width="300" height="300" ></td>
<td width="341" align="left" valign="top"><table width="341" height="314" border="0" cellpadding="0" cellspacing="0">
<tr align="center">
<td colspan="2"><strong><%=shopinfo.getShopname() %></strong></td>
</tr>
<tr>
<td width="92"> <img src="image/orange-bullet.gif" width="9" height="7"><span class="style5">商品编号:</span></td>
<td width="249" style="font-size: 14px;"><%=shopinfo.getSid() %></td>
</tr>
<tr>
<td> <img src="image/orange-bullet.gif" width="9" height="7"><span class="style5">商品类别:</span></td>
<td style="font-size: 14px;"><%=type.getTypename() %></td>
</tr>
<tr>
<td> <img src="image/orange-bullet.gif" width="9" height="7"><span class="style5">商品比较:</span></td>
<td style="font-size: 14px;">相对比较</td>
</tr>
<tr>
<td> <img src="image/orange-bullet.gif" width="9" height="7"><span class="style5">商品折扣:</span></td>
<td style="font-size: 14px;">无(正降价促销)</td>
</tr>
<tr>
<td> <img src="image/orange-bullet.gif" width="9" height="7"><span class="style5">商品库存:</span></td>
<td style="font-size: 14px;"><%=shopnuminfo.getShopnumber() %>件</td>
</tr>
<tr>
<td> <img src="image/orange-bullet.gif" width="9" height="7"><span class="style5">发布者:</span></td>
<td style="font-size: 14px;"><%=userinfo.getUsername() %></td>
</tr>
<tr>
<td> <img src="image/orange-bullet.gif" width="9" height="7"><span class="style5">发布时间:</span></td>
<td style="font-size: 14px;">很早以前</td>
</tr>
<tr>
<td colspan="2"><img src="image/p_bg02.gif" width="338" height="8"></td>
</tr>
<tr>
<td class="style5"> 市场价:</td>
<td><span class="style5"><s>¥<%=shopinfo.getPrice()+20 %>元</s></span></td>
</tr>
<tr>
<td class="style5"> 会员价:</td>
<td><span class="style5"><font color=#ff0000>¥<%=shopinfo.getPrice() %>元</font></span></td>
</tr>
<tr>
<td class="style5"> VIP价:</td>
<td><span class="style5"><span class="style6">更优惠……</span></span></td>
</tr>
</table></td>
</tr>
<tr>
<td align="center"><img src="image/itemzoom.gif" width="69" height="23"></td>
<td><a href="javascript:myclick('<%=shopinfo.getSid() %>')"><img src="image/buy1.gif" width="114" height="37" border="0"></a> <img src="image/alipay.gif" width="114" height="37"> <img src="image/fav.gif" width="90" height="37"></td>
</tr>
<tr>
<td colspan="2" align="center"><img src="image/1.gif" width="698" height="30"></td>
</tr>
<tr>
<td align="left"> <span class="style8">产地:</span><font style="font-size: 14px;"><%=shopinfo.getShopmake() %></font></td>
<td style="font-size: 14px;"> </td>
</tr>
<tr>
<td height="95" colspan="2" align="left"> <span class="style5">产品描述:</span><font style="font-size: 14px;"><%=shopinfo.getShopdesc() %></font></td>
</tr>
<tr>
<td align="center" style="font-size: 14px;"> </td>
<td> </td>
</tr>
<tr>
<td colspan="2" align="center"><img src="image/2.gif" width="698" height="30"></td>
</tr>
<tr>
<td colspan="2" align="center"><div id="newtuijian">
<marquee onmousemove="this.stop()" onmouseout="this.start()"> <%
int k=0;
ArrayList alsameshop1=shopbean.getquerybytypeidandhot(Integer.valueOf(shopinfo.getTid()));
for(;k<5;k++)
{
ShopInfo shopshop=(ShopInfo)alsameshop1.get(k);
%>
<div id="smallshop1">
<table width="197" height="103" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="110" height="99" align="center" valign="middle" background="image/xt_bj.gif"><table width="78" height="80" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><a href="Buyshop.jsp?buyshopid=<%=shopshop.getSid()%>"><img src="<%=shopshop.getShopphoto() %>" width="78" height="80" border="0" title="<%=shopshop.getShopname() %>"></a></td>
</tr>
</table></td>
<td width="93">
<ul class="style3" style="list-style:none; float:left; margin-left:0px;">
<li>名称:<a href="Buyshop.jsp?buyshopid=<%=shopshop.getSid()%>"><%=shopshop.getShopname() %></a></li>
<li>原价:<s><%=shopshop.getPrice() %></s></li>
<li>现价:<%=shopshop.getPrice() %></li>
</ul></td>
</tr>
</table>
</div>
<%} %></marquee>
<marquee onmousemove="this.stop()" onmouseout="this.start()"> <%
for(k=5;k<10;k++)
{
ShopInfo shopshop=(ShopInfo)alsameshop1.get(k);
%>
<div id="smallshop1">
<table width="197" height="103" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="110" height="99" align="center" valign="middle" background="image/xt_bj.gif"><table width="78" height="80" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><a href="Buyshop.jsp?buyshopid=<%=shopshop.getSid()%>"><img src="<%=shopshop.getShopphoto() %>" width="78" height="80" border="0" title="<%=shopshop.getShopname() %>"></a></td>
</tr>
</table></td>
<td width="93">
<ul class="style3" style="list-style:none; float:left; margin-left:0px;">
<li>名称:<%=shopshop.getShopname() %></li>
<li>原价:<s><%=shopshop.getPrice() %></s></li>
<li>现价:<%=shopshop.getPrice() %></li>
</ul></td>
</tr>
</table>
</div>
<%} %></marquee>
</div></td>
</tr>
<tr>
<td colspan="2" align="center"><img src="image/3.gif" width="698" height="30"></td>
</tr>
<tr>
<td colspan="2" align="center">
<div id="see">
<table width="638">
<%ArrayList alshopopinion=(ArrayList)session.getAttribute("alshopopinion");
if(alshopopinion!=null)
{
for(int m=0;m<alshopopinion.size();m++)
{
Shopopinion shopop=(Shopopinion)alshopopinion.get(m);
UserInfoBean userinfobean=new UserInfoBean();
ArrayList alshopopuser=(ArrayList)userinfobean.getquerybyuserid(Integer.valueOf(shopop.getUserid()));
UserInfo userinfo1=(UserInfo)alshopopuser.get(0);
ArrayList alshopbyshopopid=(ArrayList)shopbean.getquerybysid(Integer.valueOf(shopop.getSid()));
ShopInfo shopaaarray=(ShopInfo)alshopbyshopopid.get(0);
%>
<tr style="font-size: 13px;">
<td width="56"><span class="style3">评价<%=m+1 %>:</span></td>
<td width="71"><%=shopop.getTitle() %></td>
<td width="44"><span class="style3">宝贝:</span></td>
<td width="78"><%=shopaaarray.getShopname() %></td>
<td width="37"><span class="style3">指数:</span></td>
<td width="73"><%=shopop.getRate() %></td>
<td width="37" align="right"><span class="style3">顾客:</span></td>
<td width="45"><%=userinfo1.getUsername() %></td>
<td width="42"><span class="style3">时间:</span></td>
<td width="111"><%=shopop.getOptime() %></td>
</tr>
<%}}else
{
out.print("暂无评论!");
} %>
</table>
</div>
</td>
</tr>
<tr>
<td align="center"> </td>
<td> </td>
</tr>
<tr>
<td colspan="2" align="center"><div id="return">
<form action="servlet/AddshopopinionServlet" method="post" name="addshopopfrm">
<table width="640" height="128" border="0" cellpadding="0" cellspacing="0" style="border:1px solid #cccccc; ">
<tr>
<td width="72" height="26"> <span class="style5">等 级:</span></td>
<td width="566"><input type="hidden" name="shopopsid" style="width:120px; " value="<%=shopinfo.getSid() %>">
<span class="style3">
<input type="radio" name="rateradiobutton" value="☆" style="border:none; ">
☆
<input type="radio" name="rateradiobutton" value="☆☆" style="border:none; ">
☆☆
<input type="radio" name="rateradiobutton" value="☆☆☆" style="border:none; " checked="checked">
☆☆☆
<input type="radio" name="rateradiobutton" value="☆☆☆☆" style="border:none; ">
☆☆☆☆
<input type="radio" name="rateradiobutton" value="☆☆☆☆☆" style="border:none; ">
☆☆☆☆☆</span>
<input type="hidden" name="opusername" id="opusername" value="<%=session.getAttribute("loginusername") %>">
</td>
</tr>
<tr>
<td height="21"> <span class="style5">标 题:</span></td>
<td><input type="text" name="optitle" id="optitle" style="width:430px; "> </td>
</tr>
<tr>
<td height="19"> <span class="style5">内 容:</span></td>
<td><textarea name="opnote" id="opnote" style="width:430px; "></textarea></td>
</tr>
<tr>
<td> </td>
<td><input type="button" name="Submit" onclick="javascript:clickfromservlet()" value="提交保存">
<input type="submit" name="Submit" value="重新填写"></td>
</tr>
<%} %>
</table>
</form>
</div></td>
</tr>
</table>
</div>
</div>
</div>
<div id="buttom">
<UL>
<LI>
<A href="">关于淘宝</A>
</LI>
<LI>
<A href="">合作伙伴</A>
</LI>
<LI>
<A href="">帮助中心</A>
</LI>
<LI>
<A href="">诚征英才</A>
</LI>
<LI>
<A href="">联系我们</A>
</LI>
<LI>
<A href="">网站地图</A>
</LI>
<LI>
<A href="">热门商品</A>
</LI>
<LI>
<A href="">热门品牌</A>
</LI>
<LI>
<A href="">版权说明 </A>
</LI>
<LI>
<A href="">淘客推广</A>
</LI>
</UL>
<DIV id="buttomfont">
全球阿里巴巴 - 阿里巴巴网络:
<A href="">中国站</A>
<A href="">国际站</A>
<A href="">日文站</A> |
<A href="">淘宝站</A> |
<A href="">支付宝</A> |
<A href="">中国雅虎</A> |
<A href="">雅虎口碑网</A> |
<A href="">阿里软件</A> |
<A href="">阿里妈妈</A>
</DIV>
<DIV id="buttomfont2">
Copyright 2003-2008, 版权所有 TAOBAO.COM
</DIV>
</div>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -