【正文】
first we must give them an admonition which may be in thefollowing terms:No one who in obedience to the laws believed thatthere were Gods, ever intentionally did any unholy act, or uttered anyunlawf ul word。 and in the second degreegreat when they are mitted against private rites and sepulchres,and in the third degree (not to repeat the acts formerly mentioned),when insults are offered to parents。s goods, neither shall heuse anything which is his neighbour39。 if he be superior, if he be not to be mended, you much less. Glorious men are the scorn of wise men。 which is to be liberal of praise and mendation to others, in that wherein a man\39。 and those mat are of solid and sober natures have more of the ballast, than of the sail. In fame of learning, the flight w ill be slow, without some feathers of ostentation. Q ui de contenm enda gloria libros scribunt, nomen suum inscribunt. Socrates, Aristotle, Galen, were men firil of ostentation. Certainly vainglory helpeth to perpetuate a man\39。 beaucoup de bruit, peu de fruit: much bruit, little fruit Yet certainly there is use of this quality, in civil affairs. Where there is an opinion, and fame to be created, either of virtue, or greatness, these men are good trumpeters. Again, as Titus Livius noteth, in the case of Antiochus, and the Aetolians。 but we have a wild journey, also which is national and modern, and that is the journey to Amack on the night of the New Year. All indifferent poets and poetesses, musicians, newspaper writers, and artistic notabilities, I mean those who are no good, ride in the New Year39。s eve I was reading the book, and had lost myself in it so pletely, that I fot my usual New Year39。 四、綜述 至此,以上我對(duì)此電子商務(wù)系統(tǒng)軟件的程序安裝及使用作了簡(jiǎn)要的說明,具體的測(cè)試步驟還有待于使用者親力親為,不斷地提出問題,以使系統(tǒng)更加地完善。且返回到管理商品的頁面。但是一個(gè)強(qiáng)大的購物網(wǎng)站的后臺(tái)管理還必須具備對(duì)商品的日常管理 ,包括修改錯(cuò)誤的商品信息及刪除暫時(shí)缺貨的商品。這時(shí) ,系統(tǒng)會(huì)彈出提醒你“應(yīng)先建立子類別”的頁面, 只有當(dāng)主 ,子分類都添加了 ,才可以添加新的商品。 2. 添加及刪除友情鏈接 在管理首頁點(diǎn)擊“修改網(wǎng)站首頁左部鏈接”的超鏈接,便可進(jìn)入如下圖所示的頁面: 友情鏈接的功能是顧客若在該網(wǎng)站找不到自己所需要的商品,可以便捷地進(jìn)入到其它電子商務(wù)網(wǎng)站查找及購買。 (二)、管理員管理模塊 1. 管理員登錄 點(diǎn)擊網(wǎng)站首頁“管理員登錄”的超鏈接即可進(jìn)入到管理員的登錄頁面,以下就是我所設(shè)計(jì)的管理員登錄的首頁圖: 在“管理員登錄”的頁面必須輸入管理員帳號(hào)及密碼。注意在“發(fā)貨方式”一欄有兩個(gè)選項(xiàng):普通郵寄和 EMS 特快,若選擇的是普通郵寄,則郵寄費(fèi)(運(yùn)費(fèi))為 0元,若選擇的 EMS 特快,則郵寄費(fèi)(運(yùn)費(fèi))為商品總額 *10%。 4. 商品在線結(jié)帳的功能 用戶選購 結(jié)束后,即可進(jìn)入結(jié)算中心完成結(jié)帳。比如點(diǎn)擊了“數(shù)碼產(chǎn)品”之后,在此下方即會(huì)出現(xiàn)如下圖所示的子分類( MP3 系列、數(shù)碼相機(jī)、數(shù)碼攝像機(jī))選擇頁面: 再點(diǎn)擊子分類后即可彈出該類別下的所有商品信息,這樣便于用戶的閱讀及購買。 ? 待上述幾項(xiàng)操作完畢,點(diǎn)擊“ Inter 服務(wù)管理器” “默認(rèn) Web站點(diǎn)” “ shop” , 選擇 ,將其作為網(wǎng)站首頁,具體操作如下圖所示: 點(diǎn)擊“瀏覽”后,會(huì)出現(xiàn)如下圖所示的網(wǎng)站首頁效果圖,接著就開始使用本系統(tǒng)了。database=Shop5 ( connstr ) 在上述代碼中,需要改動(dòng)的是 server=。 ? 數(shù)據(jù)庫還原完畢,就要將文件夾“ shop”中連接 SQL Server 數(shù)據(jù)庫的文件“ ”的環(huán)境語句重 新設(shè)置, 簡(jiǎn)單的代碼如下所示: Conn=() Connstr=driver={SQL Server}。同樣,按照上述方法建立虛擬目錄。此時(shí)再打開“ Inter 服務(wù)管理器”,就會(huì)出現(xiàn)如下圖所示的對(duì)話框: 在上圖“默認(rèn) Web 站點(diǎn)”的子目錄中已存在了“ shop”這個(gè)子目錄。 二、光盤使用步驟: ? 將所有實(shí)現(xiàn)網(wǎng)站功能的程序文件、數(shù)據(jù)庫文件及圖片放在文件夾“ shop” 之下。 附錄 電子商務(wù)系統(tǒng)軟件使用說明書 一、系統(tǒng)對(duì)運(yùn)行環(huán)境的要求 (1)服務(wù)器端配置為 :處理器是 Intel Pentium 4 或更高;內(nèi)存是256MB;硬盤空間是 80GB;光驅(qū)是 CDROM 48X;顯示 卡是 SVGA 顯示適配器。它的跨平臺(tái)操作性,使得代碼重用成為可能;它的 作組件使得程序開發(fā)人員可以輕松的訪問各種數(shù)據(jù)源??總之,微軟的 .NET概念可以說是程序開發(fā)史上的一個(gè)里程碑,其中蘊(yùn)含的大量新技術(shù)、新思路和新的觀念令我們耳目一新,也是我們需要不斷學(xué)習(xí)的目標(biāo)。因此,在學(xué)習(xí)和開發(fā)過程中困難相對(duì)較多。因此這還有待于以后改進(jìn)。 :在本在線商品銷售系統(tǒng)中,管理員的功能比較簡(jiǎn)單,但也算是系統(tǒng)的一個(gè)難點(diǎn)。在本系統(tǒng)中,我們使用了一個(gè)虛擬的購物車,普通的顧客只需要往購物車中添加商品即可,剩下的事情都由系統(tǒng)來處理。此購物網(wǎng)站有效的實(shí)現(xiàn)了商品展示和進(jìn)行購物的所有功能;管理臺(tái)使用起來也非常方便,效率較高,功能也比較全面。 39。 39。相關(guān)代碼如下: % dim rs1 rs1=() idzy=request(idzy) if( idzy ) then SQL=select menub , menub1 from menu where id= amp。 na amp。 and menub39。點(diǎn)擊“提交”按鈕后,商品信息就會(huì)通過 sql語句傳遞至后臺(tái)數(shù)據(jù)庫中的 sp表里。 與數(shù)據(jù)庫連接后, spgm表里的信息就會(huì)被取出顯示到查看定單頁面。是否存在此用戶名 rs = (sql) If Then () End If Else () End If % : %Page asppat=true% % Dim UID,PSWD 39。 amp。 amp。 rsa = (sql) 39。 And Passwd=39。根據(jù)錄入的用戶信息 查詢數(shù)據(jù) AdminId = Trim(Session(admin_id)) AdminPwd = Trim(Session(admin_pwd)) If AdminId Then sql=Select * From Admin Where AdminId= 39。 在這個(gè)頁面用到了 2個(gè)文本框 (text),作用是輸入管理員的帳號(hào)和密碼 ,還有一個(gè)用來 進(jìn)入到管理頁面的按鈕 (button)及一個(gè)返回到網(wǎng)站首頁的超鏈接 (Hyperlink)。 訂單一旦生成 ,則與數(shù)據(jù)庫中的 spsc表相關(guān)。 al amp。 在這個(gè)頁面,用到了 2個(gè) table大控件,一個(gè)是顯示購物車?yán)锼猩唐返男畔ⅲ?另一個(gè)作用是讓顧客填寫個(gè)人信息,便于管理員準(zhǔn)確無誤地發(fā)貨,而在這個(gè) table控件里有 4個(gè)文本框( text)和 2個(gè) option組 ,之外還有 2個(gè)按紐(button),分別是顧客對(duì)所填信息核對(duì)無誤后提交訂單和對(duì)所填內(nèi)容重寫。相 關(guān)代碼如下: % al=1 rs3=() alljg=0 for i=1 to ab step 8 ra=mid(rs,i,8) SQL=SELECT name,單位 ,價(jià) 2,規(guī)格 FROM sp where id= amp。這時(shí)客戶購買的商品存儲(chǔ)在 spgm表中,可以在提交前做任何操作。 % SQL=SELECT name,產(chǎn)地 ,單位 ,價(jià) 1,價(jià) 2,規(guī)格 ,簡(jiǎn)介 ,說明 ,tu2,id,日期 ,menua,menub FROM sp where id= amp。order by 日期 desc,id desc rs3=() (sql,conn,1,1 ) % 3.商品詳細(xì)資料瀏覽頁面 用戶通過對(duì)自己所需商品詳細(xì)資料的查閱,從而準(zhǔn)確地判斷買或是不買。 and menub=39。id rs4=() (sql,conn,1,1 ) menua=rs4(menub1).value menub=rs4(menub).value sql=SELECT name, 產(chǎn)地 , 單位 , 價(jià) 1, 價(jià) 2, 規(guī)格 , 簡(jiǎn)介 ,menua,menub,id,日期 ,tu FROM sp where menua=39。39。39。 lbid amp。 根據(jù)系統(tǒng)功能設(shè)計(jì)的要求以及功能模塊的劃分,下面具體給出電子商務(wù)購物系統(tǒng)的各個(gè)組成部分的數(shù)據(jù)項(xiàng)和數(shù)據(jù)結(jié)構(gòu) ,如下所示: 表 商品類別信息表 menu 字段名 含義 數(shù)據(jù)類型 數(shù)據(jù)長(zhǎng)度 主鍵 允許空 Menua 商品的主類別 nvarchar 50 No Yes Menub 商品的子類別 nvarchar 50 No Yes Menub1 商品的主類別(某一主類別刪除后,此列內(nèi)容在數(shù)據(jù)庫中仍存在) nvarchar 50 No Yes id 類別的自動(dòng)編號(hào) int 4 Yes No 表 管理員信息表 admin 字段名 含義 數(shù)據(jù)類型 數(shù)據(jù)長(zhǎng)度 主鍵 允許空 Admin 管理員登錄名 Char 10 No Yes Passwd 管理員登錄密碼 Char 10 No Yes name 管理員姓名 char 10 No Yes 表 友情鏈接信息表 menua 字段名 含義 數(shù)據(jù)類型 數(shù)據(jù)長(zhǎng)度 主鍵 允許空 Menud 友情鏈接的網(wǎng)站名 Nvarchar 50 No Yes url 友情鏈接的網(wǎng)站地址 Nvarchar 50 No Yes id 友情鏈接的自動(dòng)編號(hào) int 4 No Yes 表 商品詳細(xì)資料信息表 sp 字段名 含義 數(shù)據(jù)類型 數(shù)據(jù)長(zhǎng)度 主鍵 允許空 Name 商品的名稱 Nvarchar 50 No Yes 單位 商品的單位 Nvarchar 50 No Yes 價(jià) 1 價(jià)格 1 Float 8 No Yes 價(jià) 2 價(jià)格 2(用此價(jià)格計(jì)算總額) Float 8 No Yes 規(guī)格 商品的型號(hào) Nvarchar 50 No Yes 說明 簡(jiǎn)要說明 Ntext 16 No Yes 簡(jiǎn)介 詳細(xì)說明 Nvarchar 250 No Yes Tu 商品大圖片所在的位置 Nvarchar 50 No Yes Menua 商品的主類別 Nvarchar 50 No Yes Menub 商品的子類別 Nvarchar 50 No Yes Tu2 商品小圖片所在的位置 Nvarchar 50 No Yes 日期 商品的生產(chǎn)日期 Smalldatetin 4 No Yes