?? f098774b1c46001c194efe7b2844a31e
字號:
<%@ page language="java" pageEncoding="GBK"%>
<%@ page import= "java.io.*,java.util.*" %>
<%@ page import= "hall.products" %>
<jsp:useBean id="serchProduct" class="hall.opProduct" scope="page"></jsp:useBean>
<HTML>
<HEAD>
<TITLE>NWPU Online Shop</TITLE>
<META content= 該網站為方便西工大教學職工,出售各類手機產品 name=description>
<META content=西北工業大學網上購物-手機系統 name=keywords>
</HEAD>
<BODY text=#000000 bgProperties=fixed leftMargin=0 background=images/background.jpg topMargin=0 onLoad="MM_preloadImages('IMAGES/skin8/dh-new.gif','IMAGES/skin8/dh-bbs.gif')">
<CENTER>
<img src="images/title1.jpg" width="760" height="160"></img>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="760" height=70">
<param name="movie" value="list.swf">
<param name="quality" value="high">
<embed src="list.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="600" height="50"></embed>
</object>
<body leftMargin="0" topMargin="0" marginheight="0" marginwidth="0" onload="showMenu()">
<p>
<!-- 網頁頭部開始 -->
<script language="javascript" src="/Js/Head.js" charset="gb2312"></script>
<!-- 網頁頭部結束 -->
<!-- 網頁左部開始 -->
<!-- 網頁左部結束 -->
<!-- 網頁左部結束 -->
<!-- 網頁正文開始 -->
<!-- 網頁正文結束 -->
<!-- 網頁尾部開始 -->
<script language="javascript" src="/Js/End.js" charset="gb2312"></script>
<!-- 網頁尾部結束 -->
<%
String produItem = request.getParameter("producItem");
int item = Integer.parseInt(produItem);
serchProduct.showProduct(item);
Vector prod =serchProduct.getProducts();
String name = "";
String id[] = session.getValueNames();
for(int i= 0;i<id.length;i++){
if(!id[i].equals("rand")&&!id[i].equals("basket")){
name = (String)session.getValue(id[i]);
}
}
if(name==null||name==""){
%>
<p>
<center>
<A HREF = "index.jsp"><STRONG>你還沒有登陸,請現登陸,謝謝</STRONG></A>
<%
}else{
%>
<img src="images/01.jpg" width="758" height="33" />
<form name="frm1" method="post" action = "purchase.jsp?producItem=<%=produItem %>" onsubmit="return chk();" >
<table width="760" width ="100%" height = "80%" border="1" align="center" cellpadding="0" cellspacing="0" class="tbMain">
<tr>
<td align="right" >賣家:</td>
<td >
<%= ((products)prod.get(0)).getProvideName() %>
</td>
</tr>
<tr>
<td align="right" >商品名稱:</td>
<td ><a href="showdetail.jsp?producItem=<%=produItem %>"><%= ((products)prod.get(0)).getProductorName() %></a>
</td>
</tr>
<tr>
<td align="right" class="font14">商品價格:<br /></td>
<td class="font14"><%= ((products)prod.get(0)).getPrice() %>元</td>
</tr>
<tr>
<td align="right" ><span class="font14 fontOrange b">*</span>購買數量:</td>
<td ><input name="dwNum" type="text" size="5" )" onchange="RefreshRedPagList(1);" onBlur="Validator.Validate(fixup,this);"/>
件
</td>
</tr>
<tr>
<td></td>
<td>
<input type="submit" name ="submit" value = "提交" />
</td>
<tr>
</table>
</form>
<%
}
%>
<script language="javascript">
function chk(){
var i,j,strTemp;
strTemp="0123456789";
var age1 = var i,j,strTemp;
strTemp="0123456789";
var age1 = frm1.age.value;
for (i=0;i<age1.length;i++)
{
j=strTemp.indexOf(age1.charAt(i));
if (j==-1)
{
frm1.textarea8.value = "年齡不是整數";
frm1.submit.disabled=true;
break;
}
} .age.value;
for (i=0;i<age1.length;i++)
{
j=strTemp.indexOf(age1.charAt(i));
if (j==-1)
{
alert("數量不是整數");
frm1.submit.disabled=true;
break;
}
}
}
</script>
<TABLE class=grayline cellSpacing=0 cellPadding=0 width=760 bgColor=#ffffff
border=0 align="center">
<TBODY>
<TR>
<TD align=middle>
<TABLE cellSpacing=1 cellPadding=0 width=720 align=center bgColor=#cccccc
border=0>
<TBODY>
<TR bgColor=#f1f1f1>
<TD align=middle width="20%" height=22><B>關于我們</B></TD>
<TD align=middle width="20%" height=22><B>購物指南</B></TD>
<TD align=middle width="20%" height=22><B>服務保證</B></TD>
<TD align=middle width="20%" height=22><B>客戶服務</B></TD>
<TD align=middle width="20%" height=22><B>其它說明</B></TD></TR>
<TR bgColor=#ffffff>
<TD align=middle height=23> 關于我們 </TD>
<TD align=middle height=23> 新手上路 </TD>
<TD align=middle height=23> 隱私保護 </TD>
<TD align=middle height=23> 會員中心 </TD>
<TD align=middle height=23> 缺貨登記 </TD>
</TR>
<TR bgColor=#ffffff>
<TD align=middle height=23> 網站動態 </TD>
<TD align=middle height=23> 定購方式 </TD>
<TD align=middle height=23> 服務保證 </TD>
<TD align=middle height=23> 訂單查詢 </TD>
<TD align=middle height=23> 投訴建議 </TD>
</TR>
<TR bgColor=#ffffff>
<TD align=middle height=23> 常見問題 </TD>
<TD align=middle height=23> 如何付款 </TD>
<TD align=middle height=23> 售后服務 </TD>
<TD align=middle height=23> 匯款確認 </TD>
<TD align=middle height=23> 友情鏈接 </TD>
</TR></TBODY></TABLE></TD></TR>
<TR>
<TD height=10></TD></TR></TBODY></TABLE>
<TABLE class=grayline cellSpacing=1 cellPadding=0 width=760 align=center bgColor=#ffffff border=0>
<TBODY>
<TR>
<TD vAlign=center align=middle width=126 height=40><IMG height=31
alt=歡迎與本站交換友情鏈接 src="images/link.gif"
width=88 border=0></TD>
<TD vAlign=center align=middle width=126 height=40><IMG height=31
alt=歡迎與本站交換友情鏈接 src="images/link.gif"
width=88 border=0></TD>
<TD vAlign=center align=middle width=126 height=40><IMG height=31
alt=歡迎與本站交換友情鏈接 src="images/link.gif"
width=88 border=0></TD>
<TD vAlign=center align=middle width=126 height=40><IMG height=31
alt=歡迎與本站交換友情鏈接 src="images/link.gif"
width=88 border=0></TD>
<TD vAlign=center align=middle width=126 height=40><IMG height=31
alt=歡迎與本站互建友情鏈接 src="images/link.gif"
width=88 border=0></TD>
<TD vAlign=center align=middle width=126 height=40><IMG height=31
alt=歡迎與本站交換友情鏈接 src="images/link.gif"
width=88 border=0></TD>
</TR></TBODY></TABLE>
<TABLE class=grayline height=15 cellSpacing=0 cellPadding=0 width=760
align=center bgColor=#ffffff
background=images/botbg.gif border=0>
<TBODY>
<TR>
<TD height=10></TD></TR></TBODY></TABLE>
<TABLE class=grayline cellSpacing=0 cellPadding=0 width=760 align=center
bgColor=#ffffff background=images/backdown.gif
border=0>
<TBODY>
<TR>
<TD height=10></TD></TR>
<TR>
<TD align=middle>
<P
align=center>Copyright © 20058 - 2006 All Rights Reserved
Powered
by:buyok
<TD vAlign=bottom width=30><A href="javascript:window.scroll(0,0);"><IMG
alt=回到頁面頂部 src="images/backtop.gif"
border=0></A></TD></TR></TBODY></TABLE>
<SCRIPT language=javascript>
var online= new Array();
if (!document.layers)
document.write('<div id="divStayTopLeft" style="position:absolute">')
</SCRIPT>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -