data center assignment

41
Process diagram Start Log in Search Register new Search form Register Print result End If no If

Upload: pinkpurpleicebaby

Post on 03-Oct-2015

13 views

Category:

Documents


0 download

DESCRIPTION

Some of data center information

TRANSCRIPT

Process diagram

If yesIf noEndPrint resultRegister formSearch formSearchRegister newLog inStart

Business rules1. One admin can enter many corpse name2. One corpse name can only be entered by one admin3. Many corpse can be buried in many gravesite4. One corpse can only be buried in one grave lot5. Only one family member information for one corpseER diagram

Data dictionaryAdmin tableField (attrib)Data definition

admin_idvarchar(20), (PK)

admin_namevarchar(100)

admin_pwdvarchar(40)

admin_usernamevarchar(100)

Corpse tableField (attrib) Data definition

corpse_icvarchar(12), (PK)

corpse_namevarchar(100)

corpse_gendervarchar(6), Option:Male,Female

corpse_gravesitevarchar(200)

corpse_gravelotvarchar(30)

Heir tableField (attrib)Data definition

heir_icvarchar(12), PK

heir_namevarchar(100)

heir_relationshipvarchar(20)

heir_phonevarchar(11)

heir_addressvarchar(200)

corpse_icvarchar(12), FK

Staff tableField (attrib)Data definition

staff_noint(20), Auto Increment, (PK)

staff_imamvarchar(100)

staff_imam_phonevarchar(11)

staff_undertakervarchar(100)

staff_undertaker_phonevarchar(11)

staff_codervarchar(100)

staff_coder_phonevarchar(11)

corpse_icvarchar(12), (FK)

Screen layout

Screenshot 1: Login Form

Screenshot 2: Main page

Screenshot 3: Search Page

Screenshot 4: Edit page

Screenshot 5: add new information page

Screenshot 6: Logout pageDevelopmentSource code1. db.php

2. Login.php

Corpse Management System

th, td { border: 0px solid #000; width: 210px; }label{font-weight: bold;color: #300ACC;}a {text-decoration: none;}a:link {color: #000000;border-bottom: 0px solid #0000FF;}a:visited {color: #000000;border-bottom: 0px solid #C0C0C0;}a:active {color: #000000;border-bottom: 1px solid #FF0000;}a:hover {color: #000000;border-bottom: 2px solid #DD0000;}

Corpse Management SystemLogin

Username:

Password:


3. 4. Authenticate.php

5. 6. Index.php

Corpse Management System

th, td { border: 1px solid #000; width: 210px; }label{font-weight: bold;color: #300ACC;}a {text-decoration: none;}a:link {color: #000000;border-bottom: 0px solid #0000FF;}a:visited {color: #000000;border-bottom: 0px solid #C0C0C0;}a:active {color: #000000;border-bottom: 1px solid #FF0000;}a:hover {color: #000000;border-bottom: 2px solid #DD0000;}

Corpse Management SystemPlease select:

Register New Corpse

Search for Corpse

7. 8. Addnewform.php

CMS Register

th, td { border: 0px solid #000; width: 170px; }label{font-weight: bold;color: #300ACC;}a {text-decoration: none;}a:link {color: #000000;border-bottom: 0px solid #0000FF;}a:visited { color: #000000;border-bottom: 0px solid #C0C0C0;}a:active {color: #000000;border-bottom: 1px solid #FF0000;}a:hover {color: #000000;border-bottom: 2px solid #DD0000;}

Corpse Management SystemRegister New Corpse

Corpse Name

Identification Number

GenderMaleFemale

Grave Site Address

Grave Site Lot

Family Member Information

Name

Identification Number

Phone Number

Relationship

Home Address

Staff in ChargeImam

Name

Phone Number

Undertaker

Name

Phone Number

Coder

Name

Phone Number

Administrator Confirmation

Administrator ID