星巴克販售系統 資料庫概論書面報告 組員 : 鄭沛 趙安 陳鼎珉 林柏福 何天宇 張功璿 吳劉麗

Similar documents
目次 一 星巴克的由來... 3 二 緣起... 4 三 關聯圖... 5 四 網站架構... 6 五 資料表... 7 六 網站介紹... 8 七 組員心得 八 分工表

RUN_PC連載_10_.doc

投影片 1

p.2 1 <HTML> 2 3 <HEAD> 4 <TITLE> </TITLE> 5 </HEAD> 6 7 <BODY> 8 <H3><B> </B></H3> 9 <H4><I> </I></H4> 10 </BODY> </HTML> 1. HTML 1. 2.

目錄 C ontents Chapter MTA Chapter Chapter

目錄

09 (File Processes) (mkdir) 9-3 (createnewfile) 9-4 (write) 9-5 (read) 9-6 (deletefile) 9-7 (deletedir) (Exercises)

RUN_PC連載_8_.doc

A-1 HTML A-1-1 HTML 1 HTML JSP HTML HTML HTML JSP A HTML HTML HTML HTML HTML HTML HTML HTML.htm.html HTML Windows NotePad HTML IE [ / ] NotePad A-2

Microsoft PowerPoint - P766Ch09.ppt

07-form

5-1 nav css 5-2

Microsoft Word - PHP7Ch01.docx

資料庫概論 期末報告 組別 : 第 1 組系級 : 資圖 3A 組員 : 林芷筠 鍾湘慈 簡如倩 王笙 鄭欣杰

PowerPoint プレゼンテーション

untitled

學 科 100% ( 為 單 複 選 題, 每 題 2.5 分, 共 100 分 ) 1. 請 參 閱 附 圖 作 答 : (A) 選 項 A (B) 選 項 B (C) 選 項 C (D) 選 項 D Ans:D 2. 下 列 對 於 資 料 庫 正 規 化 (Normalization) 的 敘

輕鬆學 Dreamweaver CS5 網頁設計..\Example\Ch0\ \.html..\example\ch0\ \mouse.txt..\example\ch0\ \ _Ok.html 學習重點 JavaScript 複製程式碼 mouse.txt Ctrl+C Ctrl+C 0-4

untitled

第1章 在线考试系统

Microsoft PowerPoint - SAGE 2010

Microsoft Word - 關聯性資料庫.doc

DB2 (join) SQL DB2 11 SQL DB2 SQL 9.1 DB2 DB2 ( ) SQL ( ) DB2 SQL DB2 DB2 SQL DB2 DB2 SQL DB2 ( DB2 ) DB2 DB2 DB2 SQL DB2 (1) SQL (2) S

Microsoft Word - 改版式网页全文.doc

四川省普通高等学校

導讀 ASP.NET HTML ASP 第一篇 基礎篇第 1 章 認識 ASP.NET ASP.NET ASP.NET ASP.NET ASP.NET 第 2 章 認識 Visual Studio 20 開發環境 Visual Studio 20 Visual Studio 20 第二篇 C# 程式


本 课 程 作 为 非 计 算 机 专 业 本 科 通 识 课 程, 是 一 门 理 论 和 实 践 紧 密 结 合 的 实 用 课 程, 内 容 包 括 计 算 机 基 础 部 分 和 程 序 设 计 部 分 计 算 机 基 础 部 分 涵 盖 计 算 机 软 硬 件 组 成 数 制 表 示 操

投影片 1

一 個 SQL Injection 實 例 的 啟 示 頁 2 / 6 因 此, 在 知 名 網 站 上 看 到 SQL Injection, 讓 人 驚 心, 卻 不 意 外 網 站 專 案 外 包 是 目 前 業 界 的 常 態, 而 在 價 格 取 勝 的 制 度 下, 低 價 得 標 的 S

untitled

( )... 5 ( ) ( )

ebook4-12

Partition Key: 字 符 串 类 型, 表 示 当 前 Entity 的 分 区 信 息 这 个 Property 对 于 Table Service 自 动 纵 向 和 横 向 扩 展 至 关 重 要 Row Key: 字 符 串 类 型, 在 给 定 Partition Key 的

2.4 Selenium Python Selenium Selenium Selenium Selenium pip install selenium Chrome WebDriver Google Chrome (Linux, Mac, Windows) Chrome WebDriv

AUCWA0501p00A.indd

第四章 會員管理系統

幻灯片 1

Microsoft Word - 面向应用能力,构建师范院校计算机公共课程 “三层次教育”课程体系new.doc

天津天狮学院关于修订2014级本科培养方案的指导意见

6-1 Table Column Data Type Row Record 1. DBMS 2. DBMS MySQL Microsoft Access SQL Server Oracle 3. ODBC SQL 1. Structured Query Language 2. IBM

ebook 96-16

13 根 据 各 种 网 络 商 务 信 息 对 不 同 用 户 所 产 生 的 使 用 效 用, 网 络 商 务 信 息 大 致 可 分 为 四 级, 其 中 占 比 重 最 大 的 是 ( A ) A 第 一 级 免 费 信 息 B 第 二 级 低 收 费 信 息 C 第 三 级 标 准 收 费

Microsoft PowerPoint - VB14.ppt

Microsoft Word - 100碩士口試流程

Microsoft Word - ch02.doc

1 1 大概思路 创建 WebAPI 创建 CrossMainController 并编写 Nuget 安装 microsoft.aspnet.webapi.cors 跨域设置路由 编写 Jquery EasyUI 界面 运行效果 2 创建 WebAPI 创建 WebAPI, 新建 -> 项目 ->

Business Objects 5.1 Windows BusinessObjects 1

目 錄 第 一 章 weberp 簡 介... 6 第 一 節 概 述... 6 第 二 節 安 全 性... 7 第 三 節 功 能... 7 一 銷 售 及 訂 單... 7 二 稅... 8 三 應 收 帳 款... 8 四 存 貨... 8 五 購 買... 9 六 應 付 帳 款... 9

Perl

修 平 技 術 學 院

10

關於本書 Part 3 CSS XHTML Ajax Part 4 HTML 5 API JavaScript HTML 5 API Canvas API ( ) Video/Audio API ( ) Drag and Drop API ( ) Geolocation API ( ) Part 5

入學考試網上報名指南

Microsoft Word - 第3章.doc

CONTENT 表 演 藝 術... 2 兒 童 青 少 年... 2 紀 錄 片... 2 教 育 學 程... 5 科 普 教 育... 6 科 學 ( 法 國 動 畫 )... 6 全 球 視 野... 6 商 業 經 營... 6 社 會 人 文... 6 生 活 資 訊... 7 藝 術.

Yih-Chuan Lin Tsung-Han Wu Hsin-Te Wu Hsiao-Hui Hsu Department of Computer Science and Information Engineering Shu-Te University

Chapter 09 專題 : 網站留言版 Python - Django

CU0594.pdf

FileMaker 15 ODBC 和 JDBC 指南

ebook46-23

目錄... ivv...vii Chapter DETECT

ii Vue Bootstrap 4 ES 6 Vue Vue Bootstrap 4 ES 6 Vue 2 vue html vue html vue Vue HTML 5 CSS ES 6 HTML 5 CSS Visual Studio Code h

untitled

Chapter V.S. PC

11页词库答案

季刊9web.indd

17 Chapter Video/Audio API 17-1 <video> <audio> 17-2 <video> <audio>

SQL Server SQL Server SQL Mail Windows NT

Microsoft Word - 最新正文.doc

epub 61-6

Microsoft Word PHPCh15.docx

大元外

基于UML建模的管理管理信息系统项目案例导航——VB篇

ASP.NET MVC Visual Studio MVC MVC 範例 1-1 建立第一個 MVC 專案 Visual Studio MVC step 01 Visual Studio Web ASP.NET Web (.NET Framework) step 02 C:\M


中國文化大學104學年度技擊運動暨國術學系單獨招生簡章

<4D F736F F D20C9CFBAA3CAD0BCC6CBE3BBFAB5C8BCB6BFBCCAD4C8FDBCB6BFBCCAD4B4F3B8D95FBDA8D2E9B8E55F5F E646F63>

FileMaker 16 ODBC 和 JDBC 指南

课程编号 :B Web 技术与应用 实验报告 姓名薛旗学号 班级软信 指导教师杨巍 实验名称 Web 技术与应用实验报告 开设学期 第一学期 开设时间第 15 周 第 16 周 报告日期

回滚段探究

VB控件教程大全

Microsoft PowerPoint - C_Structure.ppt

Microsoft PowerPoint - ch07_1.ppt

untitled

壹 前 言 一 研 究 動 機 現 磨 咖 啡 市 場 中 有 許 多 競 爭 者, 除 了 原 本 以 販 賣 咖 啡 為 主 的 85 西 雅 圖 極 品 咖 啡 之 外, 近 期 便 利 商 店 也 加 入 販 售 現 磨 咖 啡 的 行 列, 例 如 :7-11 的 city cafe OK

威 福 髮 藝 店 桃 園 市 蘆 竹 區 中 山 里 福 祿 一 街 48 號 地 下 一 樓 50,000 獨 資 李 依 純 105/04/06 府 經 登 字 第 號 宏 品 餐 飲 桃 園 市 桃 園 區 信 光 里 民

untitled

國立臺灣科技大學

投稿類別:觀光餐旅類

Microsoft PowerPoint - ch15_1.ppt

f2.eps

上海市教育考试院关于印发新修订的

Microsoft PowerPoint - php11.ppt

1-1 database columnrow record field 不 DBMS Access Paradox SQL Server Linux MySQL Oracle IBM Informix IBM DB2 Sybase 1-2

ThreeDtunnel.doc

R D B M S O R D B M S R D B M S / O R D B M S R D B M S O R D B M S 4 O R D B M S R D B M 3. ORACLE Server O R A C L E U N I X Windows NT w w

關於本書 l 3 PhoneGap Appcelerator Titanium Sencha Touch (wrapper framework) Native App PhoneGap Build Native App Hybrid App Java Objective-C Android SDK

第一章

Microsoft PowerPoint 網站.ppt

Transcription:

星巴克販售系統 資料庫概論書面報告 組員 : 401000087 鄭沛 401000186 趙安 401000244 陳鼎珉 401000400 林柏福 401004022 何天宇 402007099 張功璿 401006068 吳劉麗

目次 一 星巴克的由來... 3 二 緣起... 4 三 關聯圖... 5 四 網站架構... 6 五 資料表... 7 六 網站介紹... 8 七 組員心得... 28 八 分工表... 41 2

一 星巴克的由來 星巴克 (Starbucks) 於 1971 年創立於美國西雅圖的派克市場 它的命名是 以赫曼. 梅維爾在 白鯨記 一書著作中的大副之名 (Starbuck) 而命名的 那 位冷靜又愛喝咖啡的大副史塔巴克, 這個名字讓人連想到海上冒險故事, 也讓人 憶起早年咖啡商人走遍各地尋找好咖啡的傳統 第一代的星巴克美人魚 logo 其實是深褐色的, 取自於十六世紀挪威的雙尾 美人魚木雕圖案, 她看起來嫵媚迷人 充滿冒險精神, 就像咖啡一樣具有誘惑力, 加上一個環繞著 Starbucks Coffee,Tea and Spice 的字樣, 就成為令人神迷 的星巴克商標圖案 1987 年星巴克總裁 Howard Schultz) 改以綠色系為主色調, 創造出明亮 活潑的感覺, 並把美人魚拉近, 讓大家更能清楚看見美人魚的笑臉, 演變成為今日的星巴克女神 logo 3

二 緣起 午後小憩, 一杯咖啡一本書, 便是一日中最放鬆的時刻 然而, 日常卻追趕著 我們, 使人終日不得閒, 在此時若有一杯咖啡便可聊以慰藉 星巴克是台灣近幾 年興起的連鎖咖啡廳, 全台各地尤其是都市裡經常可以發現它的蹤影, 當然, 新 北市也不例外 此次配合 資料庫概論 之課程, 在林信成老師及助教指導下架 本站, 並結合課程所學展示學習成果 4

5 三 關聯圖三 關聯圖店家 New Taipei City store 飲料 drink 販售 sell 圖片 picture no 中文名稱 chinese name 地址 addre ss 電話 phone numb er 營業時間 busines s hours 英文名稱 english name no 店家 serial number 數量 Quantit y id 圖片 picture 中文名稱 chinese name 熱量 calori c 價錢 price size 英文名稱 english name id 飲料總價 total 年 year 月 month 日 day

四 網站架構 星巴克販售系統 首頁關於我們咖啡介紹資料列表資料搜尋會員專區書面報告 星巴克 緣起 Coffee 飲料 門市列 飲料搜 門市搜 銷售 會員登 期中報 由來 tasting 列表 表 尋 尋 量 入 告 第五小 組成員 Felling Coffee 咖啡系列 跨欄搜尋 地區搜 尋 跨欄搜尋 加入會 員 期末報 告 星冰樂系列 中文名稱搜尋 店家中英文名 茶系列 英文名稱搜尋 飲料中英文名 台灣在地茶 S i z e 搜尋 年份 巧克力飲品 價錢搜尋 月份 熱量搜尋 店家編號 飲料編 號 6 訂單序 號

五 資料表 1. 飲料 2. 販售 3. 店家 7

4. 會員 六 網站介紹 首頁 (Index) 在首頁 (Index) 上會放上圖片及簡介星巴克的由來, 另外, 用綠色箭頭指 出來的部份是網頁的 logo, 將 logo 點擊一下會回到入口網頁 ; 而紅色指出 來的部份則是網站的其他分頁, 分別是 : 關於我們 咖啡介紹 資料列表 資料搜尋 會員專區以及書面報告 8

關於我們 在這個分頁裡內容主要分為二部份 : ( 一 ) 緣起 : 建立此網站的宗旨 ( 二 ) 製作小組 : 參與製作本站之人員名單 咖啡介紹 咖啡介紹教您正確的步驟來品嚐咖啡! 並且如何感受咖啡的美好 9

飲料列表 飲料列表列出所有的飲料類別, 包含咖啡系列 星冰樂系列 茶系列 台灣在 地茶及巧克力飲品 門市列表 門市列表列出新北市所有星巴克的店家資料, 包含編號 店家圖片 中英文 10

名稱 服務地址 電話和營業時間 飲料搜尋 1. 此欄位裡可限制檢索資料的部份, 分為 : 跨欄查詢 中文名稱 英文名稱 Size 價錢和熱量 2. 空白欄位裡輸入想搜索的關鍵字 3. 檢索結果呈現 門市搜尋 可藉由跨欄搜尋輸入任一有關的關鍵字, 即可找到新北市的星巴克咖啡店資 訊 11

銷售量 銷售量提供每一筆訂單的詳細資料, 能透過跨欄搜尋 訂單序號 年份 月 份 店家編號 店家中英文名稱 飲料編號及飲料中英文名稱來進行檢索 會員專區 1. 會員登入 2. 加入會員 : 需填寫登入資料, 包括會員帳號 輸入密碼 重新輸入密碼 姓名 及電子信箱 12

資料專區 1. 增加飲料 : 輸入飲料名稱 輸入英文名稱 size 價格 熱量介紹 2. 增加店家 : 輸入店家名稱 輸入店家英文名稱 地址 電話 營業時間 3. 增加業績 : 店家編號 輸入飲料編號 數量 大小 4. 刪改飲料 : 輸入飲料編號查看資料, 並進行刪改 5. 刪改店家 : 輸入店家編號查看資料, 並進行刪改 6. 刪改業績 : 輸入店家編號 年 月 日查看資料, 並進行刪改 書面報告 放置我們期中書面報告和期末書面報告 PDF 檔案 13

主要程式碼 <center> <form action="" method="post"> <select name="vb"> <Option Value=""> 請選擇項目 </option> <option value='all' > 跨欄搜尋 </option> <option value='chinesename'> 中文名稱 </option> <option value='englishname'> 英文名稱 </option> <option value='size'>size</option> <option value='price'> 價錢 </option> <option value='carloric'> 熱量 </option> </select><br><br> <label for='textfield'></label> <input name='key' type='text' id='textfield' placeholder=' 請輸入關鍵字 ' /> <input type='submit' name='button' id='button' value=' 搜尋 ' /> <input type="reset" value=" 重設 "><br><br> <?php $vb = $_POST['vb']; $key = $_POST['key']; // 接收表單資料 $con = mysql_connect('localhost','103dbb05','103dbb05') or die('could not connect to the server!'); mysql_select_db('103dbb05') or die('could not select a database.'); // 連接資料庫 if ($vb!="" ){ if($vb == all){ $sql = "select * from drink where chinesename like '%$key%' or englishname like '%$key%' or size like '%$key%' or price like '%$key%' or caloric like '%$key%' "; // 跨欄查詢 14

elseif($vb == chinesename){ $sql = "select * from drink where chinesename like '%$key%'"; // 中文名稱查詢 elseif($vb == englishname) { $sql = "select * from drink where englishname like '%$key%'"; // 英文名稱查詢 elseif($vb == size) { $sql = "select * from drink where size like '%$key%'"; elseif($vb == price) { $sql = "select * from drink where price like '%$key%'"; elseif($vb == caloric) { $sql = "select * from drink where caloric like '%$key%'"; mysql_query('set NAMES utf8'); mysql_query('set CHARACTER_SET_CLIENT=utf8'); mysql_query('set CHARACTER_SET_RESULTS=utf8'); $result = mysql_query($sql); $row = mysql_fetch_row($result); 15

if ($key!="") {$cont = mysql_num_rows($result); print " 共 $cont 筆資料 <hr/>" ; if ($key!="") { echo "<table border=1>"; echo "<tr><th>id</th> <th> 圖片 </th> <th> 中文名稱 </th> <th> 英文名稱 </th> <th>size</th> <th> 價錢 </th> <th> 熱量 </th> <th> 簡介 </th> </tr>"; while ($row!= NULL){ list($id, $chinesename, $englishname, $size, $price, $caloric, $introduce) = $row; echo "<tr>"; echo "<td>$id<br>"; echo "<br>"; echo "<td><img src = $id.jpg hidth=150 width=300 ><br>"; echo "<br>"; echo "<td>$chinesename<br>"; echo "<br>"; 16

echo "<td>$englishname<br>"; echo "<br>"; echo "<td>$size<br>"; echo "<br>"; echo "<td>$price<br>"; echo "<br>"; echo "<td>$caloric<br>"; echo "<br>"; echo "<td>$introduce<br>"; echo "<br></td>"; echo "</tr>"; $row = mysql_fetch_row($result); echo "</table>"; // 顯示查詢資料 mysql_free_result($result); mysql_close($con);?> 17

</center> </form> 重要程式碼 <center> <form action="" method="post"> <select name="vb"> <option value='all'> 地區搜尋 </option> </select><br><br> <label for='textfield'></label> <input name='key' type='text' id='textfield' placeholder=' 請輸入關鍵字 ' /> <input type='submit' name='button' id='button' value=' 搜尋 ' /> <input type="reset" value=" 重設 "><br><br> <?php $vb = $_POST['vb']; $key = $_POST['key']; // 接收表單資料 $con = mysql_connect('localhost','103dbb05','103dbb05') or die('could not connect to the server!'); mysql_select_db('103dbb05') or die('could not select a database.'); // 連接資料庫 if ($vb!="" ){ if($vb == all){ $sql = "select * from Tamsuistore where chinesename like '%$key%' or englishname like '%$key%' or address like '%$key%'"; // 跨欄查詢 18

mysql_query('set NAMES utf8'); mysql_query('set CHARACTER_SET_CLIENT=utf8'); mysql_query('set CHARACTER_SET_RESULTS=utf8'); $result = mysql_query($sql); $row = mysql_fetch_row($result); if ($key!="") {$cont = mysql_num_rows($result); print " 共 $cont 筆資料 <hr/>" ; if ($key!="") { echo "<table border=1>"; echo "<tr><th>no</th> <th> 圖片 </th> <th> 中文名稱 </th> <th> 英文名稱 </th> <th> 地址 </th> <th> 電話 </th> <th> 營業時間 </th> </tr>"; while ($row!= NULL){ list($no, $chinesename, $englishname, $address, $phonenumber, $businesshours) = $row; echo "<tr>"; echo "<td>$no<br>"; 19

echo "<br>"; echo "<td><img src = $no.jpg hidth=150 width=300 ><br>"; echo "<br>"; echo "<td>$chinesename<br>"; echo "<br>"; echo "<td>$englishname<br>"; echo "<br>"; echo "<td>$address<br>"; echo "<br>"; echo "<td>$phonenumber<br>"; echo "<br>"; echo "<td>$businesshours<br>"; echo "<br></td>"; echo "</tr>"; $row = mysql_fetch_row($result); echo "</table>"; // 顯示查詢資料 mysql_free_result($result); 20

mysql_close($con);?> </center> </form> join <?php $accountname = $_POST['accountname']; $password = $_POST['password']; $repassword = $_POST['repassword']; $username = $_POST['username']; $email = $_POST['email']; $con = mysql_connect('localhost','103dbb05','103dbb05') or die('could not connect to the server!'); mysql_select_db('103dbb05') or die(' 無法連線 '); mysql_query("set NAMES 'utf8'"); mysql_query("set CHARACTER_SET_CLIENT=utf8"); mysql_query("set CHARACTER_SET_RESULTS=utf8"); include("my_msg.php"); if($accountname =='' or $password =='' or $repassword==''){ my_msg(" 欄位不可空白 ","join.html"); if($password!= $repassword){ my_msg(" 密碼不相符, 請重新確認 ","join.html"); $sql="insert INTO member values ('$accountname','$password','1','$username','$email')"; $result = mysql_query($sql) or my_msg(" 該帳號已有人註冊, 請以其他帳號重新註冊 ","join.html"); my_msg(" 新增使用者成功, 請用此帳密重新登入 ","login.html");?> login 21

<?php $accountname = $_POST['accountname']; $password = $_POST['password']; $con = mysql_connect('localhost','103dbb05','103dbb05') or die('could not connect to the server!'); mysql_select_db('103dbb05') or die(' 無法連線 '); mysql_query("set NAMES 'utf8'"); mysql_query("set CHARACTER_SET_CLIENT=utf8"); mysql_query("set CHARACTER_SET_RESULTS=utf8"); include("my_msg.php"); unset($_session['user_accountname']); if($accountname =='' or $password ==''){ my_msg(" 欄位不可空白 ","login.html"); $sql="select * from member where accountname ='$accountname' and password = '$password'"; $result = mysql_query($sql) or die('a error occured:'. mysql_error()); $row = mysql_fetch_array($result, MYSQL_BOTH);?> if(mysql_num_rows($result)==1){ $_SESSION['user_accountname'] = $access; my_msg(" 登入成功, 您好!$accountname","data.php"); else{ my_msg(" 登入失敗, 請重新登入 ","login.html"); 增加飲料 </div> <br><br><br><br><br><br><div id="main"> <h2> 增加資料 </h2> <form method="get"> <center> 輸入飲料名稱 <input type="text" value="" name="drinkname"><br /> 輸入英文名稱 <input type="text" value="" name="drinkename"><br /> 22

size<input type="text" value="" name="size"><br /> 價格 <input type="text" value="" name="price"><br /> 熱量 <input type="text" value="" name="caloric"><br /> 介紹 <input type="text" value="" name="introduce"><br><br> <input type='submit' value=' 確認 ' name='submit'> <input type="reset" name=" 重新輸入 " /> </form> <?php $con = mysql_connect('localhost','103dbb05','103dbb05') or die('could not connect to the server!'); mysql_select_db('103dbb05') or die('could not select a database.'); $drinkname=$_get["drinkname"]; $drinkename=$_get["drinkename"]; $size=$_get["size"]; $price=$_get["price"]; $caloric=$_get["caloric"]; $introduce=$_get["introduce"]; $submit=$_get["submit"]; if($submit){ $sqladd = "INSERT INTO `drink`(`drinkname`, `drinkename`, `size`, `price`, `caloric`, `introduce`) VALUES ('$drinkname', '$drinkename', '$size', '$price', '$caloric', '$introduce')"; $resultadd = mysql_query($sqladd) or die(mysql_error()); $sql = "SELECT `id`, `drinkname`, `drinkename`, `size`, `price`, `caloric`, `introduce` FROM `drink` ORDER by id desc LIMIT 1"; $link = mysql_connect('localhost', '103dbb05', '103dbb05', '103dbb05'); mysql_select_db("103dbb05", $link) or die(" 資料庫連結錯誤 "); mysql_query('set NAMES utf8'); mysql_query('set CHARACTER_SET_CLIENT=utf8'); mysql_query('set CHARACTER_SET_RESULTS=utf8'); $result = mysql_query($sql) or die(mysql_error()); $row = mysql_fetch_row($result); $cont = mysql_num_rows($result); print "<div align='left'> 共 $cont 筆商品 </div><hr />"; 23

while ($row!= NULL){ list($id,$drinkname,$drinkename,$size,$price,$caloric,$introduce)=$row; echo '<table class="zebra"><center>'; echo "<tr>"; echo "<th><center><font color='#000088' size='4'> 編號 </font></center></th>"; echo "<th><center><font color='#000088' size='4'> 圖片 </font></center></th>"; echo "<th><center><font color='#000088' size='4'> 中文名稱 </font></center></th>"; echo "<th><center><font color='#000088' size='4'> 英文名稱 </font></center></th>"; echo "<th><center><font color='#000088' size='4'>size</font></center></th>"; echo "<th><center><font color='#000088' size='4'> 價格 </font></center></th>"; echo "<th><center><font color='#000088' size='4'> 熱量 </font></center></th>"; echo "<th><center><font color='#000088' size='4'> 介紹 </font></center></th>"; echo "</tr>"; echo "<tr>"; echo "<td width=10%><center>".$id."</center></td>"; echo "<th><img src = $id.jpg hidth=150 width=300 ></th>"; echo "<td width=12% height=50px><center><input type=text name='drinkname_n' style='width:150' value='".$drinkname."'</center></td>"; echo "<td width=15% height=50px><center><input type=text name='drinkename_n' style='width:150' value='".$drinkename."'></center></td>"; echo "<td width=15% height=50px><center><input type=text name='size_n' style='width:150' value='".$size."'</center></td>"; echo "<td width=13% height=50px><center><input type=text name='price_n' style='width:150' value='".$price."'</center></td>"; echo "<td width=10% height=50px><center><textarea name='caloric_n' value='' cols='10' rows='3' required>".$caloric."</textarea></center></td>"; echo "<td width=10% height=50px><center><textarea name='introduce_n' style='width:150' value='' cols='10' rows='3'>".$introduce."</textarea></center></td>"; echo " 增加業績 </div> <br><br><br><br><br><br><div id="main"> <h2> 增加資料 </h2> <form method="get"> 24

輸入業績 <br /> 年 <input type="text" value="" name="year_n"><br/> 月 <input type="text" value="" name="month_n"><br/> 日 <input type="text" value="" name="day_n"><br/> 店家 <input type="text" value="" name="no_n"><br/> 品項 <input type="text" value="" name="id_n"><br/> 數量 <input type="text" value="" name="quantity_n"><br/> <input type='submit' value=' 確認 ' name='submit'> <input type="reset" name=" 重新輸入 " /><br/> <?php $con = mysql_connect('localhost','103dbb05','103dbb05') or die('could not connect to the server!'); mysql_select_db('103dbb05') or die('could not select a database.'); $year_n=$_get["year_n"]; $month_n=$_get["month_n"]; $day_n=$_get["day_n"]; $no_n=$_get["no_n"]; $id_n=$_get["id_n"]; $quantity_n=$_get["quantity_n"]; $submit=$_get["submit"]; if($submit){ $sql = "SELECT * FROM `drink` WHERE `id`='$id_n'"; // 把使用者選擇的品項叫出來 $result = mysql_query($sql) or die(mysql_error()); $row = mysql_fetch_row($result); list($id,$drinkname,$drinkename,$size,$price,$caloric,$introduce)=$row; // 叫出該品項價錢 $total = $quantity_n*$price;// 讓 $total 代替 $quantity_n 和 $price 這兩個變數 $sqladd = "INSERT INTO `sell`(`year`, `month`, `day`, `no`, `id`, `quantity`, `total`) VALUES ('$year_n','$month_n','$day_n','$no_n','$id_n','$quantity_n','$total')"; $resultadd = my 增加店家 </div> <br><br><br><br><br><br><div id="main"> 25

<h2> 增加店家 </h2> <form method="get"> <center> 輸入店家名稱 <input type="text" value="" name="chinesename"><br /> 輸入店家英文名稱 <input type="text" value="" name="englishname"><br /> 地址 <input type="text" value="" name="address"><br /> 電話 <input type="text" value="" name="phonenumber"><br /> 營業時間 <input type="text" value="" name="businesshours"><br /><br/> <input type='submit' value=' 確認 ' name='submit'> <input type="reset" name=" 重新輸入 " /> </form> <?php $con = mysql_connect('localhost','103dbb05','103dbb05') or die('could not connect to the server!'); mysql_select_db('103dbb05') or die('could not select a database.'); $chinesename=$_get["chinesename"]; $englishname=$_get["englishname"]; $address=$_get["address"]; $phonenumber=$_get["phonenumber"]; $businesshours=$_get["businesshours"]; $submit=$_get["submit"]; if($submit){ $sqladd = "INSERT INTO `Tamsuistore`(`chinesename`, `englishname`, `address`, `phonenumber`, `businesshours`) VALUES ('$chinesename', '$englishname', '$address', '$phonenumber', '$businesshours')"; $resultadd = mysql_query($sqladd) or die(mysql_error()); $sql = "SELECT `no`, `chinesename`, `englishname`, `address`, `phonenumber`, `businesshours` FROM `Tamsuistore` ORDER by no desc LIMIT 1"; $link = mysql_connect('localhost', '103dbb05', '103dbb05', '103dbb05'); mysql_select_db("103dbb05", $link) or die(" 資料庫連結錯誤 "); mysql_query('set NAMES utf8'); mysql_query('set CHARACTER_SET_CLIENT=utf8'); mysql_query('set CHARACTER_SET_RESULTS=utf8'); $result = mysql_query($sql) or die(mysql_error()); 26

$row = mysql_fetch_row($result); $cont = mysql_num_rows($result); print "<div align='left'> 共 $cont 筆商品 </div><hr />"; while ($row!= NULL){ list($no,$chinesename,$englishname,$address,$phonenumber,$businesshours)=$row; echo '<table class="zebra"><center>'; echo "<tr>"; echo "<th><center><font color='#000088' size='4'> 編號 </font></center></th>"; echo "<th><center><font color='#000088' size='4'> 圖片 </font></center></th>"; echo "<th><center><font color='#000088' size='4'> 中文名稱 </font></center></th>"; echo "<th><center><font color='#000088' size='4'> 英文名稱 </font></center></th>"; echo "<th><center><font color='#000088' size='4'> 地址 </font></center></th>"; echo "<th><center><font color='#000088' size='4'> 電話號碼 </font></center></th>"; echo "<th><center><font color='#000088' size='4'> 營業時間 </font></center></th>"; echo "</tr>"; echo "<tr>"; echo "<td width=10%><center>".$no."</center></td>"; echo "<th><img src = $no.jpg hidth=150 width=300 ></th>"; echo "<td width=12% height=50px><center>".$chinesename."</center></td>"; echo "<td width=15% height=50px><center>".$englishname."</center></td>"; echo "<td width=15% height=50px><center>".$address."</center></td>"; echo "<td width=13% height=50px><center>".$phonenumber."</center></td>"; echo "<td width=10% height=50px><center>".$businesshours."</center></td>"; ech 刪改飲料 </div> <br><br><br><br><br><br><div id="main"> <h2> 刪改飲料 </h2> <?php $id_s=$_get["id_s"]; $link = mysql_connect('localhost', '103dbb05', '103dbb05', '103dbb05'); mysql_select_db("103dbb05", $link) or die(" 資料庫連結錯誤 "); mysql_query('set NAMES utf8'); mysql_query('set CHARACTER_SET_CLIENT=utf8'); mysql_query('set CHARACTER_SET_RESULTS=utf8'); $sql = "SELECT * FROM `drink` "; 27

$result = mysql_query($sql) or die(mysql_error()); $row = mysql_fetch_row($result); $cont = mysql_num_rows($result); echo '<form action="" method="get">'; echo '<center><table> <tr> <td width="50%"><div align="center"> 飲料編號 </div></td> <td width="50%"><div align="center"><input type="text" style="width:150" name="id_s" value="'.$id_s.'" required> <input type="submit" name="submit" value=" 查看 "></div></td> </tr> <tr> <td colspan="2"><div align="center"> <input type="submit" name="submit2" value=" 修改 "> <input type="submit" name="submit3" value=" 刪除 "> <input type="reset" name=" 重新輸入 " /> </tr> </td> </table></center>';?> <div id="box" align="center"><center> <?php $id_s=$_get["id_s"]; $submit=$_get['submit']; if($submit){ $sql = "SELECT `id`, `drinkname`, `drinkename`, `size`, `price`, `caloric`, `introduce` FROM `drink` WHERE `id`='$id_s'"; $link = mysql_connect('localhost', '103dbb05', '103dbb05', '103dbb05'); mysql_select_db("103dbb05", $link) or die(" 資料庫連結錯誤 "); mysql_query('set NAMES utf8'); mysql_query('set CHARACTER_SET_CLIENT=utf8'); mysql_query('set CHARACTER_SET_RESULTS=utf8'); 28

$result = mysql_query($sql) or die(mysql_error()); $row = mysql_fetch_row($result); $cont = mysql_num_rows($result); print "<div align='left'> 共 $cont 筆商品 </div><hr />"; while ($row!= NULL){ list($id,$drinkname,$drinkename,$size,$price,$caloric,$introduce)=$row; echo '<table class="zebra"><center>'; echo "<tr>"; echo "<th><center><font color='#000088' size='4'> 編號 </font></center></th>"; echo "<th><center><font color='#000088' size='4'> 圖片 </font></center></th>"; echo "<th><center><font color='#000088' size='4'> 中文名稱 </font></center></th>"; echo "<th><center><font color='#000088' size='4'> 英文名稱 </font></center></th>"; echo "<th><center><font color='#000088' size='4'>size</font></center></th>"; echo "<th><center><font color='#000088' size='4'> 價格 </font></center></th>"; echo "<th><center><font color='#000088' size='4'> 熱量 </font></center></th>"; echo "<th><center><font color='#000088' size='4'> 介紹 </font></center></th>"; echo "</tr>"; echo "<tr>"; echo "<td width=10%><center>".$id."</center></td>"; echo "<th><img src = drink/$id.jpg hidth=150 width=300 ></th>"; echo "<td width=12% height=50px><center><input type=text name='drinkname_n' style='width:150' value='".$drinkname."'</center></td>"; echo "<td width=15% height=50px><center><input type=text name='drinkename_n' style='width:150' value='".$drinkename."'></center></td>"; echo "<td width=15% height=50px><center><input type=text name='size_n' style='width:150' value='".$size."'</center></td>"; echo "<td width=13% height=50px><center><input type=text name='price_n' style='width:150' value='".$price."'</center></td>"; echo "<td width=10% height=50px><center><textarea name='caloric_n' value='' cols='10' rows='3' required>".$caloric."</textarea></center></td>"; echo "<td width=10% height=50px><center><textarea name='introduce_n' style='width:150' value='' cols='10' rows='3'>".$introduce."</textarea></center></td>"; echo "</tr>"; $row = mysql_fetch_row($result); 29

echo '</center></table>'; $id_s=$_get["id_s"]; $drinkname_n=$_get["drinkname_n"]; $drinkename_n=$_get["drinkename_n"]; $size_n=$_get["size_n"]; $price_n=$_get["price_n"]; $caloric_n=$_get["caloric_n"]; $introduce_n=$_get["introduce_n"]; $submit2=$_get['submit2']; $submit3=$_get['submit3']; if($submit2){ $sqlupdate = "update drink set drinkname = '$drinkname_n', drinkename = '$drinkename_n', size = '$size_n', price = '$price_n', caloric = '$caloric_n', introduce = '$introduce_n' where `drink`.id = '$id_s'"; $resultupdate = mysql_query($sqlupdate) or die(mysql_error()); echo '<font color="#cc0000"> 修改成功 </font>'; if($submit3){ echo '<script>confirm(" 你確定?");</script>'; $sql = "delete from drink where id='$id_s'"; $result = mysql_query($sql) or die(mysql_error()); echo '<font color="#cc0000"> 刪除成功 </font>';? 刪改店家 </div> <br><br><br><br><br><br><div id="main"> <h2> 刪改店家 </h2> <?php $no_s=$_get["no_s"]; 30

$link = mysql_connect('localhost', '103dbb05', '103dbb05', '103dbb05'); mysql_select_db("103dbb05", $link) or die(" 資料庫連結錯誤 "); mysql_query('set NAMES utf8'); mysql_query('set CHARACTER_SET_CLIENT=utf8'); mysql_query('set CHARACTER_SET_RESULTS=utf8'); $sql = "SELECT * FROM `Tamsuistore` "; $result = mysql_query($sql) or die(mysql_error()); $row = mysql_fetch_row($result); $cont = mysql_num_rows($result); echo '<form action="" method="get">'; echo '<center><table> <tr> <td width="50%"><div align="center"> 店家編號 </div></td> <td width="50%"><div align="center"><input type="text" style="width:150" name="no_s" value="'.$no_s.'" required> <input type="submit" name="submit" value=" 查看 "></div></td> </tr> <tr> <td colspan="2"><div align="center"> <input type="submit" name="submit2" value=" 修改 "> <input type="submit" name="submit3" value=" 刪除 "> <input type="reset" name=" 重新輸入 " /> </tr> </td> </table></center>';?> <div id="box" align="center"><center> <?php $no_s=$_get["no_s"]; $submit=$_get['submit']; if($submit){ $sql = "SELECT `no`, `chinesename`, `englishname`, `address`, `phonenumber`, `businesshours` FROM `Tamsuistore` WHERE `no`='$no_s'"; $link = mysql_connect('localhost', '103dbb05', '103dbb05', '103dbb05'); 31

mysql_select_db("103dbb05", $link) or die(" 資料庫連結錯誤 "); mysql_query('set NAMES utf8'); mysql_query('set CHARACTER_SET_CLIENT=utf8'); mysql_query('set CHARACTER_SET_RESULTS=utf8'); $result = mysql_query($sql) or die(mysql_error()); $row = mysql_fetch_row($result); $cont = mysql_num_rows($result); print "<div align='left'> 共 $cont 間店家 </div><hr />"; while ($row!= NULL){ list($no,$chinesename,$englishname,$address,$phonenumber,$businesshours)=$row; echo '<table class="zebra"><center>'; echo "<tr>"; echo "<th><center><font color='#000088' size='4'> 編號 </font></center></th>"; echo "<th><center><font color='#000088' size='4'> 圖片 </font></center></th>"; echo "<th><center><font color='#000088' size='4'> 中文名稱 </font></center></th>"; echo "<th><center><font color='#000088' size='4'> 英文名稱 </font></center></th>"; echo "<th><center><font color='#000088' size='4'> 地址 </font></center></th>"; echo "<th><center><font color='#000088' size='4'> 電話 </font></center></th>"; echo "<th><center><font color='#000088' size='4'> 營業時間 </font></center></th>"; echo "</tr>"; echo "<tr>"; echo "<td width=10%><center>".$no."</center></td>"; echo "<th><img src = store/$no.jpg hidth=150 width=300 ></th>"; echo "<td width=12% height=50px><center><input type=text name='chinesename_n' style='width:150' value='".$chinesename."'</center></td>"; echo "<td width=15% height=50px><center><input type=text name='englishname_n' style='width:150' value='".$englishname."'></center></td>"; echo "<td width=15% height=50px><center><input type=text name='address_n' style='width:150' value='".$address."'</center></td>"; echo "<td width=13% height=50px><center><input type=text name='phonenumber_n' style='width:150' value='".$phonenumber."'</center></td>"; echo "<td width=10% height=50px><center><textarea name='businesshours_n' value='' cols='10' rows='3' required>".$businesshours."</textarea></center></td>"; ; 32

echo "</tr>"; $row = mysql_fetch_row($result); echo '</center></table>'; $no_s=$_get["no_s"]; $chinesename_n=$_get["chinesename_n"]; $englishname_n=$_get["englishname_n"]; $address_n=$_get["address_n"]; $phonenumber_n=$_get["phonenumber_n"]; $businesshours_n=$_get["businesshours_n"]; $submit2=$_get['submit2']; $submit3=$_get['submit3']; if($submit2){ $sqlupdate = "update Tamsuistore set chinesename = '$chinesename_n', englishname = '$englishname_n', address = '$address_n', phonenumber = '$phonenumber_n', businesshours = '$businesshours_n' where `Tamsuistore`.no = '$no_s'"; $resultupdate = mysql_query($sqlupdate) or die(mysql_error()); echo '<font color="#cc0000"> 修改成功 </font>'; if($submit3){ echo '<script>confirm(" 你確定?");</script>'; $sql = "delete from Tamsuistore where no='$no_s'"; $result = mysql_query($sql) or die(mysql_error()); echo '<font color="#cc0000"> 刪除成功 </font>';?><br> 刪改業績 </div> <br><br><br><br><br><br><div id="main"> 33

<h2> 刪改業績 </h2> <?php $year_s=$_get["year_s"]; $month_s=$_get["month_s"]; $day_s=$_get["day_s"]; $no_s=$_get["no_s"]; $link = mysql_connect('localhost', '103dbb05', '103dbb05', '103dbb05'); mysql_select_db("103dbb05", $link) or die(" 資料庫連結錯誤 "); mysql_query('set NAMES utf8'); mysql_query('set CHARACTER_SET_CLIENT=utf8'); mysql_query('set CHARACTER_SET_RESULTS=utf8'); $sql = "SELECT`serialnumber`, `year`, `month`, `day`, `no`, `id`,`quantity` FROM `sell`"; $result = mysql_query($sql) or die(mysql_error()); $row = mysql_fetch_row($result); $cont = mysql_num_rows($result); echo '<form action="" method="get">'; echo '<table> <tr> <td width="50%"><div align="center"> 年 </div></td> <td width="50%"><div align="center"><input type="text" style="width:150" name="year_s" value="'.$year_s.'" required> <input type="submit" name="submit" value=" 查看 "></div></td> <td width="50%"><div align="center"> 月 </div></td> <td width="50%"><div align="center"><input type="text" style="width:150" name="month_s" value="'.$month_s.'" required> <input type="submit" name="submit" value=" 查看 "></div></td> </tr> <tr> <td width="50%"><div align="center"> 日 </div></td> <td width="50%"><div align="center"><input type="text" style="width:150" name="day_s" value="'.$day_s.'" required> <input type="submit" name="submit" value=" 查看 "></div></td> <td width="50%"><div align="center"> 店家編號 </div></td> <td width="50%"><div align="center"><input type="text" style="width:150" name="no_s" value="'.$no_s.'" required> <input type="submit" name="submit" value=" 查看 "></div></td> 34

</tr> <tr> <td colspan="4"><div align="center"> <input type="submit" name="submit2" value=" 修改 "> <input type="submit" name="submit3" value=" 刪除 "> <input type="reset" name=" 重新輸入 " /> </td> </tr> </table>';?> <div id="box" align="center"><center> <?php $year_s=$_get["year_s"]; $month_s=$_get["month_s"]; $day_s=$_get["day_s"]; $no_s=$_get["no_s"]; $submit=$_get['submit']; if($submit){ $sql = "SELECT`serialnumber`, `year`, `month`, `day`, `no`, `id`,`quantity` FROM `sell` WHERE `year`='$year_s' and `month`='$month_s' and `day`='$day_s' and `no`='$no_s' "; $link = mysql_connect('localhost', '103dbb05', '103dbb05', '103dbb05'); mysql_select_db("103dbb05", $link) or die(" 資料庫連結錯誤 "); mysql_query('set NAMES utf8'); mysql_query('set CHARACTER_SET_CLIENT=utf8'); mysql_query('set CHARACTER_SET_RESULTS=utf8'); $result = mysql_query($sql) or die(mysql_error()); $row = mysql_fetch_row($result); $cont = mysql_num_rows($result); 35

print "<div align='left'> 共 $cont 筆資料 </div><hr />"; while ($row!= NULL){ list($serialnumber,$year,$month,$day,$no,$id,$quantity)=$row; echo '<table class="zebra"><center>'; echo "<tr>"; echo "<th><center><font color='#000088' size='4'> 編號 </font></center></th>"; echo "<th><center><font color='#000088' size='4'> 年 </font></center></th>"; echo "<th><center><font color='#000088' size='4'> 月 </font></center></th>"; echo "<th><center><font color='#000088' size='4'> 日 </font></center></th>"; echo "<th><center><font color='#000088' size='4'> 店家編號 </font></center></th>"; echo "<th><center><font color='#000088' size='4'> 飲料編號 </font></center></th>"; echo "<th><center><font color='#000088' size='4'> 共 </font></center></th>"; echo "</tr>"; echo "<tr>"; echo "<td width=10%><center>".$serialnumber."</center></td>"; echo "<td width=12% height=50px><center><input type=text name='year_n' style='width:150' value='".$year."'</center></td>"; echo "<td width=15% height=50px><center><input type=text name='month_n' style='width:150' value='".$month."'></center></td>"; echo "<td width=15% height=50px><center><input type=text name='day_n' style='width:150' value='".$day."'</center></td>"; echo "<td width=13% height=50px><center><input type=text name='no_n' style='width:150' value='".$no."'</center></td>"; echo "<td width=10% height=50px><center><input type=text name='id_n' value='".$id."' cols='10' rows='3' required></textarea></center></td>"; echo "<td width=10% height=50px><center><input type=text name='quantity_n' value='".$quantity."' cols='10' rows='3' required></textarea></center></td>"; ; echo "</tr>"; $row = mysql_fetch_row($result); echo '</center></table>'; $year_s=$_get["year_s"]; $month_s=$_get["month_s"]; 36

$day_s=$_get["day_s"]; $no_s=$_get["no_s"]; $year_n=$_get["year_n"]; $month_n=$_get["month_n"]; $day_n=$_get["day_n"]; $no_n=$_get["no_n"]; $id_n=$_get["id_n"]; $quantity_n=$_get["quantity_n"]; $submit2=$_get['submit2']; $submit3=$_get['submit3']; if($submit2){ $sqlupdate = "update sell set year = '$year_n', month = '$month_n', day = '$day_n', no = '$no_n', id = '$id_n', quantity = '$quantity_n' where `sell`.year = '$year_s' and `sell`.month = '$month_s' and `sell`.day = '$day_s' and `sell`.no = '$no_s' "; $resultupdate = mysql_query($sqlupdate) or die(mysql_error()); echo '<font color="#cc0000"> 修改成功 </font>'; if($submit3){ echo '<script>confirm(" 你確定?");</script>'; $sql = "delete from sell where year='$year_s' and month='$month_s' and day='$day_s' and no='$no_s' "; $result = mysql_query($sql) or die(mysql_error()); echo '<font color="#cc0000"> 刪除成功 </font>';?><br> </form> <form method='post' action=''><input type='submit' name='button' id='button' value=' 登出 ' /> <input type="button" value=" 回到資料專區 " onclick="location.href='data.php'"></form> <?php if($_post['button']){ 37

unset($_session['user_accountname']); unset($_session['user_rank']); echo "<script language=\"javascript\">"; echo "location.href='login.html'"; echo "</script>";?></center> </div> </div> </html> 七 組員心得 趙安 : 期末報告跟期中相比多了會員登入登出及資料的增刪改 寫程式真的是件很考 驗耐心的事, 通常不可能一寫就對, 要有耐心的不斷 Debug; 然而跑不出程式的 Bug 永遠又是最小 最不起眼又最蠢的那個, 在找到這個小小 Bug 之前真的很 令人崩愧, 但找到了還是很崩愧 雖然成功讓程式跑動真的很感動, 但因上述原 因也伴隨著無耐的心情 雖然二年級跟本學期都有上課, 但我對 Php 還是有太 多不了解的地方了, 但我相信這一年半的課程與練習一定有幫助, 讓犯錯的機會 減少一點 最後感謝與我同組的組員們, 有大家的一同努力才能完成這學期這堂 課的所有報告 吳劉麗 : 主要是負責網頁的 html 跟 css, 但是期中已經把整個架構做出來, 所以實際 上要改的地方不多 期末做的網頁變更主要是把上方連結的部分固定和制作下拉 38

式選單 原本在期中之前就打算把連結固定在上方, 可是一直找不到合適的語法, 只好留待期中以後做, 成功做出來的時候蠻有成就感的, 而且這個語法也被我應 用到別的科目上 遇到的最大挑戰是下位式選單, 原本以為它只是簡單的語法, 沒想到大多數都是以我不會的 javascript 制作, 嘗試了一下結果還是做不出預定 的效果, 並因為能力的關係很難進行調整, 最後改用了純 CSS 的下拉式選單才 解決了問題 感謝組員的努力和互相合作, 讓我們完成這個資料庫 陳鼎珉 : 我負責的是收集資料 資料庫建置 Php 架構和寫作 雖然我大部分都只是把 既有的程式碼塗塗改改, 有時候一個不注意就出現了 BUG, 還要重頭到尾重新 看一次, 做出來讓人有極大的成就感, 感謝各位組員, 感謝大家的通力合作 張功璿 : 這學期的資料庫概論讓我深深了解到要製作一個資料庫是有多麼費工夫, 不是 學個一朝一夕就能完全懂得, 想當初半夜兩三點, 去麥當勞的官方網站上面點一 份大麥克餐, 然後外送要加三十五元, 之後大約三十分鐘, 就送到了 在驚訝麥 當勞效率的同時, 也不禁想到這家公司用資料庫下單的系統, 建置的有多完善, 能夠在這麼短的時間, 處理完畢並滿足客戶需求 而這次期末報告的星巴克販售 系統我覺得網站呈現的很棒, 完全不會輸給它, 也感謝同組同學的合作幫忙才能 做出來, 尤其是程式組同學要想辦法寫出程式, 又要不斷測試讓它能順利跑出來, 實在非常厲害!!! 最後祝大家新年快樂和新學期愉快 39

林柏福 : 這次資料庫概論的期末報告, 我依然還是負責書面報告和口頭報告的部分, 書 面報告有不少需要修改的, 例如因為有更新網站架構, 所以要重新截圖並且再次 描述網站, 而與期中報告最主要的差異是增加會員專區和資料增加 修改 刪除 的功能 很感謝程式組的組員們一肩挑起大樑負責與艱難的程式搏鬥, 因為自己 也有寫一點程式, 所以非常懂得他們的辛苦, 實在令人相當佩服, 很開心大家一 同完成了這項作業, 十分感謝每一位組員, 謝謝你們 鄭沛 : 在這次期末作業的分工裡我主要負責輸入數據到資料庫裡的業績資料表, 是有 些瑣碎的工作, 期間也修改了幾次 網站與期中時相比改變了許多, 看著在大家 的努力下逐漸完善的網站, 不由得感到喜悅, 尤其是要感謝負責編寫程式及網站 架構的組員, 真的是辛苦了! 何天宇 : 我負責的內容是網頁的架構設計和語法 我的主要工作內容有表格設計, 雖然 很多都是重複性的內容, 但是也需要很大的耐心和細心 很感謝資料庫組的同學 提供詳盡的資料, 給我的工作帶來了很大便利 我們組內分工明確, 工作效率高, 合作得非常愉快 40

八 分工表 姓名 分工 張功璿 網站寫作 網站架構 資料蒐集 鄭沛 資料庫建置 資料蒐集 趙安 資料庫建置 php 架構與寫作 資料蒐集 陳鼎珉 資料庫建置 php 架構與寫作 資料蒐集 林柏福 書面報告 口頭報告 資料蒐集 何天宇 資料庫建置 資料蒐集 吳劉麗 網站寫作 網站架構 資料蒐集 41