【正文】
示日平均瀏覽人數(shù) 顯示當前訪客是第幾位 退出模塊 退出本系統(tǒng) 另外, 對于用戶使用的模塊稱為前臺模塊,管理員使用的模塊稱為后臺模 第 5 頁 共 23 頁 塊,因此按照前、后臺功能劃分模塊,如下: 圖 1 按前、后臺劃分功能模塊 數(shù)據(jù)庫設(shè)計 數(shù)據(jù)庫概念結(jié)構(gòu)設(shè)計 概念層數(shù)據(jù)模型是現(xiàn)實世界到機器世界的一個中間層次,反映了現(xiàn)實系統(tǒng)中有用價值的信息結(jié)構(gòu),因此,對數(shù)據(jù)庫的概念模型進行分析是必要的。因此,在該表中記錄了今日瀏覽總?cè)藬?shù)、昨日瀏覽總?cè)藬?shù)、本月瀏覽總?cè)藬?shù)、上月瀏覽總?cè)藬?shù)、本站瀏覽總?cè)藬?shù)、平均人數(shù) /日等信息。建立此表的目的是讓用戶及時瀏覽論壇的 最新信息,關(guān)注論壇的最新主題,加強與用戶的溝通。首先要建立同數(shù)據(jù)源的連接,利用 ADO的 Connection 來建立同數(shù)據(jù)庫的連接。 (5) :顯示當前用戶類型,并列出功能列表 (所有成員信息、新文章列表、刷新 討論區(qū)、發(fā)表文章、發(fā)布公告、查看自己的留言、查看所有留言、網(wǎng)站流量統(tǒng)計、顯示當前用戶是第幾位訪客、退出系統(tǒng) )。 (13) :使用 FileSystemObject對象的 OpenTextFile方法打開文件,若不存在,則予以建立,它用來存放計數(shù)器數(shù)值,即第幾位訪客。 (21) :搜索帖子,選擇搜索類型 (編號、主題、回復(fù)人 ),單擊“搜索”按鈕,如果找到匹配的帖子,則分頁顯示出有關(guān)帖子列表,如果找不到,則彈出對話框“對不起,沒有找到您要搜索的帖子!”。 測試分析 由于篇幅有限,這里以管理員為例,對發(fā)帖、回帖功能進行演示說明: (1) 首先,在登錄界面上輸入姓名為“ admin”、密碼為“ admin”,單擊“管理員登錄”按鈕,進入論壇系統(tǒng)的主界面,如下圖: 圖 11 登錄系統(tǒng)主界面 第 16 頁 共 23 頁 (2) 在左邊子窗口中點擊“發(fā)表文章”超級鏈接,在右下子窗口中出現(xiàn)發(fā)帖界面。 [4] 飛思科技 . Dreamweaver MX中文版基礎(chǔ)與實例教程 [J].北京 :電子工業(yè)出版社 ,2021。 ( 2)學校可以采用影印、縮印或其他復(fù)制方式保存學位論文。 where is Nymphadora?” “ I don?t know,” said Harry. “We don?t know what happened to anyone else.” She and Ted exchanged looks. A mixture of fear and guilt gripped Harry at the sight of their expressions, if any of the other s had died, it was his fault, all his fault. He had consented to the plan, given them his hair… 第 24 頁 共 23 頁 “ The Portkey,” he said, remembering all of a sudden. “We?ve got to get back to the Burrow and find out – then we?ll be able to send you word, or – or Tonks will, once she?s – ” “ Dora?ll be ok, ?Dromeda,” said Ted. “She knows her stuff, she?s been in plenty of tight spots with the Aurors. The Portkey?s through here,” he added to Harry. “It?s supposed to leave in three minutes, if you want to take it.” “ Yeah, we do,” said Harry. He seized his rucksack, swung it onto his shoulders. “I – ” He looked at Mrs. Tonks, wanting to apologize for the state of fear in which he left her and for which he felt so terribly responsible, but no words oc curred to him that he did not seem hollow and insincere. “ I?ll tell Tonks – Dora – to send word, when she… Thanks for patching us up, thanks for everything, I – ” He was glad to leave the room and follow Ted Tonks along a short hallway and into a bedroom. Hagrid came after them, bending low to avoid hitting his head on the door lintel. “ There you go, son. That?s the Portkey.” Mr. Tonks was pointing to a small, silverbacked hairbrush lying on the dressing table. “ Thanks,” said Harry, reaching out to place a finger on it, ready to leave. “ Wait a moment,” said Hagrid, looking around. “Harry, where?s Hedwig?” “ She… she got hit,” sa id Harry. The realization crashed over him: He felt ashamed of himself as the tears stung his eyes. The owl had been his panion, his one great link w ith the magical world whenever he had been forced to return to the Dursleys. Hagrid reached out a great hand and patted him painfully on the shoulder. “ Never mind,” he said gruffly, “Never mind. She had a great old life – ” “ Hagrid!” said Ted Tonks warningly, as the hairbrush glowed bright blue, and Hagrid only just got his forefinger to it in time. With a jerk behind the navel as though an invisible hook and line had dragged him forward, Harry was pulled into nothingness, spinning uncontrollably, his finger glued to the Portkey as he and Hagrid hurtled away from Mr. Tonks. Second later, Harry?s feet slammed onto hard ground and he fell onto his hands and knees in the yard of the Burrow. He heard screams. Throwing aside the no longer glow ing hairbrush, Harry stood up, swaying slightly, and saw Mrs. Weasley and Ginny running down the steps by the back door as Hagrid, who had also collapsed on landing, clambered “ The Death Eaters were waiting for us,” Harry told her, “We were surrounded the moment we took off – they knew it was tonight – I don?t know what happened to anyone else, four of them chased us, it was all we could do to get away, and then Voldemort caught up with us – ” He could hear the selfjustifying note in his voice, the plea for her to understand why he did not know what had happened to her sons, but – “ Thank goodness you?re all right,” she said, pulling him into a hug he did not feel he deserved. “ Haven?t go? any brandy, have yeh, Molly?” asked Hagrid a little shakily, “Fer medicinal purposes?” 第 25 頁 共 23 頁 She could have summoned it by magic, but as she hurried back toward the crooked house, Harry knew that she wanted to hide her face. He turned to Ginny and she answered his unspoken plea for information at once. “ Ron and Tonks should have been back first, but they missed their Portkey, it came back without them,” she said, pointing at a rusty oil can lying on the ground nearby. “And that one,” she pointed at an ancient sneaker, “should have been Dad and Fred?s, they were supposed to be second. You and Hagrid were third and,” she checked her watch, “if they made it, Gee and Lupin aught to be back in about a minute.” Mrs. Weasley reappeared carrying a bottle of brandy, which she handed to Hagrid. He uncorked it and drank it straight down in one. A blue light had appeared in the dar kness: It grew larger and brighter, and Lupin and Gee appeared, spinning and then falling. Harry knew immediately that there was something wrong: Lupin was supporting Gee, who was unconscious and whose face was covered in blood. Harry ran forward and seized Gee?s legs. Together, he and Lupin carried Gee into the house and through the kitchen to the living room, where they laid him on the sofa. A s the lamplight fell across Gee?s head, Ginny gasped and Harry?s stomach lurched: One of Gee?s ears was missing. The side of his head and neck were drenched in wet, shockingly scarlet blood. No sooner had Mrs. Weasley bent over her son that Lupin grabbed