Online Directory Management System Project
Online Directory Management System Project
INTERNSHIP REPORT
ON
ONLINE DIRECTORY MANAGEMENT SYSTEM
PROJECT
BY
KAMAL ACHARYA
(Tribhuvan University)
Date: 2025/06/07
1|Page
ABSTRACT
2|Page
Table of Contents
ABSTRACT .............................................................................................................. 2
1. INTRODUCTION ............................................................................................. 5
1.1. PROBLEM DEFINITION ........................................................................... 5
1.2. FEASIBILITY STUDY ............................................................................... 5
2. SYSTEM REQUIREMENTS ............................................................................ 6
2.1. HARDWARE REQUIREMENT ................................................................. 6
2.2. SOFTWARE REQUIREMENT................................................................... 6
3. SYSTEM DESCRIPTION ................................................................................. 7
3.1. PROJECT DESCRIPTION .......................................................................... 7
3.2. MODULES ................................................................................................. 7
3.2.1. Admin Module: .................................................................................... 7
3.2.2. User Module:........................................................................................ 7
4. SOFTWARE DESCRIPTION............................................................................ 8
4.1. HTML ......................................................................................................... 8
4.2. BOOTSTRAP (CSS framework) ................................................................. 9
4.3. PHP ............................................................................................................. 9
4.4. MySQL ..................................................................................................... 10
5. SYSTEM ANALYSIS AND DESIGN ............................................................. 12
5.1. SYSTEM ANALYSIS ............................................................................... 12
5.2. SYSTEM FLOW CHART ......................................................................... 13
5.3. DATA FLOW DIAGRAMS ...................................................................... 14
5.3.1. Admin ................................................................................................ 14
5.3.2. User.................................................................................................... 15
5.4. ER DIAGRAM .......................................................................................... 16
6. SYSTEM DESIGN .......................................................................................... 17
6.1. INPUT DESIGN ....................................................................................... 17
6.1.1. Admin ................................................................................................ 17
6.2. DATABASE DESIGN .............................................................................. 18
6.2.1. New Admin Register .......................................................................... 18
6.2.2. Profile Details .................................................................................... 19
6.3. OUTPUT DESIGN.................................................................................... 20
6.3.1. Objectives of Output Design................................................................... 20
7. SYSTEM CODING AND IMPLEMENTATION ............................................ 21
3|Page
7.1. METHODS OF IMPLEMENTATION ...................................................... 21
7.2. GOALS OF SYSTEM IMPLEMENTATION ............................................ 21
7.3. SYSTEM CODING ................................................................................... 22
8. SYSTEM TESTING ........................................................................................ 23
8.1. UNIT TESTING........................................................................................ 23
8.2. INTEGRATION TESTING ....................................................................... 23
8.3. FUNCTIONAL TESTING ........................................................................ 24
8.4. ACCEPTANCE TESTING ........................................................................ 24
8.5. REGRESSION TESTING ......................................................................... 25
8.6. VALIDATION TESTING ......................................................................... 25
8.7. UI (USER INTERFACE) TESTING ......................................................... 25
8.8. BLACK BOX TESTING ........................................................................... 26
8.9. WHITE BOX TESTING ........................................................................... 26
8.10. SYSTEM TESTING .............................................................................. 26
9. CONCLUSION ............................................................................................... 27
10. FUTURE ENHANCEMENTS ...................................................................... 28
11. APPENDICES .............................................................................................. 29
11.1. SOURCE CODES.................................................................................. 29
11.1.1. DMBS Creation .................................................................................. 29
11.1.2. Database Connection ...................................................................... 32
11.1.2. PHP Sources....................................................................................... 33
11.2. SCREENSHOTS ................................................................................... 78
4|Page
1. INTRODUCTION
1.1.PROBLEM DEFINITION
The conventional system makes use of paperwork and direct human efforts to manage
the profile management and directory organization. This human interacted book
keeping or file keeping system involves lots of energy and job tenure of workers of any
firm. There is also the possibility of missing of records, decaying of the records and
most importantly the privacy of the records and security of the information is challenge.
The automated application overcomes these hazards. The Online Directory
Management System by replacing the conventional practices into the application of
programming tools ensure the systematic and scientific management of directory
profiles of any web-oriented application, promising the fastest and secured solution.
1.2.FEASIBILITY STUDY
The software is developed with modular approach. The system has fulfilled all the
objectives identified and is able to replace the conventional systems. The constraints
are met and overcome successfully. The system is designed as like it was decided in the
design phase. This software has a user-friendly UI that enables the user to use without
any inconvenience. Besides, it provides data on concessions given to various sections.
Another additional feature is that the data in the application can be encrypted and
distributed to any domains and migration between different application is possible.
The benefits of this project are to secure data, faster process, error free, better
management, save a lot of manpower, can easily make the instant reports, elimination
of paperwork, faster and economical, high reliability and security, save a lots of time
for both the administrators and users. The mission is to facilitate easy management and
administration of a theatre with capabilities to do Booking or reservations of the theatre
seat, Cancellation of the movie ticket, Cash billing.
5|Page
2. SYSTEM REQUIREMENTS
2.1.HARDWARE REQUIREMENT
2.2.SOFTWARE REQUIREMENT
6|Page
3. SYSTEM DESCRIPTION
3.1.PROJECT DESCRIPTION
This project consists of two modules namely Admin module and User module.
3.2. MODULES
Admin
User
3.2.1. Admin Module:
The administrator has to login with their account using their username and password in
order to perform his actions. The purpose of admin is to manage the directory profile
details like individual profile data and its status. The admin also views the different
profiles added to the directory and the generated reports and search results. They also
can be able to view the registered profiles and manage the whole process.
The purpose of user is to create new profile. User can perform this task in the dashboard
provision of the DMS and the admin has the full control over the individual user profile
in operations expect the personal data. The user can view the details of the profile and
added fields, user can update or delete it’s in profile from the directory.
7|Page
4. SOFTWARE DESCRIPTION
This whole project is created by the main two backend languages namely PHP and
MySQL. The frontend used are HTML and CSS. The back end language provides the
database facilities for the front end. The back end stores the whole project data to the
database.
4.1.HTML
Hypertext Markup Language (HTML) is the standard markup language for documents
designed to be displayed in a web browser. The HTML tags are used to make this
project work.
The web has gone through many changes over the past few decades, but HTML has
always been the fundamental language used to develop web pages. Interestingly, while
websites have become more advanced and interactive, HTML has actually gotten
simpler. If you compare the source of an HTML5 page with a similar page written in
HTML 4.01 or XHTML 1.0, the HTML5 page would probably contain less code. This
is because modern HTML relies on cascading style sheets or JavaScript to format nearly
all the elements within a page. Many dynamic websites generate web pages on-the-fly,
using a server-side scripting language like PHP or ASP. However, even dynamic pages
must be formatted using HTML. Therefore, scripting languages often generate the
HTML that is sent to your web browser.
The <html> tag tells the browser that this is an HTML document. The <html> tag
represents the root of an HTML document. The <body> tag defines the document's
body. The <body> element contains all the contents of an HTML document, such as
text, hyperlinks, images, tables, lists, etc.
This project uses HTML as frond end. In each html header file contains the bootstrap
link file. The <a> tag defines the hyperlink, which is used to link from one page to
another. The most important attribute of the <a> is the href attribute, which indicates
the links destination.
<a href=”home.php”>
In this project contains several HTML tags such as <a> tag, <div> tag, <p> tag,
<tr> tag, <th> tag, <td> tag etc. The <td> tag defines a standard cell in an HTML table.
The <div> tag defines a division or a section in an HTML document. The <p> tag
defines the paragraph. The <tr> defines a row in a html table. The <th> tag is a header
cell that can appear in the first row of an HTML table.
8|Page
4.2.BOOTSTRAP (CSS framework)
CSS Stands for "Cascading Style Sheet." Cascading style sheets are used to format the
layout of Web pages. They can be used to define text styles, table sizes, and other
aspects of Web pages that previously could only be defined in a page's HTML.
The Cascading Style Sheet are most important for the design purpose in this project.
This project consists of a framework called bootstrap. The bootstrap is a CSS
framework that consists of already created style properties and attributes. The bootstrap
makes the webpage much more pretty in a single step. The bootstrap consists of
readymade styles that we can use in our project by specifying the class name attribute.
The styles in the bootstrap files can be used in the HTML files by linking that file to
the HTML by
<link rel=”stylesheet” href=”bootstrap.min.css”/)
The styles are accessed by the name and importing it in the html tags with class
attributes.
4.3.PHP
9|Page
The mysqli_fetch_rows functions fetch one row from a result set and returns it as an
enumerated array.
If (mysqli_num_rows($result))
The header () functions send a raw HTTP to a client.
Header (“Location: home.php”)
The session_destroy() function destroys the whole session rather destroying the
variable. When session_start() is called PHP set the session cookie in browser. We need
to delete the cookies also to completely destroy the session.
The mysqli_fetch_array() function fetches a result row as an associative array, a
numeric array or both.
While ($row=mysqli_fetch_array($result))
The mysqli_fetch_all() function all result rows and returns the result set as an
associative a numeric array or both.
$username=mysqli_fect_all($username)
4.4.MySQL
10 | P a g e
where phpmyadmin is the database name of this project.
11 | P a g e
5. SYSTEM ANALYSIS AND DESIGN
12 | P a g e
5.2.SYSTEM FLOW CHART
A system flow chart is a physical design tool that shows in general terms the operations
that will be performed on information in an information system. The arrows on a system
flowchart show the direction that data will flow in around the system rather than the
order in which the operations will be carried out.
13 | P a g e
5.3.DATA FLOW DIAGRAMS
5.3.1. Admin
14 | P a g e
5.3.2. User
15 | P a g e
5.4.ER DIAGRAM
16 | P a g e
6. SYSTEM DESIGN
Systems design is the process of defining the architecture, modules, interfaces, and data
for a system to satisfy specified requirements. Systems design could be seen as the
application of systems theory to product development. The purpose of the System
Design process is to provide sufficient detailed data and information about the system
and its system elements to enable the implementation consistent with architectural
entities as defined in models and views of the system architecture.
We need to clarify the goal of the system. System design is such a vast topic; if we
don’t narrow it down to a specific goal, it will become complicated to design the system,
especially for newbies. Sometimes constraints are good for the system. It helps to focus
on the main feature you are trying to design. It clarifies ambiguities about the features
of the system.
6.1.INPUT DESIGN
The input design is the link between the information system and the user. It comprises
the developing specification and procedures for data preparation and those steps are
necessary to put transaction data in to a usable form for processing can be achieved by
inspecting the computer to read data from a written or printed document or it can occur
by having people keying the data directly into the system. The design of input focuses
on controlling the amount of input required, controlling the errors, avoiding delay,
avoiding extra steps and keeping the process simple. The input is designed in such a
way so that it provides security and ease of use with retaining the privacy.
In this project all the input data are validated and if any data violates any conditions,
the user is warmed by a message. If the data satisfied all the conditions, it is transferred
to the appropriate tables in the database. The user details are to be entered at the time
of registration. A page is designed for this purpose which is user friendly and easy to
use. The design is done such that user get appropriate messages when exceptions occur.
6.1.1. Admin
Login
Enter the email and password and click the login button. The email and password
we provide will check whether it is right or wrong. If correct, go to the home
page. If your email and password is incorrect, check your email and password as
a text display. There is also the provision for reset password. The password can
be reset using the user name and email id.
17 | P a g e
6.2.DATABASE DESIGN
Admin Table
18 | P a g e
The new admin registration details will be stored on the user table in the database. In
the user table contains six fields. They are ID, username, email, password, address, and
phone number. Each fields we give the data type. VARCHAR is a variable length string
data type, so it holds only the characters you assign to it. VARCHAR takes up 1 byte
per character, + 2 bytes to hold length information. INT stands for the integer that is a
whole number. An integer can be written without a fractional component.
19 | P a g e
6.3.OUTPUT DESIGN
Designing computer output should proceed in an organized, well thought our manner,
the right output must be developed while ensuring that each output element is designed
so that people will find the system can use easily and effectively.
20 | P a g e
7. SYSTEM CODING AND IMPLEMENTATION
Systems implementation is the process of: defining how the information system
should be built, ensuring that the information system is operational and used,
ensuring that the information system meets quality standard.
7.1.METHODS OF IMPLEMENTATION
Complete as necessary the design contained in the approved systems design
document. For example, the detailed contents of new or revised documents, computer
screens, and database must be laid out and created.
Write, test, and document the programs and procedures required by the approved
systems design document.
Ensure, by completing the preparation of user manuals and other documentation
and by training personnel, that the organization’s personnel can operate the new system.
Determine, by thoroughly testing the system with users, that the system satisfies
the users requirement.
21 | P a g e
7.3.SYSTEM CODING
Coding is a list of step-by-step instructions that get computers to do what you want
them to do. Coding makes it possible for us to create computer software, games, apps
and websites. Coders, or programmers, are people who write the program behind
everything we see and do on a computer. Code, in a general sense, is the language
understood by the computer. Computers don't understand natural language. As such the
human language has to be converted into a set of "words" that are understood by the
computer. The words that initiate a standard action when used in a program are called
keywords. The arrangement of keywords for successful execution of a desired
computation is called syntax. The set of keywords and syntax form a programming
language.
The term code by itself is so general that it doesn't convey much information. It can be
useful to think of code in terms of instructions versus data. That is, computer code uses
data as an input, does some processing, then spits out the output. In addition to referring
to the code itself, you can use the term as a verb – to code is synonymous with coding
or programming.
In this project consists of two main modules for customer and admin. Among them the
customer has the login file named index.html. That index.html file handles the customer
login system. The home.php lets the customer to create an account for booking the
movie ticket. 21
The customer module has index.php, home.php, movie.php, pay.php files. The each file
has the specific work for the module.
22 | P a g e
8. SYSTEM TESTING
System testing is a level of software testing where a complete and integrated software
is tested. The purpose of this test is to evaluate the system's compliance with the
specified requirements. System testing is defined as testing of a complete and fully
integrated software product. This testing falls in black-box testing wherein knowledge
of the inner design of the code is not a pre-requisite and is done by the testing team.
System testing is performed on the entire system in the context of either functional
requirement specifications (FRS) or system requirement specification (SRS), or both.
System testing tests not only the design, but also the behavior and even the believed
expectations of the customer. It is also intended to test up to and beyond the bounds
defined in the software or hardware requirements specification.
There are three ways to test a program.
For correctness
For implementation efficiency
For computational complexity
8.1.UNIT TESTING
8.2.INTEGRATION TESTING
Integration testing is systematic technique for constructing the program structure while
at the same time conducting tests to uncover errors associated with interfacing. The
objective is to take unit tested components and build a program structure that has been
dictated by design. The entire program is tested as whole. Correction is difficult because
isolation of causes is complicated by vast expense of entire program. Once these errors
are corrected, new ones appear and the process continues in a seemingly endless loop.
Moreover differences in program structures were removed and a unique program
structure was evolved.
23 | P a g e
In this project all the individual modules are combined and tested as group. The admin
module contains number of movies and the customer module should be able to view
the movies list and show time, location details. The customer module should be able to
book the movie ticket, which is placed on the admin module.
8.3.FUNCTIONAL TESTING
Functional testing is a type of software testing whereby the system is tested against the
functional requirements/specifications. Functions are tested by feeding them input and
examining the output. Functional testing ensures that the requirements are properly
satisfied by the application. During functional testing, Black Box Testing technique
is used in which the internal logic of the system being tested is not known to the
tester. Functional testing is normally performed during the levels of System
Testing and Acceptance Testing.
Typically, functional testing involves the following steps:
Identify functions that the software is expected to perform.
Create input data based on the function’s specifications.
Determine the output based on the function’s specifications.
Execute the test case.
Compare the actual and expected outputs.
In this project all the functionalities of the modules are working properly
according to their requirement specification. It also verifies that the actual output
is matching the expected value.
8.4.ACCEPTANCE TESTING
Internal Acceptance Testing (Also known as Alpha Testing) is performed by
members of the organization that developed the software but who are not
directly involved in the project (Development or Testing). Usually, it is the
members of Product Management, Sales and/or Customer Support.
External Acceptance Testing is performed by people who are not employees of
the organization that developed the software.
24 | P a g e
o Customer Acceptance Testing is performed by the customers of the
organization that developed the software. They are the ones who asked the
organization to develop the software.
o User Acceptance Testing (Also known as Beta Testing) is performed by the
end users of the software. They can be the customers themselves or the
customers’ customers.
8.5.REGRESSION TESTING
It is used to authenticate a code change in the software does not impact the existing
functionality of the product. It is making sure that the software works fine with new
functionality, bug fixes, or any change in the existing feature. To ensure new changes
have not produced any bugs.
In this project, all the functionalities have been working properly and fixes all possible
bugs. The new changes in this project have not produced any bugs on the existing
features.
8.6.VALIDATION TESTING
This is a final step in testing. Validation testing is the process of ensuring if the tested
and developed software satisfies the client /user needs. The business requirement logic
or scenarios have to be tested in detail. All the critical functionalities of an application
must be tested here.
This project satisfies the customer needs and all the critical functionalities are working
properly without any bugs. All the input forms are properly validated. The new
customer registration and login page has the proper validation. The email should be in
the email format and all the fields should not be empty. All the fields should have a
value in it. Otherwise it is not allowed to go through.
The user interface testing is also known as GUI (Graphical User Interface) Testing.
It refers to testing the functions of an application that are visible to a user. GUI testing
is testing the systems graphical user interface of the application under controls like
menus, buttons, icons, toolbar, menu bar, dialog boxes and windows. The first
interaction between a user and software takes place to a GUI.
In this project all the user interfaces like text boxes, buttons, icons, menu bar, dialog
boxes are working properly. The text box will be able to allow the customer to enter
the text.
25 | P a g e
8.8.BLACK BOX TESTING
“White box testing” (also known as clear, glass box or structural testing) is a testing
technique which evaluates the code and the internal structure of a program.
White box testing involves looking at the structure of the code. When you know the
internal structure of a product, tests can be conducted to ensure that the internal
operations performed according to the specification. And all internal components have
been adequately exercised.
With system testing, QA professionals test the software in its entirety, as a complete
product. With this type of functional testing, testers validate the complete and integrated
software package to make sure it meets requirements. Where necessary, testers can
provide feedback on the functionality and performance of the app or website without
prior knowledge of how it was programmed. This helps teams develop test cases to be
used moving forward.
26 | P a g e
9. CONCLUSION
This project is only a humble venture to satisfy the needs to manage the required project
work. Several user-friendly coding have also adopted. This package shall prove to be a
powerful package in satisfying all the requirements of the curriculum . The objective of
software planning is to provide a framework that enables the manager to make
reasonable estimates made within a limited time frame at the beginning of the software
project and should be updated regularly as the project progresses.
The purpose of directory management system is to automate the existing manual system
by the help of computerized and full-fledged computer software, fulfilling their
requirements, so that their valuable data/information can be stored for a longer period
with easy accessing and manipulation of the same. The required software and hardware
are easily available and easy to work with. The beneficiaries can maintain computerized
records without redundant entries. That means that one need not be distracted by
information that is not relevant, while being able to reach the information.
27 | P a g e
10. FUTURE ENHANCEMENTS
The project has a very vast scope in future. The project can be implemented on intranet
in future. Project can be updated in near future as and when requirement for the same
arises, as it is very flexible in terms of expansion. With the proposed software of
database Space Manager ready and fully functional the client is now able to manage
and hence run the entire work in a much better, accurate and error free manner.
The following are the future scope for the project.
Can be added multilingual to this site.
The admin can add more details about the movies.
And many features can be added this project to make it more robust.
his whole project can be developed to all theatres.
The alert system can be included.
We can add printer in future.
28 | P a g e
11. APPENDICES
/*!40101 SET
@OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET
@OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET
@OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `pdmsdb`
--
-- --------------------------------------------------------
--
-- Table structure for table `tbladmin`
--
--
-- Dumping data for table `tbladmin`
--
-- --------------------------------------------------------
--
-- Table structure for table `tbldirectory`
--
--
-- Dumping data for table `tbldirectory`
--
30 | P a g e
(7, 'Caesar Vancy', 'Pre-Sales Support', '[email protected]', 9063735686, 'Flat-34/45,
Mayur Vihar 1, Delhi', 'New Delhi', '0'),
(8, 'Gunjan Misra', 'Senior Javascript Developer', '[email protected]', 5764324679,
'Gaur Apartment flat No 340, first floor Noida(NCR)', 'Noida', '0'),
(9, 'Khuhi Sinha', 'Team Leader', '[email protected]', 9807531479, 'H.No 340/45,
Sharan Niwas Gurgaon(NCR)', 'gurgaon', '1'),
(10, 'Shanu Misra', 'Support Engineer', '[email protected]', 9876578965, '56/740
Mohan Niwas Aurangabad(Bihar)', 'Auragabad', '0'),
(11, 'Mohan Tiwari', ' Office Manager', '[email protected]', 8098765654, 'Mohan
Niwas, Cantt road', 'Kanpur', '1'),
(12, 'Sarita', 'HR Executive', '[email protected]', 7867564645, 'gjhgjkjhuyhkjuj', 'New
Delhi', '0'),
(13, 'Sarita', 'HR Executive', '[email protected]', 7867564645, 'gjhgjkjhuyhkjuj', 'New
Delhi', '1'),
(14, 'Fuji', 'CEO', '[email protected]', 7865564534, 'hjyukliuop', 'Kannuaj', '1');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `tbladmin`
--
ALTER TABLE `tbladmin`
ADD PRIMARY KEY (`ID`);
--
-- Indexes for table `tbldirectory`
--
ALTER TABLE `tbldirectory`
ADD PRIMARY KEY (`ID`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `tbladmin`
--
ALTER TABLE `tbladmin`
MODIFY `ID` int(10) NOT NULL AUTO_INCREMENT,
AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `tbldirectory`
--
ALTER TABLE `tbldirectory`
31 | P a g e
MODIFY `ID` int(10) NOT NULL AUTO_INCREMENT,
AUTO_INCREMENT=15;
COMMIT;
/*!40101 SET
CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET
CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET
COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
<?php
$con=mysqli_connect("localhost", "root", "", "dmsdb");
if(mysqli_connect_errno()){
echo "Connection Fail".mysqli_connect_error();
}
?>
32 | P a g e
11.1.2. PHP Sources
Index
<?php
session_start();
error_reporting(0);
include('include/dbconnection.php');
if(isset($_POST['login']))
{
$adminuser=$_POST['username'];
$password=md5($_POST['password']);
$query=mysqli_query($con,"select ID from tbladmin where
UserName='$adminuser' && Password='$password' ");
$ret=mysqli_fetch_array($query);
if($ret>0){
$_SESSION['pdaid']=$ret['ID'];
header('location:dashboard.php');
}
else{
$msg="Invalid Details.";
}
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-
fit=no">
<meta name="description" content="">
<meta name="author" content="">
33 | P a g e
</head>
<body class="bg-dark">
<div class="container">
<div class="card card-login mx-auto mt-5">
<div class="card-header">Directory Management System || Admin Login</div>
<div class="card-body">
<p style="font-size:16px; color:red" align="center"> <?php if($msg){
echo $msg;
} ?> </p>
<form class="form-horizontal" action="" name="login" method="post">
<div class="form-group">
<div class="form-label-group">
<input type="text" id="username" name="username" class="form-control"
required="required" >
<label for="inputEmail">User Name</label>
</div>
</div>
<div class="form-group">
<div class="form-label-group">
<input type="password" id="password" name="password" class="form-
control" required="required">
<label for="inputPassword">Password</label>
</div>
</div>
</body>
</html>
34 | P a g e
Footer
<footer class="sticky-footer">
<div class="container my-auto">
<div class="copyright text-center my-auto">
<span>Copyright © <a href="https://www.instagram.com"
target="_blank">Akhilcmi</a></span>
</div>
</div>
</footer>
Header
<div class="input-group">
</div>
35 | P a g e
$name=$row['AdminName'];
?>
<a class="dropdown-item" href="admin-profile.php"><b>Welcome:
</b><?php echo $name; ?></a>
<a class="dropdown-item" href="admin-profile.php">Admin Profile</a>
<a class="dropdown-item" href="changepassword.php">Change Password</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="logout.php" data-toggle="modal" data-
target="#logoutModal">Logout</a>
</div>
</li>
</ul>
</nav>
Sidebar
</div>
</li>
<li class="nav-item dropdown">
<a class="nav-link" href="search-directory.php" >
<i class="fas fa-fw fa-search"></i>
<span>Search Directory</span>
</a>
</li>
36 | P a g e
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="pagesDropdown"
role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fas fa-fw fa-folder"></i>
<span>Directory by Status</span>
</a>
<div class="dropdown-menu" aria-labelledby="pagesDropdown">
<a class="dropdown-item" href="allrecords.php">All Records</a>
<a class="dropdown-item" href="private.php">Private</a>
<a class="dropdown-item" href="public.php">Public</a>
</div>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="pagesDropdown"
role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fas fa-fw fa-folder"></i>
<span>Contact Us</span>
</a>
<div class="dropdown-menu" aria-labelledby="pagesDropdown">
<a class="dropdown-item" href="https://www.facebook.com">FaceBook</a>
<a class="dropdown-item" href="https://www.instagram.com">Instagram</a>
<a class="dropdown-item" href="https://www.gmail.com">EMail</a>
<a class="dropdown-item"
href="https://cmitvm.info/bio_data_list.php?action=search&sel=priest">Plug-in</a>
</div>
</li>
</ul>
37 | P a g e
Home
<?php
error_reporting(0);
include('admin/include/dbconnection.php');
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-
fit=no">
<meta name="description" content="">
<meta name="author" content="">
</head>
<body>
38 | P a g e
</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="admin/">Admin Login
<span class="sr-only">(current)</span>
</a>
</li>
</ul>
</div>
</div>
</nav>
<?php
$sdata=$_POST['searchdata'];
?>
<h4 align="center" style="color:red">Result against "<?php echo $sdata;?>"
keyword </h4>
<?php
$ret=mysqli_query($con,"select * from tbldirectory where (FullName like '$sdata%'||
MobileNumber like '$sdata%') and (Status=1)");
$num=mysqli_num_rows($ret);
if($num>0){
$cnt=1;
while ($row=mysqli_fetch_array($ret)) {
?>
<div class="col-lg-12 col-md-6 mb-4" style="padding-top:2%">
<div class="card h-100">
<div class="card-body">
<h4 class="card-title" align="center"><?php echo $row['FullName'];?></h4>
<p ><b>Mobile Number:</b> <?php echo $row['MobileNumber'];?></p>
<p class="card-text"><b>Email:</b> <?php echo $row['Email'];?></p>
<p class="card-text"><b>Profession:</b> <?php echo
$row['Profession'];?></p>
<p class="card-text"><b>Address:</b> <?php echo $row['Address'];?></p>
39 | P a g e
<p class="card-text"><b>City:</b> <?php echo $row['City'];?></p>
</div>
</div>
</div>
<?php } } else { ?>
<div class="col-lg-12 col-md-6 mb-4" style="padding-top:2%">
<div class="card h-100">
<div class="card-body">
<h4 class="card-title" align="center">No Result found against this
search</h4>
</div>
</div>
</div>
<?php } ?>
</div></div>
40 | P a g e
Dashboard
<?php
session_start();
error_reporting(0);
include('include/dbconnection.php');
if (strlen($_SESSION['pdaid']==0)) {
header('location:logout.php');
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-
fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>DMS || Dashboard</title>
</head>
<body id="page-top">
<background-image: url("paper.gif");?>
<?php include('include/header.php');?>
<div id="wrapper">
<?php include('include/sidebar.php');?>
41 | P a g e
<div id="content-wrapper">
<div class="container-fluid">
<!-- Breadcrumbs-->
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="#">Dashboard</a>
</li>
<li class="breadcrumb-item active">Admin Dashboard</li>
</ol>
42 | P a g e
<a class="card-footer text-white clearfix small z-1" href="public.php">
<span class="float-left">View Details</span>
<span class="float-right">
<i class="fas fa-angle-right"></i>
</span>
</a>
</div>
</div>
<div class="col-xl-4 col-sm-6 mb-3">
<div class="card text-white bg-success o-hidden h-100">
<div class="card-body">
<div class="card-body-icon">
<i class="fas fa-fw fa-shopping-cart"></i>
</div>
<?php $query2=mysqli_query($con,"Select * from tbldirectory where
Status ='0'");
$pricount=mysqli_num_rows($query2);
?>
<div class="mr-5"><?php echo $pricount;?> Total Private Records!</div>
</div>
<a class="card-footer text-white clearfix small z-1" href="private.php">
<span class="float-left">View Details</span>
<span class="float-right">
<i class="fas fa-angle-right"></i>
</span>
</a>
</div>
</div>
</div>
</div>
<!-- /.container-fluid -->
</div>
<!-- /.content-wrapper -->
</div>
<!-- /#wrapper -->
43 | P a g e
<!-- Scroll to Top Button-->
<a class="scroll-to-top rounded" href="#page-top">
<i class="fas fa-angle-up"></i>
</a>
</body>
</html>
44 | P a g e
Admin-Profile
<?php
session_start();
error_reporting(0);
include('include/dbconnection.php');
if (strlen($_SESSION['pdaid']==0)) {
header('location:logout.php');
} else{
if(isset($_POST['submit']))
{
$adminid=$_SESSION['pdaid'];
$adname=$_POST['adminname'];
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-
fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>DMS</title>
45 | P a g e
<link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet"
type="text/css">
</head>
<body id="page-top">
<?php include('include/header.php');?>
<div id="wrapper">
<div id="content-wrapper">
<div class="container-fluid">
<!-- Breadcrumbs-->
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="#">Dashboard</a>
</li>
<li class="breadcrumb-item active">Admin Profile</li>
</ol>
<p style="font-size:16px; color:red" align="center"> <?php if($msg){
echo $msg;
} ?> </p>
<!-- Icon Cards-->
$adminid=$_SESSION['pdaid'];
$ret=mysqli_query($con,"select * from tbladmin where ID='$adminid'");
$cnt=1;
while ($row=mysqli_fetch_array($ret)) {
46 | P a g e
?>
<div class="form-group">
<div class="form-row">
<div class="col-md-6">
<div class="form-label-group">
<input type="text" id="adminname" name="adminname" class="form-
control" required="required" autofocus="autofocus" value="<?php echo
$row['AdminName'];?>">
<label for="firstName">Admin Name</label>
</div>
</div>
<div class="col-md-6">
<div class="form-label-group">
<input type="text" id="mobilenumber" name="mobilenumber"
class="form-control" required="required" maxlength="10" readonly="true"
value="<?php echo $row['MobileNumber'];?>">
<label for="lastName">Mobile Number</label>
</div>
</div>
</div>
</div>
<div class="form-group">
<div class="form-label-group">
<input type="email" id="email" name="email" class="form-control"
readonly="true" required="required" value="<?php echo $row['Email'];?>">
<label for="inputEmail">Email address</label>
</div>
</div>
<div class="form-group">
<div class="form-row">
<div class="col-md-12">
<div class="form-label-group">
<input type="text" id="adminregdate" name="adminregdate"
class="form-control" readonly="true" required="required" value="<?php echo
$row['AdminRegdate'];?>">
<label for="inputPassword">Admin Registration Date</label>
</div>
</div>
</div>
</div>
47 | P a g e
<?php } ?>
<p style="text-align: center; "><button type="submit" name="submit"
class="btn btn-info btn-min-width mr-1 mb-1">Update</button></p>
</form>
</div>
<!-- /.container-fluid -->
</div>
<!-- /.content-wrapper -->
</div>
<!-- /#wrapper -->
48 | P a g e
Directory View
<?php
session_start();
error_reporting(0);
include('include/dbconnection.php');
if (strlen($_SESSION['pdaid']==0)) {
header('location:logout.php');
} else{
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-
fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>DMS</title>
</head>
<body id="page-top">
<?php include('include/header.php');?>
<div id="wrapper">
49 | P a g e
<div id="content-wrapper">
<div class="container-fluid">
<!-- Breadcrumbs-->
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="#">Dashboard</a>
</li>
<li class="breadcrumb-item active">View Directory</li>
</ol>
<?php
$cid=$_GET['editid'];
$ret=mysqli_query($con,"select * from tbldirectory where ID='$cid'");
$cnt=1;
while ($row=mysqli_fetch_array($ret)) {
?>
<tr>
<th>Profession</th>
<td><?php echo $row['Profession'];?></td>
</tr>
<tr>
<th>Email</th>
<td><?php echo $row['Email'];?></td>
</tr>
<tr>
<th>Mobile Number</th>
<td><?php echo $row['MobileNumber'];?></td>
</tr>
<tr>
50 | P a g e
<th>Address</th>
<td><?php echo $row['Address'];?></td>
</tr>
<tr>
<th>City</th>
<td><?php echo $row['City'];?></td>
</tr>
<tr>
<th>Record Status</th>
<td> <?php
if($row['Status']=="0")
{
echo "Private";
}
if($row['Status']=="1")
{
echo "Public";
}
;?></td>
</tr>
</table>
<?php } ?>
</div>
<!-- /.container-fluid -->
</div>
<!-- /.content-wrapper -->
</div>
<!-- /#wrapper -->
51 | P a g e
</a>
</body>
</html>
<?php } ?>
52 | P a g e
Updating Directory
<?php
session_start();
error_reporting(0);
include('include/dbconnection.php');
if (strlen($_SESSION['pdaid']==0)) {
header('location:logout.php');
} else{
if(isset($_POST['submit']))
{
$fullname=$_POST['fullname'];
$profession=$_POST['profession'];
$email=$_POST['email'];
$mobilenumber=$_POST['mobilenumber'];
$address=$_POST['address'];
$city=$_POST['city'];
$admsta=1;
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-
fit=no">
<meta name="description" content="">
53 | P a g e
<meta name="author" content="">
<title>DMS</title>
</head>
<body id="page-top">
<?php include('include/header.php');?>
<div id="wrapper">
<div id="content-wrapper">
<div class="container-fluid">
<!-- Breadcrumbs-->
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="#">Dashboard</a>
</li>
<li class="breadcrumb-item active">Add Directory</li>
</ol>
<p style="font-size:16px; color:red" align="center"> <?php if($msg){
echo $msg;
} ?> </p>
<!-- Icon Cards-->
54 | P a g e
<!-- DataTables Example -->
<form name="directory" method="post">
<div class="form-group">
<div class="form-row">
<div class="col-md-6">
<div class="form-label-group">
<input type="text" id="fullname" name="fullname" class="form-control"
required="required" autofocus="autofocus">
<label for="firstName">Full Name</label>
</div>
</div>
<div class="col-md-6">
<div class="form-label-group">
<input type="text" id="profession" name="profession" class="form-
control" required="required">
<label for="lastName">Profession</label>
</div>
</div>
</div>
</div>
<div class="form-group">
<div class="form-label-group">
<input type="email" id="email" name="email" class="form-control"
required="required">
<label for="inputEmail">Email address</label>
</div>
</div>
<div class="form-group">
<div class="form-row">
<div class="col-md-6">
<div class="form-label-group">
<input type="text" id="mobilenumber" name="mobilenumber"
maxlength="10" class="form-control" required="required">
<label for="inputPassword">Mobile Number</label>
</div>
</div>
<div class="col-md-6">
<div class="form-label-group">
<input type="text" id="city" name="city" class="form-control"
required="required" autofocus="autofocus">
<label for="firstName">City</label>
</div>
</div>
</div>
</div>
<div class="form-group">
55 | P a g e
<div class="form-label-group">
<input type="text" id="address" name="address" class="form-control"
required="required">
<label for="inputEmail">Address</label>
</div>
</div>
<div class="modal-footer">
<button class="btn btn-secondary" type="button" data-
dismiss="modal">Cancel</button>
<a class="btn btn-primary" href="logout.php">Logout</a>
</div>
</div>
</div>
</div>
</body>
</html>
<?php } ?>
56 | P a g e
Address
<?php
session_start();
error_reporting(0);
include('include/dbconnection.php');
if (strlen($_SESSION['pdaid']==0)) {
header('location:logout.php');
} else{
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="Address" content="width=device-width, initial-scale=1, shrink-to-
fit=no">
<title>DMS</title>
<?php include('include/sidebar.php');?>
<div id="content-wrapper">
<div class="container-fluid">
<!-- Breadcrumbs-->
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="#">Dashboard</a>
</li>
<li class="breadcrumb-item active">Akhil Thomas NMCC Marthandam</li>
</ol>
</body>
</html>
<?php } ?>
57 | P a g e
All Records
<?php
session_start();
error_reporting(0);
include('include/dbconnection.php');
if (strlen($_SESSION['pdaid']==0)) {
header('location:logout.php');
} else{
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-
fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>DMS</title>
</head>
<body id="page-top">
<?php include('include/header.php');?>
<div id="wrapper">
58 | P a g e
<div id="content-wrapper">
<div class="container-fluid">
<!-- Breadcrumbs-->
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="#">Dashboard</a>
</li>
<li class="breadcrumb-item active">All Records</li>
</ol>
<table class="table table-bordered" id="dataTable" width="100%" cellspacing="0">
<thead>
<tr>
<th>S.NO</th>
<th>Full Name</th>
<th>Mobile Number</th>
<th>Action</th>
</tr>
</thead>
<?php
$ret=mysqli_query($con,"select * from tbldirectory");
$cnt=1;
while ($row=mysqli_fetch_array($ret)) {
?>
<tr>
<td><?php echo $cnt;?></td>
</table>
</div>
<!-- /.container-fluid -->
59 | P a g e
<!-- Sticky Footer -->
<?php include('include/footer.php');?>
</div>
<!-- /.content-wrapper -->
</div>
<!-- /#wrapper -->
</body>
</html>
<?php } ?>
60 | P a g e
Changing Password
<?php
session_start();
error_reporting(0);
include('include/dbconnection.php');
error_reporting(0);
if (strlen($_SESSION['pdaid']==0)) {
header('location:logout.php');
} else{
if(isset($_POST['submit']))
{
$adminid=$_SESSION['pdaid'];
$cpassword=md5($_POST['currentpassword']);
$newpassword=md5($_POST['newpassword']);
$query=mysqli_query($con,"select ID from tbladmin where ID='$adminid' and
Password='$cpassword'");
$row=mysqli_fetch_array($query);
if($row>0){
$ret=mysqli_query($con,"update tbladmin set Password='$newpassword' where
ID='$adminid'");
$msg= "Your password successully changed";
} else {
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-
fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>DMS</title>
61 | P a g e
<!-- Page level plugin CSS-->
<link href="vendor/datatables/dataTables.bootstrap4.css" rel="stylesheet">
</script>
</head>
<body id="page-top">
<?php include('include/header.php');?>
<div id="wrapper">
<div id="content-wrapper">
<div class="container-fluid">
<!-- Breadcrumbs-->
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="#">Dashboard</a>
</li>
<li class="breadcrumb-item active">Admin Change Password</li>
</ol>
<p style="font-size:16px; color:red" align="center"> <?php if($msg){
echo $msg;
} ?> </p>
62 | P a g e
<!-- Icon Cards-->
<?php
$adminid=$_SESSION['pdaid'];
$ret=mysqli_query($con,"select * from tbladmin where ID='$adminid'");
$cnt=1;
while ($row=mysqli_fetch_array($ret)) {
?>
<div class="form-group">
<div class="form-row">
<div class="col-md-12">
<div class="form-label-group">
<input type="password" id="confirmpassword" name="confirmpassword"
class="form-control" required="required" autofocus="autofocus" >
<label for="firstName">Confirm Password</label>
</div>
63 | P a g e
</button>
</div>
<div class="modal-body">Select "Logout" below if you are ready to end your
current session.</div>
<div class="modal-footer">
<button class="btn btn-secondary" type="button" data-
dismiss="modal">Cancel</button>
<a class="btn btn-primary" href="logout.php">Logout</a>
</div>
</div>
</div>
</div>
</body>
</html>
<?php } ?>
64 | P a g e
Reset Password
<?php
session_start();
error_reporting(0);
include('include/dbconnection.php');
error_reporting(0);
if(isset($_POST['submit']))
{
$mobno=$_SESSION['mobilenumber'];
$email=$_SESSION['email'];
$newpassword=md5($_POST['newpassword']);
$query=mysqli_query($con,"update tbladmin set Password ='$newpassword' where
Email='$email' && MobileNumber = $mobno ");
$row=mysqli_fetch_array($query);
if($query)
{
echo "<script>alert('Password successfully changed');</script>";
session_destroy();
}
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-
fit=no">
<meta name="description" content="">
<meta name="author" content="">
65 | P a g e
</head>
<script type="text/javascript">
function checkpass()
{
if(document.resetpassword.newpassword.value!=document.resetpassword.confirmpas
sword.value)
{
alert('New Password and Confirm Password field does not match');
document.resetpassword.confirmpassword.focus();
return false;
}
return true;
}
</script>
<body class="bg-dark">
<div class="container">
<div class="card card-login mx-auto mt-5">
<div class="card-header">Directory Management System || Reset Password</div>
<div class="card-body">
} ?> </p>
</body>
</html>
66 | P a g e
Forget Password
<?php
session_start();
error_reporting(0);
include('include/dbconnection.php');
if(isset($_POST['submit']))
{
$mobno=$_POST['mobilenumber'];
$email=$_POST['email'];
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-
fit=no">
<meta name="description" content="">
<meta name="author" content="">
67 | P a g e
<!-- Custom styles for this template-->
<link href="css/sb-admin.css" rel="stylesheet">
</head>
<body class="bg-dark">
<div class="container">
<div class="card card-login mx-auto mt-5">
<div class="card-header">Directory Management System || Recover
Password</div>
<div class="card-body">
<p style="font-size:16px; color:red" align="center"> <?php if($msg){
echo $msg;
} ?> </p>
<form class="form-horizontal" action="" name="login" method="post">
<div class="form-group">
<div class="form-label-group">
<input type="email" id="email" name="email" class="form-control"
required="required" >
</div>
</div>
</div>
</div>
</body>
</html>
68 | P a g e
Manage Directory
<?php
session_start();
error_reporting(0);
include('include/dbconnection.php');
if (strlen($_SESSION['pdaid']==0)) {
header('location:logout.php');
} else{
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-
fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>DMS</title>
</head>
<body id="page-top">
<?php include('include/header.php');?>
<div id="wrapper">
69 | P a g e
<?php include('include/sidebar.php');?>
<div id="content-wrapper">
<div class="container-fluid">
<!-- Breadcrumbs-->
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="#">Dashboard</a>
</li>
<li class="breadcrumb-item active">Manage Directories</li>
</ol>
<table class="table table-bordered" id="dataTable" width="100%" cellspacing="0">
<thead>
<tr>
<th>S.NO</th>
<th>Full Name</th>
<th>Mobile Number</th>
<th>Action</th>
</tr>
</thead>
<?php
$ret=mysqli_query($con,"select * from tbldirectory");
$cnt=1;
while ($row=mysqli_fetch_array($ret)) {
?>
<tr>
<td><?php echo $cnt;?></td>
</table>
</div>
<!-- /.container-fluid -->
70 | P a g e
<!-- Sticky Footer -->
<?php include('include/footer.php');?>
</div>
<!-- /.content-wrapper -->
</div>
<!-- /#wrapper -->
</body>
</html>
<?php } ?>
71 | P a g e
Alter Directory
<?php
session_start();
error_reporting(0);
include('include/dbconnection.php');
if (strlen($_SESSION['pdaid']==0)) {
header('location:logout.php');
} else{
if(isset($_POST['submit']))
{
$fullname=$_POST['fullname'];
$profession=$_POST['profession'];
$email=$_POST['email'];
$mobilenumber=$_POST['mobilenumber'];
$address=$_POST['address'];
$city=$_POST['city'];
$pdid=$_GET['editid'];
$stats=$_POST['status'];
$query=mysqli_query($con, "update tbldirectory set
FullName='$fullname',Profession='$profession',Email='$email',MobileNumber='$mo
bilenumber',Address='$address',City='$city',Status='$stats' where ID=$pdid");
if ($query) {
$msg="Record has been updated.";
}
else
{
$msg="Something Went Wrong. Please try again";
}
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-
fit=no">
<meta name="description" content="">
72 | P a g e
<meta name="author" content="">
<title>DMS</title>
</head>
<body id="page-top">
<?php include('include/header.php');?>
<div id="wrapper">
<div id="content-wrapper">
<div class="container-fluid">
<!-- Breadcrumbs-->
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="#">Dashboard</a>
</li>
<li class="breadcrumb-item active">Edit Directory</li>
</ol>
<p style="font-size:16px; color:red" align="center"> <?php if($msg){
echo $msg;
} ?> </p>
<!-- Icon Cards-->
<?php
$pdid=$_GET['editid'];
73 | P a g e
$ret=mysqli_query($con,"select * from tbldirectory where ID='$pdid'");
$cnt=1;
while ($row=mysqli_fetch_array($ret)) {
?>
74 | P a g e
<input type="text" id="city" name="city" class="form-control"
required="required" autofocus="autofocus" value="<?php echo $row['City'];?>">
<label for="firstName">City</label>
</div>
</div>
</div>
</div>
<div class="form-group">
<div class="form-label-group">
<input type="address" id="address" name="address" class="form-control"
required="required" value="<?php echo $row['Address'];?>">
<label for="inputEmail">Address</label>
</div>
</div>
<div class="form-group">
<div class="form-label-group">
<select name="status" class="form-control wd-450" required="true" >
<?php if($row['Status']=="1")
{?>
<option value="1" selected="true">Public</option>
<option value="0" >Private</option>
<?php } if($row['Status']=="0")
{?>
<option value="1" >Public</option>
<option value="0" selected="true">Private</option>
<?php }?>
</select>
</div>
</div>
<?php } ?>
<p style="text-align: center; "><button type="submit" name="submit"
class="btn btn-info btn-min-width mr-1 mb-1">Update</button></p>
</form>
</div>
<!-- /.container-fluid -->
</div>
75 | P a g e
<i class="fas fa-angle-up"></i>
</a>
</div>
</div>
</div>
</body>
</html>
<?php } ?>
76 | P a g e
Logout
<?php
session_start();
session_destroy(); // destroy session
header("location:index.php");
?>
77 | P a g e
11.2. SCREENSHOTS
Home
Admin Login
78 | P a g e
Admin Dashboard
Directory-Add Directory
79 | P a g e
Directory-Manage Directory (Update)
Directory by Status
80 | P a g e
All Records
View Directory
81 | P a g e
Search- Admin
Search Result-Admin
82 | P a g e
Admin Profile
Change Password
83 | P a g e
Recover Password
Database- phpMyAdmin
84 | P a g e
Table- tbldirectory
Table-tbladmin
85 | P a g e
References
1. Kamal Acharya. School management system project report. Authorea. August 01,
2024. DOI: https://doi.org/10.22541/au.172254873.34023165/v1
2. Kamal Acharya. A CASE STUDY OF CINEMA MANAGEMENT SYSTEM PROJECT.
Authorea. August 01, 2024. DOI: https://doi.org/10.22541/au.172254873.30191075/v1
3. Kamal Acharya. A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM
PROJECT. Authorea. August 01, 2024. DOI:
https://doi.org/10.22541/au.172254872.26972790/v1
4. Kamal Acharya. Web chatting application project report management system.
Authorea. August 01, 2024. DOI: https://doi.org/10.22541/au.172254871.18588592/v1
5. Kamal Acharya. RETAIL STORE MANAGEMENT SYSTEM PROJECT REPORT.
Authorea. August 01, 2024. DOI: https://doi.org/10.22541/au.172254871.14590154/v1
6. Kamal Acharya. SUPERMARKET MANAGEMENT SYSTEM PROJECT REPORT.
Authorea. August 01, 2024. DOI: https://doi.org/10.22541/au.172252491.19145062/v1
7. Kamal Acharya. SOCIAL MEDIA MANAGEMENT SYSTEM PROJECT REPORT.
Authorea. August 01, 2024. DOI: https://doi.org/10.22541/au.172252491.11210579/v1
8. Kamal Acharya. Online music portal management system project report. Authorea.
August 01, 2024. DOI: https://doi.org/10.22541/au.172252488.89734698/v1
9. Kamal Acharya. COLLEGE BUS MANAGEMENT SYSTEM PROJECT REPORT.
Authorea. July 31, 2024. DOI: https://doi.org/10.22541/au.172245277.70798942/v1
10. Kamal Acharya. AUTOMOBILE MANAGEMENT SYSTEM PROJECT REPORT.
Authorea. July 31, 2024. DOI: https://doi.org/10.22541/au.172245276.67982593/v1
11. Kamal Acharya. Ludo management system project report. Authorea. July 31, 2024.
DOI: https://doi.org/10.22541/au.172243999.98091616/v1
12. Kamal Acharya. Literature online quiz system project report. Authorea. July 31, 2024
DOI: https://doi.org/10.22541/au.172243825.53562953/v1
13. Kamal Acharya. Avoid waste management system project. Authorea. July 29, 2024.
DOI: https://doi.org/10.22541/au.172228528.85022205/v1
14. Kamal Acharya. CHAT APPLICATION THROUGH CLIENT SERVER
MANAGEMENT SYSTEM PROJECT. Authorea. July 29, 2024. DOI:
https://doi.org/10.22541/au.172228527.74316529/v1
15. Acharya, Kamal, Online Job Portal Management System (May 5, 2024). Available at
SSRN: https://ssrn.com/abstract=4817534 or http://dx.doi.org/10.2139/ssrn.4817534
16. Acharya, Kamal, Employee leave management system. (May 7, 2024). Available at
SSRN: https://ssrn.com/abstract=4819626 or http://dx.doi.org/10.2139/ssrn.4819626
17. Acharya, Kamal, Online electricity billing project report. (May 7, 2024). Available at
SSRN: https://ssrn.com/abstract=4819630 or http://dx.doi.org/10.2139/ssrn.4819630
86 | P a g e
18. Acharya, Kamal, POLICY MANAGEMENT SYSTEM PROJECT REPORT.
(December 10, 2023). Available at SSRN: https://ssrn.com/abstract=4831694 or
http://dx.doi.org/10.2139/ssrn.4831694
19. Acharya, Kamal, Software testing for project report. (May 16, 2023). Available at
SSRN: https://ssrn.com/abstract=4831028 or http://dx.doi.org/10.2139/ssrn.4831028
20. Acharya, Kamal, ONLINE CRIME REPORTING SYSTEM PROJECT. (August 10,
2022). Available at SSRN: https://ssrn.com/abstract=4831015 or
http://dx.doi.org/10.2139/ssrn.4831015
21. Acharya, Kamal, Burger ordering system project report. (October 10, 2022).
Available at SSRN: https://ssrn.com/abstract=4832704 or
http://dx.doi.org/10.2139/ssrn.4832704
23. Acharya, Kamal, Teachers Record Management System Project Report (December
10, 2023). Available at SSRN: https://ssrn.com/abstract=4833821 or
http://dx.doi.org/10.2139/ssrn.4833821
23. Acharya, Kamal, Dairy Management System Project Report (December 20, 2020).
Available at SSRN: https://ssrn.com/abstract=4835231 or
http://dx.doi.org/10.2139/ssrn.4835231
24. Acharya, Kamal, Electrical Shop Management System Project (December 10, 2019).
Available at SSRN: https://ssrn.com/abstract=4835238 or
http://dx.doi.org/10.2139/ssrn.4835238
25. Acharya, Kamal, Online book store management system project report. (Febuary 10,
2020). Available at SSRN: https://ssrn.com/abstract=4835277 or
http://dx.doi.org/10.2139/ssrn.4835277
26. Acharya, Kamal, Paint shop management system project report. (January 10, 2019).
Available at SSRN: https://ssrn.com/abstract=4835441 or
http://dx.doi.org/10.2139/ssrn.4835441
27. Acharya, Kamal, Supermarket billing system project report. (August 10, 2021).
Available at SSRN: https://ssrn.com/abstract=4835474 or
http://dx.doi.org/10.2139/ssrn.4835474
28. Acharya, Kamal, Online taxi booking system project report. (March 10, 2022).
Available at SSRN: https://ssrn.com/abstract=4837729 or
http://dx.doi.org/10.2139/ssrn.4837729
29. Acharya, Kamal, Online car servicing system project report. (March 10, 2023).
Available at SSRN: https://ssrn.com/abstract=4837832 or
http://dx.doi.org/10.2139/ssrn.4837832
30. Acharya, Kamal, School management system project report. (July 10, 2021).
Available at SSRN: https://ssrn.com/abstract=4837837 or
http://dx.doi.org/10.2139/ssrn.4837837
87 | P a g e
31. Acharya, Kamal, Furniture Showroom Management System Project Report (March
21, 2021). Available at SSRN: https://ssrn.com/abstract=4839422 or
http://dx.doi.org/10.2139/ssrn.4839422
32. Acharya, Kamal, Online Vehicle Rental System Project Report (March 21, 2019).
Available at SSRN: https://ssrn.com/abstract=4839429 or
http://dx.doi.org/10.2139/ssrn.4839429
33. Acharya, Kamal, Fruit Shop Management System Project Report (August 10, 2023).
Available at SSRN: https://ssrn.com/abstract=4841048 or
http://dx.doi.org/10.2139/ssrn.4841048
34. Acharya, Kamal, Hall Booking Management System Project Report (December 21,
2023). Available at SSRN: https://ssrn.com/abstract=4841055 or
http://dx.doi.org/10.2139/ssrn.4841055
35. Acharya, Kamal, Lundry Management System Project Report (October 21, 2023).
Available at SSRN: https://ssrn.com/abstract=4841059 or
http://dx.doi.org/10.2139/ssrn.4841059
36. Acharya, Kamal, A CASE STUDY OF CINEMA MANAGEMENT SYSTEM PROJECT
(September 25, 2023). Available at SSRN: https://ssrn.com/abstract=4841209 or
http://dx.doi.org/10.2139/ssrn.4841209
37. Acharya, Kamal, A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM
PROJECT (May 25, 2024). Available at SSRN: https://ssrn.com/abstract=4841210 or
http://dx.doi.org/10.2139/ssrn.4841210
88 | P a g e
43. Acharya, Kamal, Automobile management system project report (May 25,
2022). Available at
SSRN: https://ssrn.com/abstract=4846917 or http://dx.doi.org/10.2139/ssrn.4
846917
44. Acharya, Kamal, College bus management system project report (April 25,
2023). Available at
SSRN: https://ssrn.com/abstract=4846920 or http://dx.doi.org/10.2139/ssrn.4
846920
45. Acharya, Kamal, Courier management system project report (May 25, 2023).
Available at
SSRN: https://ssrn.com/abstract=4846922 or http://dx.doi.org/10.2139/ssrn.4
846922
46. Acharya, Kamal, Event management system project report (April 25, 2021).
Available at
SSRN: https://ssrn.com/abstract=4846927 or http://dx.doi.org/10.2139/ssrn.4
846927
47. Acharya, Kamal, Library management system project report II (May 25,
2020). Available at
SSRN: https://ssrn.com/abstract=4848857 or http://dx.doi.org/10.2139/ssrn.4
848857
89 | P a g e