?? 200852398741001c1778f36733325fc6
字號:
<%@ page language="java" pageEncoding="GBK" %>
<jsp:useBean id="checkbean" 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>
<LINK href="images/css.css" type=text/css rel=stylesheet>
<style type="text/css">
<!--
.STYLE5 {font-size: 18px}
.STYLE6 {color: #FF0000}
.STYLE7 {color: #000000}
-->
</style>
</HEAD>
<BODY text=#000000 bgProperties=fixed leftMargin=0 background=images/background.gif topMargin=0 onLoad="MM_preloadImages('IMAGES/skin8/dh-new.gif','IMAGES/skin8/dh-bbs.gif')">
<CENTER>
<TABLE class=grayline cellSpacing=0 cellPadding=0 width=760 align=center
bgColor=#ffffff border=0>
<TBODY>
<TR>
<TD background=images/topbggreen.gif colSpan=3
height=20></TD>
</TR>
<TR>
<TD width=207 rowSpan=3><p class="STYLE5"><img src="images/logo2.jpg" width="201" height="168"></p>
<p class="STYLE5"> </p> </TD>
<TD align=right width=16 height=21><IMG height=21
src="images/topsan.gif" width=16 border=0></TD>
<TD width=535>
<TABLE height=21 cellSpacing=0 cellPadding=0
background=images/topbggreen.gif border=0>
<TBODY>
<TR>
<TD align=right width=420 height=21> 購物車 | 收藏箱 | 用戶中心 | 網站幫助 | 在線留言 | 退出登陸 </TD>
</TR></TBODY></TABLE></TD></TR>
<TR>
<TD vAlign=center align=right colSpan=2 height=25>
<MARQUEE id=zimu onmouseover=zimu.stop() onmouseout=zimu.start()
scrollDelay=200 align="middle">
<FONT
color=#333333>慶祝香港回歸十周年大酬賓!</FONT>
</MARQUEE></TD></TR>
<TR>
<TD vAlign=bottom align=right colSpan=2 height=40><img alt=網站首頁
src="images/dh-home1.gif" border=0
name=menu1><img alt=關于我們
src="images/dh-about1.gif" border=0
name=menu2><img alt=新品速遞
src="images/dh-new1.gif" border=0
name=menu3><IMG alt=熱力推薦
src="images/dh-good1.gif" border=0
name=menu4><IMG alt=熱賣排行
src="images/dh-hot1.gif" border=0
name=menu5><IMG alt=特價促銷
src="images/dh-tejia1.gif" border=0
name=menu6><IMG alt=留言反饋
src="images/dh-book1.gif" border=0
name=menu8></TD>
</TR></TBODY></TABLE>
<TABLE class=grayline cellSpacing=0 cellPadding=0 width=760 align=center
bgColor=#ffffff border=0>
<TBODY>
<TR>
<TD align=middle width=760><a href="http://www.web600.net/"><img
alt=輕松打造屬于自己的購物網站 src="images/banner.gif"
width=758 border=0></a></TD>
</TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="75%" hight="90" align=center bgColor=#ffffff border=0>
<TBODY>
<TR>
<TD class=index-td11 vAlign=top width=12 height=12><img src="images/index-img_11.gif" width="12" height="12" /></TD>
<TD class=index-td09></TD>
<TD class=index-td12 vAlign=top width=12 height=12><img src="images/index-img_12.gif" width="12" height="12" /></TD>
</TR>
<TR>
<TD class=index-td11></TD>
<TD vAlign=top>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD align=middle width="9%"><img src= "images/ad_user_bu.gif"width="43" height="46" /></TD>
<TD
width="91%"> <span class="STYLE9">店主您好,在這里可以管理您的商品分類,添加、修改、刪除等操作。<BR>
</span></TD>
</TR>
<TR>
<TD class=index-td16 align=middle colSpan=2
height=12></TD></TR></TBODY></TABLE><BR>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD class=index-font01><img src="images/star.gif" width="30" height="30" /> <span class="STYLE9">添加商品名稱</span></TD>
</TR>
</TBODY></TABLE>
<%
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(checkbean.checkUserName(name)!=1){
%>
<p><a href="afterlogin.jsp?userid=<%=name %>" >你沒有權限,只有管理員擁有</a></p>
<%
}else{
%>
<form name = product method = "post" action="addProduct.jsp">
<TABLE class=index-td20 cellSpacing=3 cellPadding=3 width="100%"
border=0><TBODY>
<TR>
<TD width="38%" height="46" style="PADDING-LEFT: 10px"><span class="STYLE9"> 商品名稱:</span> <INPUT class=inputstyle id=producName size=15 name=producName /> </TD>
<TD id=type width="20%"><span class="STYLE9">所屬類別:</span> <SELECT id=_ctl0_dl
name=type> <OPTION value=0 selected>諾基亞</OPTION> <OPTION
value=201>三星</OPTION><OPTION
value=202>索愛</OPTION>
<OPTION
value=203>摩托羅拉</OPTION>
<OPTION
value=204>聯想</OPTION>
<OPTION
value=205>其他</OPTION></SELECT> </TD>
<TD width="27%"> <SPAN
class=index-font02></SPAN></TD>
</TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY><TR>
<TD width="30%" height="46" style="PADDING-LEFT: 10px"><span class="STYLE9"> 商品序列號:</span> <INPUT class=inputstyle id=producItem size=10 name=producItem /> </TD>
<TD width="30%" height="46" style="PADDING-LEFT: 10px"><span class="STYLE9"> 商品數量:</span> <INPUT class=inputstyle id=quantity size=10 name=quantity /> </TD>
<TD width="40%" height="46" style="PADDING-LEFT: 10px"><span class="STYLE9"> 存放地址:</span> <INPUT class=inputstyle id=address size=15 name=address /> </TD>
</TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY><TR>
<TD width="30%" height="46" style="PADDING-LEFT: 10px"><span class="STYLE9"> 供貨商名字:</span> <INPUT class=inputstyle id=provideName size=10 name=provideName /> </TD>
<TD width="30%" height="46" style="PADDING-LEFT: 10px"><span class="STYLE9"> 價格:</span> <INPUT class=inputstyle id=price size=10 name=price /> 元</TD>
<TD width="40%" height="46" style="PADDING-LEFT: 10px"><span class="STYLE9"> 外觀樣式:</span> <INPUT class=inputstyle id=appearance size=15 name=appearance /> </TD>
</TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY><TR>
<TD width="30%" height="46" style="PADDING-LEFT: 10px"><span class="STYLE9"> 攝像頭:</span> <INPUT class=inputstyle id=photograph size=10 name=photograph /> </TD>
<TD width="30%" height="46" style="PADDING-LEFT: 10px"><span class="STYLE9"> 屏幕顏色:</span> <INPUT class=inputstyle id=color size=10 name=color /> </TD>
<TD width="40%" height="46" style="PADDING-LEFT: 10px"><span class="STYLE9"> 操作系統:</span> <INPUT class=inputstyle id=system size=15 name=system /> </TD>
</TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY><TR>
<TD width="30%" height="46" style="PADDING-LEFT: 10px"><span class="STYLE9"> 鈴聲:</span> <INPUT class=inputstyle id=ring size=10 name=ring /> </TD>
<TD width="30%" height="46" style="PADDING-LEFT: 10px"><span class="STYLE9"> 儲存功能:</span> <INPUT class=inputstyle id=save size=10 name=save /> M</TD>
<TD width="40%" height="46" style="PADDING-LEFT: 10px"><span class="STYLE9"> 智能手機:</span> <SELECT id=isAptitude
name=isAptitude> <OPTION value=1 selected>是</OPTION> <OPTION
value=0>否</OPTION></SELECT> </TD>
</TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY><TR>
<TD width="30%" height="46" style="PADDING-LEFT: 10px"><span class="STYLE9"> </span> </TD>
<TD width="30%" height="46" style="PADDING-LEFT: 10px"><span class="STYLE9"> </span> </TD>
<TD width="40%" height="46" style="PADDING-LEFT: 10px"><span class="STYLE9"> <p>
<INPUT class=INPUT01 id=submit onClick="return CloseButton();" type=submit value="確 認 添 加" name=_ctl0:submit valign=bottom>
<SPAN
class=index-font02></SPAN> </p>
<p> </p></TD>
</TR></TBODY></TABLE>
</form>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD class=index-font01><img src="images/star.gif" width="30" height="30" /> <span class="STYLE9">現有的商品類別</span></TD>
</TR></TBODY></TABLE>
<TABLE class=index-td20 cellSpacing=3 cellPadding=3 width="100%"
border=0><TBODY>
<TR>
<TD class=index-font02 style="PADDING-LEFT: 10px" colSpan=3></TD></TR>
<TR>
<TD style="PADDING-RIGHT: 20px; PADDING-LEFT: 20px">
<HR align=left width="100%" color=#cccccc SIZE=1>
<TABLE id=_ctl0_li__ctl0_list cellSpacing=0 cellPadding=0
width="90%" border=0>
<TBODY>
<TR id=_ctl0_li__ctl0_tr>
<TD id=_ctl0_li__ctl0_name width="70%"><span class="STYLE9">諾基亞</span></TD>
<TD align=middle width="30%"><A
href="http://guanli.godele.com/AdminGoods/GoodsSort.aspx?op=1&GoodsSortID=295089" class="STYLE9" id=_ctl0_li__ctl0_del
onclick="return confirm('您確定要刪除“諾基亞”和該類下的所有商品嗎?')">刪除</A></TD>
</TR>
<TR id=_ctl1_li__ctl0_tr>
<TD id=_ctl1_li__ctl0_name width="70%"><span class="STYLE9">三星</span></TD>
<TD align=middle width="30%"><A
href="http://guanli.godele.com/AdminGoods/GoodsSort.aspx?op=1&GoodsSortID=295089" class="STYLE9" id=_ctl1_li__ctl0_del
onclick="return confirm('您確定要刪除“三星”和該類下的所有商品嗎?')">刪除</A></TD>
</TR><TR id=_ctl2_li__ctl0_tr>
<TD id=_ctl2_li__ctl0_name width="70%"><span class="STYLE9">索愛</span></TD>
<TD align=middle width="30%"><A
href="http://guanli.godele.com/AdminGoods/GoodsSort.aspx?op=1&GoodsSortID=295089" class="STYLE9" id=_ctl2_li__ctl0_del
onclick="return confirm('您確定要刪除“索愛”和該類下的所有商品嗎?')">刪除</A></TD>
</TR><TR id=_ctl3_li__ctl0_tr>
<TD id=_ctl3_li__ctl0_name width="70%"><span class="STYLE9">摩托羅拉</span></TD>
<TD align=middle width="30%"><A
href="http://guanli.godele.com/AdminGoods/GoodsSort.aspx?op=1&GoodsSortID=295089" class="STYLE9" id=_ctl3_li__ctl0_del
onclick="return confirm('您確定要刪除“摩托羅拉”和該類下的所有商品嗎?')">刪除</A></TD>
</TR><TR id=_ctl4_li__ctl0_tr>
<TD id=_ctl4_li__ctl0_name width="70%"><span class="STYLE9">聯想</span></TD>
<TD align=middle width="30%"><A
href="http://guanli.godele.com/AdminGoods/GoodsSort.aspx?op=1&GoodsSortID=295089" class="STYLE9" id=_ctl4_li__ctl0_del
onclick="return confirm('您確定要刪除“聯想”和該類下的所有商品嗎?')">刪除</A></TD>
</TR><TR id=_ctl5_li__ctl0_tr>
<TD id=_ctl5_li__ctl0_name width="70%"><span class="STYLE9">其他</span></TD>
<TD align=middle width="30%"><A
href="http://guanli.godele.com/AdminGoods/GoodsSort.aspx?op=1&GoodsSortID=295089" class="STYLE9" id=_ctl5_li__ctl0_del
onclick="return confirm('您確定要刪除“其他”和該類下的所有商品嗎?')">刪除</A></TD>
</TR>
</TBODY></TABLE>
<p> <span
class="index-font02"></span></p>
<HR align=left width="100%" color=#ffffff SIZE=1>
</TD></TR></TBODY></TABLE>
<%
}
%>
</TD>
<TD class=index-td12></TD></TR>
<TR>
<TD class=index-td11 vAlign=bottom width=12 height=22><img src="images/index-img_9.gif" width="12" height="12" /></TD>
<TD class=index-td10></TD>
<TD class=index-td12 vAlign=bottom width=12 height=22><img src="images/index-img_10.gif" width="12" height="12" /></TD>
</TR></TBODY></TABLE>
</table>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -