Citizen Card Management System
Citizen Card Management System
PROJECT DESCRIPTION
1.1 INTRODUCTION
Many type of Citizen Card is in our country like Aadhar card, Voter Id, PAN card and has
a unique number issued to every citizen in India and a centralized and universal identification
number. A Citizen card stores an individual's personal details in a government database, and
is fast becoming the government's base for public welfare and citizen services. It has some
purposes like, Voter Id to permit the holder to take part in the electoral process, can be used
as proof of identity, proof of address as well as proof of age when applying for any
government service and also PAN card used by the Income Tax Authority for tracking tax
payments, mandatory for many day to day transactions, To start a new bank account or even
an account on investment platforms like Groww, PAN card is needed.
In order to the various process and services of government these cards are needed.
Typically this card is applying manually, that process like going to the government office to
fill up the application form and the process will go slowly. If there is something wrong with
the application form, the applicant again to fill the new form, it can be the tiring process.
Hereby, we propose system into computerizing. Thus, we fill the application through online
and get the card also via online. This system is most desirable to provide the facility to easily
getting the citizen card that was using to all services of government.
1
1.2 EXISTING SYSTEM
In the existing system, we meet works with manually and boring and stressful
process. We didn’t know about our process in between the application send and until the card
comes into our hands. Such process maintaining all records via paper so that will raises the
probability of missing document.
1.2.1 DISADVANTAGES
Time Consuming
Process are tedious
Probability of information missing
Can’t check the status of application
In our proposed system, contributes to develop the computerizing process. This made
the user will be very comfortably and desirable. This system allows User will apply online for
citizen card and after all verification process they will get card through online. User also have
option for checking status of the application process.
1.3.1 ADVANTAGES
2
CHAPTER 2
LOGICAL DEVELOPMENT
Symbol Description
A data flow.
3
LEVEL 0
DFD Level 0 is also called a Context Diagram. It’s a basic overview of the whole
system or process being analyzed or modeled. It’s designed to be an at-a-glance view,
showing the system as a single high-level process, with its relationship to external entities. It
should be easily understood by a wide audience, including stakeholders, business analysts,
data analysts and developers.
Admin
Database
LEVEL 1
DFD Level 1 provides a more detailed breakout of pieces of the Context Level
Diagram. You will highlight the main functions carried out by the system, as you break down
the high-level process of the Context Diagram into its sub – processes. A level 1 data flow
diagram (DFD) is more detailed than a level 0 DFD but not as detailed as a level 2 DFD. It
breaks down the main processes into sub processes that can then be analyzed and improved
on a more intimate level.
4
1.0
Register
2.0
Login
3.0
Add HeadTC 5.0 4.0
View certificate Apply certificate
10.0
View user application status 6.0 7.0
Change certificate status View certificate status
11.0
View certificate
Database
5
2.2 ARCHITECTURE DESIGN
A system architecture or systems architecture is the conceptual model that defines the
structure, behavior, and more views of a system. An architecture description is a formal
description and representation of a system, organized in a way that supports reasoning about
the structures and behaviors of the system. System architecture can comprise system
components, the externally visible properties of those components, the relationships (e.g. the
behavior) between them. It can provide a plan from which products can be procured, and
systems developed, that will work together to implement the overall system. There have been
efforts to formalize languages to describe system architecture; collectively these are called
architecture description languages (ADLs).
An allocated arrangement of physical elements which provides the design solution for
a consumer product or life-cycle process intended to satisfy the requirements of the
functional architecture and the requirements baseline.
Architecture comprises the most important, pervasive, top-level, strategic inventions,
decisions, and their associated rationales about the overall structure (i.e., essential
elements and their relationships) and associated characteristics and behavior.
If documented, it may include information such as a detailed inventory of current
hardware, software and networking capabilities; a description of long-range plans and
priorities for future purchases, and a plan for upgrading and/or replacing dated
equipment and software.
6
Citizen card Management System
7
CHAPTER 3
DATABASE DESIGN
3.1 DATA DICTIONARY
3.1.1 Add headtc Table
Field Description Example
id head tc id 005
id User id 102
8
id user id 102
9
3.2 TABLE DESIGN
3.2.1 Add headtc Table
Field Type Null Default
10
3.2.3 Apply certificate Table
11
3.3 RELATIONSHIPDIAGRAM
An entity–relationship model (ER model for short) describes interrelated things of
interest in a specific domain of knowledge. A basic ER model is composed of entity types
(which classify the things of interest) and specifies relationships that can exist
between entities (instances of those entity types). In software engineering, an ER model is
commonly formed to represent things a business needs to remember in order to perform
business processes. Consequently, the ER model becomes an abstract data model that defines
data or information structure, which will be implemented in a database, typically a relational
database.
12
3.4 SYSTEM ANALYSIS
RAM : 1GB
Platform : Windows 7
13
3.5 SOFTWARE DESCRIPTION
3.5.1 Front end (PHP)
PHP started out as a small open source project that evolved as more and more people
found out how useful it was. Rasmus Lerdorf unleashed the first version of PHP way back in
1994.PHP is a recursive acronym for "PHP: Hypertext Preprocessor". PHP is a server side
scripting language that is embedded in HTML. It is used to manage dynamic content,
databases, session tracking, even build entire ecommerce sites. It is integrated with a number
of popular databases, including MySQL, PostgreSQL, Oracle, Sybase, Informix, and
Microsoft SQL Server. PHP is pleasingly zippy in its execution, especially when compiled as
an Apache module on the UNIX side. The MySQL server, once started, executes even very
complex queries with huge result sets in record-setting time. PHP supports a large number of
major protocols such as POP3, IMAP, and LDAP. PHP4 added support for Java and
distributed object architectures (COM and CORBA), making n-tier development a possibility
for the first time. PHP is forgiving: PHP language tries to be as forgiving as possible. PHP
Syntax is C-Like.
Characteristics of PHP
Five important characteristics make PHP's practical nature possible:
Simplicity
Efficiency
Security
Flexibility
Familiarity
PHP Variables
14
The main way to store information in the middle of a PHP program is by using a
variable. Here are the most important things to know about variables in PHP.
All variables in PHP are denoted with a leading dollar sign ($).
The value of a variable is the value of its most recent assignment.
Variables are assigned with the = operator, with the variable on the left-hand side and
the expression to be evaluated on the right.
Variables can, but do not need, to be declared before assignment.
Variables in PHP do not have intrinsic types - a variable does not know in advance
whether it will be used to store a number or a string of characters.
Variables used before they are assigned have default values.
PHP does a good job of automatically converting types from one to another when
necessary.
PHP variables are Perl-like. PHP has a total of eight data types which we use to
construct our variables:
Integers: are whole numbers, without a decimal point, like 4195.
Doubles: are floating-point numbers, like 3.14159 or 49.1.
Booleans: have only two possible values either true or false.
NULL: is a special type that only has one value: NULL.
Strings: are sequences of characters, like 'PHP supports string operations.'
Arrays: are named and indexed collections of other values.
Objects: are instances of programmer-defined classes, which can package up
both other kinds of values and functions that are specific to the class.
Resources: are special variables that hold references to resources external to
PHP (such as database connections).
15
MySQL is a popular choice of database for use in web applications, and is a central
component of the widely used LAMP open source web application software stack—LAMP is
an acronym for "Linux, Apache, MySQL, Perl/PHP/Python." Free-software-open source
projects that require a full-featured database management system often use MySQL.
For commercial use, several paid editions are available, and offer additional
functionality. Applications which use MySQL databases include: TYPO3, Joomla, Word
Press, phpBB, MyBB, Drupal and other software built on the LAMP software stack. MySQL
is also used in many high-profile, large-scale World Wide Web products, including
Wikipedia, Google (though not for searches), Imagebook, Twitter, Flickr, Nokia.com, and
YouTube.
Inter images
MySQL is primarily an RDBMS and ships with no GUI tools to administer MySQL
databases or manage data contained within the databases. Users may use the included
command line tools, or use MySQL "front-ends", desktop software and web applications that
create and manage MySQL databases, build database structures, back up data, inspect status,
and work with data records. The official set of MySQL front-end tools, MySQL Workbench
is actively developed by Oracle, and is freely available for use.
Graphical
The official MySQL Workbench is a free integrated environment developed by MySQL AB,
which enables users to graphically administer MySQL databases and visually design database
structures. MySQL Workbench replaces the previous package of software, MySQL GUI
Tools. Similar to other third-party packages, but still considered the authoritative MySQL
frontend, MySQL Workbench lets users manage database design & modeling, SQL
development (replacing MySQL Query Browser) and Database administration (replacing
MySQL Administrator).MySQL Workbench is available in two editions, the regular free and
open source Community Edition which may be downloaded from the MySQL website, and
the proprietary Standard Edition which extends and improves the feature set of the
Community Edition.
Command line
16
MySQL ships with some command line tools. Third-parties have also developed tools
to manage a MySQL server, some listed below. Maatkit - a cross-platform toolkit for
MySQL, PostgreSQL and Memcached, developed in Perl Maatkit can be used to prove
replication is working correctly, fix corrupted data, automate repetitive tasks, and speed up
servers. Maatkit is included with several GNU/Linux distributions such as CentOS and
Debian and packages are available for Programming. MySQL works on many different
system platforms, including AIX, BSDi, FreeBSD, HP-UX, eComStation, i5/OS, IRIX,
Linux, Mac OS X, Microsoft Windows, NetBSD, Novell NetWare, OpenBSD, OpenSolaris,
OS/2 Warp, QNX, Solaris, Symbian, SunOS, SCO Open Server, SCO UnixWare, Sanos and
Tru64. A port of MySQL to OpenVMS also exists.
MySQL is written in C and C++. Its SQL parser is written in yacc, and a home-
brewed lexical analyzer. Many programming languages with language-specific APIs include
libraries for accessing MySQL databases. These include MySQL Connector/Net for
integration with Microsoft's Visual Studio (languages such as C# and VB are most commonly
used) and the JDBC driver for Java. In addition, an ODBC interim age called
MyODBCallows additional programming languages that support the ODBC inter image to
communicate with a MySQL database, such as ASP or ColdFusion. The HTSQL - URL-
based query method also ships with a MySQL adapter, allowing direct interaction between a
MySQL database and any web client via structured URLs.
Features
As of April 2009, MySQL offered MySQL 5.1 in two different variants: the open source
MySQL Community Server and the commercial Enterprise Server. MySQL 5.5 is offered
under the same licenses. They have a common code base and include the following features:
17
Strict mode (ensures MySQL does not truncate or otherwise modify data to conform
to an underlying data type, when an incompatible value is inserted into that type)
X/Open XAdistributed transaction processing (DTP) support; two phase commit as
part of this, using Oracle's InnoDB engine
Transactions with the InnoDB, and Cluster storage engines
SSL support
Query caching
Sub-SELECTs (i.e. nested SELECTs)
Replication support (i.e. Master-Master Replication & Master-Slave Replication) with
one master per slave, many slaves per master, no automatic support for multiple masters per
slave.
Full-text indexing and searching using MyISAM engine
Embedded database library
Partitioned tables with pruning of partitions in optimizer
Shared-nothing clustering through MySQL Cluster
Hot backup (via mysqlhotcopy) under certain conditions
Multiple storage engines, allowing one to choose the one that is most effective for each
table in the application (in MySQL 5.0, storage engines must be compiled in; in MySQL 5.1,
storage engines can be dynamically loaded at run time): Native storage engines (MyISAM,
Falcon, Merge, Memory (heap), Federated, Archive, CSV, Blackhole, Cluster, EXAMPLE,
Maria, and InnoDB, which was made the default as of 5.5). Partner-developed storage
engines (solidDB, NitroEDB, ScaleDB, TokuDB, Infobright (formerly Brighthouse),
Kickfire, XtraDB, IBM DB2). InnoDB used to be a partner-developed storage engine, but
with recent acquisitions, Oracle now owns both MySQL core and InnoDB.
18
CHAPTER 4
PROGRAM DESIGN
4.1 MODULES
Admin
HeadTC
User
4.2.1 Admin
Admin Login
Admin will have a separate login to maintain the account. Admin will maintain the
Add HeadTC
Hereby, the HeadTC have to get the information from the user for giving citizen card.
This module allows admin can view the user details. Like user name, address, contact
detail. This will helps to admin verify the details which is given by the user.
View certificate
In this module, admin can view the certificates which are given by the user. Which is
19
4.2.2 HeadTC
Login
HeadTC will have separate login to the account with its own username and password.
It will maintain all of user’s details and certificates details and other process details.
View certificate
HeadTC will view the certificates which are given by the users. These certificates
may be residential certificate or birth certificate, that was must be check by the HeadTC.
Certificate Status
In this module is the main segment in this process, because of the decision will make
in this phase, that is neither approved or not. If certificates are verified and the approval will
give to the user to get citizen card else the certificate status changed into rejected.
4.2.3 User
Login
The user will make the register by adding their personal details. The user will use the
Apply Certificate
User apply for citizen card they must upload some documents like contact certificate,
Certificate Status
User will view the status of the application for citizen card which is applied by them.
20
CHAPTER 5
TESTING
5.1 SYSTEM TESTING
Testing
Testing is a series of different tests that whose primary purpose is to fully exercise
the computer based system. Although each test has a different purpose, all work should verify
that all system element have been properly integrated and performed allocated function.
Testing is the process of checking whether the developed system works according to the
actual requirement and objectives of the system. The philosophy behind testing is to find the
errors. A good test is one that has a high probability of finding an undiscovered error. A
successful test is one that uncovers the undiscovered error. Test cases are devised with this
purpose in mind. A test case is a set of data that the system will process as an input.
After a system has been verified, it needs to be thoroughly tested to ensure that every
component of the system is performing in accordance with the specific requirements and that
it is operating as it should including when the wrong functions are requested or the wrong
data is introduced.
Testing measures consist of developing a set of test criteria either for the entire system
or for specific hardware, software and communications components. For an important and
sensitive system such as an electronic voting system, a structured system testing program
may be established to ensure that all aspects of the system are thoroughly tested.
Applying functional tests to determine whether the test criteria have been
met
Applying qualitative assessments to determine whether the test criteria have
been met.
Conducting tests in “laboratory” conditions and conducting tests in a variety
of “real life” conditions.
21
Conducting tests over an extended period of time to ensure systems can
perform consistently.
Conducting “load tests”, simulating as close as possible likely conditions
while using or exceeding the amounts of data that can be expected to be
handled in an actual situation.
Test measures for hardware may include:
Testing all programs to ensure its logical correctness and that appropriate design,
development and implementation standards have been followed.
Conducting “load tests”, simulating as close as possible a variety of “real life”
conditions using or exceeding the amounts of data that could be expected in an actual
situation.
Verifying that integrity of data is maintained throughout its required manipulation.
22
5.1.2 Unit testing
The first test in the development process is the unit test. The source code is normally divided
into modules, which in turn are divided into smaller units called units. These units have
specific behavior. The test done on these units of code is called unit test. Unit test depends
upon the language on which the project is developed.
Unit tests ensure that each unique path of the project performs accurately to the documented
specifications and contains clearly defined inputs and expected results. Functional and
reliability test in an Engineering environment, producing tests for the behavior of components
(nodes and vertices) of a product to ensure their correct behavior prior to system integration.
23
5.1.3 Integration testing
Testing is which modules are combined and tested as a group. Modules are typically
code modules, individual applications, source and destination applications on a network, etc.
Integration Testing follows unit testing and precedes system testing. Testing after the product
is code complete. Betas are often widely distributed or even distributed to the public at large
in hopes that they will buy the final product when it is release.
24
5.1.4 Validation Testing
Validation testing is testing where tester performed functional and non-functional testing.
Here functional testing includes Unit Testing (UT), Integration Testing (IT) and System
Testing (ST), and non-functional testing includes User acceptance testing (UAT).Validation
testing is also known as dynamic testing, where we are ensuring that "we have developed the
product right." And it also checks that the software meets the business needs of the client. It
is a process of checking the software during or at the end of the development cycle to decide
whether the software follow the specified business requirements. We can validate that the
user accepts the product or not.
25
CHAPTER 6
CONCLUSION
Citizen Card Management system is very useful for the citizen, because he can save
his time by using the proposed system. In the existing system, citizen has to visit Corporation
department to get citizen card which offers benefits to various services or utilities provided
by the Government or Private organizations each and every time until they get the card. By
this system, to reduce the traditional "written methodology" and tedious process. It has very
quickly led to the need for a solution that can guarantee the identity of the issuer or the
receiver.
26
CHAPTER 7
REFERENCE
Book reference:
2) Richard Blum , ”PHP, MySQL & JavaScript All - in - One For Dummies Paperback”,
1Jan 2018
3) Luke Welling, Laura Thomson, " PHP and MySQL Web Development Paperback ",
20 December 2016
4) Robin Nixon , " Learning PHP, MySQL & JavaScript with j Query, CSS & HTML5
Paperback ", 1 Jan 2015
Web reference:
1. https://www.w3schools.com/php/php_intro.asp
2. https://phptherightway.com/
3. https://www.learn-php.org/
27
CHAPTER 8
APPENDIX
8.1 SOURCE CODE
Admin Login
<?php
session_start();
extract($_POST);
if(isset($_POST['Submit']))
if(($username=="admin")&&($password=="admin"))
?>
<script language="javascript">
alert("Login sucessfully");
window.location.href="admin_home.php";
</script>
<?php
else
?>
<script language="javascript">
alert("Failed");
window.location.href="admin.php";
</script>
<?php
28
}
?>
<script>
addEventListener("load", function () {
setTimeout(hideURLbar, 0);
}, false);
function hideURLbar() {
window.scrollTo(0, 1);
</script>
<span class="style1"></span>
<p> </p>
<tr>
<td width="201"><label>
</label></td>
</tr>
<tr>
<td height="45"><strong>Password</strong></td>
<td><label>
</label></td>
</tr>
29
<tr>
<td> </td>
<td><label>
</label></td>
</tr>
</table>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
30
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
</form>
<script src="js/jquery-2.2.3.min.js"></script>
<script>
window.onload = function () {
document.getElementById("password1").onchange = validatePassword;
document.getElementById("password2").onchange = validatePassword;
function validatePassword() {
if (pass1 != pass2)
document.getElementById("password2").setCustomValidity("Passwords Don't
Match");
else
document.getElementById("password2").setCustomValidity('');
</script>
31
<!-- script for password match -->
<script src="js/move-top.js"></script>
<script src="js/easing.js"></script>
<script>
jQuery(document).ready(function ($) {
$(".scroll").click(function (event) {
event.preventDefault();
$('html,body').animate({
scrollTop: $(this.hash).offset().top
}, 1000);
});
});
</script>
<script>
$(document).ready(function () {
/*
var defaults = {
scrollSpeed: 1200,
easingType: 'linear'
};
*/
32
$().UItoTop({
easingType: 'easeOutQuart'
});
});
</script>
<script src="js/SmoothScroll.min.js"></script>
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="js/bootstrap.min.js"></script>
User register
<?php
include("dbconnect.php");
extract($_POST);
if(isset($Submit))
$max_row=mysql_fetch_array($max_qry);
$id=$max_row['max(id)']+1;
if($qrys)
33
?>
alert("success..");
window.location.href="user.php";
</script>
<?php
else
?>
alert("failed..");
</script>
<?php
?>
<script>
addEventListener("load", function () {
setTimeout(hideURLbar, 0);
}, false);
function hideURLbar() {
window.scrollTo(0, 1);
</script>
<script src="js/jquery-2.2.3.min.js"></script>
34
<!-- script for password match -->
<script>
window.onload = function () {
document.getElementById("password1").onchange = validatePassword;
document.getElementById("password2").onchange = validatePassword;
function validatePassword() {
if (pass1 != pass2)
document.getElementById("password2").setCustomValidity("Passwords Don't
Match");
else
document.getElementById("password2").setCustomValidity('');
</script>
<script src="js/move-top.js"></script>
<script src="js/easing.js"></script>
<script>
jQuery(document).ready(function ($) {
$(".scroll").click(function (event) {
event.preventDefault();
35
$('html,body').animate({
scrollTop: $(this.hash).offset().top
}, 1000);
});
});
</script>
<script>
$(document).ready(function () {
/*
var defaults = {
scrollSpeed: 1200,
easingType: 'linear'
};
*/
$().UItoTop({
easingType: 'easeOutQuart'
});
});
</script>
<script src="js/SmoothScroll.min.js"></script>
36
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="js/bootstrap.min.js"></script>
Apply certificate
<?php
include("dbconnect.php");
session_start();
extract($_POST);
?> <script>
addEventListener("load", function () {
setTimeout(hideURLbar, 0);
}, false);
function hideURLbar() {
window.scrollTo(0, 1);
</script> <?php
while($row=mysql_fetch_array($qry1))
?>
<tr>
37
<td><span class="style2"><?php echo $m1=$row['contact'];?></span></td>
<td width="45"> </td>
</tr>
<?php
?>
</table>
<span class="style1"></span>
38
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
39
<p> </p>
<p> </p>
<div class="form-group">
required="">
</div>
<div class="form-group">
required="">
</div>
<div class="right-w3l">
</div>
<span></span>Remember me?</label>
</div>
</div>
</div>
40
<p class="text-center dont-do">Don't have an account?
<strong>Register Now</strong></a>
</p>
<div class="form-group">
required="">
</div>
<div class="form-group">
required="">
</div>
<div class="form-group">
required="">
</div>
<div class="form-group">
required="">
41
</div>
<div class="sub-w3l">
<div class="sub-w3ltd">
</div>
</div>
<div class="right-w3l">
</div>
</form>
</div>
</div>
</div>
</div>
<!-- js -->
<script src="js/jquery-2.2.3.min.js"></script>
<script>
window.onload = function () {
document.getElementById("password1").onchange = validatePassword;
document.getElementById("password2").onchange = validatePassword;
function validatePassword() {
42
var pass2 = document.getElementById("password2").value;
if (pass1 != pass2)
document.getElementById("password2").setCustomValidity("Passwords Don't
Match");
else
document.getElementById("password2").setCustomValidity('');
</script>
<script src="js/move-top.js"></script>
<script src="js/easing.js"></script>
<script>
jQuery(document).ready(function ($) {
$(".scroll").click(function (event) {
event.preventDefault();
$('html,body').animate({
scrollTop: $(this.hash).offset().top
}, 1000);
});
});
</script>
43
<script>
$(document).ready(function () {
/*
var defaults = {
scrollSpeed: 1200,
easingType: 'linear'
};
*/
$().UItoTop({
easingType: 'easeOutQuart'
});
});
</script>
<script src="js/SmoothScroll.min.js"></script>
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="js/bootstrap.min.js"></script>
</body>
Head tc Login
<?php
include("dbconnect.php");
44
session_start();
extract($_POST);
if(isset($_POST['Submit']))
$num=mysql_num_rows($qry);
if($num)
$_SESSION['user']=$username;
?>
<script language="javascript">
alert("Login Successfully");
window.location.href="head_tc_home.php";
</script>
<?php
else
?>
<script language="javascript">
alert("Failed");
window.location.href="head_tc.php";
</script>
<?php
45
?>
<!DOCTYPE html>
<html lang="zxx">
<head>
SmartPhone Compatible web template, free WebDesigns for Nokia, Samsung, LG,
Sony Ericsson, Motorola web design" />
<script>
addEventListener("load", function () {
setTimeout(hideURLbar, 0);
}, false);
function hideURLbar() {
window.scrollTo(0, 1);
</script>
<span class="style1"></span>
<p> </p>
<tr>
46
<td width="201"><label>
</label></td>
</tr>
<tr>
<td height="45"><strong>Password</strong></td>
<td><label>
</label></td>
</tr>
<tr>
<td> </td>
<td><label>
</label></td>
</tr>
</table>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
47
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
</form>
<div class="form-group">
required="">
</div>
<div class="form-group">
48
<input type="password" class="form-control" placeholder=" "
name="Password" id="password"
required="">
</div>
<div class="right-w3l">
</div>
<span></span>Remember me?</label>
</div>
</div>
</div>
<strong>Register Now</strong></a>
</p>
</form>
</div>
</div>
</div>
</div>
49
<!-- register modal -->
aria-hidden="true">
<div class="modal-content">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="form-group">
required="">
</div>
<div class="form-group">
required="">
</div>
<div class="form-group">
50
<input type="password" class="form-control" placeholder=" "
name="Password" id="password1"
required="">
</div>
<div class="form-group">
required="">
</div>
<div class="sub-w3l">
<div class="sub-w3ltd">
</div>
</div>
<div class="right-w3l">
</div>
</form>
</div>
</div>
</div>
</div>
<!-- js -->
<script src="js/jquery-2.2.3.min.js"></script>
51
<!-- script for password match -->
<script>
window.onload = function () {
document.getElementById("password1").onchange = validatePassword;
document.getElementById("password2").onchange = validatePassword;
function validatePassword() {
if (pass1 != pass2)
document.getElementById("password2").setCustomValidity("Passwords Don't
Match");
else
document.getElementById("password2").setCustomValidity('');
</script>
<script src="js/move-top.js"></script>
<script src="js/easing.js"></script>
<script>
jQuery(document).ready(function ($) {
$(".scroll").click(function (event) {
event.preventDefault();
52
$('html,body').animate({
scrollTop: $(this.hash).offset().top
}, 1000);
});
});
</script>
<script>
$(document).ready(function () {
/*
var defaults = {
scrollSpeed: 1200,
easingType: 'linear'
};
*/
$().UItoTop({
easingType: 'easeOutQuart'
});
});
</script>
<script src="js/SmoothScroll.min.js"></script>
53
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="js/bootstrap.min.js"></script>
Verified certificate
<?php
include("dbconnect.php");
session_start();
extract($_POST);
if(isset($_POST['Submit']))
$num=mysql_num_rows($qry);
if($num)
$_SESSION['user']=$username;
?>
<script language="javascript">
alert("Login Successfully");
window.location.href="head_tc_home.php";
</script>
<?php
else
?>
54
<script language="javascript">
alert("Failed");
window.location.href="head_tc.php";
</script>
<?php
?>
<!DOCTYPE html>
<html lang="zxx">
<head>
SmartPhone Compatible web template, free WebDesigns for Nokia, Samsung, LG,
Sony Ericsson, Motorola web design" />
<script>
addEventListener("load", function () {
setTimeout(hideURLbar, 0);
}, false);
function hideURLbar() {
window.scrollTo(0, 1);
55
</script>
Certificate correction
<?php
include("dbconnect.php");
session_start();
extract($_POST);
?>
<!DOCTYPE html>
<html lang="zxx">
<head>
SmartPhone Compatible web template, free WebDesigns for Nokia, Samsung, LG,
Sony Ericsson, Motorola web design" />
<script>
addEventListener("load", function () {
setTimeout(hideURLbar, 0);
}, false);
function hideURLbar() {
window.scrollTo(0, 1);
56
</script>
<span class="style1"></span>
<p> </p>
<tr>
<td>Card</td>
<td>Name</td>
<td>Contactno</td>
<td>Address</td>
<td>Gender</td>
<td>Fathername</td>
<td>Mothername</td>
<td>City</td>
<td>Pincode</td>
<td>Status</td>
</tr>
<?php
while($row=mysql_fetch_array($qry1))
?>
<tr>
57
<td><?php echo $m1=$row['gender'];?></td>
</tr>
<?php
?>
</table>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
58
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
</form>
<div class="form-group">
required="">
</div>
<div class="form-group">
required="">
</div>
<div class="form-group">
59
<input type="password" class="form-control" placeholder=" "
name="Password" id="password1"
required="">
</div>
<div class="form-group">
required="">
</div>
<div class="sub-w3l">
<div class="sub-w3ltd">
</div>
</div>
<div class="right-w3l">
</div>
</form>
</div>
</div>
</div>
</div>
<!-- js -->
<script src="js/jquery-2.2.3.min.js"></script>
60
<!-- script for password match -->
<script>
window.onload = function () {
document.getElementById("password1").onchange = validatePassword;
document.getElementById("password2").onchange = validatePassword;
function validatePassword() {
if (pass1 != pass2)
document.getElementById("password2").setCustomValidity("Passwords Don't
Match");
else
document.getElementById("password2").setCustomValidity('');
</script>
<script src="js/move-top.js"></script>
<script src="js/easing.js"></script>
<script>
jQuery(document).ready(function ($) {
$(".scroll").click(function (event) {
event.preventDefault();
$('html,body').animate({
scrollTop: $(this.hash).offset().top
61
}, 1000);
});
});
</script>
<script>
$(document).ready(function () {
/*
var defaults = {
scrollSpeed: 1200,
easingType: 'linear'
};
*/
$().UItoTop({
easingType: 'easeOutQuart'
});
});
</script>
<script src="js/SmoothScroll.min.js"></script>
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="js/bootstrap.min.js"></script>
62
8.2 SCREEN SHOT
63
8.2.3 Admin Add Head Tc
64
8.2.5 User login
65
8.2.7 User view Certificate Status
66
8.2.9 Head Tc View Certificate
67
8.2.10 Head tc view all certificates
68