Bank Locker
Bank Locker
TITLE PG.NO
1. SYNOPSIS 01
2. SYSTEMSTUDY 02
3. SYSTEMCONFIGURATION 03
4. SOFTWAREOVERVIEW 04
5. SYSTEMDESIGN&DEVELOPMENT 24
5.1 Introduction 24
5.2 UML Design 24
5.3 Data Flow Diagram 29
5.4 Database Design 32
5.5 Table Design 32
5.6 ER Diagram 35
6. SYSTEM IMPLEMENTATION 37
7. SYSTEM TESTING 37
8. Conclusion 40
9. Future Enhancement 41
10. Coding 42
11. Screenshots 58
12. Bibliography 74
BANK LOCKER SYSTEM
1. ABSTRACT
Bank Locker organizing System is a web based application which deals with bank
lockers which stores valuables things of bank customers. ―Bank Locker Management System‖
is responsible for keeping all the record of assign lockers which is assign by banker. All
details of lockers are saved in database. This project is developed using PHP with MySQL
extension. This system helps the locker holder who wants to keep their valuable with bank
with high safety. The main objective of ―Bank Locker Management System‖ project is to
providing easier to bank and locker holder. The main purpose of the ―Bank Locker
Management System" is to offers better solution for bank security system. It manages all the
information about assign bank locker. Banks offers locker facilities to individuals at very
small annual fee. These lockers are maintained in a secure facility that is under constant
surveillance and security
1
2. SYSTEM STUDY
Bank Locker organizing System is a web based application which deals with bank
lockers which stores valuables things of bank customers. All details of lockers are saved in
database. This project is developed using PHP with My SQL extension. The main purpose of
the ―Bank Locker organizing System" is to offers better solution for bank security system. It
manages all the information about assign bank locker. Banks offers locker facilities to
individuals at very small annual fee. These lockers are maintained in a secure facility that is
under constant surveillance and security.
The Current system clear and fix the following causes and reasons, which
automatetheentireprocesskeepinginviewofthedatabaseintegrationapproach.The disadvantages
in the current systems are listed below
In the current system, we over come all the disadvantages of the previoussystem. That
will be really useful for Bank Locker Management in Banks.
2.3 Feasibility System
The Software design document would demonstrate how the design will accomplish the
functional and non- functional requirements captured in the Software Requirement
specification (SRS). The document will provide a framework to the programmers through
describing the high level components and architecture, sub systems, interfaces, database
design and algorithm design.
2
3. SYSTEM CONFIGURATION
Processor : intel i5
RAM : 4.00 GB
Mouse : 3 buttons
Frontend: HTML,CSS,JAVASCRIPT
Backend :MYSQL
3
4. SOFTWARE OVERVIEW
PHPTRIAD
PHP Triad installs a complete working PHP/My SQL server environment on Windows
platforms (9x/ NT). Installs PHP, My SQL, Apache, and PHP My Admin.
PHP
PHP is a scripting language originally designed for producing dynamic web pages. It
has evolved to include a command line interface capability and can be used in standalone
graphical applications. While PHP was originally created by Rasmus Lerdorf in 1995, the
main implementation of PHP is now produced by The PHP Group and serves as the de factor
standard for PHP as there is no formal specification. PHP is free software released under the
PHP License, however it is incompatible with the GNU General Public License (GPL), due to
restrictions on the usage of the term PHP. It is a widely-used general- purpose scripting
language that is especially suited for web development and can be embedded into HTML .It
generally runs on a web server, taking PHP code as its input and creating web pages as output.
It can be deployed on most web servers and on almost every operating system and platform
free of charge. PHP is installed on more than 20 million websites and 1 million web servers.
` PHP originally stood for Personal Home Page. It began in 1994 as a set of Common
Gateway Inter face binaries written in the C programming language by the
Danish/Greenlandic programmer Rasmus Lerdorf. Lerdorf initially created these Personal
Home Page Tools to replace a small set of Perl scripts he had been using to maintain his
personal homepage. The tools were used to perform tasks such as displaying his résumé and
recording how much traffic his page was receiving. He combined these binaries with his Form
Interpreter to create PHP/FI, which had more functionality. PHP/FI included a larger
implementation for the C programming language and could communicate with databases,
enabling the building of simple, dynamic web applications.
4
Lerdorf released PHP publicly on June8,1995 to accelerate bug location and improve
the code. This release was named PHP version 2 and already had the basic functionality that
PHP has today. This included Perl-like variables, form handling, and the ability to embed
HTML. The syntax was similar to Perl but was more limited, simpler, and less consistent.
ZeevSuraski and AndiGutmans, two Israeli developers at the Technion IIT, rewrote the parser
in 1997 and formed the base of PHP 3, changing the language‘s name to the recursive in
itialism PHP: Hypertext Preprocessor. The development team officially released PHP/FI 2 in
November 1997 after months of beta testing. Afterwards, public testing of PHP 3 began, and
the official launch came in June 1998. Suraski and Gutmans then started a new rewrite of
PHP‘s core, producing the Zend Engine in 1999. They also founded Zend Technologies in
Ramat Gan, Israel.
On May 22, 2000, PHP 4, powered by the Zend Engine 1.0, was released. On July 13,
2004, PHP 5 was released, powered by the new Zend Engine II. PHP 5 included new features
such as improved support for object-oriented programming, the PHP Data Objects extension
(which defines a lightweight and consistent interface for accessing databases), and numerous
performance enhancements.
The most recent update released by The PHP Group is for the older PHP version 4
code branch.In 2008, PHP 5 became the only stable version under development. Late static
binding has been missing from PHP and will be added in version 5.3. PHP 6 is under
development alongside PHP 5. Major changes include the removal of register_globals, magic
quotes, and safe mode. The reason for the removals was because register_globals had given
way to security holes, and magic quotes had an unpredictable nature, and was best avoided.
Instead, to escape characters, Magic quotes may be substituted with the add slashes() function,
or more appropriately an escape mechanism specific to the database vendor itself like mysql_
real_ escape_ string() for MySQL.
PHP doesnot have complete native support for Unicode or multibyte strings
5
ProvidedbyaconsortiumofPHPdeveloperspromotingthetransitionfromPHP4toPHP
5. It runs in both 32-bit and 64-bit environments, but on Windows the only official distribution
is 32-bit, requiring Windows 32-bit compatibility mode to be enabled while using IIS in a 64-
bit Windows environment. There is a third-party distribution available for 64-bit Windows.
Usage
6
The LAMP architecture has become popular in the web industry as a way of deploying
web applic-ations. PHP is commonly used as the P in this bundle alongside Linux, Apache
and MySQL, although the P may also refer to Python or Perl.
As of April 2007, over 20 million Internet domains were hosted on servers with PHP
installed, and PHP was recorded as the most popular Apache module. Significant websites are
written in PHP including the user-facing portion of Facebook, Wikipedia (Media Wiki),
Yahoo!, My Yearbook, Dig, Word press and Tagged. In addition to server- side scripting,
PHP can be used to create stand-alone, compiled applications and libraries, it can be used for
shell scripting, and the PHP binaries can be called from the command line.
Speed optimization
As with many scripting languages, PHP scripts are normally kept as human-readable
source code even on production web servers .In this case, PHP scripts will be compiled at
runtime by the PHP engine, which increases their execution time. PHP scripts are able to be
compiled before runtime using PHP compilers as with other programming languages such as
C (the language PHP and its extensions are written in). Code optimizers aim to reduce the
computational complexity of the compiled code by reducing its size and making other changes
that can reduce the execution time with the overall goal of improving performance. The nature
of the PHP compiler is such that there are often opportunities for code optimization, and an
example of a code optimizer is the Zend Optimizer PHP extension.
Another approach for reducing overhead for high load PHP servers is using PHP
accelerators. These can offer significant performance gains by caching the compiled form of a
PHP script in shared memory to avoid the overhead of parsing and compiling the code every
time the script runs.
7
Security
These vulnerabilities are caused mostly by not following best practice programming
rules: technical security flaws of the language itself or of its core libraries are not frequent.
Recognizing that programmers cannot be trusted, some languages include taint checking to
detect automatically the lack of input validation which induces many issues. However, such a
feature is being developed for PHP
Hosting PHP applications on a server requires a careful and constant attention to deal
with these security risks. There are advanced protection patches such as Suhosin and
Hardening- Patch, especially designed for web hosting environments. Installing PHP as a CGI
binary rather than as an Apache module is the preferred method for added security. With
respect to securing the code itself, PHP code can be obfuscated to make it difficult to read
while remaining functional.
8
Syntax
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?phpcho“<p>Hello World</p>”;?>
</body></html>
PHP only parses code within its delimiters. Anything outside its delimiters is sent
directly to the output and is not parsed by PHP. The most common delimiters are <?php and
?>, which are open and close delimiters respectively. <script language=‖php‖> and </script>
delimiters are also available. Shot tags can be used to start PHP code,<? or<?= (which is used
to echo back a string or variable) and the tag to end PHP code, ?>. These tags are commonly
used, but like ASP-style tags (<% or <%= and %>), they are less portable as they can be
disabled in the PHP configuration. For this reason, the use of short tags and ASP-style tags is
discouraged. The purpose of these delimiters is to separate PHP code from non-PHP code,
including HTML.
Variables are prefixed with a dollar symbol and a type does not need to be specified in
advance. Unlike function and class names, variable names are case sensitive. Both double-
quoted (―‖) and here doc strings allow the ability to embed a variable‘s value into the string.
9
PHP treats new lines as white space in the manner of a free-form language(except
when inside string quotes), and statements are terminated by a semicolon. PHP has three types
of comment syntax: /* */ serves as block comments, and // as well as # are used for inline
comments. The echo statement is one of several facilities PHP provides to output text (e.g. to
a web browser).In terms of keywords and language syntax, PHP is similar to most high level
languages that follow the C style syntax. If conditions, for and while loops, and function
returns are similar in syntax to languages such as C, C++, Java and Perl.
Data types
PHP stores whole numbers in a platform-dependent range. This range is typically that
of 32- bit signed integers. Unsigned integers are converted to signed values in certain
situations; this behavior is different from other programming languages. Integer variables can
be assigned using decimal (positive and negative), octal, and hexadecimal notations. Floating
point numbers are also stored in a platform-specific range. They can be specified using
floating point notation, or two forms of scientific notation. PHP has a native Boolean type
that is similar to the native Boolean types in Java and C++. Using the Boolean type
conversion rules, non-zero values are interpreted as true and zero as false, as in Perl and C++.
The null data type represents a variable that has no value.
The only value in the null data type is NULL. Variables of the ―resource‖ type
represent references to resources from external sources. These are typically created by
functions from a particular extension, and can only be processed by functions from the same
extension; examples include file, image, and database resources. Arrays can contain elements
of any type that PHP can handle, including resources, objects, and even other arrays. Order is
preserved in lists of values and in hashes with both keys and values, and the two can be
intermingled.PHP also supports strings, which can be used with single quotes ,double quotes,
or here doc syntax. The Standard PHP Library (SPL) attempts to solve standard problems and
implements efficient data access interfaces and classes.
10
Functions
PHP has hundreds of base functions and thousands more from extensions. These
functions are well documented on the PHP site, but unfortunately, the built-in library has a
wide variety of naming conventions and inconsistencies. PHP currently has no functions for
thread programming.
Version5.2and earlier
Functions are not first-class functions and can only be referenced by their name—
directly or dynamically by a variable containing the name of the function. User-defined
functions can be created at any time without being prototyped. Functions can be defined inside
code blocks, permitting a run-time decision as to whether or not a function should be defined.
Function calls must use parentheses, with the exception of zero argument class constructor
functions called with the PHP new operator, where parentheses are optional. PHP supports
quasi- anonymous functions through the create_ function() function, although they are not true
anonymous functions because anonymous functions are nameless, but functions can only be
referenced by name, or indirectly through a variable $function_ name();, in PHP.
Version5.3and newer
PHPgainedsupportforfirst-classfunctionsandclosures.Trueanonymousfunctionsare
supported
Function get Adder ($x)using the following syntax:
Function ge t Adder($x)
Return function($y)use($x){return$x+
$y;
};
11
$adder=getAdder(8);
echo$adder(2);//prints―10‖
Here, get Adder() function creates a closure using parameter $x (keyword ―use‖ forces
getting variable from context), which takes additional argument $y and returns it to the caller.
Such a function can be stored, given as the parameter to another functions, etc. For more
details see Lambda functions and closures RFC.
Objects
Basic object-oriented programming functionality was added in PHP 3. Object handling
was completely rewritten for PHP 5, expanding the feature set and enhancing performance. In
previous versions of PHP, objects were handled like primitive types. The drawback of this
method was that the whole object was copied when a variable was assigned or passed as a
parameter to a method. In the new approach, objects are referenced by handle, and not by
value. PHP 5 introduced private and protected member variables and methods, along with
abstract classes and final classes as well as abstract methods and final methods. It also
introduced a standard way of declaring constructors and destructors, similar to that of other
object-oriented languages such as C++, and a standard exception handling model.
Furthermore, PHP 5 added interfaces and allowed for multiple interfaces to be
implemented. There are special interfaces that allow objects to interact with the runtime
system. Objects implementing Array Access can be used with array syntax and objects
implementing It Aggregate can be used with the for each language construct. There is no
virtual table feature in the engine, so static variables are bound with a name instead of a
reference at compile time. If the developer creates a copy of an object using the reserved word
clone, the Z end engine will check if a clone() method has been defined or not. If not, it will
call a default clone() which will copy the object‘s properties.
Resources
PHP includes free and open source libraries with the core build. PHP is a
fundamentally Internet-aware system with modules built in for accessing FTP servers, many
database servers, embedded SQL libraries such as embedded PostgreSQL, My SQL and SQ
Lite, LDAP servers, and others.
12
Many functions familiar to C programmers such as those in the studio family are
available in the standard PHP build. PHP has traditionally used features such as ―magic_
quotes_ gpc‖ and ―magic_ quotes_ runtime‖ which attempt to escape apostrophes(‗) and
quotes (―) in strings in the assumption that they will be used in databases, to prevent SQL
injection attacks.
This leads to confusion over which data is escaped and which is not, and to problems
when data is not in fact used as input to a database and when the escaping used is not
completely correct. To make code portable between servers which do and do not use magic
quotes, developers can preface their code with a script to reverse the effect of magic quotes
when it is applied.
13
MYSQL
MySQL is a database. The data in My SQL is stored in database objects called tables.
A table is a collections of related data entries and it consists of columns and rows. Databases
are useful when storing information categorically. A company may have a database with the
following tables: ―Employees‖, ―Products‖, ―Customers‖ and ―Orders‖.
Database Tables
A database most often contains one or more tables. Each table is identified by a name
(e.g. ―Customers‖ or ―Orders‖). Tables contain records (rows) with data.
14
Queries
Aqueryisaquestionorarequest.WithMySQL,wecanqueryadatabaseforspecific
information and have a record set returned.
Before you can access data in a database, you must create a connection to the database.
In PHP, this is done with the mysqli_ connect() function.
Syntax
Example
In the following example we store the connection in a variable ($con)for later use in
the script. The ―die‖ part will be executed if the connection fails:
15
Closing a Connection
The connection will be closed automatically when the script ends. To close the
connection before, use the mysql_ close() function:
Create a Database
Syntax
Syntax
CREATE TABLE table_ name
(
column_name1 data_type, column_name
16
data_type,
column_name3 data_type,
)
MySQL Functions
mysql_errno—ReturnsthenumericalvalueoftheerrormessagefrompreviousMySQL operation
mysql_error — Returns the text of the error message from previous MySQL operation
mysql_escape_string — Escapes a string for use in a mysql_query
mysql_fetch_array—Fetcharesultrowasanassociativearray,anumericarray,or both
mysql_fetch_assoc — Fetch a result row as an associative array
mysql_fetch_field—Get column information from a result and return as an
17
object mysql_fetch_lengths—Get the length of each output in a result mysql_fetch_object —
Fetch a result row as an object
Server
mysql_ping—Ping a server connection or reconnect if there is no connection
mysql_query — Send a MySQL query
The visual editing features in Dreamweaver let you quickly create pages without
writing a line of code. You can view all your site elements or assets and drag them from an
easy-to-
18
use panel directly into a document. You can streamline your development workflow by
creating and editing images in Macromedia Fireworks or another graphics application, then
importing them directly into Dreamweaver, or by adding Macromedia Flash objects. Dream
weaver also provides a full-featured coding environment that includes code- editing tools
(such as code coloring and tag completion) and language reference material on Cascading
Style Sheets (CSS), JavaScript, and ColdFusion Markup Language (CFML), among others.
Macromedia Roundtrip HTML technology imports your hand-coded HTML documents
without reformatting the code; you can then reformat code with your preferred formatting
style.
Accessibility refers to making websites and web products usable for people with
visual, auditory, motor, and other disabilities. Examples of accessibility features for software
products and websites include screen reader support, text equivalents for graphics, keyboard
shortcuts, change of display colors to high contrast, and so on. Dreamweaver provides tools
that make the product accessible and tools that help you author accessible content:
Using Dreamweaver accessibility features For Dreamweaver web designers who need
to use accessibility features, Dreamweaver offers screen reader support, keyboard navigation,
and operating system accessibility support .For more information, see Using Dreamweaver
accessibility features.
Authoring for accessibility For Dreamweaver web designers who need to create
accessible content, Dreamweaver assists you in creating accessible pages that contain useful
content for screen readers and comply with government guidelines.
19
Laying Out Pages with CSS
In Macromedia Dreamweaver 8, you can use CSS styles to lay out your page. You can
either insert div tags manually or apply CSS positioning styles to them, or you can use
Dreamweaver layers to create your layout. A layer in Dreamweaver is an HTML page
element—specifically, a div tag, or any other tag—that has an absolute position assigned to it.
Whether you use CSS, tables, or frames to lay out your pages, Dreamweaver has ruler sand
grids for visual guidance in your layout. Dreamweaver also has a tracing image feature, which
you can use to re-create a page design that was created in a graphics application.
Client-side role off orms
Forms support the client side of the client-server relationship. When a visitor enters
information into a form displayed in a web browser (the client) and clicks the submit button,
the information is sent to the server where a server-side script or application processes it.
Common server-side technologies used for processing form data include Macromedia
ColdFusion, Agriculture soft Active Server Pages (ASP), and PHP. The server responds by
sending requested information back to the user (or client), or performing some action based
PHP MyAdmin
PHP MyAdminis an open source tool written in PHP intended to handle the
administration of MySQLover the World Wide Web. PHP MyAdmin supports a wide range of
operations with MySQL. Currently it can create and drop databases, create/drop/alter tables,
and delete/edit/add fields, execute any SQL statement, manage users and permissions, and
manage keys on fields. While you still have the ability to directly execute any SQL statement.
PHPMy Admin can manage a whole MySQL server(needs a super-user)as well as
A single database.
20
PHP MyAdmin can
· create,copy,drop,renameandalterdatabases,tables,fieldsandindexes
· maintenanceserver,databasesandtables,withproposalsonserverconfiguration
· execute, edit and book mark any SQL-statement, even batch -queries
· export data to various formats: CSV, XML, PDF, ISO/IEC 26300 - Open Document Text
· usingQuery-by-example(QBE),createcomplexqueriesautomaticallyconnecting required
tables
· transformstoreddataintoanyformatusingasetofpredefinedfunctions,like
21
A word about users
Many people have difficulty understanding the concept of user management with regards to
php MyAdmin. When a user logs in to php MyAdmin, that username and password are passed
directly to MySQL. phpMyAdmin does no account management on its own (other than
allowing one to manipulate the MySQL user account information); all users must be valid
MySQL users.
Php MyAdmin can compress (Zip, GZip -RFC 1952- or Bzip2 formats) dumps and CSV
exports if you use PHP with Zlib support (—with-zlib) and/or Bzip2 support (—with-bz2).
Proper support may also need changes in php.ini. a php MyAdmin screen appears as shown
below.
Requirements
PHP
• YouneedPHP5.6.0ornewer,with session support and theStandardPHPLibrary (SPL)
extension.
• To support uploading of ZIP files, you need the PHP zip extension.
• You need GD2 support in PHP to display in line thumbnails of JPEGs (―image/jpeg:
inline‖) with their original aspect ratio
• Whenusingthe―cookie‖authenticationmethod,themcryptextensionisstrongly
Suggested for most users and is required or 64–bitmachines. Not using crypt will
22
cause PHP My Admin to load pages significantly slower.
The original version of Apache was written for UNIX, but there are now versions that
run under OS/ 2, Windows and other platforms. The name is a tribute to the Native American
Apache Indian tribe, a tribe well known for its endurance and skill in warfare. A common
misunderstanding is that it was called Apache because it was developed from existing NCSA
code plus various patches, hence the name a patchy server, or Apache server.
Apache consistently rates as the world‘s most popular Web server according to analyst
surveys. Apache has attracted so much interest because it is full-featured, reliable, and free.
Originally developed for UNIX™ operating systems, Apache has been updated to run on
Windows, OS/2, and other platforms. One aspect of Apache that some it administrators
find confusing — especially those unfamiliar with UNIX-style software — is its
configuration scheme. Instead of using a point-and-click graphic user interface (GUI) or
Windows Registry keys as most other.
23
5. SYSTEM DESIGN
5.1 Introduction
Design is the first step in the development phase for any techniques and principals for
the purpose of defining a device a process or system in sufficient detail to permit its physical
realization. Once the software requirements have been analyzed and specified, the software
design involves three technical activities – design, coding, implementation and testing that are
required to build and verify the software.
The design activities are of main importance in this phase, because in this activity,
decisions ultimately affecting the success of the software implementation and its case of
maintenance are made. These decisions have the final bearing upon reliability and
maintainability of the system. Design is the only way to accurately translate the customer‘s
requirement into finished software or a system.
24
The UML is a language for
Visualizing
Specifying
Constructing
Documenting
Visualizing
ThroughUMLweseeorvisualizeanexistingsystemandultimatelywevisualizehowthe
system is going to be after implementation. Unless we think, we cannot implement. UML
helps to visualize, how the components of the system communicate and interact with each
other.
Specifying
Specifying means building, models that are precise, unambiguous and complete UML
addresses the specification of all the important analysis design, implementation decisions that
must be made in developing and deploying a software system.
Constructing
UML models can be directly connected to a variety of programming language through
mapping a model from UML to a programming language like JAVA or C++ or VB. Forward
Engineering and Reverse Engineering is possible through UML.
Documenting
The Deliverables of a project apart from coding are some Artifacts, which are critical
in controlling, measuring and communicating about a system during its developing
requirements, architecture, desire, source code, project plans, tests, proto types releasers, etc...
UML Approach
A diagram is the graphical presentation of a set of elements, most often rendered as a
connected graph of vertices and arcs. You draw diagram to visualize a system from different
perspective, so a diagram is a projection into a system. For all but most trivial systems, a
25
diagram represents an elided view of the elements that make up a system. The same
element may appear in all diagrams, only a few diagrams, or in no diagrams at all. In theory, a
diagram may contain any combination of things and relationships. In practice, however, a
small number of common combinations arise, which are consistent with the five most useful
viewsthatcomprisethearchitectureofasoftware-intensivesystem.Forthisreason,the
1.Class diagram
2.Object diagram
4.Sequence diagram
5.Collaboration diagram
7.Activity diagram
8.Component diagram
9.Deployment diagram
26
Use Case Diagram
Banker
Sign In
Dashboard
Manage Sub-Banker
Generate Reports
Update Profile
Change Password
Password Recovery
27
Sub-Banker
Sign
In
Dashboar
d
Manage Locker
Type
Manage Assign
Locker
Search Assign
Lockers
Generate
Reports
Update
Profile
Change
Password
Password
Recovery
28
User
Visit
Website
Search Locker
Details
View
Contact
View About
Us
29
information for use by the system and consume information generated by the system.
The labeled arrows represents data objects or data hierarchy.
30
Number each occurrence of repeated external entities.
Identify all flows for each process steps ,excepts incomplete record retrievals.
Label data flow on each arrow.
Use details flow on each arrow.
Use the details flow arrow to indicate data movements.
Data of Insured
Person
Personal data
Content Policy history
Admin
Insurance
Analysis Data of Co-insured
system Details
person
Approve/
Disappro
vw
Tickets
Reply
Web
Content
31
5.4 Data base Design
The data in the system has to be stored and retrieved from database. Designing the
database is part of system design. Data elements and data structures to be stored have been
identified at analysis stage. They are structured and put together to design the data storage and
retrieval system.
32
My SQL Table and their Structure Table admin table Structure
33
Table locker type table Structure
34
Output Design
Designing computer output should proceed in an organized, well throughout manner the right
output element is designed so that people will find the system whether or executed. When we
design an output we must identify the specific output that is needed to meet the system. The
usefulness of the new system is evaluated on the basis of their output .Once the output
requirements are determined, the system designer can decide what to include in the system
and how to structure it so that they require output can be produced. For the proposed software,
it is necessary that the output reports be compatible in format with the existing reports. The
output must be concerned to the overall performance and the system‘s working, as it should.
It consists of developing specifications and procedures for data preparation, those steps
necessary to put the inputs and the desired output ,i.e .maximum user friendly. Proper
messages and appropriate directions can control errors committed by users. The output design
is the key to the success of any system. Output is the key between the user and the sensor. The
output must be concerned to the system‘s working, as it should.Output design consists of
displaying specifications and procedures as data presentation. User never left with the
confusion as to what is happening without appropriate error and acknowledges message being
received. Even an unknown person can operate the system without knowing anything about
the system.
35
ER-Diagram
36
6. SYSTEM IMPLEMENTATION
Implementation is the stage in the project where the theoretical design is turned into a
working system and is giving confidence on the new system for the users that it will work
efficiently and effectively. It involves careful planning, investigation of the current system and
its constraints on implementation, design of methods to achieve the changeover, an evaluation
of change over methods. Apart from planning major task of preparing the implementation are
education and training of users. The implementation process begins with preparing a plan for
the implementation of the system. According to this plan, the activities are to be carried out,
discussions made regarding the equipment and resources and the additional equipment has to
be acquired to implement the new system. In network backup system no additional resources
are needed. Implementation is the final and the most important phase. The most critical stage
in achieving a successful new system is giving the users confidence that the new system will
work and be effective. The system can be implemented only after thorough testing is done and
if it is found to be working according to the specification. This method also offers the greatest
security since the old system can take over if the errors are found or inability to handle certain
type of transactions while using the new system
7. SYSTEM TESTING
System testing is the stage of implementation, which is aimed at ensuring that the
system works accurately and efficiently before live operation commences. Testing is the
process of executing the program with the in ten to find in get and missing operations and also
a complete verification to determine whether the objectives are met and the user requirements
are satisfied. The ultimate aim is quality assurance. Tests are carried out and the results are
compared with the expected document. In the case of erroneous results, debugging is done.
Using detailed testing strategies a test plan is carried out on each module
37
The various tests performed in ―Network Backup System‖ are unit testing,
integration testing and user acceptance testing.
The software units in a system are modules and routines that are assembled and
integrated to perform a specific function. Unit testing focuses first on modules, independently
of one another, to locate errors. This enables, to detect errors in coding and logic that are
contained within each module. QThis testing includes entering data and ascertaining if the
value matches to the type and size supported by java. The various controls are tested to ensure
The objective is to take unit tested modules and build a program structure. All the
modules are combined and tested as a whole. Here the Server module and Client module
options are integrated and tested.
7.4 User Acceptance Testing
User acceptance of a system is the key factor for the success of any system. The
system under Consideration is tested for user acceptance by constantly keeping in touch with
The system users at time of developing and making changes whenever required
38
.
7.5 User Training
After the system is implemented successfully, training of the user is one of the most
important subtasks of the developer. For this purpose user manuals are prepared and handled
over to the user to operate the developed system. Thus the users are trained to operate the
developed system. Both the hardware and software securities are made to run the developed
systems successfully in future.
In order output new application system into use, the Following activities were taken care of:
Test run for some period to ensures mooths witching over the system
The users are trained to use the newly developed functions. User manuals describing t
he procedures for using the functions listed on menu are circulated to all the users. It is
confirmed that the system is implemented up to users need and expectations.
Maintenance involves the software industry captive, typing up system resources .It
means restoring something to its original condition. Maintenance follows conversion to the
extent that changes are necessary to maintain satisfactory operations relative to changes in the
user‘s environment .Maintenance often includes min or enhancements or correction stop
problems that surface in the system‘s operation. Maintenance is also done based on fixing the
problems reported, changing the interface with other software or hardware enhancing the
software. Any system developed should be secured and protected against possible hazards.
Security measures are provided to prevent unauthorized access of the database at various
levels
39
CONCLUSION
8. Conclusion:
It makes entire process online and can generate reports. It has a facility of bankers
login, sub-banker login where banker can manage assign lockers and generate assign locker
report The application was designed in such away that future changes can be Done easily .The
following conclusions can be deduced from the development of the project.
40
9.future enhancement
I have tried to design the software in such a way that the user may not have any
difficulty in using this system and further expansion is also possible. New requirements will
be added and risk will be analyzed in every phase until the requirement of user will not be
fulfilled. The most priority will be given to keep confidential data secure and easy and simple
for use.
The further enhancements which can be made in the system are:
Any requirement that will make system easy to use or make a system secure, these
requirement will be add using Spiral Model. Other requirement related to government or
municipality will be added when required.
Any requirement that will make system easy to use or make a system secure, these
requirement will be add using Spiral Model. Other requirement related to government or
municipality will be added when required For the identity of user and for the data integrity,
digital signature can be added to this system.
For the identity of user and for verification, image of user can be added to this system.
41
Coding
10.Coding
Source Code:
Index Page
<?php
include('banker/includes/config.php'); session_start();
error_reporting(0);
?>
<!DOCTYPEHTML>
<htmllang="zxx">
<head>
title>BankLockerManagementSystem|Home</title>
<scripttype="application/x-javascript">addEventListener("load",function()
{
setTimeout(hideURLbar,0);},false);
functionhideURLbar(){window.scrollTo(0,1);
}
</script>
42
<!--//MetatagKeywords-->
<!--cssfiles-->
<linkhref="css1/bootstrap.css"rel="stylesheet"type="text/css"media="all"/><!—
Core-CSS-->
<linkhref="css1/style.css"rel="stylesheet"type="text/css"media="all"/><!--Style
<linkrel="stylesheet"href="css1/font-awesome.css"><!--Font-Awesome-Icons-
-->
<linkrel="stylesheet"href="css1/flexslider.css"type="text/css"media="all"/><!--
Slider-CSS-->
<!--//cssfiles-->
<linkrel="stylesheet"type="text/css"href="css1/demo.css"/>
<!--online-fonts-->
<link href="//fonts.googleapis.com/css?family=Dosis:200,300,400,500,600,700, -
ext"rel="stylesheet">
<link href="//fonts.googleapis.com/css?family=Ubuntu+Condensed& rillic-
ext,greek,greek-ext,latin-ext"rel="stylesheet">
<!--//online-fonts-->
</head>
<body>
<?phpinclude_once("includes/header.php");?>
<!--//bannersection-->
<!--about-->
<divclass="about"id="about">
<divclass="container">
<h3class="w3l-title"><span>About</span>Us</h3>
<divclass="w3-agileits-about-grids">
<divclass="col-md-5agile-about-right">
<imgsrc="images1/3.png"alt=""/>
</div>43|P
<divclass="col-md-7agile-about-left">
<?php
$ret=mysqli_query($con,"select*fromtblpagewherePageType='aboutus'");
$cnt=1;
while($row=mysqli_fetch_array($ret)){
?>
<h3class="w3l-sub">Offeringthemost</h3>
<pclass="sub-p">competitiveratesandfees</p>
<pclass="sub-p2"><?phpecho
$row['PageDescription'];?></p>
<?php}?>
</div>
<divclass="clearfix"></div>
</div>
43
</div>
<!--//about-->
<!--stats-->
<divdata-vide-bg="video/coins">
<divclass="statscenter-container"id="stats">
<divclass="container">
<divclass="stats-info">
<divclass="col-md-4col-xs-4stats-gridslideanim">
<iclass="fafa-user-o"aria-hidden="true"></i>
<divclass="agile-one">
<h4class="stats-info">Employees</h4>
<divclass='numscrollernumscroller-big- bottom'data-slno='1'data-min='0'data-
max='12760'data-delay='.5'data- increment="1">12760</div>
</div>
</div>
<divclass="col-md-4col-xs-4stats-gridslideanim">
<iclass="fafa-globe"aria-hidden="true"></i>
<divclass="agile-one">
<h4class="stats-info">Locations</h4>
<divclass='numscrollernumscroller-big- bottom'data-slno='1'data-min='0'data-
max='12760'data-delay='.5'data- increment="1">12760</div>
</div>
</div>
44
$row['PageDescription'];?></p>
</div>
<divclass="clearfix"></div>
</div>
<divclass="mail-w3">wthree">hidden="true"></i>
</div>
text-agileinf0">
<h4>Mailus</h4>
<p><a<divclass="col-md-2col-sm-2col-xs-2contact-icon-
<iclass="fafa-envelope-o"aria-
<divclass="col-md-10col-sm-10col-xs-10contact-
href="mailto:[email protected]"><?phpecho$row['Email'];?></a></p>
</div>
<divclass="clearfix"></div>
</div>
<divclass="call">
wthree"><divclass="col-md-2col-sm-2col-xs-2contact-icon-
<iclass="fafa-phone"aria-hidden="true"></i>
</div>text-agileinf0">
<h4>Callus</h4><divclass="col-md-10col-sm-10col-xs-10contact-
<p>+<?phpecho
$row['MobileNumber'];?></p>
</div>
<divclass="clearfix"></div>
</div>
</div><?php}?>
<divclass="col-md-6col-sm-6agileinfo_mail_grid_right">
<h3>AssignLockerSearch</h3>
<formname="bwdatesreportds"action="search-locker-
details.php"method="post">
<divclass="wthree_contact_left_grid">
<inputtype="text"
id="searchinput"name="searchinput"placeholder="SearchLocker
Details
"required=""></div>
<br>
<buttontype="submit"class="btnb46tn|P-apgreimary"
45
name="submit"id="submit">Search</button>
</form>
</div>
<divclass="clearfix"></div>
</div>
</div>
</div>
<!--//mail-->
<!--footer-->
<?phpinclude_once("includes/footer.php");?>
<!--jsfiles-->
<!--js-->
<scripttype="text/javascript"src="js1/jquery-2.1.4.min.js"></script>
<scripttype="text/javascript"src="js1/bootstrap.js"></script><!—
Necessary- JavaScript-File-For-Bootstrap-->
<!--//js-->
<!--jsforbanner-->
<!--responsiveslider-->
<scriptsrc="js1/responsiveslides.min.js"></script>
<script>
//Youcanalsouse"$(window).load(function(){"
$(function(){
//Slideshow4
$("#slider3").responsiveSlides({ auto:true,
pager:true, nav:false, speed:500,
namespace:"callbacks", before: function () {
$('.events').append("<li>beforeeventfired.</li>");
},
after:function(){
$('.events').append("<li>aftereventfired.</li>");
}
});
});
</script>
<!--//responsiveslider-->
<!--stats-->
<scripttype="text/javascript"src="js1/numscroller-1.0.js"></script>
46
<!--//stats-->
<!--/jsforbanner-->
<!--start-smoth-scrolling-->
<scripttype="text/javascript"src="js1/move-top.js"></script>
<scripttype="text/javascript"src="js1/easing.js"></script>
<scripttype="text/javascript">jQuery(document).ready(function($){
$(".scroll").click(function(event){ event.preventDefault();
$('html,body').animate({scrollTop:$(this.hash).offset().top},1000);
});
});
</script>
<!--start-smoth-scrolling-->
<!--smoothscrolling-->
<scriptsrc="js1/SmoothScroll.min.js"></script>
<!--//smoothscrolling-->
<!--smooth-scrolling-of-move-up-->
<scripttype="text/javascript">
$(document).ready(function(){
/*
vardefaults={
containerID:'toTop',//fadingelementid
containerHoverID:'toTopHover',//fadingelementhoverid scrollSpeed:1200,
easingType:'linear'
};
*/
$().UItoTop({easingType:'easeOutQuart'});
});
</script>
<!--//smooth-scrolling-of-move-up-->
<!--video-js-->
<scriptsrc="js1/jquery.vide.min.js"></script>
<!--//video-js-->
<!--gallery-js-->
<scriptsrc="js1/jquery.picEyes.js"></script>
<script>
$(function(){
//picturesEyes($('.demoli'));
$('.demoli').picEyes();
47
</script>
<!--//gallery-js-->
<!--//jsfiles-->
</body>
</html>
1. LoginPage
<?php session_start();
include('includes/config.php');
if(isset($_POST['login']))
{
$uname=$_POST['username'];
$Password=md5($_POST['inputpwd']);
$query=mysqli_query($con,"selectID,AdminuserName,UserType from
tblbanker whereAdminuserName='$uname'&&Password='$Password'");
$ret=mysqli_fetch_array($query); if($ret>0){
$_SESSION['aid']=$ret['ID'];
$_SESSION['uname']=$ret['AdminuserName'];
$_SESSION['utype']=$ret['UserType']; header('location:dashboard.php');
}
else{
echo"<script>alert('InvalidDetails.');</script>";
}
}
?>
<!DOCTYPEhtml>
<htmllang="en">
<head>
<metacharset="utf-8">
<metaname="viewport"content="width=device-width,initial-scale=1">
<title>BankLockerManagementSystem|Login</title>
<!--GoogleFont:SourceSansPro-->
<linkrel="stylesheet"href="https://fonts.googleapis.com/css?family=
Source+Sans+Pro:300,400,400i,700&display=fallback">
<!--FontAwesome-->
4< 9li|nPkagreel="stylesheet"href="../plugins/fontawesome-free/css/all.min.css">
<!--icheckbootstrap-->
48
<linkrel="stylesheet"href="../plugins/icheck-bootstrap/icheck- bootstrap.
min.css">
<!--Themestyle-->
<linkrel="stylesheet"href="../dist/css/adminlte.min.css">
</head>
<bodyclass="hold-transition login-page">
<divclass="login-box">
<!--/.login-logo-->
<divclass="cardcard-outlinecard-primary">
<divclass="card-headertext-center">
<ahref="../index.php"class="h1"><b>Banker</b>|BLMS</a>
</div>
<divclass="card-body">
<pclass="login-box-msg">Signintostartyoursession</p>
<formmethod="post">
<divclass="input-groupmb-3">
<input type="text" class="form-control"
placeholder="Username"name="username"required>
<divclass="input-group-append">
<divclass="input-group-text">
<spanclass="fasfa-envelope"></span>
</div>
</div>
</div>
<divclass="input-groupmb-3">
<input type="password" class="form-control"
placeholder="Password"name="inputpwd"required>
<divclass="input-group-append">
<divclass="input-group-text">
<spanclass="fasfa-lock"></span>
</div>
</div>
</div>
<divclass="row">
<divclass="col-8">
</div>
<!--/.col-->
<divclass="col-4">
<buttontype="submit"class="btnbtn-primarybtn-block"name="login">
Sign In</button>
</div>
<!--/.col-->
</div>
49
</form>
<pclass="mb-1">
<ahref="password-recovery.php">Iforgotmypassword</a>
</p>
<pclass="mb-1">
<ahref="../index.php">BackHome!!</a>
</p>
</div>
<!--/.card-body-->
</div>
<!--/.card-->
</div>
<!--/.login-box-->
<!--jQuery-->
<scriptsrc="../plugins/jquery/jquery.min.js"></script>
<!--Bootstrap4-->
<scriptsrc="../plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
<!--AdminLTEApp-->
<scriptsrc="../dist/js/adminlte.min.js"></script>
</body>
</html>
2. SearchLocker
<?php include('banker/includes/config.php'); session_start();
error_reporting(0);
?>
<!DOCTYPEHTML>
<htmllang="zxx">
<head>
<title>BankLockerManagementSystem|Home</title>
<scripttype="application/x-javascript">addEventListener("load",function(){
setTimeout(hideURLbar,0);},false)
50
functionhideURLbar(){window.scrollTo(0,1);}</script>
<!--//MetatagKeywords-->
<!--cssfiles-->
<linkhref="css1/bootstrap.css"rel="stylesheet"type="text/css"media
="all"/><!--Bootstrap-Core-CSS-->
<linkhref="css1/style.css"rel="stylesheet"type="text/css"media="all"/>
<!-- Style-CSS-->
<linkrel="stylesheet"href="css1/font-awesome.css"><!--Font-Awesome-
Icons-CSS-->
<linkrel="stylesheet"href="css1/flexslider.css"type="text/css"media="all"
/><!--Banner-Slider-CSS-->
<!--//cssfiles-->
<linkrel="stylesheet"type="text/css"href="css1/demo.css"/>
<!--online-fonts-->
<link href="//fonts.googleapis.com/css?family=Dosis:200,300,400,500,
600,700,80 0&subset=latin-ext"rel="stylesheet">
<link
href="//fonts.googleapis.com/css?family=Ubuntu+Condensed&
amp;subset=c yrillic,cyrillic-ext,greek,greek-ext,latin-ext"rel="
stylesheet">
<!--//online-fonts-->
</head>
<body>
<?phpinclude_once("includes/header.php");?>
<!--about-->
<divclass="about"id="about">
<divclass="container">
<?php$searchby=$_POST['searchinput'];
51
<h1align="center">SearchLockerDetailsagaintkeyword"<?phpecho
$searchby;?>"</h1>
<hr/>
<divclass="w3-agileits-about-grids">
<divclass="col-md-12agile-about-left">
<tableid="example1"class="tabletable-borderedtable-
striped">
<thead>
<tr>
<th>#</th>
<th>LockerNumber</th>
<th>KeyNumber</th>
<th>HolderName</th>
<th>MobileNumber</th>
<th>Email</th>
<th>Status</th>
<th>LockerAssignDate</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<?php$query=mysqli_query($con,"select*fromtblassignlockerwhere
LockerNumber='$searchby' || KeyNumber='$searchby'");
$cnt=1;
$count=mysqli_num_rows($query); if($count>0){
while($result=mysqli_fetch_array($query)){
?>
<tr>
52
<td><?phpecho$cnt;?></td>
<td><?phpecho$result['LockerNumber']?></td>
<td><?phpecho$result['KeyNumber']?></td>
<td><?phpecho$result['FullName']?></td>
<td><?phpecho$result['MobileNumber']?></td>
<td><?phpecho$result['Email']?></td>
<?phpif($result['Status']=="1"){?>
<td><?phpecho"Active";?></td>
<?php}else{?><td><?phpecho"Inactive";?>
</td>
<?php}?>
<td><?phpecho$result['LockerAssigndate']?></td>
<th>
<ahref="view-assign-locker.php?ltid=<?phpecho$result['ID'];?>
"class="btnbtn-primary"> View Details </a>
</th>
</tr>
<?php
$cnt++;
}}else{?>
<tr>
<thcolspan="7"style="color:red;font-size:20px;text-align:center;">
NoRecord Found</th>
</tr>
<?php}?>
53
</tbody>
</table>
</div>
<divclass="clearfix"></div>
</div>
</div>
</div>
<!--//about-->
<?phpinclude_once("includes/footer.php");?>
<!--jsfiles-->
<!--js-->
<scripttype="text/javascript"src="js1/jquery-2.1.4.min.js"></script>
<scripttype="text/javascript"src="js1/bootstrap.js"></script><!—
Necessary- JavaScript-File-For-Bootstrap-->
<!--//js-->
<!--jsforbanner-->
<!--responsiveslider-->
<scriptsrc="js1/responsiveslides.min.js"></script>
<script>
//Youcanalsouse"$(window).load(function(){"
$(function(){
//Slideshow4
$("#slider3").responsiveSlides({
54
pager:true, nav:false, speed:500,
namespace:"callbacks", before: function () {
$('.events').append("<li>beforeeventfired.</li>");
},
after:function(){
$('.events').append("<li>aftereventfired.</li>");
}
});
});
</script>
<!--//responsiveslider-->
<!--stats-->
<script type="text/javascript"src="js1/numscroller-1.0.js"></script>
<!--//stats-->
<!--/jsforbanner-->
<!--start-smoth-scrolling-->
<scripttype="text/javascript"src="js1/move-top.js"></script>
<scripttype="text/javascript"src="js1/easing.js"></script>
<scripttype="text/javascript">jQuery(document).ready(function($){
$(".scroll").click(function(event){ event.preventDefault();
$('html,body').animate({scrollTop:$(this.hash).offset().top},1000);
});
});
</script>
55
<!--start-smoth-scrolling-->
<!--smoothscrolling-->
<scriptsrc="js1/SmoothScroll.min.js"></script>
<!--//smoothscrolling-->
<!--smooth-scrolling-of-move-up-->
<scripttype="text/javascript">
$(document).ready(function(){
/*
vardefaults={
containerID:'toTop',//fadingelementid
containerHoverID:'toTopHover',//fadingelementhoverid
scrollSpeed:1200,
easingType:'linear'
};
*/
$().UItoTop({easingType:'easeOutQuart'});
});
</script>
<!--//smooth-scrolling-of-move-up-->
<!--video-js-->
<scriptsrc="js1/jquery.vide.min.js"></script>
<!--//video-js-->
<!--gallery-js-->
<scriptsrc="js1/jquery.picEyes.js"></script>
<script>
$(function(){
//picturesEyes($('.demoli'));
$('.demoli').picEyes();
56
});
</script>
<!--//gallery-js-->
<!--//jsfiles-->
</body>
</html>
57
SCREENSHOTS
11. SCREENSHOTS
58
Search Locker Details
59
View Locker Details
60
Banker or Sub Banker Login Page
Forgot Password
61
Dashboard
Profile
62
Change Password
Add Sub-Banker
`
`63
Manage Sub-Banker
Update Sub-Banker
64
Add Locker Type
65
Assign Locker
66
Manage Assign Locker
67
Update Assign Locker
68
Update Image
69
View Between Dates Report
70
Search Report
71
View Search Report
About Us Page
72
Contact Us page
73
BIBLIOGRAPHY
12. Bibliography
1. LearningLaravel5:BuildingPracticalApplicationsbyNathanWu.
2. HTML,XHTML&CSS,6thEditionbyElizabethCastro.
3. High Performance My SQL by Bar on Schwartz, Peter Ziatsev.
4. PHP and My SQL Web Development(4thEdition)by Luke Welling, Laura Thomson
5. https://www.youtube.com/
6. http://www.w3schools.com/php/default.asphttps://laravel.com/
For PHP
• https://www.w3schools.com/php/default.asp
• https://www.sitepoint.com/php/
• https://www.php.net/
For MySQL
• https://www.mysql.com/
• http://www.mysqltutorial.org
For XAMPP
• https://www.apachefriends.org/download.html
74