【正文】
Which way did the。You have conquered. Few have gained such a victory. Be at peace! Minas Tirith shall not fall!39。No!39。Farewell, Aragorn! Go to Minas Tirith and save my people! I have failed.39。They have gone: the Halflings: the Orcs have taken them. I think they are not dead. Orcs bound them.39。 His glance strayed to his fallen enemies。 he said. 39。 his horn cloven in two wa s at his side. Many Orcs lay slain, piled all about him and at his feet. Aragorn knelt beside him. Boromir opened his eyes and strove to speak. At last slow words came. 39。 and as he turned to the left and ran towards them they retreated, until at last he could hear them no more. Drawing his bright sword and crying _Elendil! Elendil!_ he crashed through the trees. A mile, maybe, from Parth Galen in a little glade not far from the la ke he found Boromir. He was sitting with his back to a great tree, as if he was resting. But Aragorn saw that he was pierced with many blackfeathered arrows。 再次感謝在大學(xué)四年中給予我?guī)椭^的老師和同學(xué)們! r, but fainter now and desperately the horn was blow ing. Fierce and shrill rose the yells of the Orcs, and suddenly the horncalls ceased. Aragorn raced down the last slope, but before he could reach the hill39。 本文能夠成功的完成,要特別感謝我的導(dǎo)師王鴻斌,王老師淵博的知識和誠懇的為人使我受益匪淺,他 在我收集材料以及創(chuàng)寫本論文的過程中給予我的各方面的指導(dǎo)、幫助、支持以及理解。 Article Management。 (3) design and realization of the system function, including users entry, registration of users, publishing articles, management of articles, searching articles, management backstage, etc. (4) building and test an experiment website。 參考文獻(xiàn) [1] 鄧文淵 . ASP 與網(wǎng)頁數(shù)據(jù)庫設(shè)計(jì) [M].中國鐵道出版社 ,2020 [2] 鄧文淵 . Dreamweaver MX互動網(wǎng)站百寶箱 for ASP[M].中國鐵道出版 2020 [3] 張念魯 . Web 程序設(shè)計(jì)教程 [M].高等教育出版社, 2020 [4] 胡 標(biāo) . ASP 網(wǎng)絡(luò)編程與實(shí)例 [M].人發(fā)郵電出版社, 2020 [5] 李曉黎 . ASP+SQL Server 網(wǎng)絡(luò)應(yīng)用系統(tǒng)開發(fā)與實(shí)例 [M].人民郵電出版社,2020 [6] 石志國 . ASP 精解案例教程 [M]. 清華大學(xué)出版社, 2020 [7] Udy Strauss et al. Emarketing[M]. Hall Publishing, 2020 [8] (美) Robert 著. Web 編程技術(shù) [M]. 劉莊等譯 .機(jī)械 工業(yè)出版社,2020 The Online System of Publishing Articles Abstract: In the 21st century, with the development of puter science, the application of reading online articles is more and more extensive in daily life. The paper gives a research of the online system of publishing articles based on ASP techniques. Compared with the ordinary static web pages, the system has some advantages such as strong interaction, online publishing, online reading and so on. This paper mainly introduces the contents as follows: (1) developing tools and developing environment configuration。 配置好網(wǎng)站的測試環(huán)境( ),輸入 ,打開文章在線發(fā)布系統(tǒng)的主頁頁面,在系統(tǒng)的所有頁面中輸入大量不同的測試數(shù)據(jù),不斷完善該系統(tǒng)的各種功能。 (7)后臺發(fā)布網(wǎng)站公告功能的實(shí)現(xiàn) 只有管理員具有發(fā)布公告的權(quán)限,首頁顯示的是最新發(fā)布的公告,可以在首頁通過超鏈接查看以前網(wǎng)站的公告。 通過此功能可以以分頁形式查看每個用戶的用戶名、密碼。 在頁面中單擊相應(yīng)文章的編輯按鈕即可修改該文章,相關(guān)代碼如下: a href=?id=%=(id)% 編輯 /a由此調(diào)用 ,根據(jù) ID參數(shù)的值來顯示該文章的相關(guān)內(nèi)容。 (5)管理員管理文章功能的實(shí)現(xiàn) 管理員管理文章功能界面如圖 : 圖 此頁面只有具 有管理員權(quán)限的用戶才能進(jìn)入,在這兒管理員可以管理所有用戶的文章。 /script % () end if % 當(dāng)用戶填入所要搜索的文章名稱后,單擊搜索按鈕,將會出現(xiàn)該關(guān)鍵字的相關(guān)文章內(nèi)容,若您沒有輸入關(guān)鍵字,會自動彈出一信息框給予提示“您還沒有輸入關(guān)鍵字,請輸入關(guān)鍵字”。 order by wen_id desc set objrs=conn_str(sql) if then % script language=javascript alert(沒有你要查找的文章 )。(search_name)amp。 查詢?yōu)g覽功能的界面如圖 : 圖 其主要代碼如下: form name=form1 method=post action= % sql=select * from wen where wen_title like 39。操作成功或出錯系統(tǒng)都會自動彈出信息框給予提示。最后單擊“提交”完成文章的發(fā)布。 set rs1=conn_str(sql1) if and then close_str(rs1) % script language=javascript msgstr(用戶名不存在 !,)。user_nameamp。 /script % else sql1=select user_name from user_data where user_name=39。 其中處理登錄的主要代碼如下: % if user_name= then % script language=javascript msgstr(您沒有輸入用戶名 !,)。 各功能具體設(shè)計(jì)如下: (1)用戶注冊登錄功能的實(shí)現(xiàn) 用戶注冊界面 如圖 所示: 圖 用戶在此界面可以申請成為注冊用戶,其中用戶名、密碼、 Email 均不能為空,否則系統(tǒng)會自動彈出一個信息提示框提示“注冊出錯,請返回重新注冊”。 (2)管理用戶功能,管理員可通過此功能刪除用戶。 (4)文章修改功能 用戶發(fā)布文章后可以通過此功能修改或刪除自己的文章。 (2)直接瀏覽功能 用戶可直接點(diǎn)擊想要瀏覽的文章類別,即可分頁查看所有相應(yīng)類別的文章,或 者直接點(diǎn)擊想要看的文章,即可查看文章內(nèi)容。 如表 34 所示: 表 34 文章公告表的字段表 字段名稱 字段數(shù)據(jù)類型 公告編號 (id) 自動編號 公告內(nèi)容 (content) 備注 添加日期 (add_date) 日期 /時間 文章在線發(fā)布系統(tǒng)分兩大模塊:用戶模塊和管理員模塊。 如表 32 所示: 表 32 用戶信息表的字段表 字段名稱 字段數(shù)據(jù)類型 用戶編號 (user_id) 自動編號 用戶名字 (user_name) 文本 用戶密碼 (user_pwd) 文本 性別 (user_sex) 文本 E_mail(user_) 文本 用戶注冊時間 (user_date) 日期 /時間 (3)文章內(nèi)容表 這個表是用來保存網(wǎng)上文章的基本信息的,里面包含七個字段,分別是文章ID、文章標(biāo)題、文章類別、文章作者、文章內(nèi)容、點(diǎn)擊次數(shù)、添加時間。 數(shù)據(jù)庫邏輯設(shè)計(jì) (1)管理員信息表 這個表用來保存管理員的基本信息里面包含三個字段,分別是 管理員編號、文章發(fā)布后臺系統(tǒng) 用戶管理模塊 admin用戶 普通用戶 用戶登錄 成功 失敗 重試 開始 3. 管理自己的信息 4. 管理普通用戶的信息 管理 管理自己的用戶信息 管理員名字和管理員密碼。 圖 數(shù)據(jù)庫需求分析 由于該系統(tǒng)是一小型數(shù)據(jù)庫所以使用 Access 來建立數(shù)據(jù)庫 [ 7] 。 Admin 用戶擁有最大的權(quán)限,可以管理普通用戶的所有信息和文章,而普通用戶只能管理自己的文章和基本信息。 提供數(shù)據(jù) 圖 用戶管理功能模塊的關(guān)系如圖 。 如圖 所示。 系統(tǒng)功能模塊劃分 從 上面的功能描述的內(nèi)容中可以看到,本系統(tǒng)可以實(shí)現(xiàn)的六個完整的主要功能,當(dāng)然還可以實(shí)現(xiàn)一些上面沒有提到的小功能。 (5) 文章搜索 按關(guān)鍵字分頁顯示文章; 按文章標(biāo)題顯示文章。 (3) 文章分類 發(fā)布的文章按類分頁顯示; 文章類別包括人生之旅、情感世界、幽默笑話、奇聞軼事、詩歌家園、網(wǎng)海拾貝六類。具體描述如下: (1) 用戶注冊登錄 注冊新用戶; 注 冊后登錄。 (5)使用瀏覽器來讀取數(shù)據(jù)庫的功能。 (3)設(shè)定 ODBC 驅(qū)動程序。具體的操作步驟可以歸納為下幾步 [ 6] : (1)創(chuàng)建數(shù)據(jù)庫源名( DSN) (2)創(chuàng)建數(shù)據(jù)庫鏈接( Connection) (3)創(chuàng)建數(shù)據(jù)庫對象 (4)操作數(shù)據(jù)庫 (5)關(guān)閉數(shù)據(jù)對象和鏈接 總的來說,構(gòu)建網(wǎng)站數(shù)據(jù)庫的步驟如下 [ 7] : (1)在 Window 98裝上 PWS這套 Web 服務(wù)軟件,或在 Window2020 裝上 組件,使電腦變成一個 WEB 服務(wù)器。 ADO(Active Date Object)是一種操作 Microsoft 所支持的數(shù)據(jù)庫的新技術(shù)。 表 21 ASP 內(nèi)部 6大對象及其功能 對象名稱 功能描述 Request 從客戶端取得信息 Response 將信息送給客戶端 Server 提供一些 Web服務(wù)器工具 Session 儲存在一個 Session內(nèi)的用戶信息,該信息僅可被該用戶訪問 Application 在一個 ASPApplication中讓不同的客戶端共享信息 Object