【正文】
中的緩沖區(qū)。 return false。 return false。 } /script 以上這段程序的功能是利用 JAVA 腳本進(jìn)行本地驗(yàn)證,當(dāng)管理員輸入的用戶名和密碼為空值或者不正確值的時(shí)候給出相應(yīng)的提示 管理員回復(fù)與刪除留言模塊 此模塊的功能是管理員可以進(jìn) 入,并且可以進(jìn)行增加和刪除等功能, (此模塊的縮略圖如 )具體的實(shí)現(xiàn)方和代碼如下: (圖 ) 當(dāng)用戶點(diǎn)刪除時(shí),彈出提示,詢問(wèn)是否刪除,如果確定點(diǎn)是,否則點(diǎn)取消。 % 34 %set =() dsn=stu。 !include file= % username=(username) if trim(username) then sql=delete from lyb where 昵稱 =39。 username amp。 sql end if % %39。接收上一頁(yè)、下一頁(yè)的頁(yè)號(hào) if len(page)0 and isnumeric(page) then page=int(page) else page=1 end if if not then size=7 =size 39??傢?yè)數(shù) 35 TotlePage=int(numzhuce/size) if (numzhuce mod size)0 then TotlePage=TotlePage+1 39。當(dāng)前頁(yè) else =page 39。循環(huán)變量初值 % 把總頁(yè)數(shù)和每頁(yè)的內(nèi)容分別賦給變量。 **************************** 刪除確認(rèn)******************************************% script language=javascript function chkdel() { var talk = (請(qǐng)確定是否刪除該條記錄 ! )。} } /script 確認(rèn)是否刪除該記錄。nbsp amp。nbsp amp。nbsp amp。nbsp amp。nbsp amp。nbsp 36 amp。nbsp amp。nbsp amp。nbsp amp。nbsp %=rs(昵稱 )%amp。 刪除 ?/a /font br % num=num+1 wend set rs=nothing% /font/font font size=2 a href=?page=1[第一頁(yè) ]/a % select case page case 1: 39。只有上一頁(yè) % a href=?page=%=page1%[ 上一頁(yè) ]/a[ 第 37 %=page%頁(yè) /共 %=TotlePage%頁(yè) ][共 %=numzhuce%條記錄 ] % case else: % a href=?page=%=page1%[上一頁(yè) ]/a a href=?page=%=page+1%[下一頁(yè) ]/a [第 %=page%頁(yè) /共 %=TotlePage%頁(yè) ][共 %=numzhuce%條記錄 ] % end select % %end if% /td 其他程序模塊 以上幾節(jié)簡(jiǎn)單的介紹了幾個(gè)模塊的一些比較重點(diǎn)的程序段,但是在本節(jié)中介紹一下幾個(gè)在表面上看不到的,但是卻起著相當(dāng)重要的一些代碼。amp。39。amp。39。amp。39。amp。39。amp。39。amp。39。amp。39。 % %strsql=insert into lyb( 昵稱 ,qq, 郵箱 ,網(wǎng)站 ,主題 , 內(nèi)容 ,時(shí)間 ) values(amp。) (strsql) % % set =nothing% %% 以上這段代碼是在后臺(tái)運(yùn)行的,該網(wǎng)頁(yè)是個(gè)空的,什么也不顯示,當(dāng)用戶 38 寫完留言的時(shí)候,把表單里所有的東西都要 提交到這里,利用 ASP 提供的 insert int 等語(yǔ)句把他傳送到服務(wù)器的數(shù)據(jù)庫(kù)的表格里。 % html head body %while not if usname=rs(用戶名 ) and uspas=rs(密碼 ) then % % % %% %end if wend set rs=nothing% %% /body /html 該程序段的功能是,接收用戶名和密碼,并把用戶名和密碼發(fā)送到服務(wù)器的數(shù)據(jù)庫(kù)里驗(yàn)證,如果和數(shù)據(jù)庫(kù)里的一樣,則可以登陸,否 則提示用戶名或密碼錯(cuò)誤。DefaultDir=。 set conn=() constr % 連接數(shù)據(jù)源文件。本系統(tǒng)經(jīng)歷了從系統(tǒng)問(wèn)題的提出 — 系統(tǒng)可行性分 析 — 系統(tǒng)數(shù)據(jù)庫(kù)的設(shè)計(jì) — 總體的功能模塊設(shè)計(jì) — 詳細(xì)設(shè)計(jì) — 最后到程序的實(shí)現(xiàn),就是以這樣的一個(gè)思路完成的整個(gè)系統(tǒng)的開發(fā)。這次畢業(yè)設(shè)計(jì)過(guò)程中,得到了學(xué)校的大力支持,給我提供了舒適的工作學(xué)習(xí)環(huán)境,也得到了科大老師、教授的精心指導(dǎo),在此表示衷心的感謝! 由于本人第一次完整的設(shè)計(jì)程序,加之水平有限, 設(shè)計(jì)中難免有不當(dāng)之處,還請(qǐng)各位老師給予批評(píng)、指正。 hospital near Lake Placid, and was given shock treatments and released. He married his fianc 閑 , finished his education, and was set up in business in Ilium by his fatherinlaw. Ilium is a particularly good city for optometrists because the General Fe and Foundry Company is there. Every employee is required to own a pair of safety glasses, and to wear them in areas where manufacturing is going on. GFamp。c., were not likely to fail for want of the mineral fuel。 they were now driven to seek the means of subsistence elsewhere, and they waited sadly to bid farewell to the engineer. James Starr stood upright, at the door of the vast shed in which he had for so many years superintended the powerful machines of the shaft. Simon Ford, the foreman of the Dochart pit, then fiftyfive years of age, and other managers and overseers, surrounded him. James Starr took off his hat. The miners, cap in hand, kept a profound silence. This farewell scene was of a touching character, not wanting in grandeur. My friends, said the engineer, the time has e for us to 44 separate. The Aberfoyle mines, which for so many years have united us in a mon work, are now exhausted. All our researches have not led to the discovery of a new vein, and the last block of coal has just been extracted from the Dochart pit. And in confirmation of his words, James Starr pointed to a lump of coal which had been kept at the bottom of a basket. This piece of coal, my friends, resumed James Starr, is like the last drop of blood which has flowed through the veins of the mine! We shall keep it, as the first fragment of coal is kept, which was extracted a hundred and fifty years ago from the bearings of Aberfoyle. Between these two pieces, how many generations of workmen have succeeded each other in our pits! Now, it is over! The last words which your engineer will address to you are a farewell. You have lived in this mine, which your hands have emptied. The work has been hard, but not without profit for you. Our great family mustrent pits came forward to shake hands with him, whilst the miners waved their caps, shouting, Farewell, James Starr, our master and our friend! This farewell would leave a lasting remembrance in all these honest hearts. Slowly and sadly the population quitted the yard. The black soil of the roads leading to the Dochart pit resounded for the last time to the tread of miners39。s son Robert had a lot of trouble in high school, but then he joined the famous Green Berets. He straightened out, became a fine Young man, and he fought in Vietnam. Early in 1968, a group of optometrists, with Billy among them, chartered an airplane to fly them from Ilium to an internation al convention of optometrists in Montreal. The plane crashed on top of Sugarbush Mountain, in Vermont. Everybody was killed but Billy. So it goes. While Billy was recuperating in a hospital in Vermont, his wife died accidentally of carbonmonoxide poisoning. So it goes. When Billy finally got home to Ilium after the airplane crash, he was quiet for a while. He had a terrible scar across the top Of his skull. He di