Beruflich Dokumente
Kultur Dokumente
Project Title: - Dormitory and Cafeteria System for Wolaita Sodo University
WSU-CSIT@Group-9 Page 1
Dormitory and Cafeteria System for Wolaita Sodo University
Abstract
The main objective of this project is to develop Dormitory and cafeteria System for wolaita Sodo
University to enable the student’s dorm placement on the web and preparing the students
cafeteria menu. The project will purposely do on automating the manual functioning of the
Dormitory and cafeteria system of WSU. The implementation of this project is by using
application such as HTML, MySQL, PHP and JavaScript and some other applications that are
needed for our project. The system that we want to develop for wolaita Sodo University is simple
graphical user interface, so that the students or the users can use and interact with the system in
simple way and students’ friendly manner by preparing the form that the students profile are
inserted to it for accessing the system database. The form that we will prepare can be inserted the
students’ information which is needed to access the system database. This project examines how
the system flow and work process in Dormitory placement and menu preparation of student
cafeteria by web based application.
WSU-CSIT@Group-9 Page 2
Dormitory and Cafeteria System for Wolaita Sodo University
Acknowledgement
We are grateful to our project advisor mis Feven T. for the guidance, inspiration and
constructiveness the team and idea generation which is helpful for the preparation of this
proposal and documentation.
WSU-CSIT@Group-9 Page 3
Dormitory and Cafeteria System for Wolaita Sodo University
ABBRIVATION
UC use case
WSU-CSIT@Group-9 Page 4
Dormitory and Cafeteria System for Wolaita Sodo University
Table of Contents
Abstract............................................................................................................................................ii
1.1 Introduction...........................................................................................................................1
1.2 Background................................................................................................................................2
1.2.1 Background of the organization..........................................................................................2
1.2.1.1 Motivation:.....................................................................................................................2
1.2.1.2 Background of the project................................................................................................2
1.3 Statement of the Problem...........................................................................................................3
1.4 Team Composition................................................................................................................4
1.5 Objectives of the project.......................................................................................................5
1.5.1 General Objective...............................................................................................................5
1.5.2 Specific objective................................................................................................................5
1.6 Scope of the Project..............................................................................................................5
1.7 Methodology and Development Tools..................................................................................6
1.7.1 Data Collection Mechanisms..............................................................................................6
1.7.2 Tools....................................................................................................................................7
1.7.2.1 Software........................................................................................................................7
1.7.2.2 Hardware......................................................................................................................7
1.8 Cost of project.......................................................................................................................8
1.9 Limitation of the Project.......................................................................................................8
1.10 Time schedule of the project.................................................................................................8
1.11 Reference..............................................................................................................................9
CHAPTER TWO...........................................................................................................................10
2. Description about the existing system.......................................................................................10
2.1 Introduction..............................................................................................................................10
2.2 Players in the existing system..................................................................................................10
2.3 Major function or activities in the existing system..................................................................11
2.3.1 Inputs in existing system...................................................................................................11
2.3.2 Work flow of the dorm placement....................................................................................12
WSU-CSIT@Group-9 Page 5
Dormitory and Cafeteria System for Wolaita Sodo University
WSU-CSIT@Group-9 Page 6
Dormitory and Cafeteria System for Wolaita Sodo University
WSU-CSIT@Group-9 Page 7
Dormitory and Cafeteria System for Wolaita Sodo University
1.1Introduction
Management is one of the difficult and complex works around the world. Every organization
needs talent management system to facilitate the work and achieve the goals of that institute
especially to manage resource and personal activities it needs to use the computerized system as
well, due to this WSU has its own management system in student cafeteria and dormitory
placement, both systems that the university used currently is totally manual. So our objective
from this proposed project we try to improve these manual forms into automated system.
WSU-CSIT@Group-9 Page 1
Dormitory and Cafeteria System for Wolaita Sodo University
1.2 Background
1.2.1.1 Motivation:
As the other universities WSU have its own student management system in dormitory and
cafeteria. But the system is totally worked in manual system. It must be needed to automate the
system of the existing system.
At the beginning of the year students are confused by the dorm placement because it is very
complicated and that has no any regular format to place the student in the dormitory. In each
every year the students and dormitory workers are confused by the placement. From this serious
issue we are initiated to develop the automated system about the student placement in dorm and
to be more informed and announcing the student’s cafeteria menu for WSU. Our automated
system needs the students profile from the registrar and buildings profile from the proctor and
develop the system based on the information we are listed before.
WSU-CSIT@Group-9 Page 2
Dormitory and Cafeteria System for Wolaita Sodo University
system is activating the works in such away. So our main objective is that preparing the
automated system for the area of dormitory and cafeteria for WSU.
Time:
The existing system is totally done by manual system to place the student dorm and announcing
the cafeteria menu, so the system takes more time, tedious and complicated to run it for the
students and workers.
Resource:
It needs high energy or human powers to do the activity around the student management system
in dormitory and cafeteria or to reduce the human power we must be automate the system. In
addition to this it requires much more resource like paper and pen.
Lose of Data
When the paper is lost all the data recorded on that paper is destroyed or loss. Finally the
students do not get relevant data. Generally the student files are fully risky because it has not any
computerized or moderate system to keep the data lost.
WSU-CSIT@Group-9 Page 3
Dormitory and Cafeteria System for Wolaita Sodo University
0940198172 Programmer
www.redi12yalew@
Arranges project requirements in
gmail.com
Erediat Yalew NSC/R/427/ programming sequence by preparing a
04 code using knowledge of programming
language.
0910680053 Designer
Elilta Hagos NSC/R/410/ www.eluhagos@gma
Develop design documentations.
04 il.com
Prepare design layouts and sketches according
to design standards.
WSU-CSIT@Group-9 Page 4
Dormitory and Cafeteria System for Wolaita Sodo University
0924549213 Tester
Jemal usman NSC/R/627/ www.jemalusman62
Analyses the application functionality with
04 7@gmail.com
requirement documents like functional
requirement Specification documents.
The scope of the project is the boundary of the project. So after we are developing the
system we have the hope handle the following difficulties.
The system will have large Storage Capacity of students profile, building and dormitory
profile on the database.
Personal information for the students such as:
Student name
Student ID No
Students sex (male or female)
WSU-CSIT@Group-9 Page 5
Dormitory and Cafeteria System for Wolaita Sodo University
Block Number
Dorm Number
Quick search facility for the users (students) if the user (student) has been entered the
relevant information means that he/she type the correct name and department the system
replay the student’s dorm placement and any one can access the databases easily by using
the graphical interfaces with simple computer knowledge and also everywhere when it is
connected to the internet.
Make Computerize all the activities of the system, so it makes Easy to update the students
profile and also provide all necessary services for databases such as updating and
searching information.
Delete and retype the student profile when the student has been leaved in the
organization or institution by any means.
In the cafeteria we will try to develop the dynamic webpage for displaying the students’
cafeteria menu or preparing a menu on the web.
Observation:
As the student of the university we have ours dorm and we are eating in the cafeteria so we know
it. We will be used in order to analyze the conditions to which the current system is acting. It is
WSU-CSIT@Group-9 Page 6
Dormitory and Cafeteria System for Wolaita Sodo University
useful to observe how jobs are done. By being observing the way they used to perform the
required student dorm placement, we will acquire the information we need.
Interview:
The team used open ended questionnaires by direct contact with the proctor office manager and
student cafeteria manager.
1.7.2 Tools
1.7.2.1 Software
Tools Activities
MySql To record the students and building profiles.
PHP Used to create pages and user forms.
HTML and CSS For designing the style sheet.
WAMP Used as a server.
Microsoft office For the documentation.
Java script For validate the forms.
StarUML, Edraw, For UML Diagram
Microsoft visio 2013
1.7.2.2 Hardware
CD/RW
Pen
Paper
printer
Computer: Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz processor and 2.00 GB (1.88 GB
usable) installed memory or RAM.
WSU-CSIT@Group-9 Page 7
Dormitory and Cafeteria System for Wolaita Sodo University
WSU-CSIT@Group-9 Page 8
Dormitory and Cafeteria System for Wolaita Sodo University
1.10 Reference
OOSAD course Object-Oriented Systems Analysis and Design Joey F. George, Dines
Bart, Joseph S. Valacich, Jeffrey A. Hoofer.
A guide to the project management body of knowledge (PM BOOK Guide)- project
management institute, Pennsylvania, USA, Edition 2000
Proposed resolution on guidelines for remuneration to senior executives, item 14
WSU-CSIT@Group-9 Page 9
Dormitory and Cafeteria System for Wolaita Sodo University
CHAPTER TWO
2.1 Introduction
Wolaita Sodo University manual system is used for managing the various activities and services
in dormitory and cafeteria system. So we shall to describe the major functions of the existing
system. Its main features of the current system are contains large amount of student’s, buildings
and dorms data can maintain in manual way. The basic operations on the system are like adding
new students, buildings and dorms, searching and updating information’s, deleting student’s
information in traditional way (i.e. paper based). It take a lot of time to search particular student
and dorms even if buildings (i.e. searching is difficult and time consuming), no proper record of
data’s and retrieve a particular data is very slow and time consuming.
1. Student dean
Receive the report from the proctor office manager. Like dorm placement of
student.
Control the students those are allocated to the dorm in each indicated block and
dorm number.
WSU-CSIT@Group-9 Page 10
Dormitory and Cafeteria System for Wolaita Sodo University
Manage the dorm materials such as chairs, tables, bed, pillow, foam and lockers
are must be fulfilled in each dorm.
4. Students or users
View the block and dorm placement then the students are distributed to the dorm.
To prepare the cafeteria menu by considering the input resource and consumed
materials or foods.
The whole process of the existing system is done by manually or paper based. The inputs in the
system are:
students profile
building profile
o Name
o ID No
o Sex
o Department
WSU-CSIT@Group-9 Page 11
Dormitory and Cafeteria System for Wolaita Sodo University
o Batch
o Building ID or number
o Dorm Number
o Food contents.
Proctor office manager: distributes the students profile to the block proctor.
WSU-CSIT@Group-9 Page 12
Dormitory and Cafeteria System for Wolaita Sodo University
Report to the block proctor to get the keys of that dorm by the student’s university formal
ID card.
Checking the materials which are available for that dorm those are chair, table, chipud,
pillow, foam, bed, locker and bed ladder.
Before the students came to the university, the block proctor check up all materials in
each of the dorm.
After the students are come to the university, block proctor must be checking the
materials with the students those are placed in that specific dorm number for more
evident within the students.
After searching or finding the dorm number the students are reached to the appropriate
dorm placement.
Checking the materials which must be provided in the dorm or fulfilled the dorm
materials.
WSU-CSIT@Group-9 Page 13
Dormitory and Cafeteria System for Wolaita Sodo University
The following are the rules and regulation around dormitory placement and cafeteria menu
preparation of WSU:
Every student must be live with their assigned dorm number, except some special
problems.
Except first year students, the students must be live with their department student.
The students those are some disables are assigned in the first floor of the building.
The total consumption of the student in each day with respect to food content.
Those are the main consideration for preparing the students cafeteria menu.
WSU-CSIT@Group-9 Page 14
Dormitory and Cafeteria System for Wolaita Sodo University
That means block proctor has formulate the report to the proctor office manager and the proctor
office manager also formulates the report to the student dean because the block proctor is
responsible for proctor office manager and the proctor office manager is responsible for the
student dean.
The reports that are generated from block proctor to proctor office manager is considered the
cases especially when some problems are happened and the report from proctor office manager
to student dean has formal report schedule in each three months except some unexpected and
grave problems are not happened.
The report that generates from block proctor to proctor office manager, when the following
thoughtful problems are happened like:
Other related problems like: toilet, water and DSTV room problems.
Report generates from proctor office manager to the student dean when:
The report which is derived from the block proctor and that problem isn’t solved by
the proctor office manager.
Finally this report is important for the university to handle the problems around the dorm
materials and related complications which is reported to the student dean. The university
respects that problem as a feedback for minimizing the scarcity of services.
WSU-CSIT@Group-9 Page 15
Dormitory and Cafeteria System for Wolaita Sodo University
The form in fig 2.1 below is the dorm placement agreement form between the student and the
block proctor.
2.7.1 Response time: - everything in the existing system has done manually, so as a manual
system it takes time to do every single activity like searching block No and student dorm No.
2.7.2 Input/output bottlenecks: - as we try to explain above the main inputs of the existing system
are the students’ sex and the whole information about the students. The recording method is very
tedious and wastage of material such as paper and pens.
WSU-CSIT@Group-9 Page 16
Dormitory and Cafeteria System for Wolaita Sodo University
2.7.3 Efficiency related problem: - the students those have the different sex doesn’t placed together
in the same dorm, but sometimes this problem has been occurred.
Students are placed in the dorm by considering sex, name, batch and ID No of the
students.
Developing large storage capacity of databases to store all the students’ data.
Therefore the following functional requirements are stated for the new automated system.
WSU-CSIT@Group-9 Page 17
Dormitory and Cafeteria System for Wolaita Sodo University
It has login form in some authors except students, because students have their own
form to access the database on the system.
2.10.2.1 Performance
The system should work properly with its storage capacity, accuracy, speed and the likes.
2.10.2.3 Compatibility
The system would be fully compatible with different type of browser like Microsoft Internet
Explorer, Mozilla Firefox, opera mini and Google chrome.
2.10.2.6 Portability
The system needs to be portable on all major platforms. This system should not be restricted by
any specific technology such as operating system.
WSU-CSIT@Group-9 Page 18
Dormitory and Cafeteria System for Wolaita Sodo University
2.10.2.7 Reliability
Reliability is the probability that the system will be able to process work correctly and
completely without being aborted.
2.10.2.8 Recoverability
Our system is the ability to restore function and data in the event of a failure.
The process of backing up refers to the copying and archiving of computer data by using
removable storage media such as Disk, CD-R and CD-RW so it may be used to restore the
original data after a data loss event is performed by our system.
2.10.2.10 Security
The security Section describes the need to control access to the data. This includes controlling
who may view and alter application data by using strong password on the system.
2.10.2.11 Maintainability
Our system has been easily maintained when some difficulty or problems will occur. This covers a
wide variety of activities, including removing program and design errors, updating documentation and
test data and updating user support in Adaptive Maintenance.
CHAPTER THREE
3. SYSTEM ANALYSIS
3.1 Introduction
Systems analysis is a process of collecting actual data, understand the procedures involved,
recognizing problems and recommending practicable suggestions for improving the system
functioning. This involves studying the business processes, gathering operational data,
understand the information flow, finding out bottlenecks and developing solutions for
overcoming the weaknesses of the system so as to achieve the organizational goals. System
WSU-CSIT@Group-9 Page 19
Dormitory and Cafeteria System for Wolaita Sodo University
Analysis is also includes sub-dividing of complex process involving the complete system,
identification of data store and manual processes.
The major objectives of the system analysis are to find answers for each business process. It
focuses on what is being done, How is it being done, who is doing it, When is he/she doing it,
Why is it being done and How can it be improved? It is more of a thinking process and involves
the creative skills of the System Analysis. It gives a new well organized system that fulfills the
current needs of the user and has scope for future evolution within the organizational constraints.
The result of this process is a logical system design. Systems analysis is an iterative process that
continues until a preferred and acceptable solution occurs.
Admin: A person, who manage over all the system’s activity and Administrator.
Student and Student union: Those are the users or beneficiaries of the system and
student union can generate student cafeteria menu.
Officers (COM and POM): are actors produce student cafeteria menu and dorm
placement in the system respectively.
WSU-CSIT@Group-9 Page 20
Dormitory and Cafeteria System for Wolaita Sodo University
Proctors and cafeteria workers: are access the database and view student cafeteria
menu respectively.
Login/Logout
Manage account
o Create account
o Delete account
o Update account
View placement
Generate menu
Generate report
View menu
Manage system: admin create, delete and update user account according to their situation.
View placement: students and proctors can view block and dorm number by their access
privilege.
Generate menu: cafeteria office manager and student union can generate student cafeteria
menu
WSU-CSIT@Group-9 Page 21
Dormitory and Cafeteria System for Wolaita Sodo University
Generate report: COM, proctor and student union can generate report to concerned body.
View menu: the students and cafeteria workers can view the student cafeteria menu.
Boundary: This defines the system of interest in relation to the world around it.
Actors: usually individuals involved with the system defined according to their roles.
Use cases: are the specific roles played by the actors within the system.
The relationships between and among the actors and the use cases.
WSU-CSIT@Group-9 Page 22
Dormitory and Cafeteria System for Wolaita Sodo University
WSU-CSIT@Group-9 Page 23
Dormitory and Cafeteria System for Wolaita Sodo University
Event flow 1. Admin click on the create account link from the main
home page.
2. The system displays the registration page.
3. Admin fill all the information’s needed.
4. Admin click register button.
5. The system validates the information’s.
6. The system displays successful message.
7. Use case ends
Table 3.2 description about the create account
WSU-CSIT@Group-9 Page 24
Dormitory and Cafeteria System for Wolaita Sodo University
WSU-CSIT@Group-9 Page 25
Dormitory and Cafeteria System for Wolaita Sodo University
WSU-CSIT@Group-9 Page 26
Dormitory and Cafeteria System for Wolaita Sodo University
WSU-CSIT@Group-9 Page 27
Dormitory and Cafeteria System for Wolaita Sodo University
WSU-CSIT@Group-9 Page 28
Dormitory and Cafeteria System for Wolaita Sodo University
WSU-CSIT@Group-9 Page 29
Dormitory and Cafeteria System for Wolaita Sodo University
WSU-CSIT@Group-9 Page 30
Dormitory and Cafeteria System for Wolaita Sodo University
WSU-CSIT@Group-9 Page 31
Dormitory and Cafeteria System for Wolaita Sodo University
WSU-CSIT@Group-9 Page 32
Dormitory and Cafeteria System for Wolaita Sodo University
WSU-CSIT@Group-9 Page 33
Dormitory and Cafeteria System for Wolaita Sodo University
WSU-CSIT@Group-9 Page 34
Dormitory and Cafeteria System for Wolaita Sodo University
WSU-CSIT@Group-9 Page 35
Dormitory and Cafeteria System for Wolaita Sodo University
WSU-CSIT@Group-9 Page 36
Dormitory and Cafeteria System for Wolaita Sodo University
WSU-CSIT@Group-9 Page 37
Dormitory and Cafeteria System for Wolaita Sodo University
WSU-CSIT@Group-9 Page 38
Dormitory and Cafeteria System for Wolaita Sodo University
WSU-CSIT@Group-9 Page 39
Dormitory and Cafeteria System for Wolaita Sodo University
WSU-CSIT@Group-9 Page 40
Dormitory and Cafeteria System for Wolaita Sodo University
CHAPTER FOUR
4 System Design
4.1 Introduction
System design is the process of defining the elements of a system such as the architecture,
modules and components, the different interfaces of those components and the data that goes
through the system. It is meant to satisfy specific needs and requirements of a business or
organization through the engineering of a coherent and well-running system. So, mainly this
phase concerned with the design part of our project to reduce the complexity of our system.
WSU-CSIT@Group-9 Page 41
Dormitory and Cafeteria System for Wolaita Sodo University
Login
Contact as
Dorm placement form
View menu
The business logic is the key element that control the workflow in the system such as our system
should check the placement request is from the student or not, this is checked by the controller or
process layer.
The purpose of our application's persistence layer is to use a session at run time to associate
mapping metadata and a data source in order to create, read, update, and delete persistent objects.
WSU-CSIT@Group-9 Page 42
Dormitory and Cafeteria System for Wolaita Sodo University
Our system will be developed using dream weaver web builder and PHP programming language,
HTML and CSS for the style of the webpage. And also the system will perform its task on
WAMP server. On the other hand for database system MYSQL is needed to run the system.
Interface
(User interface, system interface)
Process
(Application, controller)
System
(Infrastructure
platform)
Domain
(Business)
Persistence
(Data)
Data sources of
the system
WSU-CSIT@Group-9 Page 43
Dormitory and Cafeteria System for Wolaita Sodo University
Details like data types for attributes and arguments for operations can also be shown on the
diagram for some notations as follows:
WSU-CSIT@Group-9 Page 44
Dormitory and Cafeteria System for Wolaita Sodo University
State chart diagram is used to describe the states of different objects in its life cycle. So the
emphasis is given on the state changes upon some internal or external events. These states of
objects are important to analyze and implement them accurately.
WSU-CSIT@Group-9 Page 45
Dormitory and Cafeteria System for Wolaita Sodo University
Fig 4.4 state chart diagram for view student dorm placement
WSU-CSIT@Group-9 Page 46
Dormitory and Cafeteria System for Wolaita Sodo University
WSU-CSIT@Group-9 Page 47
Dormitory and Cafeteria System for Wolaita Sodo University
WSU-CSIT@Group-9 Page 48
Dormitory and Cafeteria System for Wolaita Sodo University
Persistence Model, entities can be talked about synonymously with the backing database tables
that hold the persisted information.
WSU-CSIT@Group-9 Page 49
Dormitory and Cafeteria System for Wolaita Sodo University
STUDENT
DORM
BUILDING
WORKS ON
PRO.ID D.NO.
PROCTOR
WSU-CSIT@Group-9 Page 50
Dormitory and Cafeteria System for Wolaita Sodo University
WSU-CSIT@Group-9 Page 51
Dormitory and Cafeteria System for Wolaita Sodo University
WSU-CSIT@Group-9 Page 52
Dormitory and Cafeteria System for Wolaita Sodo University
WSU-CSIT@Group-9 Page 53
Dormitory and Cafeteria System for Wolaita Sodo University
WSU-CSIT@Group-9 Page 54
Dormitory and Cafeteria System for Wolaita Sodo University
WSU-CSIT@Group-9 Page 55
Dormitory and Cafeteria System for Wolaita Sodo University
WSU-CSIT@Group-9 Page 56
Dormitory and Cafeteria System for Wolaita Sodo University
CHAPTER FIVE
For the implementation and testing part we use a WAMP server to store the system data and
work as a server for the system. And also Dream waver web builder and notepad++ for writing
the source code and designing phase.
In this chapter we mainly focuses on the implementation part, implementation concerned with
the type of material (Hardware and software required), techniques to develop the system,
algorithm for the system, code samples of the system, data preparation, some testing techniques,
startup strategy for the new installed system are briefly described in this part of documentation.
Testing includes the error result when the user accesses unprivilaged data or
activites in the system. Such as when the unauthorized person try to access the user
account the system display error message.
<?php
mysql_select_db("wsudcms", $conn);
if (isset($_POST['submitlogin'])){
$username=$_POST['username'];
$password=$_POST['password'];
WSU-CSIT@Group-9 Page 57
Dormitory and Cafeteria System for Wolaita Sodo University
$result = mysql_query($sql);
$rowCheck = mysql_num_rows($result);
$row=mysql_fetch_array($result);
$status=$row['status'];
if($row['level']==1){
if($status==1)
{ $_SESSION['user_id']=$row['user_id'];
echo "<script>window.location='admin.php';</script>";
} else {
echo'<p class="wrong"> Your Account is not active Please contact the system Admin</p>';
}} else if($row['level']==2){
if($status==1)
{ $_SESSION['user_id']=$row['user_id'];
}else {
echo' <p class="wrong"> Your Account is not active Please contact the system Admin</p>';
WSU-CSIT@Group-9 Page 58
Dormitory and Cafeteria System for Wolaita Sodo University
}}else if($row['level']==3){
if($status==1){
$_SESSION['user_id']=$row['user_id'];
}else {
echo' <p class="wrong"> Your Account is not active Please contact the system Admin</p>';
}}else if($row['level']==4){
if($status==1) {
$_SESSION['user_id']=$row['user_id'];
}else {
echo' <p class="wrong"> Your Account is not active Please contact the system Admin</p>';
}}else {
echo'<br>';
}}
mysql_close($conn);
?>
WSU-CSIT@Group-9 Page 59
Dormitory and Cafeteria System for Wolaita Sodo University
<?php
mysql_select_db("wsudcms", $conn);
if (isset($_POST['submitlogin'])){
$idno=$_POST['idno'];
$row = mysql_num_rows($view);
if($row<1)
$fname=$row['fname'];
$mname=$row['mname'];
$dorm=$row['room_no'];
$block=$row['block_no'];
WSU-CSIT@Group-9 Page 60
Dormitory and Cafeteria System for Wolaita Sodo University
echo"<tr>";
echo"</tr><tr>";
echo"</font></table>";
} }
?>
<?php
if(isset($_POST['save']))
$block=$_POST['block'];
$sex=$_POST['sex'];
$batchs=$_POST['batchs'];
$sql= "SELECT * FROM `registrar` WHERE sex='male' and batch='4th Year' and
faculty='NCS'";
$result=mysql_query($sql);
$count=mysql_num_rows($result);
WSU-CSIT@Group-9 Page 61
Dormitory and Cafeteria System for Wolaita Sodo University
if($count<1)
} else{
for($i=1;$i<=8;$i++)
for($j=1;$j<=6;$j++)
{ $cnt=1;
while($row = mysql_fetch_array($result))
$r0=$row['fname'];
$r1=$row['mname'];
$r2=$row['lname'];
$r3=$row['stud_id'];
$r4=$row['sex'];
VALUES
('$r0','$r1','$r2','$r3','$r4','$batchs','$faculty','$block','$j')");
WSU-CSIT@Group-9 Page 62
Dormitory and Cafeteria System for Wolaita Sodo University
if($cnt++%6==0)
break;
}}
?>
<?php
<tr>
<td colspan='4'>
</td></tr>
<tr>
<th>Day of Week</th>
WSU-CSIT@Group-9 Page 63
Dormitory and Cafeteria System for Wolaita Sodo University
<th>Break Fast</th>
<th>Lunch</th>
<th>Dinner</th>
</tr>";
while($row = mysql_fetch_array($result))
echo "<tr>";
echo "</tr>";
echo "</table>";
mysql_close($conn);
?>
<?php
$conn=mysql_connect("localhost","root","");
mysql_select_db("wsudcms",$conn);
if(isset($_POST['save']))
WSU-CSIT@Group-9 Page 64
Dormitory and Cafeteria System for Wolaita Sodo University
$level=$_POST['actype'];
$password=md5($_POST['password']);
$cpassword=md5($_POST['confirmpassword']);
$resultw=mysql_query($query);
$count=mysql_num_rows($resultw);
if($count==1){
while($row=mysql_fetch_array($resultw)){
$user=$row[8];
if($user==$_POST['username'])
else
if($password==$cpassword)
WSU-CSIT@Group-9 Page 65
Dormitory and Cafeteria System for Wolaita Sodo University
VALUES
('$_POST[fname]','$_POST[mname]','$_POST[lname]','$_POST[user_id]','$_POST[sex]','$_PO
ST[actype]','$_POST[phone]','$_POST[username]','$_POST[password]','$_POST[confirmpassw
ord]','1')";
if (!mysql_query($sql,$conn))
else
else
echo'<br><br><br>';
WSU-CSIT@Group-9 Page 66
Dormitory and Cafeteria System for Wolaita Sodo University
mysql_close($conn)
?>
For the proper functioning of the system the following hardware and software are
required
Hardware’s
Computer
Hard Disk
Notepad++
Dreamweaver
Browsers
Wamp server
WSU-CSIT@Group-9 Page 67
Dormitory and Cafeteria System for Wolaita Sodo University
MSQL server
Firstly instal the software adobe dreamwaver or Notepad++ and wamp server, after that follow
the steps:
Step 3- open the browser on your computer and write localhost (127.0.0.1) or
(localhost/foldername/index.php) on the place of URL or as a url.
NB: Before you are run the system you must have import the databse which is arrived on your
folder to the wamp server databse (on phpmyadmin).
WSU-CSIT@Group-9 Page 68
Dormitory and Cafeteria System for Wolaita Sodo University
WSU-CSIT@Group-9 Page 69
Dormitory and Cafeteria System for Wolaita Sodo University
WSU-CSIT@Group-9 Page 70
Dormitory and Cafeteria System for Wolaita Sodo University
THEN :
Before you are run the project on the wamp server you must have import the database on the
mysql server. To import the databse on the wampserver follow the steps here:
Finally installation can be successful when you are follow the steps appropraitly.
CHAPTER SIX
6.1 Conclusion
An effort has been made to study as partial fulfillment of WSUDCMS (Wolaita sodo university
dormitory and cafeteria management system). To satisfy the project the team has tried to follow
HTML, PHP, Java script and MySQL methodology for a Good completion of the started project.
WSU-CSIT@Group-9 Page 71
Dormitory and Cafeteria System for Wolaita Sodo University
In our campus wolaita sodo university Dormitory and cafeteria management Systems are
Management systems found in the Universities Management system especially for managing the
students. This system is a web based application to serve students as well as the working group
of the system in different direction. Specially:-
1) Students now made possible to know their dorm and students cafeteria menu online which
overcomes extra expenditure of student’s time and resource.
2) saving proctors time lost for assigning dorm for students, preparing report while student leave
from campus, etc.
6.2 Recommendation
While doing this system the team members has faced different challenges. But by the
cooperation of all the group members and the advisor the team is now able to reach to the final
result i.e all the group members strongly fight these challenge and take the turn to the front.
So now all the group members strongly recommend the department that for the coming students,
it has to provide them with better service than the present in better hard ware, guaranteed
software’s, giving orientations how to proceed, offering guest to provide them with more
experienced work, support morally, manually, forming good relation with students, giving
students description of each phases and so on. So that it will get what it expects from its students
and satisfy with them.
References
Books
WSU-CSIT@Group-9 Page 72
Dormitory and Cafeteria System for Wolaita Sodo University
Websites
www.tutorialspoint.com/index.html
www.w3schools.com/index.php
A project Report
Submitted by:
WSU-CSIT@Group-9 Page 73
Dormitory and Cafeteria System for Wolaita Sodo University
WSU-CSIT@Group-9 Page 74