Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 61 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
61
Dung lượng
2,58 MB
Nội dung
TRlTCfNG DAI HOC AN GIANG KHOA KY THUAT - CONG NGHE - MOI TRU^NG NGUYEN THANH PHUC KHOA LUAN TOTNGHIgP DAI HOC NGANH C^NHAN TIN HQC XAYDlTNG WEBSITE QUAN LY CONG VAN KHOA KY THUAT-CONG NGHE-MOI TRl/CXNG TRUC5NG DAI HQC AN GIANG THUVIEN GV hirdng din Ths Nguyen Thai Du An Giang, 05/2006 Xay dung Website quan ly cong van Khoa Ky Thuat - Cong Nghe - Moi Trirfrng Loi noi dau Ngay tin hoc cang khong the thiiu moi linh vuc ciia Sai song Trong So cong nghe Web cang Suac phdt triin ring rai, nha veto mang Internet sir hiiu biit ciia nguai cang Suac nang cao bai khong can phdi Si ddu xa chi cdn co may tinh vd mang Internet chung ta se dm thdy Suac vo van thong tin can muon co Vai su ho tra cua thdy co khoa Ky Thuat - Cong Nghe - Moi Truang, em S3 co ca hoi Suac dm hieu va thuc hien viec xay dung Website quan ly cong van khoa Ky Thuat - Cong Nghe - Moi Truang Mac dii Suac su giup So nhiet tinh ciia ede thdy^ ede co nhung hqn chi ve quy thai gian cung nhu khd nang lap trinh vd thieu kinh nghiem viec tqo mot Website hodn chinh nen khong trdnh khoi nhung sai sot nhdt Sinh, kinh mong quy thdy co quan tarn giup So Nhdn Say em cungxingai lai cam an chdn thdnh Sen: Ban Gidm Hieu Truang Dai Hoc An Giang, cung thdy co khoa Ky Thuat - Cong Nghe - Moi Truang S3 quan tarn vd tqo Sieu kien hoc tap tot cho chung em! Cdc thdy, co khoa Ky Thuat - Cong Nghe- Moi Truang vd ede thdy, co truang Dai hoc Khoa hoc Tu nhien S3 tan tarn truyen Sat kien thuc cho chung em suit qua trinh hoc tap! Thdy Nguyen Thai Du, nguai true dip huang dan vd giup da em hodn thdnh Si tdi nay! Trdn trong! Sinh viin: Nguyin Thanh Phuc SVTH: Nguyin Thanh Phuc MSSV: DTH021757 Xay dung Website quan ly cong van Khoa Ky Thuat - Cong Nghe - Moi Trufrng Tom t^t •Ten de tai: Xay dung Website quan ly cong van Khoa Ky Thuat - Cong Nghe - Moi Truong, trubng Dai Hoc An Giang •JVipi dung: Tim hiSu cong tac quan ly Cong van cua Khoa Ky Thuat - Cong Nghe - Moi Trudng, truong Dai Hoc An Giang, phan tich va thiet ke he thong de xay dung Website quan ly cong van vdi cac noi dung chu yeu sau: >Doi voi can bo quan ly: •Upload cong van: o Chung o Cho doi tuong cu the •Siia cong van •Xoa cong van •Tim kiem cong van duavao: o Loai cong van - o Ngayden o Ngaydi o •Phan quyen •Bao mat ^ Doi vdi cac giang vien va sinh vien: •Download cong van ve •Xem cong van •Tim kiem cong van •YSu chu: ^ Tim hieu cac van de ly thuyet lien quan >Tim higu he thdng va phan tich yeu c^u >Phan tich va thi^t kg he thdng >Xay dung Website •Moi trwimg thuc Men: >Ngon ngu phan tich va thiet ke: UML (Unified Modeling Language) >Ngon ngu lap trinh viet cho Web: PHP (version 5.0.5) >He quan tri ca sd du lieu: MySQL Server (version 5.0) SVTH: Nguyln Thanh Phuc MSSV: DTH021757 Xay dyng Website quan ly cong van Khoa Ky Thuat - Cong Nghe - Moi Tru-frng MUC LUC Chuang Tong quan ve quan ly cong van2 1.Gidi thieu cong tac quan ly cong van2 2.Hien trang quan ly cong van khoa Ky Thuat- Cong Nghe - Moi Truang3 Chuang Phan tich va thiet kg he thgng4 1.Cong cu va moi trudng phat trien4 1.1.Gidi thieu so luge ve UML(Unified Modeling Language)4 1.2.Cac mo hinh true quan vai UML5 1.3.He quantri ca so dtr lieu va moi truang cai dat7 2.Phan tich.'.'.'.7 2.1.Hien trang Khoa Ky Thuat r- Cong Nghe - Moi Truang7 2.2.Vln dh cln giai quySt8 2.3.Yeu c^u dugc dat (Website c^n phai lam nhung gi)8 2.4.Mo hinh quan niem xu ly he thong8 2.5.Mo hinh ky thuat9 3.Thi^tk^'."10 3.1.Mo hinh chuc nang ciia Website10 3.2.So d6 kign true11 3.3.Thigt kg xtr ly12 3.4.Thigt kg ca sd dd lieu46 Chuang Demo50 1.Mo ta vg hoat dong ciia trang web50 2.Man hinh dang nhap51 3.Trang quan ly thong tin ngudi dung:52 4.Trang quanly cong van53 5.Trang thgm nidi cong van.-.54 6.Trang tint kigm cong van55 SVTH: Nguyln Thanh Phuc MSSV: DTH021757 Xay dung Website quan ly cong van Khoa Ky Thuat - Cong Nghe - Moi Trirfrng Danh sach cac hinh Hinh 2.1 Mo hinh true quan hoa voi UML4 Hinh 2.2 Mo hinh quan niem x^ ly^9 Hinh 2.3 Mo hinh ky thuat9 Hinh 2.4 So cau tnic chitc nang cua he thong10 Hinh 2.5 So d6 lien ket cac trang11 Hinh 2.6 So d6 kiln true.II Hinh 2.7 Mo hinh chuc nang cua he thing12 Hinh 2.8 So dl lop cho xir ly Bang Nhap13 Hinh 2.9 So dl tuan tu cho xu ly Bang Nhap15 Hinh 2.10 So dl hop tac cho xu ly Bang Nhap16 Hinh 2.11 So dl lop cho xir ly Them Cong Van 17 Hinh 2.12 So dl tuan tu cho xir ty Them Cong Van19 Hinh 2.13 Sodl cong tac cho xir ly them cong van20 Hinh 2.14 So dl lop cho khli xir ly quan ly cong van21 Hinh 2.15 So tuan tu cho xir ly chinh sira cong van23 Hinh 2.16 So dl hep tac cho xir ly chinh sira cong van24 Hinh 2.17 So dl tuln tu cho xu ly xoa cong van26 Hinh 2.18 So hop tac cho xu ly xoa cong van27 Hinh 2.19 So man tu cho xirly xem cong van:29 Hinh 2.20 So dl hop tac cho xir ly xem cong van30 Hinh 2.21 So d6 tu!n tu cho xir ly tai cong van32 Hinh 2.22 So hop tac cho xir ly tai cong van33 Hinh 2.23 So lop cho xir ^^ tim kilm cong van34 Hinh 2.24 So d6 man tu cho xu ty tim kilm cong van36 Hinh 2.25 So d6 hop tac cho xir ty tim kilm cong van 37 Hinh 2.26 So lop cho khoi xir ty nguoi dung38 Hinh 2.27 So d6 man tu cho xir ty d6i mat khau40 Hinh 2.28 So d6 hep tac cho xir ty dli mat kh^u41 Hinh 2.29 So man tu cho xir ty phan quyen nguoi dimg43 Hinh 2.30 So hop tac cho xir ty phan quyen nguoi dimg44 Hinh 2.31 Mo hinh lop tong quat45 Hinh 3.1 So d6 ting quan ve hoat dong cua trang web50 Hinh 3.2 Trang index.php?act=dangnhap51 Hinh 3:3 Man hinh sau dang nhap cong51 Hinh 3.4 Man hinh quan ty thong tin nguoi dung52 Hinh 3.5 Man hinh quan ty cong van53 Hinh 3.6 Man hinh them moi cong van54 Hinh 3.7 Man hinh tim kilm cong van55 SVTH: Nguyen Thanh Phiic MSSV: DTH021757 Xay dung Website quan ly cong van Khoa Ky Thuat - Cong Nghe - Moi Trufrng Chwmg Tong quan ve quan ly cong van Gioi thieu cong tac quan ly cong van Cong tac quan ly cong van la mot hoat dong can thiet viec quan \y va phd bien cac chu truang chihh sach cua dang va phap luat cua nha nude, no dugc a^ dung doi voi cac ca quan nha nude, to chiic xa hoi, to chiic xa hpi-nghe nghiep, to chile kinh te, (sau day goi chung la ca quan va to chiic) ^ Cong tac quan ly cong van bao gom cac cong viec sau day: •Soan thao van ban •Ban hanh van ban •Chuyen cong van di •Nhan cong van d^n •Luu tru van ban •Nhan ban (ban sao) >• Tilp nhan cong van din Tat ca cong van den dlu phai thong qua bo phan van thu de chuyen cho doi tuong nhan (neu co) dong thai de tien hanh luu tru lai tien cho viec thong ke va tim kiem sau co van de phat sinh Khi tiep nhan cong van cln phai dong dau de xac nhan da qua bo phan van thu ^• Chuyen cong van di Tat ca cong van di phai thong qua bo phan van thu de tien hanh kiem tra tinh chinh xac cua van ban ban hanh nhu: ky hieu, nai nhan, thang, ten ca quan to chile ban hanh van ban (tru truang hap doi vdi luat va phap lenh), the thiic trinh bay van ban phu hop vdi hinh thiic van ban dugc sii dung (dugc quy dinh tat Nghi dinh si 110/2004/NB-CP 08 thang 04 nam 2004 cua Chinh phu vl cong tac van thu), Boi vai cong van di can luu lai hai ban, mot luu tai nod ban hanh cong van, mot luu tai bo phan van thu de tien viec tra ciiu va phuc vu sau can den > Cong tac luu trQ Luu tr& la cat gitJ cac loai giay ta vao kho de cd the sir dung lai sau can Khi luu trft can phan loai, va xac djnh gia tri cua cac loai van ban de tir vdi moi loai se cd che luu tru, bao quan khac SVTH: Nguyen Thanh Phuc MSSV: DTH021757 Xay dung Website quan ly cong van Khoa Ky Thuat - Cong Nghe - Moi Trirbmg Hien trang quan ly cong van khoa Ky Thuat - Cong Nghe - Moi Trirdug Viec quan ly cong van khoa Ky Thuat - Cong Nghe - Moi Truong la nhiem vu cua bp phan van thu khoa, tit ca c&c loai cong van den va di cua khoa phai thong qua bo phan van thu de tien hanh kiem tra, phan loai va luu tru: lai Bang liru tru cac cong van din va di dugc luu theo mlu sau vao so: Ky hieu cong Ngay Tom van Tinh chat NgirM Cong (Han van den tra dupe chuyen tat nhan cong s6 Ngay van cong cong van van noi dung Noi lira Noi goi Ngay Ghi chuyen clni lbi) (loai cong van) Bang 1.1 Bang liru tru* cong van khoa > Chiic nang cua bo phan van thu khoa •Tiep nhan va xu ly cac loai van ban den va di theo qui trinh va thu tuc hanh chinh •Ban hanh cac loai van ban theo yeu cau cong tac ^* Nhiem vu cua bo phan van thu khoa •Lap ho so luu tru* va tien hanh luu tru* cac loai van ban den va di •Chuyen cac loai van ban lien quan den doi tucmg cu the khoa neu la cac loai van ban den va chuyen cho ca nhan hoac tap the, neu la cac van ban bien thi phai bien cho tat ca sinh vien va cac can bo khoa (b^ng each dan bang tin cua khoa de moi nguoi deu co the tham khao) •Dam bao viec xu* ly phai kip thai, nhanh chong, chinh xac •Khi chuyen cac van ban di phai kiem tra lai tinh chinh xac, the thiic trinh bay, sau chuyen cho phong Hanh Chinh T6ng Hap ciia Trucrng d^ gai di SVTH: Nguyen Thanh Phiic MSSV: DTH0217S7 Xay dung Website quan ly cong van Khoa Ky Thuat - Cong Nghe - Mui Trufrng Chmrag Phan tich va thiet ke he thong Cong cu va moi truong phat trien 1.1 Giol thieu so* luoc ve UML(Unificd Modeling Language) >Ngon ngu mo hinh hop nhat UML la ngon ngif giiip: •Dae ta •True quan hoa •Xay dung •Lam tai lieu cua mot he thong phan mem >Mo hinh (modeling): la viec thiet ke nhung ting dung phan mem truoc viet ma lenh >Ngon ngit: Khong la ngoti ngtr tu nhien hay ngon ngu lap trinh, nhung no co mot tap cac qui luat xac dinh each sir dung >UML cho kha nang xay dung mot vat kieu bieu true quan de bieu dien cac khia canh khac cua he thong No bao gom bieu chuan: Hinh 2.1 Mo hinh true quan hoa voi UML • M6 hinh c'6 the chia lam nhom: o Cac loai bieu tlnh: bieu truong hop sir dung (Use Case Diagram), bieu lap (Class Diagram), bi^u d6i tuqng (Object Diagram), bieu d6 phln (Component Diagram), bieu trien khai (Deployment Diagram) SVTH: Nguyen Thanh Phtic MSSV: DTH021757 Xay (lung Website quan ly cong van Klioa Ky Tliuat - Cong Nghe - Moi Tru'crng o Cac loai bieu dong: bieu tuan tu (Sequence Diagram), bieu cong tac (Collaboration Diagram), bilu d6 trang thai (Statechart Diagram), bi^u d6 hoat dong (Activity Diagram) 1.2 Cac mo hinh true quan vol UML 1.2.1 Bieu cac truong hop su dung (Use Case Diagrams) Bi^u d6 tap trung quan sat trang thai tmh cua cac chuc nang he thdng duai goc cua nguoi dung No dac biet quan trong viec to chuc va mo hinh hoa he thong Ky hieu Khai niem Actor (tac nhan) Y nghia Tac nhan la nguoi hay he thong khac cung cap hay thu nhan thong tin tu he thong dang xay dung Use Case (tinh huong su dung) C^ Use Case bieu dien chiic nang cua he thong tir goc ngucri dung Bang 2.1 Bieu Use Case 1.2.2 Biiu lop (Class Diagram) Bieu chi tucmg tac giua cac lop he thong, no la bieu quan nhat hau het cac phumtg phap huong doi tuqng Ky hieu Khai niem Class (lap) I class module I Database !i^$m_Iink = 1alse Y nghia Mot lap bieu dien cho su mo ta trim tuqng mot tap cac doi tuqng co cung tich chat Lap co the duqc xem la mot kieu du lieu |liConnectO: Boolean SExecute(String): Boolean Attribute (thuoc tinh) Operation (thao tac) $m_link=false Connect(): Boolean Execute(String): Boolean Bang 2.1 Bleu Class Diagram SVTH: Nguyen Thanh Phuc MSSV: DTH021757 Bieu dien cho mot kieu thong tin ben lap La chuc nang hoac hanh vi cua mot lop Xay dung Website quan ly eong van Khoa Ky Thuat - Cong Nghe - Moi Trirfrng 1.2.3 Bieu trinh tu (Sequence Diagram) Bieu chi luong ch\ic nang xuyen qua cac Use Case, no la bieu mo ta tucng tac giaa cac doi tuong va tap trung vao mo ta trat tir cac thong diep theo thai gian Khai niem Ky hieu Y nghla Actor (tac nhan) Object (doi tuqng) :Name Message (thong diep) ThOng dip Di tit doi tuong den doi turang khac Time (thai gian) :Name1 Messaget Message3 Bang 2.3 Bieu trinh tu 1.2.4 Biiu hop tac (Collaboration Diagram) Nhu bieu trinh tir (Sequence Diagram), nhung no tap trung vao to chuc cau true cua doi tuang gui va nhan thong diep chu khong quan tarn dn trinh tu thai gian SVTH: Nguyen Thanh Phuc MSSV: DTH021757 Xay dung Website quan ly cong van Khoa Ky Thuat - Cong Nghe - Moi Trirfrng i So tuan tu cho xii ly phan quyen nguai diing : TrangChu : Tran^Dan^Nhap :E lan : XL DangNhap : Ngu*6i truv can Hinh 2.29 So' tuan to cho xii ly phan quyn nguoi ding > So hop tac cho xir ly Phan Quyen Nguoi Diing SVTH: Nguyen Thanh Phuc MSSV: DTH021757 43 Xay dyng Website quan ly cong van Khoa Ky Thuat - Cong Nghe - Mni Truong 3: Hien thi Form dang nhap I) 4: Nhap thong tin 5: Nha'n nut dang nh$p o 1: Nha'n chon dang nhap : Ngtf&i tmy c^i 2: Gpi trang dang nli 13: Hi^n thi trang theo phan quyen ngtifli^dhng A : MvSQLDB 6: Thong tin dang lahap : TrangChu 10: Kiem tra ngifcfi ditng 7: KiSm tra 12: Quyen ngufcfi dung 9: Lay thong tin 11: Tra ve quyen ngtfcti dtlng : XL DangNhap : DangNhap 8: Gpi ham kiem tra thong tin dang nhap Hinh 2.30 So1 hgp tac cho xir ly phan quyen ngiroi dung SVTH: Nguyln Thanh Phuc MSSV: DTH021757 44 Xay dung Website quan ly cong van Khoa Ky Thuat - Cong NghS - Moi Trircmg 3.3.3 Mo hinh lop tong quat CIass Modub Class Module CongVan XL_CongVan tSThemMoiCongVan(cv: CongVan) "^SuaCongVan(cv: CongVan) !:^XoaCongVan(MaCongVan: Integer) $TimKietnCongVan(cv: CongVan) BrhemCongVanO IS'SuaCongVanO ESXoaCongVanO *5fnmKiemCongVan() CIassModu!e MySQLDB >m link [SconstructO [S destructO SConnect(i_server, i_username, ijassword, i_dbname) [^ExecuteQuery(i_sqO E^ExecuteNonQuety(i_sqI) CIass Modufe Class Module XL_Nguoidung XL_DangNhap ISTheniNguoDung(nd : NguoDung) ^^XoaNguoiDung(i MaNguoDung) C^ThayDoiMatKhau(i_MatKhau) SKiemTraDangNhap(i_NguoiDung,i_MatKhau) / Chss Module DangNhap S^mNguoDung ^m MatKhau Cbss Module NguoiDung ^TenNguoiDung ^MatKhau ^LoaiNguoiDung f^KiemTraDangNhapQ [SlhemNguoiDungO ESXoaNguoDungO CSThayDoiMatKhauO Hinh 2.31 Mo hinh lop tong qu^^t SVTH: Nguyen Thanh Phtic MSSV: DTH021757 45 Xay dung Website quan ly cong van Khoa Ky Thuat - Cong NghS - Moi Trufrng 3.4 Thiet ke co sfr da lieu Cac kieu dir lieu dugc mo ta theo MySQL, lay tir phpMyAdmin (Trang quan tri co so dft lieu) 3.4.1 Mo ta bang loai nguoidung (Loai nguo'i dung) Ten (huge tinh *: Kiu DienGiai MaLoaiNguoiDung tinyint(3) Ma loai ngudi dung TenLoaiNguoiDung varchar(30) Ten loai ngudi dung GhiChu char(50) Ghi chu ; GhiChu autojnerement Bang 4.1 MS ta loai nguoi dung 3.4.2 Mo ta bang nguoidung (ngudi dung) Ten thuoc tinh KiC-u ^ •_'"." • •piIn.Giai-;-^/^ 'f''[ ;.-•,'• Ghichd•'•;, • MaNguoiDung int(10) Ma ngudi dung auto increment TenDangNhap varchar(20) Ten dang nhap vao he thdng Ten dang nhap MatKhau varchar(50) Mat khiu Mat khdu dang nhap LoaiNguoiDung tinyint(3) Ma loai ngudi dung Quyen dang nhap HoTen varchar(30) Ho va ten ngudi diing Email varchar(30) Email Bang 4.2 Mo ta ngirod dung 3.4.3 Mo ta bang noi_ban_hanh (noi ban hanh) Ten thuoc tinh Ki6u Dien Giai GhiChu MaNoi int(10) Manoi auto increment TenNoi varchar(lOO) Tennoi Noi ban hanh cong van ^," Bang 4.3 Mo (a noi ban hanh SVTH: Nguyin Thanh Phtic MSSV: DTH021757 46 Xay dung Website quan ly cong van Khoa Ky Thuat - Cong Nghc - MSi Triromg 3.4.4 Mo ta bang loai_tinh_chat (loai tinh chit) Ten thuoc tinh GhiCliii ,; DienGiai Kiu • MaLqaiTinhChat tinyint(3) Ma loai tinh chat TenLoaiTinhChat varchar(30) Ten loai tinh chit auto_increment Bang 4.4 Mo ta loai tinh chat 3.4.5 Mo ta bang loai_cong_van (loai cong van) V DiinGiai KiSu Ten thuoc tinh MaLoaiCongVan tinyint(4) Ma loai cong van TenLoaiCongVan varchar(50) Ten loai cong van • ,-./J' \ GhiCh^^ auto increment Bang 4.5 Mo ta loai cong van 3.4.6 Mo ta bang cong_van (cong van) ;, DilnGiii -;> , ' Ten thuc tinh , MaCongVan bigint(20) Ma cong van auto_increment KyHieuCV varchar(20) Ky hieu cong van Ghi tren cong van TenCongVan varehar(200) Ten cong van CongVanDen tinyint(l) Cong van den / Cong van di MaLoaiCongVan tinyint(4) Ma loai cong van TrichDan char(300) Trich dan noi dung cong van MaNoiGoi tinyint(4) Ma noi goi NgayBanHanh date Ngay ban hanh cong van MaLoaiTinhChat tinyint(4) Ma Loai tinh chat TapTin char(5) Ten tap tin cong van MaNguoiNhan tinyint(4) Ngucri hoac to chi^c se nhan cong van Kiu GhiChu Khoa ngoai Khoa ngoai Khoa ngoai Khoa ngoai Bang 4.6 Mo ta cong van SVTH: Nguyen Thanh Phiic MSSV: DTH021757 47 Xay dung Website quan ly cong van Khoa Ky Tliuat - Cong Nghe - Moi Tru nng Cac rang buoc toan ven • Ten dang nhap (TenDangNhap) khong duoc thing o V ndl, nd2 e NGUOIDUNG, nd [TenDangNhap] ^nd2[TenDangNhap] o Bang tarn anh hirang Them Xoa Sfra + - +TenDangNhap Them Xoa Siia + - + TenDangNhap NGUOIDUNG > Ten dang nhap (TenDangNhap) khong duoc rong o Vnd e NGUOIDUNG, nd[TenDangNhap] ^ "" o Bang tarn anh hirong NGUOIDUNG • Moi ngnoi dung phai thuoc loai ngucri dung cu the o Vnd e NGUOIDUNG, Bind e LOAINGUOIDUNG: nd[LoaiNguoiDung]=Ind[MaLoaiNguoiDung] o Bang t^m anh hudng Them Xoa Siia NGUOIDUNG + - + LoaiNguoiDung LOAINGUOIDUNG - + + MaLoaiNguoiDung > Ngay ban hanh phai nho hon hoac bang nhan cong van o Vcv e CONGVAN, cv[NgayBanHanh] < cv[NgayNhanCongVan] o Bang tarn anh huong CONGVAN Them Xoa Sua + - + NgayBanHanh, NgayNhanCongVan > Hai cong van khac phai co ma cong van khac o Vcvl, cv2 e CONGVAN, cvl[MaCongVan] ^ cv2[MaCongVan] o Bang t^m anh hudng CONGVAN SVTH: Nguyln Thanh Phiic Them Xoa Sua + - + MaCongVan MSSV: DTH021757 48 Xay du-ng Website quan ly cong van Khoa Ky Thuat - Cong Ngh^ - Moi Tru-frng > Hai cong van khac phai co ky hieu khac o Vcvl, cv2 e CONGVAN, cv [KyHieuCV] ^ cv2[KyHieuCV] o Bang tarn anh hirqng CONGVAN Them Xoa Sii-a + - + KyHieuCV • Chi xoa diroc LoaiCongVan, NoiBanHanh, LoaiTinhChat chiing khong ton tai bat cii m^t cong van nao o Vcv e CONGVAN, 31cv LOAICONGVAN, 3nbh e NOIBANHANH, Bite LOAITINHCHAT: cv[MaLoaiCongVan] = lcvfMaLoaiCongVan], cv[MaNo|BanHanh] = nbh[MaNoiBanHanh], cv[MaLoaiTinhChat] = Itc[MaLoaiTinhChat] o Bang tarn anh huong Them Xoa Sira CONGVAN - - - LOAICONGVAN + - + MaLoaiTinhChat NOIBANHANH + - + MaNoiBanHanh LOAITINHCHAT + - + MaLoaiTinhChat SVTH: Nguyen Thanh Phuc MSSV: DTH021757 49 Xay dung Website quan ly cong van Khoa Ky Thuat - Cong Nghe - Moi Tnrimg Chmmg Demo Mo ta ve hoat (long cua trang web Toan bp hoat dpng cua trang web deu phai thong qua trang index.php vdi cac tham so di kem theo: act, code, id, error, oper, Vi du ngudi dung nhap vao niit dang nhap thi trang index.php se dupe gpi vdi cac thong s6 di kem theo la act=dangnhap( index.php?act=dangnhap ), nhan vao nut cap nhat cong van vdi cong van co ma cong van bang thi trang index se dupe gpi nhu sau: index.php?act=them&code=congvan&id=3