Sample Project Report HEMANAY
Sample Project Report HEMANAY
ON
Submitted To Submitted By
Dr. Rajan Gupta HEMANAY SETIA
Associate professor Enrol no:03717704423
VSIT, VIPS MCA-1C
(Batch: 2023-2025)
This is to certify RAVINDRA KUMAR (roll no: 13417704423) of MCA 1 st Semester from
Vivekananda Institute of Professional Studies, Delhi has presented this project work entitled
“Digital clock using Java” in partial fulfilment of the requirements for the award of the
It is our proud privilege to express our profound gratitude to the entire management of
Vivekananda Institute of Professional Studies and teachers of the institute for providing us
with the opportunity to avail the excellent facilities and infrastructure. The knowledge and
values inculcated have proved to be of immense help at the very start of my career. Special
thanks to Hon’ble Founder, Vivekananda Institute of Professional Studies, Delhi for having
I am grateful to Dr. Supriya Madan (Dean, VSIT), and “project guide” for their astute
guidance, constant encouragement and sincere support for this project work.
Sincere thanks to all my family members, seniors and friends for their support and assistance
Chapter – 1 INTRODUCTION...........................................................1
1.2 Objective..................................................................................2
1.4 Scope.......................................................................................3-5
3.3 PHP...........................................................................................12-14
3.4 MySQL......................................................................................15-18
Chapter - 4 SYSTEM DESIGN & DEVELOPMENT.............................19
4.3 ER Diagram........................................................................................26
Table Structure.........................................................................................71-79
Screenshots...............................................................................................81-88
7.2 Limitations......................................................................................94
7.3 Conclusion......................................................................................95
Chapter – 8.................................................................................................96
Bibliography............................................................................................97
CHAPTER1
INTRODUCTION
1
ABOUT PROJECT
The following subsections of Software Requirement Specifications Document should
facilitate in providing the entire overview of the Information system “Content Management
System” under development. This document aims at defining the overall software
requirements for user. Efforts have been made to define the requirements of the Information
system exhaustively and accurately.
OBJECTIVE
PROPOSED SYSTEM
Proposed system is an automated Content Management System. Through our software user
can add members, add item, view free item, view allot item, view return item in quick time.
Our proposed system has the following advantages.
Less error
Search facility
Quick transaction
2
All the manual difficulties in managing the Office have been rectified by implementing
computerization.
SCOPE
Many organizations who embark on updating or deploying a content management system for
their web site end up with an everything-and-the-kitchen-sink list of requirements. The
resulting system has to address a myriad of issues, each of which is likely important to
particular departments, or users within the organization. Someone has to have the hard job of
whittling down the requirements into a cohesive set of features that can be met within the
schedule and budget for the project. Ideally, this person is a key player within the client
organization, or at least has the backing of senior management, and can make these hard
decisions.
3
Home
Home Page
Login Page
Register User
About Us
Contact Us
Admin
Add Employee
Employee List
Add User
User List
Notifications List
Events List
News List
Change Password
Logout
Employee
Home
My Account
User List
Events List
News List
Notifications List
Change Password
Logout
User
My Account
Add Event
Events List
Add Notification
4
Notifications List
Add News
News List
Change Password
Logout
5
CHAPTER 2
SYSTEM ANALYSIS
6
SYSTEM ANALYSIS
Things are expected to get even more critical since the company’s growing numbers
of clients and related requirements have been projected to demand a massive number
of employees in the coming future from the past and the today’s date. Such events and
projections have forced a strong need for modification in the current way of handling
activities. it is better to implement the latest of it rather than to go through the pain of
updating the system over and over again. Also the solution would be developed by in-
house developers. Their time have to be managed with their other client dependent
schedules.
Consequently, costs and benefits are described with greater accuracy at this stage. It
consists of the following:
Statement of the problem: A carefully worded statement of the problem that led to
analysis.
1. Summary of finding and recommendations: A list of the major findings
and recommendations of the study. It is ideal for the user who requires
quick access to the results of the analysis of the system under study.
Conclusion are stated , followed by a list of the recommendation and a
justification for them.
2. Details of findings : An outline of the methods and procedures under-
taken by the existing system, followed by coverage of the objectives and
7
procedures of the candidate system. Included are also discussions of output
reports, file structures, and costs and benefits of the candidate system.
3. Recommendations and conclusions: Specific recommendations regarding the
candidate system, including personnel assignments, costs, project schedules,
and target dates.
With the help of banking application, it will lead to decrease in cost of opening and
maintaining offices which will be more than the cost of developing and maintaining the
Application.
This Application is very easy to operate as it is made user friendly. Main consideration is
user’s easy access to all the functionality of the Application.
8
CHAPTER 3
SOFTWARE
REQUIREMENT
SPECIFICATION
9
SOFTWARE REQUIREMENT SPECIFICATION
Requirement analysis is done in order to understand the problem the software system is to
solve. The problem could be automating an existing manual process, developing a new
automated system, or a combination of the two. The emphasis in requirements analysis is on
identifying what is needed from the system, not how the system will achieve its goals. There
are at least two parties involved in the software development-a client and a developer. The
developer has to develop the system to satisfy the client’s needs. The developer does not
understand the client’s problem domain, and the client does not understand the issues
involved in the software systems. This causes a communication gap, which has to be
adequately bridged during requirements analysis.
10
3.1 SYSTEM REQUIREMENTS
VIRTUAL MEMEORY
PROCESSOR : 32 BIT, Pentium – IV
RAM : 512 MB
HARD DISK : 80 GB
MONITOR : SVGA Monitor (800 * 600RESOLUTIONS)
CLOCK SPEED : 266 MHz
FLOPPYDRIVE : 1.44 MB
11
Scalability
The ability to run on a single pc chip with a single user up to a multi-user, microprocessor
and network installation.
The Windows GUI
The familiar graphical user interfaces it presents to the world.
ABOUT Php:-
PHP: Hypertext Preprocessor is a widely used, general-purpose scripting language that was
originally designed for web development to produce dynamic web pages. For this purpose,
PHP code is embedded into the HTML source document and interpreted by a web server with
a PHP processor module, which generates the web page document. As a general-purpose
programming language, PHP code is processed by an interpreter application in command-
line mode performing desired operating system operations and producing program output on
its standard output channel. It may also function as a graphical application. PHP is available
as a processor for most modern web servers and as a standalone interpreter on most operating
systems and computing platforms.
PHP was originally created by Rasmus Lerdorf in (1995) and has been in continuous
development ever since. The main implementation of PHP is now produced by the PHP
Group and serves as the de facto standard for PHP as there is no formal specification. PHP is
free software released under the PHP License.
PHP primarily acts as a filter, taking input from a file or stream containing text and/or PHP
instructions and outputs another stream of data; most commonly the output will be HTML.
12
Since PHP 4, the PHP parser compiles input to produce byte code for processing by the Zend
Engine, giving improved performance over its interpreter predecessor.
Originally designed to create dynamic web pages, PHP now focuses mainly on server-side
scripting, and it is similar to other server-side scripting languages that provide dynamic
content from a web server to a client.
The LAMP architecture has become popular in the web industry as a way of deploying web
applications. PHP is commonly used as the P in this bundle alongside Linux, Apache and My
SQL.. WAMP packages (Windows/ Apache/ MySQL / PHP) and MAMP packages
(Macintosh / Apache / MySQL / PHP) are also available.
As of April 2007, over 20 million Internet domains had web services hosted on servers with
PHP installed and mod_php was recorded as the most popular Apache HTTP Server module.
Significant website are written in PHP including the user-facing portion of Facebook.
ADVANTAGES TO PHP:-
Open Source, readily available (you can be using it today) and dual-
licensed - if you are doing non-profit work or not licensing, there is no cost.
Very Easy to understand Syntax, some really cool features (arrays
are something else!)
Interfaces very easily with Apache/MySQL
Server side .
Lots of good source code out there to use and/or learn from, as well
as many useful libraries for working with PDFs, graphics, etc.
Lots of good books and on-line help (php.net is great)
Platform agnostic, can run on Windows Linux or Mac servers. Also
very scalable.
Lots of hosting services have it ready to use, no special
configuration (except if you have special security needs)
Pretty easy to access other web-based tools through PHP (i.e. google
maps, etc
13
HOW PHP WORKS.
2) Profile of problem:-
Problems with conventional system
1. Lack of immediate retrievals: -The information is very difficult to retrieve
and to find particular information like- E.g. - To find out about the patient’s
history, the user has to go through various registers. This results in inconvenience
and wastage of time.
2. Lack of immediate information storage: - The information generated
by various transactions takes time and efforts to be stored at right place.
3. Lack of prompt updating: - Various changes to information like patient
details or immunization details of child are difficult to make as paper work is
involved.
4. Error prone manual calculation: - Manual calculations are error prone and
take a lot of time this may result in incorrect information. For example
14
calculation of patient’s bill based on various treatments.
5. Preparation of accurate and prompt reports: - This becomes a difficult
task as information is difficult to collect from various registers.
3.4 MySQL
15
Revoke select on EMP from Demo;
In a summarized way it could be concluded that SQL becomes the query engine that resides
over the database engine having been designed on the client-server Approach and provided
retrieval of data as well as operation on RDBMS. By the Application package and web pages.
Project Category
A Relational Data Model was invented by Dr. E. F. Codd and is based on the simple concept
i.e., Table.
A RDBMS is a computer program for managing table. It has three major parts:
Data that is presented as Tables.
Operators for manipulating tables.
Integrity rules on tables.
Introduction To MySQL
Modern relational database management systems can perform a wide range of tasks. It has
got the following advantages-
Define a database
Query the database
Add, edit and delete data.
Modify the structure of the database
Secure data from public access.
Communicate within networks
Export and import data
16
MySQL is one such RDBMS. It provides a set of functional programs that we use a tool
to build structure and performs tasks, in MySQL data is stored and displayed in tables. A
table is a data structure that holds data in a relational database. A table comprises of rows
and columns. Table can also show relationship between entities. The formal name of table
is relation, hence the name Relational Database Management System.
SQL is a structured query language that we use to communicate with mysql. It consists of
a set of English words like Select, Create etc. The standard set of SQL command fall into
the following category-
Open Source
Efficient multi-user support and consistency
Powerful security feature
Fault tolerance
Ease of administration
Application development tools
Networking
SQL compatibility
About SQL
SQL is a structured query language that we use to communicate with oracle. It consists
of a set of English words like Select, Create etc. The standard set of SQL command fall
into the following category-
17
Platform used: -
Operating System: - Windows 2000 Professional OR Windows XP 2000.
Front End Tool: -
PHP, Ajax, Java script, Ajax, CSS, HTML
Back End Tool: -
RDBMS: - MySQL
Windows XP Professional
This operating system is presented by Microsoft Corp. It supports all the GUI’s facilities and
is very much user friendly.
Purposes programming and other are Supporting Language for Internal Programming.
MySQL
It is an Object- oriented Relational Database management System. It offers capabilities of both
relational and object-oriented database management system.
18
CHAPTER 4
SYSTEM DESIGN
AND DEVELOPMENT
19
SYSTEM DESIGN AND DEVELOPMENT
Since, we are following an Object oriented Design technique, the next step towards the
development is to identify the classes and their relationships. A class is a description of an
object type. Instances of classes are known as Objects. UML also provides tools for
designing the system. Class diagrams enable us to establish relationship among various
classes of the system. Before proceeding on to develop class diagrams, the next step is to
identify the potential classes in the system.some of the basic tips in identifying the classes
are:
By following these simple rules during the initial process of analyzing, several classes get
formulated. These classes are referred to as candidate classes and they represent the possible
classes in a given system. It is not essential to incorporate all the identified candidate classes;
some of them may also be dropped and are called Unfit candidate classes.
A class icon is a rectangle with three sections in it. Horizontal lines across the rectangle
divide the sections. The first section is where the class name is mentioned. In the second
section the attributes or data members of the class and in the third section the methods or
functions of the class are mentioned. A class diagram thus takes the form
In DFD the cardinality or multiplicity can be expressed at the ends of the association at the
class where it is applicable. Whenever there is no mention of the cardinality then one is
considered.
20
With the help of DFD, we designed the class diagram of our system, which looks like the
following. The cardinality among the relationship is also mentioned.
The Data flow diagram can be explained as the separate levels indicating the individual
complexity in the each level of the system and gives a detailed explanation in the further
levels that are following them.
LEVEL 0
Initially in the first level of the Data flow the level 0 explains the basic outline of the system.
The end-user sends the packets to the system to determine the source and destination address.
The diagram marked as the 0 represents the complete Packet watching system which simply
represents the basic operation that is being performed by it in the initial level.
LEVEL 1
The level 1 of the Data flow diagram given explains in detail about the Packet watching
system which was marked as 0 in the previous level. In this level the end-user who passes the
request for the system enters into the first process, the capturing process and then to the
processing module. After processing the packets it was send for storing.
LEVEL 2
The level 2 provides the clear explanation about the whole system. In this level first we have
to select the packet and perform test over that selected packets. Then identify the end address
of the packet and send that packet for processing. After processing the packet it was send to
the identity content. Then send the processed packet for storing and display the source and
destination addresses.
21
DATA FLOW DIAGARAMS
1. Use Case
22
2. DFD-DATA FLOW DIAGRAMS
23
1 LEVEL DFD
24
2 LEVEL DFD
25
4.3 ER Diagram
In the ER-Diagram :
26
CHAPTER 5
IMPLEMENTATION
AND
CODING
27
Index.php
<?php
include './dbconfig.php';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Welcome to Content Writer Authentication Checker</title>
<meta name="keywords" content="" />
<link href="css/stylesheet.css" rel="stylesheet" type="text/css" media="screen" />
<link href="css/colorbox.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery-1.js"></script>
<script type="text/javascript" src="js/reaction.js"></script>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.colorbox.js"></script>
<script type="text/javascript">
$(document).ready(function() {
//Examples of how to assign the ColorBox event to elements
$(".example6").colorbox({iframe: true, innerWidth: 450, innerHeight: 480});
//Example of preserving a JavaScript event for inline calls.
$("#click").click(function() {
$('#click').css({"background-color": "#f00", "color": "#fff", "cursor":
"inherit"}).text("Open this window again and this message will still be here.");
return false;
});
});
</script>
</head>
<body>
<!-- start header -->
<div id="header">
<?php include 'header.php'; ?>
</div>
<!-- end header -->
<div id="wrapper">
<!-- start page -->
<div id="page">
<div id="sidebar1" class="sidebar">
<?php
if (empty($user_id)) {
?>
<ul>
<li style="background: #f2f2f2;">
<h2>Login</h2><br/>
28
<form id="login-form" action="source/login.php" method="post"
onsubmit="return validate();">
<fieldset class="userdata">
<table>
<?php
if ($_SESSION['MSG'] != '') {
?>
<tr><td align="left" style="font-size:14x;color: blue;padding-
bottom: 5px;"><?php echo $_SESSION['MSG'] ?></td></tr>
<?php
$_SESSION['MSG'] = "";
}
?>
<tr><td>Email ID</td></tr>
<tr>
<td>
<input type="text" name="txtuname" id="txtuname"/>
</td>
</tr>
<tr><td>Password</td></tr>
<tr>
<td>
<input type="password" name="txtpwd" id="txtpwd"/>
</td>
</tr>
<tr>
<td>
<input type="submit" name="btnlogin" id="bottom"
class="button" style="margin-left: 45px;" value="Log in"/>
</td>
</tr>
</table>
</fieldset>
</form>
</li>
</ul>
<?php
} else {
include './leftmenu.php';
}
?>
</div>
<!-- start content -->
<div id="content" style="width: 740px;">
<div class="flower">
<img src="images/management-society.jpg" alt="" width="740" height="250"
/>
</div>
<div class="post">
29
<h1 class="title"><a href="#">Welcome you to MRIU News
Agency</a></h1>
<div class="entry">
<p>
MRIU is a Content Management System (CMS), Is a Computer
Application that allows news, events and notification publishing, editing and modifying
Content, organizing, deleting as well as maintenance from a central interface.
</p>
<ul>
<li>Such systems of Content Management provides procedures to
manage workflows in a collaborative environment.</li>
<li>These procedures can be manual steps or an automated cascade </li>
<li>Content development and design services and training</li>
<li>Browsing through MRIU New Agency to see the current news and
latest event happening around us along with publishing date. </li>
<li>Providing organized and cripsed format and content for users tp post
and read the content</li>
<li>Content development and design services and Trainig</li>
</ul>
</div>
</div>
</div>
30
Add_event.php
<?php
include './dbconfig.php';
if (!empty($user_id)) {
if (isset($_POST['btnsubmit'])) {
$event_name = $_POST['event_name'];
$description = $_POST['description'];
$start_date = $_POST['start_date'];
$end_date = $_POST['end_date'];
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Add Event - MRIU Content Writer Authentication Checker</title>
<meta name="keywords" content="" />
31
<link href="css/stylesheet.css" rel="stylesheet" type="text/css" media="screen" />
<script type="text/javascript">
function checkform() {
if (event_name.value.trim() == "") {
alert('Please enter event name.');
description.focus();
return false;
}
var description =
document.getElementById("description");
if (description.value.trim() == "")
{ alert('Please enter event description.');
description.focus();
return false;
}
}
</script>
</head>
<body>
<!-- start header -->
<div id="header">
<?php
include 'header.php';
?>
</div>
<!-- end header -->
32
<div id="wrapper">
<!-- start page -->
<div id="page">
<div id="sidebar1" class="sidebar">
<?php include 'leftmenu.php'; ?>
</div>
<!-- start content -->
<div id="content">
<div class="post" style="width: 760px;border-left: dotted 1px #232323;">
<h1 class="title" style="border-bottom: dotted 1px #232323;">Add
Event</h1>
33
</div>
<div class="indv_fields ind">
<label for="phone">Start Date</label> <br/>
<input type="text" name="start_date"id="start_date"
maxlength="100"/
>
</div>
<div class="indv_fields ind">
<label for="phone">End Date</label> <br/>
<input type="text" name="end_date"id="end_date"
maxlength="100"/
> </div>
<div class="ind">
<input type="submit" name="btnsubmit" id="btnsubmit"
value="Submit" onclick="return checkform();" class="button" />
</div>
</table>
</form>
</div>
</div>
</div>
<!-- end content -->
<!-- end sidebars -->
<div style="clear: both;"> </div>
</div>
<!-- end page -->
</div>
<?php include 'footer.php'; ?>
</body>
</html>
<?php
} else {
34
header("location:index.php?msg=login");
ob_flush();
}
mysql_close();
?>
Add_news.php
<?php
include './dbconfig.php';
if (!empty($user_id)) {
if (isset($_POST['btnsubmit'])) {
$news = $_POST['news'];
35
$imgname = "";
}
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Add News - Content Writer Authentication Checker</title>
<meta name="keywords" content="" />
<link href="css/stylesheet.css" rel="stylesheet" type="text/css" media="screen" />
<script type="text/javascript">
function checkform() {
36
}
</script>
</head>
<body>
<!-- start header -->
<div id="header">
<?php
include 'header.php';
?>
</div>
<!-- end header -->
<div id="wrapper">
<!-- start page -->
<div id="page">
<div id="sidebar1" class="sidebar">
<?php include 'leftmenu.php'; ?>
</div>
<!-- start content -->
<div id="content">
<div class="post" style="width: 760px;border-left: dotted 1px #232323;">
<h1 class="title" style="border-bottom: dotted 1px #232323;">Add
News</h1>
37
if (isset($_SESSION['MSG'])) {
echo '<div class="indv_fields ind"><label for="name"
style="color:red">' . $_SESSION['MSG'] . '</label></div>';
//$_SESSION['MSG'] = "";
}
?>
<div class="indv_fields ind">
<label for="phone">News<span
class="red">*</span></label>
<input type="text" name="news"id="news" />
</div>
<div class="indv_fields ind">
<label>Image</label> <br/>
<input type="file" name="fileimg" id="fileimg"
maxlength="100"/>
</div>
<div class="ind">
<input type="submit" name="btnsubmit" id="btnsubmit"
class="button" value="Submit" onclick="return checkform();" />
</div>
</table>
</form>
</td>
</tr>
</table>
</div>
</div>
</div>
<!-- end content -->
<!-- end sidebars -->
<div style="clear: both;"> </div>
</div>
38
<!-- end page -->
</div>
<?php include 'footer.php'; ?>
</body>
</html>
<?php
} else {
header("location:index.php?msg=login");
ob_flush();
}
mysql_close();
?>
Add_notification.php
<?php
include './dbconfig.php';
if (!empty($user_id)) {
if (isset($_POST['btnsubmit'])) {
$notification = $_POST['notification'];
39
}
header("location:add_notification.php");
}
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Add Notification - Content Writer Authentication Checker</title>
<meta name="keywords" content="" />
<link href="css/stylesheet.css" rel="stylesheet" type="text/css" media="screen" />
<script type="text/javascript">
function checkform() {
</script>
</head>
<body>
<!-- start header -->
<div id="header">
<?php
include 'header.php';
?>
40
</div>
<!-- end header -->
<div id="wrapper">
<!-- start page -->
<div id="page">
<div id="sidebar1" class="sidebar">
<?php include 'leftmenu.php'; ?>
</div>
<!-- start content -->
<div id="content">
<div class="post" style="width: 760px;border-left: dotted 1px #232323;">
<h1 class="title" style="border-bottom: dotted 1px #232323;">Add
Notification</h1>
<div style="height: 550px;border-style: none;width: 760px;" >
<table border="0" width="100%">
<tr>
<td valign="top">
<form action="" method="post">
<table width="100%" border="0" cellspacing="5"
cellpadding="5">
<?php
if (isset($_SESSION['MSG'])) {
echo '<div class="indv_fields ind"><label for="name"
style="color:red">' . $_SESSION['MSG'] . '</label></div>';
//$_SESSION['MSG'] = "";
}
?>
<div class="indv_fields ind">
<label for="phone">Notification<span
class="red">*</span></label>
<input type="text" name="notification"id="notification"
/>
41
</div>
<div class="ind">
<input type="submit" name="btnsubmit" id="btnsubmit"
value="Submit" class="button" onclick="return checkform();" />
</div>
</table>
</form>
</td>
</tr>
</table>
</div>
</div>
</div>
<!-- end content -->
<!-- end sidebars -->
<div style="clear: both;"> </div>
</div>
<!-- end page -->
</div>
<?php include 'footer.php'; ?>
</body>
</html>
<?php
} else {
header("location:index.php?msg=login");
ob_flush();
}
mysql_close();
?>
42
Add_employee.php
<?php
include './dbconfig.php';
if (!empty($user_id)) {
if (isset($_POST['btnsubmit'])) {
$registeras = $_POST['rdoemployee'];
$name = $_POST['txtname'];
$gender = $_POST['cmbgender'];
$phone = $_POST['txtcontact'];
$email = $_POST['txtemail'];
$password = $_POST['txtnewpwd'];
$society = $_POST['txtsociety'];
$city = $_POST['txtcity'];
43
$imgname = "";
}
$query = "insert into
register(name,gender,contact,email,city,password,reg_date,status,utype,imgpath)
values('$name','$gender','$phone','$email','$city','$password',now(),1,'$registeras','$imgname'
)";
$r = mysql_query($query);
$num = (int) $r;
if ($num > 0) {
$_SESSION['MSG'] = "Your information has been successfully submited.!!";
} else {
$_SESSION['MSG'] = "Your information has not been submited.!!";
}
header("location:addemployee.php");
}
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Add Employee - Content Writer Authentication Checker</title>
<meta name="keywords" content="" />
<link href="css/stylesheet.css" rel="stylesheet" type="text/css" media="screen" />
<link href="css/style.css" rel="stylesheet" type="text/css" media="screen" />
<script type="text/javascript">
function checkform() {
44
return false;
}
45
var pwd = document.getElementById('txtnewpwd');
if (pwd.value.trim() == "") {
alert('Please enter your password.');
pwd.focus();
return false;
}
if (pwd.value.trim() != conpwd.value.trim()) {
alert('Confirm password does not matched.');
conpwd.focus();
return false;
}
46
</script>
</head>
<body>
<!-- start header -->
<div id="header">
<?php
include 'header.php';
?>
</div>
<!-- end header -->
<div id="wrapper">
<!-- start page -->
<div id="page">
<div id="sidebar1" class="sidebar">
<?php include 'leftmenu.php'; ?>
</div>
<!-- start content -->
<div id="content">
<div class="post" style="width: 760px;border-left: dotted 1px #232323;">
<h1 class="title" style="border-bottom: dotted 1px #232323;">Add
User</h1>
<?php
if (isset($_SESSION['MSG'])) {
echo '<div class="indv_fields ind"><label for="name"
style="color:red">' . $_SESSION['MSG'] . '</label></div>';
//$_SESSION['MSG'] = "";
}
47
?>
<div class="indv_fields">
<label for="name">Name<span class="red">*</span></label><br/>
<input type="hidden" name="rdoemployee" id="rdostudent"
value="user"/>
<input type="text" name="txtname" id="txtname" value="" />
</div>
<div class="indv_fields">
<label for="gender">Gender<span class="red">*</span></label>
<br/>
<select name="cmbgender" id="cmbgender" class="select">
<option value="na" selected> - - - - Select-------</option>
<option value="Male">Male</option>
<option value="Female">Female</option>
</select>
</div>
<div class="indv_fields">
<label for="phone">Email ID</label> <br/>
<input type="text" name="txtemail"id="txtemail" />
</div>
<div class="indv_fields">
<label for="Contact No.">Contact No.</label><br/>
<input type="text" name="txtcontact"id="txtcontact" value=""
maxlength="10"/
>
</div>
<div class="indv_fields">
<label for="City">City</label> <br/>
<input type="text" name="txtcity"id="txtcity" value=""/>
</div>
<div class="indv_fields ">
<label for="password">Password</label> <br/>
48
<input type="password" name="txtnewpwd" id="txtnewpwd"
value="" placeholder="Your password" maxlength="25"/>
</div>
<div class="indv_fields ind"><br/>
<label for="confirm">Confirm Password</label>
<input type="password" name="txtcpwd" id="txtcpwd" value=""
placeholder="Your confirm password" maxlength="25"/>
</div>
<div class="ind">
<input type="submit" name="btnsubmit" id="btnsubmit"
class="button" value="Submit" onclick="return checkform();" />
</div>
</form>
</div>
</div>
</div>
<!-- end content -->
<!-- end sidebars -->
<div style="clear: both;"> </div>
</div>
<!-- end page -->
</div>
<?php include 'footer.php'; ?>
</body>
</html>
<?php
} else {
header("location:index.php?msg=login");
ob_flush();
}
49
mysql_close();
?>
contact.php
<?php
include './dbconfig.php';
if (isset($_POST['btnsubmit'])) {
$error = "";
extract($_POST);
if (empty($name)) {
$error = "Please enter name.";
}
if (empty($email)) {
$error = "Please enter email.";
}
if (empty($phone_no)) {
$error = "Please enter phone_no.";
}
if (empty($subject)) {
$error = "Please enter subject.";
}
if (empty($message)) {
$error = "Please enter your message.";
}
if (empty($error)) {
$sql_query = "INSERT INTO
contact(name,email,phone_no,subject,message,adding_date)"
. "VALUES('" . $name . "','" . $email . "','" . $phone_no . "','" . $subject . "','" .
$message . "','" . date('Y-m-d h:i:s') . "')";
$result = mysql_query($sql_query);
if ($result) {
50
header("location:contact.php?reg=success");
} else {
$error = "Data has not been saved.";
}
}
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Contact - Content Writer Authentication Checker</title>
<meta name="keywords" content="" />
<link href="css/style.css" rel="stylesheet" type="text/css" media="screen" />
<link href="css/stylesheet.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
<!-- start header -->
<div id="header">
<?php include 'header.php'; ?>
</div>
<!-- end header -->
<div id="wrapper">
<!-- start page -->
<div id="page">
<div id="sidebar1" class="sidebar">
<ul>
<li style="background: #f2f2f2;">
<h2>Login</h2><br/>
51
<form id="login-form" action="source/login.php" method="post"
onsubmit="return validate();">
<fieldset class="userdata">
<table>
<?php
if ($_SESSION['MSG'] != '') {
?>
<tr><td align="left" style="font-size:14x;color: maroon;padding-
bottom: 5px;"><?php echo $_SESSION['MSG'] ?></td></tr>
<?php
$_SESSION['MSG'] = "";
}
?>
<tr><td>Email ID</td></tr>
<tr>
<td>
<input type="text" name="txtuname" id="txtuname"/>
</td>
</tr>
<tr><td>Password</td></tr>
<tr>
<td>
<input type="password" name="txtpwd" id="txtpwd"/>
</td>
</tr>
<tr>
<td>
<input type="submit" name="btnlogin" id="bottom"
class="button" style="margin-left: 0px;" value="Log in"/>
</td>
</tr>
52
</table>
</fieldset>
</form>
</li>
</ul>
</div>
<!-- start content -->
<div id="content" style="width: 740px;">
<div class="flower">
<img src="images/management-society.jpg" alt="" width="740" height="250"
/>
</div>
<div class="post" style="width: 760px;border-left: dotted 1px #232323;">
<h1 class="title" style="border-bottom: dotted 1px #232323;">Contact
To</h1>
<div style="height: 550px;border-style: none;width: 760px;" >
<table border="0" width="100%">
<tr>
<td valign="top">
Name: SACHI WADHAWAN<br/>
Contact No: 9555423888<br/>
Email Id: [email protected]<br/>
</td>
</tr>
</table>
</div>
</div>
</div>
<!-- end sidebars -->
53
<div style="clear: both;"> </div>
</div>
<!-- end page -->
</div>
<?php include 'footer.php'; ?>
</body>
</html>
leftmenu.php
<ul style="border-right: dotted 1px #232323;">
<li>
<h2>Objects</h2>
<ul>
<li>
<?php
if (!empty($user_image)) {
echo '<img src="' . $user_image . '" height=150 width=200>';
} else {
echo '<img src="uploads/default.jpg" height="150" width="200"/>';
}
?>
</li>
<?php
if ($user_type == "user") {
?>
<li><a href="profile.php">My Account</a></li>
<li><a href="add_event.php">Add Event</a></li>
<li><a href="event_list.php">Events List</a></li>
<li><a href="add_notification.php">Add Notification</a></li>
<li><a href="notification_list.php">Notifications List</a></li>
54
<li><a href="add_news.php">Add News</a></li>
<li><a href="news_list.php">News List</a></li>
<?php
} else if ($user_type == "admin") {
?>
<li><a href="userhome.php">Home</a></li>
<li><a href="add_director.php">Add Employee</a></li>
<li><a href="userlist.php?type=employee">Employee List</a></li>
<li><a href="addemployee.php">Add User</a></li>
<li><a href="userlist.php?type=user">User List</a></li>
<li><a href="notification_list.php">Notifications List</a></li>
<li><a href="event_list.php">Events List</a></li>
<li><a href="news_list.php">News List</a></li>
<?php
} else if ($user_type == "employee") {
?>
<li><a href="userhome.php">Home</a></li>
<li><a href="profile.php">My Account</a></li>
<li><a href="userlist.php?type=user">User List</a></li>
<li><a href="event_list.php">Events List</a></li>
<li><a href="news_list.php">News List</a></li>
<li><a href="notification_list.php">Notifications List</a></li>
<?php
}
?>
<li><a href="changepwd.php">Change Password</a></li>
<li><a href="logout.php">Logout</a></li>
</ul>
</li>
</ul>
55
logout.php
<?php
ob_start();
session_start();
header("Pragma: no-cache");
header("Cache: no-cahce");
$_SESSION['UTYPE'] = "";
$_SESSION['USERID'] = "";
$_SESSION['NAME'] = "";
$_SESSION['MSG'] = "";
$_SESSION['IMGPATH'] = "";
unset($_SESSION['UTYPE']);
unset($_SESSION['USERID']);
unset($_SESSION['NAME']);
unset($_SESSION['IMGPATH']);
unset($_SESSION['MSG']);
session_destroy();
ob_start();
session_start();
$_SESSION['MSG'] = "You are successfully logout.";
header("location:index.php");
?>
56
profile.php
<?php
include './dbconfig.php';
if (isset($_POST['btnupdate'])) {
$name = $_POST['txtname'];
$gender = $_POST['cmbgender'];
$phone = $_POST['txtcontact'];
$email = $_POST['txtemail'];
$qual = $_POST['txtqual'];
$city = $_POST['txtcity'];
$profile_image = $_FILES['fileimg']['name'];
$path = "uploads";
$time = date("fYhis"); //get time
if (!empty($profile_image)) {
$extension = substr(strrchr($profile_image, '.'), 1); //filethumgimg
$imgname = $time . "." . $extension;
$comImagePath = $path . "/" . $imgname;
$action = copy($_FILES['fileimg']['tmp_name'], $comImagePath);
if ($action) {
$query_img = "update register set imgpath='" . $comImagePath . "' where usrid =
'$user_id' ";
mysql_query($query_img);
$_SESSION['IMGPATH'] = $comImagePath;
}
}
$query = "update register set
name='$name',gender='$gender',contact='$phone',email='$email',society='$qual',city='$city'
where usrid = '$user_id' ";
$r = mysql_query($query);
$num = (int) $r;
57
if ($num > 0) {
$_SESSION['MSG'] = "Your profile has been successfully updated.!!";
} else {
$_SESSION['MSG'] = "Your profile has not been updated.!!";
}
header("location:profile.php");
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Profile - Content Writer Authentication Checker</title>
<meta name="keywords" content="" />
<link href="css/stylesheet.css" rel="stylesheet" type="text/css" media="screen" />
<script type="text/javascript">
function checkform() {
58
return false;
}
59
i.value = i.value.replace(/[^\d]+/g, '');
}
</script>
</head>
<body>
<!-- start header -->
<div id="header">
<?php
include 'header.php';
?>
</div>
<!-- end header -->
<div id="wrapper">
<!-- start page -->
<div id="page">
<div id="sidebar1" class="sidebar">
<?php include 'leftmenu.php'; ?>
</div>
<!-- start content -->
<div id="content">
<div class="post" style="width: 740px;border-left: dotted 1px #232323;">
<h1 class="title" style="border-bottom: dotted 1px #232323;">My
Profile</h1>
60
<?php
if (!empty($_SESSION['MSG'])) {
echo '<tr><td colspan="4" align="center"><font
color="red" style="font-size:13px;">' . $_SESSION['MSG'] . ' </font></td></tr>';
unset($_SESSION['MSG']);
}
61
</td>
</tr>
<tr>
<td>
Email ID:
</td>
<td>
<input type="text" name="txtemail" id="txtemail"
value="<?php echo $row ['email'] ?>" size="30"/>
</td>
<td>
Contact No.:
</td>
<td>
<input type="text" name="txtcontact" id="txtcontact"
value="<?php echo $row ['contact'] ?>" size="30" onkeyup="checkInteger(this)"/>
</td>
</tr>
<tr>
<td>
City:
</td>
<td>
<input type="text" name="txtcity" id="txtcity" value="<?php
echo $row ['city'] ?>" size="30"/>
</td>
<td>
Profile Pic:
</td>
<td>
62
<input type="file" name="fileimg" id="fileimg" />
</td>
</tr>
<?php } ?>
<tr>
<td colspan="4" align="right">
<input type="submit" name="btnupdate" id="btnupdate"
value="Update" onclick="return checkform();" class="button"/>
</td>
</tr>
</table>
</form>
</div>
</div>
</div>
<!-- end content -->
63
register.php
<?php
include './dbconfig.php';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Content Writer Authentication Checker - Registration</title>
<meta name="keywords" content="" />
<link href="css/stylesheet.css" rel="stylesheet" type="text/css" media="screen" />
<script type="text/javascript">
function checkform(){
64
if(email.value.trim().search(/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/)
==-1){
alert('Please enter Your email id.');
email.focus();
return false;
}
var phone = document.getElementById("txtcontact");
if(phone.value.trim() == ""){
alert('Please enter your contact number.');
phone.focus();
return false;
}
var len = phone.value.length;
if(len <= 9){
alert('Contact no should be ten digits.');
phone.focus();
return false;
}
65
var pwd = document.getElementById('txtnewpwd');
if(pwd.value.trim() == ""){
alert('Please enter your password.');
pwd.focus();
return false;
}
if(pwd.value.trim() != conpwd.value.trim()){
alert('Confirm password does not matched.');
conpwd.focus();
return false;
}
66
}
</script>
</head>
<body style="background: #f2f2f2;">
<form action="source/register.php" method="post" enctype="multipart/form-data">
<table width="100%" border="0" cellspacing="5" cellpadding="5">
<tr>
<td height="30" colspan="4" style="border-bottom: dotted 1px #232323;color:
maroon;"><h1>Registration Form</h1></td>
</tr>
<?php
if ($_SESSION['MSG'] != '') {
echo '<tr><td colspan="4" valign="middle" align="center"><font color="red"
style="font-size:13px;">' . $_SESSION['MSG'] . ' </font></td></tr>';
$_SESSION['MSG'] = "";
}
?>
<tr>
<td width="30"> </td>
<td height="30"><span style="color:#232323;">Name</span> <span
class="red"> *</span> : </td>
<td>
<input type="hidden" name="rdoregister" id="rdostudent" value="user"/>
<input type="text" name="txtname" id="txtname" size="30"/>
</td>
<td width="30"> </td>
</tr>
<tr>
<td width="30"> </td>
67
<td height="30"><span style="color:#232323;">Gender</span> <span
class="red"> *</span> : </td>
<td>
<select style="width: 200px;" name="cmbgender" id="cmbgender">
<option value="na" selected> - - - - Select-------</option>
<option value="Male"> Male </option>
<option value="Female"> Female </option>
</select>
</td>
<td width="30"> </td>
</tr>
<tr>
<td width="30"> </td>
<td height="30"><span style="color:#232323;">Email ID</span> <span
class="red"> *</span> : </td>
<td>
<input type="text" name="txtemail" id="txtemail" size="30"/>
</td>
<td width="30"> </td>
</tr>
<tr>
<td width="30"> </td>
<td height="30"><span style="color:#232323;">Contact No.</span> <span
class="red"> *</span> : </td>
<td>
<input type="text" name="txtcontact" id="txtcontact" size="30"
onkeyup="checkInteger(this)"/>
</td>
<td width="30"> </td>
</tr>
<tr>
<td width="30"> </td>
68
<td height="30"><span style="color:#232323;">City</span> : </td>
<td>
<input type="text" name="txtcity" id="txtcity" size="30"/>
</td>
<td width="30"> </td>
</tr>
<tr>
<td width="30"> </td>
<td height="30"><span style="color:#232323;">Password</span> <span
class="red"> *</span> : </td>
<td>
<input type="password" name="txtnewpwd" id="txtnewpwd" size="30"/>
</td>
<td width="30"> </td>
</tr>
<tr>
<td width="30"> </td>
<td height="30"><span
style="color:#232323;">Confirm Password</span> <span
class="red"> *</span> : </td>
<td>
<input type="password" name="txtcpwd" id="txtcpwd" size="30"/>
</td>
<td width="30"> </td>
</tr>
<tr>
<td width="30"> </td>
<td height="30"><span style="color:#232323;">Upload Image</span> :
</td>
<td>
<input type="file" name="fileimg" id="fileimg" size="20"/>
</td>
69
<td width="30"> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td width="120" align="right">
<input type="submit" name="" id="" value="Submit" class="button"
onclick="return checkform();"/>
<input type="reset" name="" id="" value="Reset" class="button"/>
</td>
<td align="left"></td>
</tr>
</table>
</form>
</body>
</html>
header.php
<div id="logo">
<h1><a href="index.php"><span>MRIU News Agency
</span>Content Writer Authentication Checker</a></h1>
</div>
<div id="menu">
<?php
if (!empty($user_id)) {
?>
<!-- <ul id="main">
<li><a href="index.php">Home</a></li>
<li><a href="user_event.php">Events</a></li>
70
<li><a href="news.php">News</a></li>
<li><a href="user_notificaitons.php">Notification</a></li>
</ul>-->
<a href="" style="cursor:default;background: none;padding-right:
0px;;">Welcome to, </a>
<a href="#" style="background: none;padding-left: 0px;"><?php echo $user_name
?>
<div style="padding-top: 15px;float: right;margin-right: 30px;"></div>
</a>
<?php } else {
?>
<ul id="main">
<li><a href="index.php">Home</a></li>
<li><a href="user_event.php">Events</a></li>
<li><a href="news.php">News</a></li>
<li><a href="user_notificaitons.php">Notification</a></li>
<li><a href="contact.php">Contact Us</a></li>
</ul>
<?php } ?>
</div>
71
footer.php
<div id="footer" style="margin-top: -30px;">
<p class="copyright" style="text-align: center;width: 100%;"> Design and Developed By
<a href="#">Content Writer Authentication Checker @Team</a>.</p>
</div>
Table Structure:
/*
SQLyog Community Edition- MySQL GUI v5.22a
Host - 5.0.19-nt : Database - cms
********************************************************
*************
Server version : 5.0.19-nt
*/
USE `cms`;
72
/*!40014 SET
@OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECK
S, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE,
SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
73
insert into
`contact`(`id`,`name`,`email`,`phone_no`,`subject`,`message`,`adding
_date`) values (1,'gautam','[email protected]','7820866619','text','i am
a student','2015-01-25 09:41:32'),
(2,'gautam','[email protected]','7820866619','ram','compleat e
project','2015-01-26 11:07:02'),
(10,'gautam','[email protected]','7820866619','php','ghansm
addfvdf','2015-02-02 08:51:03'),
(11,'gautam','[email protected]','7820866619','i have successfully
registred','i have successfully registred','2015-02-02 08:57:07'),
(12,'hsj','[email protected]','dshjkhjkjn','uh','
jkdkfsbf','2015-04-19 06:45:53'),
(13,'newone','[email protected]','9897456495','problem no 2','i have
problem in all the subjects.. please help','2015-04-19 07:22:21');
74
`created` datetime default NULL,
`event_status` char(1) default '2' COMMENT '0=>Disapprove, 1=>
Approve',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
insert into
`events`(`id`,`employee_id`,`event_name`,`description`,`start_date`,`e
nd_date`,`created`,`event_status`) values (3,17,'testing','testing
events','10 march 2015','15 march 2015','2016-03-18 18:41:52','2'),
(4,17,'testing','testing events','10 march 2015','15 march
2015','2016-03-18 18:42:08','2'),(6,14,'tommoro pakistan vs
india','Match','10 march 2015','12 march 2015','2016-03-18
21:02:27','1'),(7,14,'tsting emventsflskaflklk','lasflasfl afsjdlkfa
lfajl','2016-03-24 00:00:01','2016-03-28 23:59:59','2016-03-19
19:06:36','1'),(8,14,'flksadflalfdkl','faslkdflkalfd','2016-03-24
00:00:01','2016-03-28 23:59:59','2016-03-19
19:14:05','0'),(9,14,'testing 1111111111','Vivo','2016-03-22
00:00:01','2016-03-26 23:59:59','2016-03-19
19:24:36','0'),(10,14,'dsf','dfgsdfgsdfg','89797','dsfgdsfg','2016-05-21
16:32:15','1');
75
CREATE TABLE `news` (
`id` bigint(20) NOT NULL auto_increment,
`employee_id` bigint(20) default NULL,
`news` varchar(800) default NULL,
`img_path` varchar(255) default NULL,
`nstatus` char(1) default '2',
`created` datetime default NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
insert into
`news`(`id`,`employee_id`,`news`,`img_path`,`nstatus`,`created`)
values (6,14,'Choosing a suitable Kotak Mahindra Bank Savings
Account can be a frugal ... the Savings Account eligibility form
available online with required personal
data.','f2016125112.jpg','2','2016-03-19 00:51:12'),(7,14,'Choosing a
suitable Kotak Mahindra Bank Savings Account can be a frugal ... the
Savings Account eligibility form available online with required
personal data.','f2016125126.gif','2','2016-03-19 00:51:26'),
(8,14,'Choosing a suitable Kotak Mahindra Bank Savings Account
can be a frugal ... the Savings Account eligibility form available
online with required personal data.','f2016125223.jpg','1','2016-03-19
00:52:23');
76
/*Table structure for table `notifications` */
insert into
`notifications`(`id`,`employee_id`,`notifications`,`nstatus`,`created`)
values (1,17,'event is start at 6 march.','2','2016-03-09 00:17:06');
77
CREATE TABLE `register` (
`usrid` bigint(20) NOT NULL auto_increment,
`name` varchar(100) NOT NULL,
`gender` varchar(50) default NULL,
`contact` varchar(25) default NULL,
`email` varchar(100) NOT NULL,
`city` varchar(100) default NULL,
`password` varchar(100) NOT NULL,
`utype` enum('admin','teacher','director','user') NOT NULL,
`reg_date` datetime default NULL,
`status` smallint(6) default '1',
`imgpath` varchar(200) default NULL,
`login_status` char(1) default NULL,
PRIMARY KEY (`usrid`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
insert into
`register`(`usrid`,`name`,`gender`,`contact`,`email`,`city`,`password`,`
utype`,`reg_date`,`status`,`imgpath`,`login_status`) values
(2,'Administrator','Male','9555821757','admin','Delhi','admin','admin','
2012-09-19 00:28:26',1,NULL,'1'),(13,'Prity
78
Kumari','Female','98888988989','[email protected]','Delhi','prity','dire
ctor','2013-04-08
00:24:39',1,'uploads/f2016113302.jpg','0'),(14,'Ghanshyam
Kumar','Male','98989898980','[email protected]','New
Delhi','testing','teacher','2016-03-04 11:21:09',1,'','0'),(15,'Priyanka
Gupta','Female','8989898787','[email protected]','India','testing','d
irector','2016-03-04 11:27:52',1,'','0'),(17,'Hemant
Kumar','Male','9898989898','[email protected]','New
Delhi','testing','teacher','2016-03-05
00:29:54',1,'uploads/f2016024515.jpg','0'),(18,'Pawan
Kumar','Male','9898989898','[email protected]','New
Delhi','pawan','director','2016-03-05 00:33:02',1,'','0');
79
SCREEN SHOTS
Home Page
List of Events
80
List of News
List of Notifications
81
Contact Us
82
Administrator Page
Add Employee
83
Employee List
Add User
84
User List
Notification List
85
Events List
News List
86
Change Password
87
CHAPTER 6
SYSTEM TESTING
88
SYSTEM TESTING AND IMPLEMENTATION
The testing and implementation they are important and final phases. All the process that has
been done is just a trail or by assumption. All the required hardware & software is prepared
for the testing so that some errors or some modifications may be required for further
proceeding.
Testing is vital to the success of the system. System testing makes a logical assumption that if
all parts of the system are correct. The goal will be successfully achieved. There are four
steps with in, they are,
Unit Testing
Integration Testing
Validation testing
Output Testing
In this testing, the smaller part of the project is tested first that is modules and the sub
functions present in the project. It seems to be working satisfactorily with out the errors and
that shows the unit testing is successful.
The integration testing is a part that the software makes all functions behaviors and process
required. The errors which are uncovered are integrated testing, are corrected during this
phase. The collection of the functions are tested and found with errors are rectified .So that
the result can be easily obtained in a successful manner.
89
6.1.3 VALIDATION TESTING
The validation part is very much essential for each every application projects so that each data can
be validated in a good manner. In some cases the records are created according to the key of the
corresponding table to which it has been referenced for data constraint for good secured database.
While testing the system by using test data errors are again uncovered and corrected by using
above testing steps and corrections are also noted for future use. If there is any error then it is
allowed for testing from the beginning.
The output is major required part of the development of the project. The output is tested for
required format, if it does not acquire such format then the testing is done or any screen
modification is alone for the further operations. The output testing is mainly for the two things they
are,
On screen format
Print format
The screen is found to be correct as the format designed according to the user needs for the
hard copy also; the output comes out as specified by the user. Hence output testing doesn’t
result in any correction in the system.
In the implementation phase, the project reached its fruition. After the development phase of
the SDLC is complete, the system is implemented. The software, which was designed in
design and programmed in development phase of the SDLC, was installed on all the PCs that
require it. The persona’s using the program was trained during this phase of the SDLC.
90
Moreover, both the hardware and software are tested. Although we found and fixed many
91
problems, almost invariably, the user’s helped us to uncover problems that we were unable
to simulate.
These were the main activities performed by us in the course of the project, which lead to its
proper completion.
When computer based systems are built therefore we must develop mechanism for evaluating
controlling and making modifications, maintenance issued to improve the case with which
the changes can be accommodated and reduce the amount of expended on its maintenance
activity occurs because it is unreasonable to assume that software testing will uncover all
latest errors in a large software system. The final event in the post implementation flow is
review that revalidates all elements of the system configuration and ensures correctness, after
the software maintenance, software reviews is being conducted for future maintenance effort
and provides feedback, which is important to effectively management of software
organization.
92
CHAPTER 7
SCOPE & CONCLUSION
93
SCOPE & CONCLUSION
For user desiring on-the-publish his/her news, notification and event experience prior
to publish, but it has required for admin permission for publish on home page.
It requires less man power to keep the record and to update it time to time quickly.
Less skilled labour is needed to maintain the database in comparison to the traditional
office management.
Insertion and deletion of a particular field or any name in the any position except the
last one is very typical in traditional office management but very easy in this case.
Useful for collecting the record worldwide through the net and hence useful for
multinational companies or agencies.
7.2 LIMITATION
94
7.3 CONCLUSION
There was a lot of fun in making this project. This project was very useful to us as it provided
us the inside view of the planning and implementation of the data base. In this project we had
to think about the various options which we can provide to user. The implementation was not
easy as we had to look into the minute details in order to achieve my goals. We have tried to
make this project user friendly and also interactive by providing many features.
We are satisfied by achieving the goals for which we had planned. A lot of experimental
work can be done with this project. Looking forward for any advice which can help us to
improve the project.
95
CHAPTER 8
BIBLIOGRAPHY
96
Various sites referred to during making of the project are as follows:
www.en.wikipedia.org
www.google.com
www.howstuffworks.com
www.roseindia.net
www.w3cschools.com
Various books referred to for Java, HTML, XML & DHTML clarification and documentation
are as follows:
97