?? 706db8203946001c1cbeacfa6a6cf06c
字號:
<%@ page language="java" pageEncoding="GBK"%>
<%@ page import= "hall.Customers" %>
<%@ page import= "hall.User" %>
<%@ page import="java.util.*" %>
<jsp:useBean id="showuser" class = "hall.Eshop" scope="page"> </jsp:useBean>
<HTML>
<HEAD>
<TITLE>NWPU Online Shop</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content= 該網站為方便西工大教學職工,出售各類手機產品 name=description>
<META content=西北工業大學網上購物-手機系統 name=keywords>
</HEAD>
<BODY text=#000000 bgProperties=fixed leftMargin=0 background=images/1300.jpg topMargin=0 onLoad="MM_preloadImages('IMAGES/skin8/dh-new.gif','IMAGES/skin8/dh-bbs.gif')">
<CENTER>
<img src="images/100.gif" width="760" height="160">
<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="menu.swf">
<param name="quality" value="high">
<embed src="menu.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="600" height="50"></embed>
</object>
<hr>
<%
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(!showuser.getUserinfo(name)){
%>
<p><a href="user.jsp">查詢失敗,請返回</a></p>
<%
}else{
Vector customer = showuser.getUserlist();
String email = request.getParameter("email");
String sex1= request.getParameter("sex");
String sex= "";
if(!(sex1==null||sex1.equals(""))){
if(sex1.equals("male")){sex="男";}
else sex ="女";
}
String phone = request.getParameter("phone");
String mobilephone = request.getParameter("mobile");
String age = request.getParameter("age");
String state= request.getParameter("state");
String provience = request.getParameter("provinence");
String city = request.getParameter("city");
String street = request.getParameter("street");
int age1;
if(!(age==null||age.equals(""))){
age1 = Integer.parseInt(age);
((Customers)customer.get(0)).setAge(age1);
}
if(!(mobilephone==null||mobilephone.equals(""))){
((Customers)customer.get(0)).setMobilePhone(mobilephone);
}
if(!(phone==null||phone.equals(""))){
((Customers)customer.get(0)).setPhone(phone);
}
if(!(email==null||email.equals(""))){
((Customers)customer.get(0)).setEmail(email);
}
if(!(sex==null||sex.equals(""))){
((Customers)customer.get(0)).setSex(sex);
}
if(!(state==null||state.equals(""))){
((Customers)customer.get(0)).setState(state);
}
if(!(provience==null||provience.equals(""))){
((Customers)customer.get(0)).setProvince(provience);
}
if(!(city==null||city.equals(""))){
((Customers)customer.get(0)).setCity(city);
}
if(!(street==null||street.equals(""))){
((Customers)customer.get(0)).setStreet(street);
}
if(!showuser.update((Customers)customer.get(0))){
out.println("124");
}
%>
<table>
<tr><td><IMG SRC ="images/register1.gif" ></td><td><a href= "user.jsp">修改成功,請返回</a></td></tr>
</table>
<%
}
%>
<HR>
<TABLE class=grayline cellSpacing=0 cellPadding=0 width=760
bgColor=#ffffff border=0 aling="center">
<TBODY>
<TR>
<TD align=middle>
<TABLE cellSpacing=1 cellPadding=0 width=720 align=center
bgColor=#cccccc border=0>
<TBODY>
<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><a href="aboutme.html"> 關于我們 </a></TD>
<TD align=middle height=23><a href="fresh.html"> 新手上路 </a></TD>
<TD align=middle height=23><a href="private.html"> 隱私保護</a> </TD>
<TD align=middle height=23><a href="leavemess.jsp"> 顧客留言 </a></TD>
</TR>
<TR bgColor=#ffffff>
<TD align=middle height=23><a href="web.html"> 網站動態</a> </TD>
<TD align=middle height=23><a href="Account.html"> 充值方式 </a></TD>
<TD align=middle height=23><a href="service.html"> 服務保證</a> </TD>
<TD align=middle height=23><a href="serverphone.html"> 客服電話</a> </TD>
</TR>
<TR bgColor=#ffffff>
<TD align=middle height=23><a href="problem.html"> 常見問題 </a></TD>
<TD align=middle height=23><a href="howpay.html"> 如何付款 </a></TD>
<TD align=middle height=23><a href="buyserve.html"> 售后服務</a> </TD>
<TD align=middle height=23><a href="friend.html"> 友情鏈接</a> </TD>
<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></img>
</TD>
<TD vAlign=center align=middle width=126 height=40>
<IMG height=31 alt=歡迎與本站交換友情鏈接 src="images/link.gif" width=88
border=0></img>
</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>
ge
</TD>
</TR>
<TR>
<TD align=middle>
<P align=center>
Copyright © 20058 - 2006 All Rights Reserved
Powered by:buyok
<BR>
這里可添加網站聯系方式、或其它重要的公示內容,此處內容請在后臺綜合設置下的“網頁擴展”中修改
<BR>
編輯內容要換行時,請先按住shift鍵再按回車鍵,若直接回車將有較大行間隔
</P>
</TD>
<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 + -