SlideShare a Scribd company logo
1 of 88
1
PROJECT REPORT
ON
“BLOOD BANK SYSTEM”
SUBMITTED FOR PARTIAL FULFILLMENT
OF
BACHELOR OF SCIENCE (IT)
H.N.B. GARHWAL UNIVERSITY, SRINAGAR
2016-2019
HNB LOGO
SUBMITTED BY : SUBMITTED TO :
ANKIT KUMAR, MRS. AMITA
RAHUL SINGH, RAIZADA
B.Sc.(IT)
6th SEM
2
DECLARATION
We hereby declare that project report entitled, “BLOOD BANK
SYSTEM”, written and submitted by us, under the guidance of
Information Technology faculty, is our original work.
We have not copied anything from any source or other project submitted
for similar purpose.
Place: Dehradun
Date: Ankit Kumar,
Rahul Singh
B.Sc.(IT) 6 th SEM
3
ACKNOWLEDGEMENT
We want to thank all those who devoted their energy, resources and time
to the success of this project. The foremost ultimate thank
However, we can’t forget the support that both our friends and family
have granted us through this process. In conclusion, we will forever
treasure the help from both mentioned and non-mentioned well-wishers
deeply in our heart.
4
DEHRADUN
(AFFILIATED TO H.N.B. GARHWAL UNIVERSITY, SRINAGAR)
CERTIFICATE
This is to certify that the project entitled, “Blood bank System”,
submitted by Ankit kumar, Rahul singh, as a partial fulfilment to the
requirement for the award of the degree Bachelor of Science (IT), is a
record of bona fide work carried out in this organisation under our
supervision and has not been submitted anywhere else for any other
purpose.
5
ABSTRACT
Everybody wants to be global and internet is the only solution to that!
Through internet it’s easy to access, buy and book anything till their is a
website related to that organisation in which the user is interested.
So there are some small businesses which are not recognized that much
and want to be the known one. Therefore we surveyed various small
business owners and asked them if they want their business to be online
too. So, as per our conditions and understanding between the client and
us, we decided to build a website of a guest house-cum-apartment
building.
After this, we made our client to put all their demands that he wants to
be there on website and problems that he wants us to resolve.
After finishing website and the related stuff, the result was great. Now,
he is even getting the international bookings with ease and there is no
headache of getting calls-on-calls and creating a mess by not able to
answer them all.
This project gave us a conclusion that there are several possibilities to
increase your business if you go with the changes taking place in the
world. And if one knows the steps to do this then there are several
people like us to help them and make them achieve what they want.
6
INDEX
1. Introduction
2. Advantages of the proposed system
2.1 MODULES OF BLOOD BANK SYSTEM
2.2 Admin
2.3 Donor
2.4 Donor Registration
2.5 ModifyingDonor Information
2.6 Acceptors
2.7 Donor Search
2.8 Life Saving Contact
3. Blood Cell MODULE
3.1 Features of Blood cells Module
4. Blood Stock Module
4.1 Features of Blood Stock Module
5 System - Flow Diagram
5.1 Data - Flow Diagrams Blood bank system
6.Coding
6.1PHP Coding
6.2 Admin dasboard Coding
6.21 INSERT query coding
6.22Add_city coding
6.23 Delete_city Coding
6.24 Add_donor Coding
6.25 Delete donor Coding
6.26 Add_member Coding
6.27 Delete member Coding
6.28 Add State Coding
6.29 Delete State Coding
6.3 Header coding
6.4 User_dasboard coding 11
6.30 DONOR Member Coding
7
6.31 Need blood form Coding
6.5 Database connection coding
7 Register form Coding
8 Login Snapshots
9 Register Form Snapshots
10 Databas Snapshots
8
INTRODUCTION
This blood bank system is an online website so it is easily available
to everyone. When a person want to donate blood he have to
register to the system. Donor registration is very easy, to get
register to the system he have to fill up registration form. After
submitting the registration form he can create username and
password. Donor have to give information like blood group,
contact details etc. donor can also change his account information
when he wants using his username and password
.
There are two user of Websits. First is admin user who can manage all
the operation of the Web Application and second is an unregistered
user,who has limited rights.The Project fronted has been developed on
using HTML , Bootstrap(css,Javascript,Jquery) And PHP business
logic has been written in Php database is mysql.
9
2. Advantages of the proposed system
2.1 MODULES OF BLOOD BANK MANAGEMENT SYSTEM
Online Blood Bank management system is to provide services for
the people who are in need of blood by getting help from the
donors who are interested in donating blood for the people.
There are seven main modules in this system
2.2 Admin
Admin can manage both donors & acceptors. He can add or
remove any user from the system. Each member in a donor &
acceptor is given a user id and password, which identifies him
uniquely. From admin module use can change donor details,
delete donor or change the password.
· Change Password
· Modify donor details
· delete donor details
· Logout
10
Whenever a user wants to change his / her password he can select
the change password option. The system displays the form, which
asks him for his old password and new password. The system then
compares the old password with the existing password in the
database and if they match then the password is set to the new
password in the database.
2.23 Donor
From this module user can create their account, when user create
his account the user get a user id and password, which identifies
him uniquely. From this module user can search donor for blood
and can also refer his friend to become a donor. Donor can also
get information like when he donated blood or when he will be
able to donate blood.
2.24 Donor Registration:
In this module, people who are interested in donating blood get
registered in my site and give his overall details related to him, i.e.
he fills in a registration form by giving the total details such as
name, address, city, sex, wt, dob, blood group, telephone
numbers, e-mail address, etc. He was also given two fields’
username and password to fill such that he was a registered
11
donor and he can enter the login form with his username and
password and can modify his details if needed.
2.25 Modifying Donor Information:
The registered donor only is able to modify his details; no other
person can modify his details as there was a login form which
restricts others from entering the username and password
providing high security for the details given by the donor. If at all
the donor wants to modify his details, he was forced to give his
username and password to enter in. After giving the username
and password it checks for the donor whether he is an existing
donor or not and if the username and password matches, he can
then able to modify his total details. If the username and
password do not exist then he gets a message as ‘Wrong ID and
Password Entered, Try Again’.
Following links are available on donor and acceptor module.
· Why donate blood
· Who needs blood
· Find A Donor.
· Refer A Friend.
12
· Logout
2.26 Acceptors
This module helps user to find blood group. When user click on
find a blood group system ask him to enter blood group he want
to search. After entering the blood group, system search for the
availability of the blood group and give him the list of the donors
who has the same blood group. Whenever a user wants to change
password he can select the change password option. Then system
ask the user to enter old username and password then system
check the credentials and change the password. Clicking on
logout button user can log out from the system.
· Find A Donor.
· Refer A Friend.
· Change password.
· Find a Blood group.
· Logout
13
2.27 Donor Search:
The people who are in need of blood can search in our site for
getting the details of donors having the same blood group and
with in the same city. They can directly click on the link search a
donor and can select a city name as well as the blood group
which he needs. He then gets the details of the donors who exist
with in the city and the same blood group that he has selected. If
no match was are found for the city and group selected by him he
gets a message ‘SORRY DONORS ARE NOT AVAILABE WITH THE
FOLLOWING BLOOD GROUP AND AREA’.
2.28 Life Saving Contacts:
If at all the people in search of a donor doesn’t get any match for
their area and group then they will be provided a service i.e. he
will be given a Contact Person details for their near by cities who
have the details of many other donors with him. The people in
search can call him and can get the details of the donors and can
be provided services in this manner. But this life saving contact
persons can be available only for a limited number of cities but
not for all. These contact persons are the authorized persons of
my blood bank.
14
3.Blood Cell Module
The main aim of this module provide all the functionality related
to blood cells.This blood cells module is an important module in
this project group Blood Bank Sytem which I have been developed on
PHP and MY SQL. Student can get project in php free downloadit tracks
all the information and details of the blood cells.
3.1 Features of Blood cells Module
 Admin can add new blood cells
 Admin can see the list of blood cells details
 Only admin can edit and update the recored of the blood
cells
 Admin will be able to delete the records ot the blood cells
 All blood cells forms are validated on client side using
JavaScript

4.Blood Stock Module
The main aim of this module is provide all the functionality related to
blood stock. So all blood stock will be managed by admin and user will
be able to see blood stock. It tracks all the information and details of
the blood stock.Here students can get php project with database free
download
15
4.1 Features of Blood Stock Module
 Admin can add new blood stock
 Admin can see the list of blood stock details
 Only admin can edit and update the record of the blood stock
 Admin will be able to delete the records of the blood stock
 All blood stock forms are validated on client side using Javascript
5.System - Flow Diagram:
16
17
5.1 Data - Flow Diagrams Blood bank management system
Context Level - DFD:
6.1 PHP CODING
File Name: index .php
<?php
session_start();
?>
<!doctype html>
<html lang="en" class="fullscreen-bg">
<head>
<title>Please Login Here</title>
18
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible"
content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-
scale=1.0, maximum-scale=1.0, user-scalable=0">
<!-- VENDOR CSS -->
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/vendor/font-awesome/css/font-
awesome.min.css">
<link rel="stylesheet" href="assets/vendor/linearicons/style.css">
<!-- MAIN CSS -->
<link rel="stylesheet" href="assets/css/main.css">
<!-- FOR DEMO PURPOSES ONLY. You should remove this in
your project -->
<link rel="stylesheet" href="assets/css/demo.css">
<!-- GOOGLE FONTS -->
<link
href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,40
0,600,700" rel="stylesheet">
<!-- ICONS -->
<link rel="apple-touch-icon" sizes="76x76"
href="assets/img/apple-icon.png">
</head>
19
<body>
<!-- WRAPPER -->
<div id="wrapper">
<div class="vertical-align-wrap">
<?php
if(isset($_SESSION['success'])){
echo "";
}
?>
<div class="vertical-align-middle">
<div class="auth-box ">
<div class="left">
<div class="content">
<div class="header">
<div class="logo text-center"><img src="assets/img/lo.png"
style="height:100px;width:100px;"></div>
<p class="lead">Login to your account</p>
</div>
<form class="form-auth-small" action="login.php" method="post">
20
<div class="form-group">
<label for="signin-email" class="control-label sr-only">Email</label>
<input type="text" class="form-control" name="username"
id="username" placeholder="Username">
</div>
<div class="form-group">
<label for="signin-password" class="control-label sr-
only">Password</label>
<input type="password" class="form-control" id="password"
name="password" placeholder="Password">
</div>
<div class="form-group clearfix">
<label class="fancy-checkbox element-left">
<input type="checkbox">
<span>Remember me</span>
</label>
</div>
<button type="submit" class="btn btn-primary btn-lg btn-
block">LOGIN</button>
<div class="bottom">
<span class="helper-text"><i class="fa fa-lock"></i> <a
href="register.php">Not A Member? </a></span>
21
</div>
</form>
</div>
</div>
<div class="right">
<div class="overlay"></div>
<div class="content text">
<h1 class="heading">Welcome Blood Bank System</h1>
<p>Developed By <a href="" style="color:black;text-
decoration:none;"><b>Rahul</b> & <b>Ankit</b></a></p>
</div>
</div>
<div class="clearfix"></div>
</div>
</div>
</div>
</div>
</body>
</html>
22
6.2 Admin dasboard Coding
File name:admin_dashboard.php
<?php
include('../header.php');
?>
<!-- END LEFT SIDEBAR -->
<!-- MAIN -->
<div class="main">
<!-- MAIN CONTENT -->
<div class="main-content">
<div class="container-fluid">
<!-- OVERVIEW -->
<div class="panel panel-headline">
<div class="panel-heading">
<h3 class="panel-
title">Weekly Overview</h3>
<p class="panel-subtitle">Period: April 15,
2019 - April 22, 2019</p>
</div>
<div class="panel-body">
<div class="row">
<div class="col-md-3">
<div class="metric">
<span class="icon"><i class="fa fa-
download"></i></span>
<p>
<span class="number">1,252</span>
<span class="title">Downloads</span>
</p>
</div>
</div>
23
<div class="col-md-3">
<div class="metric">
<span class="icon"><i class="fa fa-
shopping-bag"></i></span>
<p>
<span class="number">203</span>
<span class="title">Sales</span>
</p>
</div>
</div>
<div class="col-md-3">
<div class="metric">
<span class="icon"><i class="fa fa-eye"></i></span>
<p>
<span class="number">274,678</span>
<span class="title">Visits</span>
</p>
</div>
</div>
<div class="col-md-3">
<div class="metric">
<span class="icon"><i class="fa fa-bar-
chart"></i></span>
<p>
<span class="number">35%</span>
<span class="title">Conversions</span>
</p>
</div>
</div>
</div>
<div class="row">
<div class="col-md-9">
<div id="headline-chart" class="ct-chart"></div>
24
</div>
</div>
</div>
</div>
<!-- END OVERVIEW -->
</div>
</div>
<!-- END MAIN CONTENT -->
</div>
<!-- END MAIN -->
<div class="clearfix"></div>
<footer>
<div class="container-fluid">
<p class="copyright">&copy; 2019 <a href=""
target="_blank"></a>. BSC (IT).</p>
</div>
</footer>
</div>
<?php
include('../footer.php');
?>
6.21 INSERT query coding
File name:add _donor.php
<?php
include('../connection.php');
session_start();
$name = $_POST['name'];
25
$fathername = $_POST['fathername'];
$gender = $_POST['gender'];
$datepicker = $_POST['datepicker'];
$weight = $_POST['weight'];
$email = $_POST['email'];
$blood = $_POST['blood'];
$state = $_POST['state'];
$city = $_POST['city'];
$pincode = $_POST['pincode'];
$phone = $_POST['phone'];
$address = $_POST['address'];
$fileInfo = PATHINFO($_FILES["photo"]["name"]);
if (empty($_FILES["photo"]["name"])){
$location="";
}
else{
if ($fileInfo['extension'] == "jpg" OR $fileInfo['extension'] ==
"png") {
$newFilename = $fileInfo['filename'] . "_" . time() . "." .
$fileInfo['extension'];
move_uploaded_file($_FILES["photo"]["tmp_name"],
"../upload/" . $newFilename);
$location = "upload/" . $newFilename;
}
else{
$location="";
?>
<script>
window.alert('Photo not added. Please
upload JPG or PNG photo only!');
26
</script>
<?php
}
}
// echo "<pre>";
// print_r($_POST);
// exit();
$insert = $connection->query("INSERT INTO donor(name,
father_name, gender, dob, body_weight, email, blood_group, state,
city, address, pincode, phone, image, username_fk, status) VALUES
('$name', '$fathername', '$gender', '$datepicker', '$weight', '$email',
'$blood', '$state', '$city', '$pincode', '$phone', '$address', '$location',
'".$_SESSION['username']."', '0')");
// $r = "INSERT INTO donor(name, father_name, gender, dob,
body_weight, email, state, city, address, pincode, phone, image,
username_fk) VALUES ('$name', '$fathername', '$gender',
'$datepicker', '$weight', '$email', '$state', '$city', '$pincode', '$phone',
'$address', '$location',)";
// echo $r;
// exit();
if($insert){
header('location:donor.php');
}else {
header('location:donor.php');
}
?>
27
6.22 add_city coding
File name:add_city.php
<?php
include('../connection.php');
session_start();
$code = $_POST['code'];
$state = $_POST['state'];
$city = $_POST['city'];
$description = $_POST['description'];
if(!$_SERVER['REQUEST_METHOD'] == 'POST'){
$_SESSION['state_error'] = '';
}else {
$insert = $connection->query("INSERT INTO
city(city_code, city_name, description, state_fk) VALUES('$code',
'$city', '$description', '$state')");
$_SESSION['state_success'] = '';
header('location:city.php');
}
?>
28
6.23 Delete_city Coding
File name:delete_city.php
<?php
include('../connection.php');
$id = $_GET['city_id'];
$delete = $connection->query("DELETE FROM city WHERE
city_id='$id'");
header('location:city.php');
?>
6.24 Add_donor Coding
File name:add_donor.php
<?php
include('../connection.php');
session_start();
$name = $_POST['name'];
29
$fathername = $_POST['fathername'];
$gender = $_POST['gender'];
$datepicker = $_POST['datepicker'];
$weight = $_POST['weight'];
$email = $_POST['email'];
$blood = $_POST['blood'];
$state = $_POST['state'];
$city = $_POST['city'];
$pincode = $_POST['pincode'];
$phone = $_POST['phone'];
$address = $_POST['address'];
$fileInfo = PATHINFO($_FILES["photo"]["name"]);
if (empty($_FILES["photo"]["name"])){
$location="";
}
else{
30
if ($fileInfo['extension'] == "jpg" OR $fileInfo['extension']
== "png") {
$newFilename = $fileInfo['filename'] . "_" . time() . "."
. $fileInfo['extension'];
move_uploaded_file($_FILES["photo"]["tmp_name"],
"../upload/" . $newFilename);
$location = "upload/" . $newFilename;
}
else{
$location="";
?>
<script>
window.alert('Photo not added. Please
upload JPG or PNG photo only!');
</script>
<?php
}
}
// echo "<pre>";
// print_r($_POST);
// exit();
31
$insert = $connection->query("INSERT INTO donor(name,
father_name, gender, dob, body_weight, email, blood_group, state, city,
address, pincode, phone, image, username_fk, status) VALUES
('$name', '$fathername', '$gender', '$datepicker', '$weight', '$email',
'$blood', '$state', '$city', '$pincode', '$phone', '$address', '$location',
'".$_SESSION['username']."', '0')");
// $r = "INSERT INTO donor(name, father_name, gender, dob,
body_weight, email, state, city, address, pincode, phone, image,
username_fk) VALUES ('$name', '$fathername', '$gender', '$datepicker',
'$weight', '$email', '$state', '$city', '$pincode', '$phone', '$address',
'$location',)";
// echo $r;
// exit();
if($insert){
header('location:donor.php');
}else {
header('location:donor.php');
}
?>
6.25 Delete_donor Coding
File name:delete_donor.php
32
?php
include('../connection.php');
$id = $_GET['donor_id'];
$delete = $connection->query("DELETE FROM donor
WHERE donor_id='$id'");
header('location:donor.php');
?>
6.26 Add_Member coding
File name:add_member.php
<?php
include('../connection.php');
session_start();
$name = $_POST['name'];
$username = $_POST['username'];
$password = $_POST['password'];
$email = $_POST['email'];
$phone = $_POST['phone'];
$address = $_POST['address'];
33
$fileInfo = PATHINFO($_FILES["photo"]["name"]);
if (empty($_FILES["photo"]["name"])){
$location="";
}
else{
if ($fileInfo['extension'] == "jpg" OR $fileInfo['extension']
== "png") {
$newFilename = $fileInfo['filename'] . "_" . time() . "."
. $fileInfo['extension'];
move_uploaded_file($_FILES["photo"]["tmp_name"],
"../upload/" . $newFilename);
$location = "upload/" . $newFilename;
}
else{
$location="";
?>
<script>
window.alert('Photo not added. Please
upload JPG or PNG photo only!');
</script>
<?php
34
}
}
if(!$_SERVER['REQUEST_METHOD'] == 'POST'){
$_SESSION['state_error'] = '';
}else {
$insert = $connection->query("INSERT INTO
member(name, username, password, email, phone, address, usertype,
profile) VALUES('$name', '$username', '$password', '$email', '$phone',
'$address', 'user', '$location')");
$_SESSION['state_success'] = '';
header('location:members.php');
}
?>
6.27 Delete_Member Coding
File name:delete_member.php
<?php
include('../connection.php');
$id = $_GET['member_id'];
35
$delete = $connection->query("DELETE FROM member WHERE
member_id='$id'");
header('location:members.php');
?>
6.28 Add State Coding
File name:add_state.php
<?php
include('../connection.php');
session_start();
$code = $_POST['code'];
$state = $_POST['state'];
$description = $_POST['description'];
if(!$_SERVER['REQUEST_METHOD'] == 'POST'){
$_SESSION['state_error'] = '';
}else {
$insert = $connection->query("INSERT INTO
state(state_code, state_name, description)
VALUES('$code', '$state', '$description')");
$_SESSION['state_success'] = '';
header('location:state.php');
}
?>
36
6.29 Delete_state Coding
File name:delete_state.php
?php
include('../connection.php');
$id = $_GET['state_id'];
$delete = $connection->query("DELETE FROM state
WHERE state_id='$id'");
header('location:state.php');
?>
6.3 Header coding
file name:header.php
<?php
include('connection.php');
session_start();
if(!isset($_SESSION['username']) AND
$_SESSION['member_id'] == ''){
header('location:login.php');
}
?>
<!doctype html>
<html lang="en">
37
<head>
<title>Welcome To Admin Dashboard</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible"
content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,
initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<!-- VENDOR CSS -->
<link rel="stylesheet"
href="../assets/vendor/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="../assets/vendor/font-
awesome/css/font-awesome.min.css">
<link rel="stylesheet"
href="../assets/vendor/linearicons/style.css">
<link rel="stylesheet"
href="../assets/vendor/chartist/css/chartist-custom.css">
<!-- MAIN CSS -->
<link rel="stylesheet" href="../assets/css/main.css">
<!-- FOR DEMO PURPOSES ONLY. You should remove this in
your project -->
<!-- <link rel="stylesheet" href="assets/css/demo.css"> --
>
<!-- GOOGLE FONTS -->
<link
href="https://fonts.googleapis.com/css?family=Source+Sans+Pr
o:300,400,600,700" rel="stylesheet">
<!-- ICONS -->
<link rel="apple-touch-icon" sizes="76x76"
href="assets/img/apple-icon.png">
<link rel="icon" type="image/png" sizes="96x96"
href="assets/img/favicon.png">
</head>
<body>
<!-- WRAPPER -->
<div id="wrapper">
<!-- NAVBAR -->
38
<nav class="navbar navbar-default navbar-fixed-top">
<div class="brand">
<a href="index.html"></a>
</div>
<div class="container-fluid">
<div class="navbar-btn">
<button type="button" class="btn-
toggle-fullwidth"><i class="lnr lnr-arrow-left-
circle"></i></button>
</div>
<form class="navbar-form navbar-left">
<div class="input-group">
<input type="text" value=""
class="form-control" placeholder="Search dashboard...">
<span class="input-group-
btn"><button type="button" class="btn btn-
primary">Go</button></span>
</div>
</form>
<div id="navbar-menu">
<ul class="nav navbar-nav navbar-
right">
<li class="dropdown">
<a href="#"
class="dropdown-toggle" data-toggle="dropdown"><img
src="..assetsimgro.jpg" class="img-circle" alt="Avatar">
<span><?php echo $_SESSION['username'];?></span> <i
class="icon-submenu lnr lnr-chevron-down"></i></a>
<ul class="dropdown-menu">
<li><a href="#"><i
class="lnr lnr-user"></i> <span>My Profile</span></a></li>
<li><a href="" data-
toggle="modal" data-target="#logout"><i class="lnr lnr-
exit"></i> <span>Logout</span></a></li>
39
</ul>
</li>
</ul>
</div>
</div>
</nav>
<!-- END NAVBAR -->
<!-- LEFT SIDEBAR -->
<div id="sidebar-nav" class="sidebar">
<div class="sidebar-scroll">
<nav>
<ul class="nav">
<li><a
href="admin_dashboard.php" class="active"><i class="lnr lnr-
home"></i> <span>Dashboard</span></a></li>
<li><a href="state.php"
class=""><i class="lnr lnr-code"></i>
<span>State</span></a></li>
<li><a href="city.php"
class=""><i class="lnr lnr-chart-bars"></i>
<span>City</span></a></li>
<li><a href="members.php"
class=""><i class="lnr lnr-cog"></i>
<span>Members</span></a></li>
<li><a href="donor.php"
class=""><i class="lnr lnr-alarm"></i> <span>Non Active
Donors</span></a></li>
<li>
<li><a href="active_donors.php"
class=""><i class="lnr lnr-alarm"></i> <span>Active
Donors</span></a></li>
</ul>
</nav>
</div>
</div>
40
<div class="modal fade" id="logout" role="dialog">
<div class="modal-dialog modal-sm">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-
dismiss="modal">&times;</button>
<h4 class="modal-title">Are you sure ?</h4>
</div>
<div class="modal-body">
<p>Want to logout now ?</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-
dismiss="modal">Close</button>
<a href="../logout.php"> <button type="button"
class="btn btn-danger">Logout</button></a>
</div>
</div>
</div>
</div>
6.4 User_dasboard coding
File name:user_dasboard.php
<?php
include('user_header.php');
?>
<div class="main">
<!-- MAIN CONTENT -->
41
<div class="main-content">
<div class="container-fluid">
<!-- OVERVIEW -->
<div class="panel panel-headline">
<div class="panel-heading">
<h3 class="panel-title">Weekly Overview</h3>
<p class="panel-subtitle">Period: Oct 14, 2016 - Oct 21, 2016</p>
</div>
<div class="panel-body">
<div class="row">
<div class="col-md-3">
<div class="metric">
<span class="icon"><i class="fa fa-
download"></i></span>
<p>
<span
class="number">1,252</span>
<span class="title">Downloads</span>
</p>
</div>
42
</div>
<div class="col-md-3">
<div class="metric">
<span class="icon"><i class="fa fa-shopping-bag"></i></span>
<p>
<span class="number">203</span>
<span class="title">Sales</span>
</p>
</div>
</div>
<div class="col-md-3">
<div class="metric">
<span class="icon"><i class="fa fa-eye"></i></span>
<p>
<span class="number">274,678</span>
<span class="title">Visits</span>
</p>
</div>
</div>
43
<div class="col-md-3">
<div class="metric">
<span class="icon"><i class="fa fa-bar-chart"></i></span>
<p>
<span class="number">35%</span>
<span class="title">Conversions</span>
</p>
</div>
</div>
</div>
</div>
</div>
<!-- END OVERVIEW -->
</div>
</div>
44
<!-- END MAIN CONTENT -->
</div>
<!-- END MAIN -->
<div class="clearfix"></div>
<footer>
<div class="container-fluid">
<p class="copyright">&copy; 2018 <a
href="http://shafraz.freeiz.com" target="_blank">Webrider
Solution</a>. All Rights Reserved.</p>
</div>
</footer>
</div>
<?php
include('user_footer.php');
?>
6.5 Database connection coding
File name:connection.php
<?php
$connection = new mysqli('localhost', 'root', '', 'blood_bank');
?>
45
6.30 DONOR Member Coding
File name:donor.php
<?php
include('user_header.php');
?>
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"><
/script>
<link rel="stylesheet" type="text/css"
href="//cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css">
<script type="text/javascript"
src="//cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<link rel="stylesheet"
href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
<link rel="stylesheet" href="/resources/demos/style.css">
<script type="text/javascript">
$(document).ready(function() {
$('#donor').DataTable();
} );
</script>
46
<script>
$( function() {
$( "#datepicker" ).datepicker();
} );
</script>
<div class="main">
<!-- MAIN CONTENT -->
<div class="main-content">
<div class="container-fluid">
<h2>Hello, <span style="color: blue"> <?php echo
$_SESSION['membername']?></span> Listed Donor. </h2> <br />
<p><button type="button" class="btn btn-primary" data-
toggle="modal" data-target="#adddonor">Donate Blood</button></p>
<br />
<h2>Recent Donors</h2> <br />
<ul class="nav nav-tabs">
47
<li class="active"><a data-toggle="tab" href="#home">All
Groups</a></li>
<!--<li><a data-toggle="tab" href="#menu1">A+ &nbsp;</a></li>
<li><a data-toggle="tab" href="#menu2">B+ &nbsp;</a></li>
<li><a data-toggle="tab" href="#menu3">AB+ &nbsp;</a></li>
<li><a data-toggle="tab" href="#menu4">O+ &nbsp;</a></li>
</ul>-->
<div class="tab-content">
<div id="home" class="tab-pane fade in active">
<h3>All Donors</h3>
<p><?php
$donor = $connection->query("SELECT * FROM donor");
while($fetch = $donor->fetch_array()){ ?>
<div class="col-md-4">
<!-- PANEL WITH FOOTER -->
<div class="panel">
<div class="panel-heading">
<h3 class="panel-title"><?php echo
$fetch['father_name'];?></h3>
<div class="right">
48
<button type="button" class="btn-toggle-collapse"><i
class="lnr lnr-chevron-up"></i></button>
<button type="button" class="btn-remove"><i class="lnr
lnr-cross"></i></button>
</div>
</div>
<div class="panel-body">
<p><img width="270px" height="150px" src="../<?php echo
$fetch['image'];?>"></p>
</div>
<div class="panel-footer">
<a href="" data-toggle="modal" data-
target="#view_donor<?php echo $fetch['donor_id']?>"><h5>View More
Info</h5></a>
</div>
</div>
<!-- END PANEL WITH FOOTER -->
</div>
<!-- view donor modal -->
<div class="modal fade" id="view_donor<?php echo
$fetch['donor_id']?>" role="dialog">
<div class="modal-dialog">
49
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-
dismiss="modal">&times;</button>
<h4 class="modal-title">View <?php echo $fetch['name']?>'s
Details</h4>
</div>
<div class="modal-body">
<form method="post" action="view_donor.php?donor_id=<?php
echo $fetch['donor_id']?>">
<div class="form-group">
<input type="text" value="<?php echo $fetch['name']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['father_name']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
50
<input type="text" value="<?php echo $fetch['gender']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['dob']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['body_weight']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['email']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['state']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['city']?>"
class="form-control" readonly></input>
</div>
51
<div class="form-group">
<input type="text" value="<?php echo $fetch['pincode']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['phone']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['username_fk']?>"
class="form-control" readonly></input>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-
dismiss="modal">OKAY</button>
<button type="submit" class="btn btn-primary" >View
Profile</button>
</div>
</div>
</form>
52
</div>
</div>
<?php }
?></p>
</div>
<div id="menu1" class="tab-pane fade">
<h3>Donors With A+</h3>
<p><?php
$donor = $connection->query("SELECT * FROM donor WHERE
blood_group='A+'");
while($fetch = $donor->fetch_array()){ ?>
<div class="col-md-4">
<!-- PANEL WITH FOOTER -->
<div class="panel">
<div class="panel-heading">
<h3 class="panel-title"><?php echo
$fetch['father_name'];?></h3>
<div class="right">
<button type="button" class="btn-toggle-collapse"><i
class="lnr lnr-chevron-up"></i></button>
<button type="button" class="btn-remove"><i class="lnr
lnr-cross"></i></button>
53
</div>
</div>
<div class="panel-body">
<p><img width="270px" height="150px" src="../<?php echo
$fetch['image'];?>"></p>
</div>
<div class="panel-footer">
<a href="" data-toggle="modal" data-
target="#view_donor<?php echo $fetch['donor_id']?>"><h5>View More
Info</h5></a>
</div>
</div>
<!-- END PANEL WITH FOOTER -->
</div>
<!-- view donor modal -->
<div class="modal fade" id="view_donor<?php echo
$fetch['donor_id']?>" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
54
<div class="modal-header">
<button type="button" class="close" data-
dismiss="modal">&times;</button>
<h4 class="modal-title">View <?php echo $fetch['name']?>'s
Details</h4>
</div>
<div class="modal-body">
<form method="post" action="view_donor.php?donor_id=<?php
echo $fetch['donor_id']?>">
<div class="form-group">
<input type="text" value="<?php echo $fetch['name']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['father_name']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['gender']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
55
<input type="text" value="<?php echo $fetch['dob']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['body_weight']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['email']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['state']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['city']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['pincode']?>"
class="form-control" readonly></input>
</div>
56
<div class="form-group">
<input type="text" value="<?php echo $fetch['phone']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['username_fk']?>"
class="form-control" readonly></input>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-
dismiss="modal">OKAY</button>
<button type="submit" class="btn btn-primary" >View
Profile</button>
</div>
</div>
</form>
</div>
</div>
<?php }
?></p>
57
</div>
<div id="menu2" class="tab-pane fade">
<h3>Donors With B+</h3>
<p><?php
$donor = $connection->query("SELECT * FROM donor WHERE
blood_group='B+'");
while($fetch = $donor->fetch_array()){ ?>
<div class="col-md-4">
<!-- PANEL WITH FOOTER -->
<div class="panel">
<div class="panel-heading">
<h3 class="panel-title"><?php echo
$fetch['father_name'];?></h3>
<div class="right">
<button type="button" class="btn-toggle-collapse"><i
class="lnr lnr-chevron-up"></i></button>
<button type="button" class="btn-remove"><i class="lnr
lnr-cross"></i></button>
</div>
</div>
<div class="panel-body">
58
<p><img width="270px" height="150px" src="../<?php echo
$fetch['image'];?>"></p>
</div>
<div class="panel-footer">
<a href="" data-toggle="modal" data-
target="#view_donor<?php echo $fetch['donor_id']?>"><h5>View More
Info</h5></a>
</div>
</div>
<!-- END PANEL WITH FOOTER -->
</div>
<!-- view donor modal -->
<div class="modal fade" id="view_donor<?php echo
$fetch['donor_id']?>" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-
dismiss="modal">&times;</button>
59
<h4 class="modal-title">View <?php echo $fetch['name']?>'s
Details</h4>
</div>
<div class="modal-body">
<form method="post" action="view_donor.php?donor_id=<?php
echo $fetch['donor_id']?>">
<div class="form-group">
<input type="text" value="<?php echo $fetch['name']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['father_name']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['gender']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['dob']?>"
class="form-control" readonly></input>
</div>
60
<div class="form-group">
<input type="text" value="<?php echo $fetch['body_weight']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['email']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['state']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['city']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['pincode']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['phone']?>"
class="form-control" readonly></input>
61
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['username_fk']?>"
class="form-control" readonly></input>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-
dismiss="modal">OKAY</button>
<button type="submit" class="btn btn-primary" >View
Profile</button>
</div>
</div>
</form>
</div>
</div>
<?php }
?></p>
</div>
<div id="menu3" class="tab-pane fade">
62
<h3>Donors With AB+</h3>
<p><?php
$donor = $connection->query("SELECT * FROM donor WHERE
blood_group='AB+'");
while($fetch = $donor->fetch_array()){ ?>
<div class="col-md-4">
<!-- PANEL WITH FOOTER -->
<div class="panel">
<div class="panel-heading">
<h3 class="panel-title"><?php echo
$fetch['father_name'];?></h3>
<div class="right">
<button type="button" class="btn-toggle-collapse"><i
class="lnr lnr-chevron-up"></i></button>
<button type="button" class="btn-remove"><i class="lnr
lnr-cross"></i></button>
</div>
</div>
<div class="panel-body">
<p><img width="270px" height="150px" src="../<?php echo
$fetch['image'];?>"></p>
</div>
63
<div class="panel-footer">
<a href="" data-toggle="modal" data-
target="#view_donor<?php echo $fetch['donor_id']?>"><h5>View More
Info</h5></a>
</div>
</div>
<!-- END PANEL WITH FOOTER -->
</div>
<!-- view donor modal -->
<div class="modal fade" id="view_donor<?php echo
$fetch['donor_id']?>" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-
dismiss="modal">&times;</button>
<h4 class="modal-title">View <?php echo $fetch['name']?>'s
Details</h4>
64
</div>
<div class="modal-body">
<form method="post" action="view_donor.php?donor_id=<?php
echo $fetch['donor_id']?>">
<div class="form-group">
<input type="text" value="<?php echo $fetch['name']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['father_name']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['gender']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['dob']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['body_weight']?>"
class="form-control" readonly></input>
65
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['email']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['state']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['city']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['pincode']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['phone']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
66
<input type="text" value="<?php echo $fetch['username_fk']?>"
class="form-control" readonly></input>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-
dismiss="modal">OKAY</button>
<button type="submit" class="btn btn-primary" >View
Profile</button>
</div>
</div>
</form>
</div>
</div>
<?php }
?></p>
</div>
<div id="menu4" class="tab-pane fade">
<h3>Donors With O+</h3>
<p><?php
67
$donor = $connection->query("SELECT * FROM donor WHERE
blood_group='O+'");
while($fetch = $donor->fetch_array()){ ?>
<div class="col-md-4">
<!-- PANEL WITH FOOTER -->
<div class="panel">
<div class="panel-heading">
<h3 class="panel-title"><?php echo
$fetch['father_name'];?></h3>
<div class="right">
<button type="button" class="btn-toggle-collapse"><i
class="lnr lnr-chevron-up"></i></button>
<button type="button" class="btn-remove"><i class="lnr
lnr-cross"></i></button>
</div>
</div>
<div class="panel-body">
<p><img width="270px" height="150px" src="../<?php echo
$fetch['image'];?>"></p>
</div>
<div class="panel-footer">
68
<a href="" data-toggle="modal" data-
target="#view_donor<?php echo $fetch['donor_id']?>"><h5>View More
Info</h5></a>
</div>
</div>
<!-- END PANEL WITH FOOTER -->
</div>
<!-- view donor modal -->
<div class="modal fade" id="view_donor<?php echo
$fetch['donor_id']?>" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-
dismiss="modal">&times;</button>
<h4 class="modal-title">View <?php echo $fetch['name']?>'s
Details</h4>
</div>
69
<div class="modal-body">
<form method="post" action="view_donor.php?donor_id=<?php
echo $fetch['donor_id']?>">
<div class="form-group">
<input type="text" value="<?php echo $fetch['name']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['father_name']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['gender']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['dob']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['body_weight']?>"
class="form-control" readonly></input>
</div>
70
<div class="form-group">
<input type="text" value="<?php echo $fetch['email']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['state']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['city']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['pincode']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['phone']?>"
class="form-control" readonly></input>
</div>
<div class="form-group">
<input type="text" value="<?php echo $fetch['username_fk']?>"
class="form-control" readonly></input>
71
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-
dismiss="modal">OKAY</button>
<button type="submit" class="btn btn-primary" >View
Profile</button>
</div>
</div>
</form>
</div>
</div>
<?php }
?></p>
</div>
</div>
72
</div>
</div>
</div>
<!-- add donor modal -->
<div class="modal fade" id="adddonor" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-
dismiss="modal">&times;</button>
<h4 class="modal-title">Add Donor Details</h4>
</div>
73
<div class="modal-body">
<form action="add_donor.php" method="post"
enctype="multipart/form-data">
<div class="form-group">
<input type="text" class="form-control" name="name"
id="name" placeholder="Enter Name"></input>
</div>
<div class="form-group">
<input type="text" class="form-control" name="fathername"
id="fathername" placeholder="Enter fathername"></input>
</div>
<div class="form-group">
<select class="form-control" name="gender" id="gender" >
<option value="male">Male</option>
<option value="female">Female</option>
<option value="other">Other</option>
</select>
</div>
74
<div class="form-group">
<input type="text" class="form-control" name="datepicker"
id="datepicker" placeholder="Enter dob"></input>
</div>
<div class="form-group">
<input type="text" class="form-control" name="weight"
id="weight" placeholder="Enter weight"></input>
</div>
<div class="form-group">
<input type="email" class="form-control" name="email"
id="email" placeholder="Enter email"></input>
</div>
<div class="form-group">
<select class="form-control" name="state" id="state" >
<?php
$state = $connection->query("SELECT * FROM state");
while($row = $state->fetch_array()){ ?>
<option value="<?php echo $row['state_name'];?>"><?php echo
$row['state_name'];?></option>
75
<?php }
?>
</select>
</div>
<div class="form-group">
<select class="form-control" name="city" id="city" >
<?php
$state = $connection->query("SELECT * FROM city");
while($row = $state->fetch_array()){ ?>
<option value="<?php echo $row['city_name'];?>"><?php echo
$row['city_name'];?></option>
<?php }
?>
</select>
</div>
76
<div class="form-group">
<input type="text" class="form-control" name="pincode"
id="pincode" placeholder="Enter pincode"></input>
</div>
<div class="form-group">
<input type="text" class="form-control" name="phone"
id="phone" placeholder="Enter phone"></input>
</div>
<div class="form-group">
<textarea type="text" class="form-control" name="address"
id="address" placeholder="Enter Address"></textarea>
</div>
<div class="form-group">
<input type="file" class="form-control" name="photo"
id="photo" ></input>
</div>
</div>
<div class="modal-footer">
77
<button type="button" class="btn btn-default" data-
dismiss="modal">Close</button>
<button type="submit" class="btn btn-primary"
name="addmember">Add</button>
</div>
</form>
</div>
</div>
</div>
<?php
include('user_footer.php');
?>
6.31 Need blood form Coding
File name:need_blood.php
<?php
include('../connection.php');
session_start();
$name = $_POST['name'];
78
$gender = $_POST['gender'];
$group = $_POST['group'];
$unit = $_POST['unit'];
$hospital = $_POST['hospital'];
$datepicker = $_POST['datepicker'];
$contactperson = $_POST['contactperson'];
$address = $_POST['address'];
$email = $_POST['email'];
$contact = $_POST['contact'];
$reason = $_POST['reason'];
$member = $_POST['member'];
$fileInfo = PATHINFO($_FILES["photo"]["name"]);
if (empty($_FILES["photo"]["name"])){
$location="";
}
else{
79
if ($fileInfo['extension'] == "jpg" OR $fileInfo['extension']
== "png") {
$newFilename = $fileInfo['filename'] . "_" . time() . "."
. $fileInfo['extension'];
move_uploaded_file($_FILES["photo"]["tmp_name"],
"../upload/" . $newFilename);
$location = "upload/" . $newFilename;
}
else{
$location="";
?>
<script>
window.alert('Photo not added. Please
upload JPG or PNG photo only!');
</script>
<?php
}
}
// echo "<pre>";
// print_r($_POST);
// exit();
80
$insert = $connection->query("INSERT INTO
requester(`patient_name`,`gender`,`blood_group`,`unit_blood`,`hospital_
name`,`date`,`contact_person`,`address`,`email`,`contact_no`,`reason`,`
member_fk`,`image`) VALUES ('$name', '$gender', '$group', '$unit',
'$hospital', '$datepicker', '$contactperson', '$address', '$email', '$contact',
'$reason', '".$_SESSION['membername']."', '$location')");
// $r = "INSERT INTO donor(name, father_name, gender, dob,
body_weight, email, state, city, address, pincode, phone, image,
username_fk) VALUES ('$name', '$fathername', '$gender', '$datepicker',
'$weight', '$email', '$state', '$city', '$pincode', '$phone', '$address',
'$location',)";
// echo $r;
// exit();
if($insert){
header('location:request.php');
}else {
header('location:request.php');
}
?>
6.5 Database connection coding
File name:connection.php
<?php
81
$connection = new mysqli('localhost', 'root', '', 'blood_bank');
?>
7 Register form Coding
File name: register.php
<html lang="en" class="fullscreen-bg">
<head>
<title>Please Login Here</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible"
content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-
scale=1.0, maximum-scale=1.0, user-scalable=0">
<!-- VENDOR CSS -->
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/vendor/font-awesome/css/font-
awesome.min.css">
<link rel="stylesheet" href="assets/vendor/linearicons/style.css">
<!-- MAIN CSS -->
<link rel="stylesheet" href="assets/css/main.css">
82
<!-- FOR DEMO PURPOSES ONLY. You should remove this in
your project -->
<link rel="stylesheet" href="assets/css/demo.css">
<!-- GOOGLE FONTS -->
<link
href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,40
0,600,700" rel="stylesheet">
<!-- ICONS -->
<link rel="apple-touch-icon" sizes="76x76"
href="assets/img/apple-icon.png">
<link rel="icon" type="image/png" sizes="96x96"
href="assets/img/favicon.png">
</head>
<body>
<!-- WRAPPER -->
<div id="wrapper">
<div class="vertical-align-wrap">
<div class="vertical-align-middle">
<div class="auth-box ">
<div class="left">
<div class="content">
83
<div class="header">
<div class="logo text-center"><img src="assets/img/lo.png"
style="height:100px;width:100px;"></div>
<p class="lead">Login to your account</p>
</div>
<form class="form-auth-small" action="member_register.php"
method="post">
<div class="form-group">
<label for="signin-email" class="control-label sr-
only">Email</label>
<input type="text" class="form-control" name="fullname"
id="fullname" placeholder="Fullname" required="">
</div>
<div class="form-group">
<label for="signin-email" class="control-label sr-
only">Email</label>
<input type="text" class="form-control" name="username"
id="username" placeholder="Username" required="">
</div>
<div class="form-group">
<label for="signin-password" class="control-label sr-
only">Password</label>
84
<input type="password" class="form-control" id="password"
name="password" placeholder="Password" required="">
</div>
<div class="form-group">
<label for="signin-password" class="control-label sr-
only">Email</label>
<input type="email" class="form-control" id="email"
name="email" placeholder="Eamil" required="">
</div>
<div class="form-group clearfix">
<label class="fancy-checkbox element-left">
<input type="checkbox">
<span>Remember me</span>
</label>
</div>
<button type="submit" class="btn btn-primary btn-lg btn-
block">REGISTER</button>
<div class="bottom">
<span class="helper-text"><i class="fa fa-lock"></i> <a
href="index.php">Are You A Member? </a></span>
</div>
85
</form>
</div>
</div>
<div class="right">
<div class="overlay"></div>
<div class="content text">
<h1 class="heading">Welcome Blood Bank System</h1>
<p>Developed By <a href="" style="color:black;text-
decoration:none;"><b>Rahul</b></a></p>
</div>
</div>
<div class="clearfix"></div>
</div>
</div>
</div>
</div>
</body>
</html>
86
<?php
$recipient = 'rahulfarswan0932@email.com';
//construct your email text here
$message = 'Name: '.$_POST['fullname'].'<br/>username:
'.$_POST['username'].'email: '.$_POST['email'];
mail($recipient, 'MAIL SUBJECT', $message);
?>
8 .Login Snapshots
87
9. Registered form Snapshots
10 Database Snapshots
88

More Related Content

What's hot

ONLINE BLOOD BANKING SYSTEM
ONLINE BLOOD BANKING SYSTEMONLINE BLOOD BANKING SYSTEM
ONLINE BLOOD BANKING SYSTEMAkansha Soni
 
Blood Bank Management System
Blood Bank Management SystemBlood Bank Management System
Blood Bank Management SystemSM. Aurnob
 
Blood Bank Project In Php&Java_Scrpt;s
Blood Bank Project In Php&Java_Scrpt;sBlood Bank Project In Php&Java_Scrpt;s
Blood Bank Project In Php&Java_Scrpt;sMahak Dhakad
 
Blood Bank Management System
Blood Bank Management SystemBlood Bank Management System
Blood Bank Management SystemChirag N Jain
 
Blood donor managment system
Blood donor managment systemBlood donor managment system
Blood donor managment systemAfsarah Jahin
 
Blood bank-data-abstract-php-project
Blood bank-data-abstract-php-projectBlood bank-data-abstract-php-project
Blood bank-data-abstract-php-projectnarii
 
Blood Bank and Donor Management System (PPT).pptx
Blood Bank and Donor Management System (PPT).pptxBlood Bank and Donor Management System (PPT).pptx
Blood Bank and Donor Management System (PPT).pptxNileshPatil90378
 
Blood bank management system (3).pptx
Blood bank management system (3).pptxBlood bank management system (3).pptx
Blood bank management system (3).pptx49LavanyaPrasadCST
 
IT Project on Blood Bank Management system
IT Project on Blood Bank Management systemIT Project on Blood Bank Management system
IT Project on Blood Bank Management systemDanish Alam
 
Blood Bank Management System
Blood Bank Management SystemBlood Bank Management System
Blood Bank Management SystemSakibhasan63
 
Blood donation ppt
Blood donation pptBlood donation ppt
Blood donation pptR prasad
 
SRS on Online Blood Bank Managment system...
SRS on Online Blood Bank Managment system... SRS on Online Blood Bank Managment system...
SRS on Online Blood Bank Managment system... GCWUF
 
Blood Bank Management System by CDAC
Blood Bank Management System by CDACBlood Bank Management System by CDAC
Blood Bank Management System by CDACSaurav Gupta
 
Smart Blood Bank
Smart Blood BankSmart Blood Bank
Smart Blood Bankk Tarun
 
Blood Bank Management System
Blood Bank Management SystemBlood Bank Management System
Blood Bank Management SystemChirag N Jain
 

What's hot (20)

ONLINE BLOOD BANKING SYSTEM
ONLINE BLOOD BANKING SYSTEMONLINE BLOOD BANKING SYSTEM
ONLINE BLOOD BANKING SYSTEM
 
Blood bank report new
Blood bank report newBlood bank report new
Blood bank report new
 
Blood bank management
Blood bank managementBlood bank management
Blood bank management
 
Blood Bank Management System
Blood Bank Management SystemBlood Bank Management System
Blood Bank Management System
 
Blood Bank Project In Php&Java_Scrpt;s
Blood Bank Project In Php&Java_Scrpt;sBlood Bank Project In Php&Java_Scrpt;s
Blood Bank Project In Php&Java_Scrpt;s
 
Blood Bank Management System
Blood Bank Management SystemBlood Bank Management System
Blood Bank Management System
 
BLOOD BANK SOFTWARE PRESENTATION
BLOOD BANK SOFTWARE PRESENTATIONBLOOD BANK SOFTWARE PRESENTATION
BLOOD BANK SOFTWARE PRESENTATION
 
Blood bank project8 sem
Blood bank project8 semBlood bank project8 sem
Blood bank project8 sem
 
Blood donor managment system
Blood donor managment systemBlood donor managment system
Blood donor managment system
 
Blood bank-data-abstract-php-project
Blood bank-data-abstract-php-projectBlood bank-data-abstract-php-project
Blood bank-data-abstract-php-project
 
Blood Bank and Donor Management System (PPT).pptx
Blood Bank and Donor Management System (PPT).pptxBlood Bank and Donor Management System (PPT).pptx
Blood Bank and Donor Management System (PPT).pptx
 
Blood bank management system (3).pptx
Blood bank management system (3).pptxBlood bank management system (3).pptx
Blood bank management system (3).pptx
 
IT Project on Blood Bank Management system
IT Project on Blood Bank Management systemIT Project on Blood Bank Management system
IT Project on Blood Bank Management system
 
Blood Bank Management System
Blood Bank Management SystemBlood Bank Management System
Blood Bank Management System
 
Blood donation ppt
Blood donation pptBlood donation ppt
Blood donation ppt
 
SRS on blood bank
SRS on blood bankSRS on blood bank
SRS on blood bank
 
SRS on Online Blood Bank Managment system...
SRS on Online Blood Bank Managment system... SRS on Online Blood Bank Managment system...
SRS on Online Blood Bank Managment system...
 
Blood Bank Management System by CDAC
Blood Bank Management System by CDACBlood Bank Management System by CDAC
Blood Bank Management System by CDAC
 
Smart Blood Bank
Smart Blood BankSmart Blood Bank
Smart Blood Bank
 
Blood Bank Management System
Blood Bank Management SystemBlood Bank Management System
Blood Bank Management System
 

Similar to Online Blood Bank Management System

Irjet v7 i6735 (1)
Irjet v7 i6735 (1)Irjet v7 i6735 (1)
Irjet v7 i6735 (1)Sharerarw
 
Report on Smart Blood Bank project
Report on Smart Blood Bank projectReport on Smart Blood Bank project
Report on Smart Blood Bank projectk Tarun
 
Blood bank Management System Salesforce
Blood bank Management System SalesforceBlood bank Management System Salesforce
Blood bank Management System Salesforcesonalighai
 
Blood Bank Management System.pptx.......
Blood Bank Management System.pptx.......Blood Bank Management System.pptx.......
Blood Bank Management System.pptx.......VijaylaxmiPatil11
 
blood donation ppt.pptx
blood donation ppt.pptxblood donation ppt.pptx
blood donation ppt.pptxVinishaJ3
 
Synopsis_rt_v_k.pptx(fgfefefehgftgegfeh)
Synopsis_rt_v_k.pptx(fgfefefehgftgegfeh)Synopsis_rt_v_k.pptx(fgfefefehgftgegfeh)
Synopsis_rt_v_k.pptx(fgfefefehgftgegfeh)vivekkaushik795
 
Jsp project topics
Jsp project topicsJsp project topics
Jsp project topicsAshly Liza
 
final new 7219.docx
final new 7219.docxfinal new 7219.docx
final new 7219.docxAgCreation5
 
Multi Banking System using Web Services
Multi Banking System using Web ServicesMulti Banking System using Web Services
Multi Banking System using Web ServicesRSIS International
 
a project used for blood management system.pptx
a project used for blood management system.pptxa project used for blood management system.pptx
a project used for blood management system.pptxAleenaJamil4
 
blood_donar.pptxhhjjjjjjjjjkkkkkkkkkkkkkkk
blood_donar.pptxhhjjjjjjjjjkkkkkkkkkkkkkkkblood_donar.pptxhhjjjjjjjjjkkkkkkkkkkkkkkk
blood_donar.pptxhhjjjjjjjjjkkkkkkkkkkkkkkkBalaKrishna616942
 
Multi Banking System
Multi Banking SystemMulti Banking System
Multi Banking SystemTEJVEER SINGH
 
Implementation of blood donation application using android smartphone
Implementation of blood donation application using android smartphoneImplementation of blood donation application using android smartphone
Implementation of blood donation application using android smartphoneIJARIIT
 
Multiple banking system
Multiple banking systemMultiple banking system
Multiple banking systemreddy gowtami
 

Similar to Online Blood Bank Management System (20)

Irjet v7 i6735 (1)
Irjet v7 i6735 (1)Irjet v7 i6735 (1)
Irjet v7 i6735 (1)
 
Report on Smart Blood Bank project
Report on Smart Blood Bank projectReport on Smart Blood Bank project
Report on Smart Blood Bank project
 
Blood bank Management System Salesforce
Blood bank Management System SalesforceBlood bank Management System Salesforce
Blood bank Management System Salesforce
 
BRAHMMI PRC1
BRAHMMI PRC1BRAHMMI PRC1
BRAHMMI PRC1
 
Blood Bank Management System.pptx.......
Blood Bank Management System.pptx.......Blood Bank Management System.pptx.......
Blood Bank Management System.pptx.......
 
blood donation ppt.pptx
blood donation ppt.pptxblood donation ppt.pptx
blood donation ppt.pptx
 
Synopsis_rt_v_k.pptx(fgfefefehgftgegfeh)
Synopsis_rt_v_k.pptx(fgfefefehgftgegfeh)Synopsis_rt_v_k.pptx(fgfefefehgftgegfeh)
Synopsis_rt_v_k.pptx(fgfefefehgftgegfeh)
 
Jsp project topics
Jsp project topicsJsp project topics
Jsp project topics
 
final new 7219.docx
final new 7219.docxfinal new 7219.docx
final new 7219.docx
 
Multi Banking System using Web Services
Multi Banking System using Web ServicesMulti Banking System using Web Services
Multi Banking System using Web Services
 
Blood lifeline
Blood lifelineBlood lifeline
Blood lifeline
 
a project used for blood management system.pptx
a project used for blood management system.pptxa project used for blood management system.pptx
a project used for blood management system.pptx
 
Sds
SdsSds
Sds
 
Software Design Document
Software Design DocumentSoftware Design Document
Software Design Document
 
blood_donar.pptxhhjjjjjjjjjkkkkkkkkkkkkkkk
blood_donar.pptxhhjjjjjjjjjkkkkkkkkkkkkkkkblood_donar.pptxhhjjjjjjjjjkkkkkkkkkkkkkkk
blood_donar.pptxhhjjjjjjjjjkkkkkkkkkkkkkkk
 
Multi Banking System
Multi Banking SystemMulti Banking System
Multi Banking System
 
PROJECT REPORT1
PROJECT REPORT1PROJECT REPORT1
PROJECT REPORT1
 
Implementation of blood donation application using android smartphone
Implementation of blood donation application using android smartphoneImplementation of blood donation application using android smartphone
Implementation of blood donation application using android smartphone
 
Multiple banking system
Multiple banking systemMultiple banking system
Multiple banking system
 
SYNOPSIS.pptx
SYNOPSIS.pptxSYNOPSIS.pptx
SYNOPSIS.pptx
 

Recently uploaded

complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...121011101441
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleAlluxio, Inc.
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
computer application and construction management
computer application and construction managementcomputer application and construction management
computer application and construction managementMariconPadriquez1
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 

Recently uploaded (20)

complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...Instrumentation, measurement and control of bio process parameters ( Temperat...
Instrumentation, measurement and control of bio process parameters ( Temperat...
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at Scale
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
computer application and construction management
computer application and construction managementcomputer application and construction management
computer application and construction management
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 

Online Blood Bank Management System

  • 1. 1 PROJECT REPORT ON “BLOOD BANK SYSTEM” SUBMITTED FOR PARTIAL FULFILLMENT OF BACHELOR OF SCIENCE (IT) H.N.B. GARHWAL UNIVERSITY, SRINAGAR 2016-2019 HNB LOGO SUBMITTED BY : SUBMITTED TO : ANKIT KUMAR, MRS. AMITA RAHUL SINGH, RAIZADA B.Sc.(IT) 6th SEM
  • 2. 2 DECLARATION We hereby declare that project report entitled, “BLOOD BANK SYSTEM”, written and submitted by us, under the guidance of Information Technology faculty, is our original work. We have not copied anything from any source or other project submitted for similar purpose. Place: Dehradun Date: Ankit Kumar, Rahul Singh B.Sc.(IT) 6 th SEM
  • 3. 3 ACKNOWLEDGEMENT We want to thank all those who devoted their energy, resources and time to the success of this project. The foremost ultimate thank However, we can’t forget the support that both our friends and family have granted us through this process. In conclusion, we will forever treasure the help from both mentioned and non-mentioned well-wishers deeply in our heart.
  • 4. 4 DEHRADUN (AFFILIATED TO H.N.B. GARHWAL UNIVERSITY, SRINAGAR) CERTIFICATE This is to certify that the project entitled, “Blood bank System”, submitted by Ankit kumar, Rahul singh, as a partial fulfilment to the requirement for the award of the degree Bachelor of Science (IT), is a record of bona fide work carried out in this organisation under our supervision and has not been submitted anywhere else for any other purpose.
  • 5. 5 ABSTRACT Everybody wants to be global and internet is the only solution to that! Through internet it’s easy to access, buy and book anything till their is a website related to that organisation in which the user is interested. So there are some small businesses which are not recognized that much and want to be the known one. Therefore we surveyed various small business owners and asked them if they want their business to be online too. So, as per our conditions and understanding between the client and us, we decided to build a website of a guest house-cum-apartment building. After this, we made our client to put all their demands that he wants to be there on website and problems that he wants us to resolve. After finishing website and the related stuff, the result was great. Now, he is even getting the international bookings with ease and there is no headache of getting calls-on-calls and creating a mess by not able to answer them all. This project gave us a conclusion that there are several possibilities to increase your business if you go with the changes taking place in the world. And if one knows the steps to do this then there are several people like us to help them and make them achieve what they want.
  • 6. 6 INDEX 1. Introduction 2. Advantages of the proposed system 2.1 MODULES OF BLOOD BANK SYSTEM 2.2 Admin 2.3 Donor 2.4 Donor Registration 2.5 ModifyingDonor Information 2.6 Acceptors 2.7 Donor Search 2.8 Life Saving Contact 3. Blood Cell MODULE 3.1 Features of Blood cells Module 4. Blood Stock Module 4.1 Features of Blood Stock Module 5 System - Flow Diagram 5.1 Data - Flow Diagrams Blood bank system 6.Coding 6.1PHP Coding 6.2 Admin dasboard Coding 6.21 INSERT query coding 6.22Add_city coding 6.23 Delete_city Coding 6.24 Add_donor Coding 6.25 Delete donor Coding 6.26 Add_member Coding 6.27 Delete member Coding 6.28 Add State Coding 6.29 Delete State Coding 6.3 Header coding 6.4 User_dasboard coding 11 6.30 DONOR Member Coding
  • 7. 7 6.31 Need blood form Coding 6.5 Database connection coding 7 Register form Coding 8 Login Snapshots 9 Register Form Snapshots 10 Databas Snapshots
  • 8. 8 INTRODUCTION This blood bank system is an online website so it is easily available to everyone. When a person want to donate blood he have to register to the system. Donor registration is very easy, to get register to the system he have to fill up registration form. After submitting the registration form he can create username and password. Donor have to give information like blood group, contact details etc. donor can also change his account information when he wants using his username and password . There are two user of Websits. First is admin user who can manage all the operation of the Web Application and second is an unregistered user,who has limited rights.The Project fronted has been developed on using HTML , Bootstrap(css,Javascript,Jquery) And PHP business logic has been written in Php database is mysql.
  • 9. 9 2. Advantages of the proposed system 2.1 MODULES OF BLOOD BANK MANAGEMENT SYSTEM Online Blood Bank management system is to provide services for the people who are in need of blood by getting help from the donors who are interested in donating blood for the people. There are seven main modules in this system 2.2 Admin Admin can manage both donors & acceptors. He can add or remove any user from the system. Each member in a donor & acceptor is given a user id and password, which identifies him uniquely. From admin module use can change donor details, delete donor or change the password. · Change Password · Modify donor details · delete donor details · Logout
  • 10. 10 Whenever a user wants to change his / her password he can select the change password option. The system displays the form, which asks him for his old password and new password. The system then compares the old password with the existing password in the database and if they match then the password is set to the new password in the database. 2.23 Donor From this module user can create their account, when user create his account the user get a user id and password, which identifies him uniquely. From this module user can search donor for blood and can also refer his friend to become a donor. Donor can also get information like when he donated blood or when he will be able to donate blood. 2.24 Donor Registration: In this module, people who are interested in donating blood get registered in my site and give his overall details related to him, i.e. he fills in a registration form by giving the total details such as name, address, city, sex, wt, dob, blood group, telephone numbers, e-mail address, etc. He was also given two fields’ username and password to fill such that he was a registered
  • 11. 11 donor and he can enter the login form with his username and password and can modify his details if needed. 2.25 Modifying Donor Information: The registered donor only is able to modify his details; no other person can modify his details as there was a login form which restricts others from entering the username and password providing high security for the details given by the donor. If at all the donor wants to modify his details, he was forced to give his username and password to enter in. After giving the username and password it checks for the donor whether he is an existing donor or not and if the username and password matches, he can then able to modify his total details. If the username and password do not exist then he gets a message as ‘Wrong ID and Password Entered, Try Again’. Following links are available on donor and acceptor module. · Why donate blood · Who needs blood · Find A Donor. · Refer A Friend.
  • 12. 12 · Logout 2.26 Acceptors This module helps user to find blood group. When user click on find a blood group system ask him to enter blood group he want to search. After entering the blood group, system search for the availability of the blood group and give him the list of the donors who has the same blood group. Whenever a user wants to change password he can select the change password option. Then system ask the user to enter old username and password then system check the credentials and change the password. Clicking on logout button user can log out from the system. · Find A Donor. · Refer A Friend. · Change password. · Find a Blood group. · Logout
  • 13. 13 2.27 Donor Search: The people who are in need of blood can search in our site for getting the details of donors having the same blood group and with in the same city. They can directly click on the link search a donor and can select a city name as well as the blood group which he needs. He then gets the details of the donors who exist with in the city and the same blood group that he has selected. If no match was are found for the city and group selected by him he gets a message ‘SORRY DONORS ARE NOT AVAILABE WITH THE FOLLOWING BLOOD GROUP AND AREA’. 2.28 Life Saving Contacts: If at all the people in search of a donor doesn’t get any match for their area and group then they will be provided a service i.e. he will be given a Contact Person details for their near by cities who have the details of many other donors with him. The people in search can call him and can get the details of the donors and can be provided services in this manner. But this life saving contact persons can be available only for a limited number of cities but not for all. These contact persons are the authorized persons of my blood bank.
  • 14. 14 3.Blood Cell Module The main aim of this module provide all the functionality related to blood cells.This blood cells module is an important module in this project group Blood Bank Sytem which I have been developed on PHP and MY SQL. Student can get project in php free downloadit tracks all the information and details of the blood cells. 3.1 Features of Blood cells Module  Admin can add new blood cells  Admin can see the list of blood cells details  Only admin can edit and update the recored of the blood cells  Admin will be able to delete the records ot the blood cells  All blood cells forms are validated on client side using JavaScript  4.Blood Stock Module The main aim of this module is provide all the functionality related to blood stock. So all blood stock will be managed by admin and user will be able to see blood stock. It tracks all the information and details of the blood stock.Here students can get php project with database free download
  • 15. 15 4.1 Features of Blood Stock Module  Admin can add new blood stock  Admin can see the list of blood stock details  Only admin can edit and update the record of the blood stock  Admin will be able to delete the records of the blood stock  All blood stock forms are validated on client side using Javascript 5.System - Flow Diagram:
  • 16. 16
  • 17. 17 5.1 Data - Flow Diagrams Blood bank management system Context Level - DFD: 6.1 PHP CODING File Name: index .php <?php session_start(); ?> <!doctype html> <html lang="en" class="fullscreen-bg"> <head> <title>Please Login Here</title>
  • 18. 18 <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial- scale=1.0, maximum-scale=1.0, user-scalable=0"> <!-- VENDOR CSS --> <link rel="stylesheet" href="assets/css/bootstrap.min.css"> <link rel="stylesheet" href="assets/vendor/font-awesome/css/font- awesome.min.css"> <link rel="stylesheet" href="assets/vendor/linearicons/style.css"> <!-- MAIN CSS --> <link rel="stylesheet" href="assets/css/main.css"> <!-- FOR DEMO PURPOSES ONLY. You should remove this in your project --> <link rel="stylesheet" href="assets/css/demo.css"> <!-- GOOGLE FONTS --> <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,40 0,600,700" rel="stylesheet"> <!-- ICONS --> <link rel="apple-touch-icon" sizes="76x76" href="assets/img/apple-icon.png"> </head>
  • 19. 19 <body> <!-- WRAPPER --> <div id="wrapper"> <div class="vertical-align-wrap"> <?php if(isset($_SESSION['success'])){ echo ""; } ?> <div class="vertical-align-middle"> <div class="auth-box "> <div class="left"> <div class="content"> <div class="header"> <div class="logo text-center"><img src="assets/img/lo.png" style="height:100px;width:100px;"></div> <p class="lead">Login to your account</p> </div> <form class="form-auth-small" action="login.php" method="post">
  • 20. 20 <div class="form-group"> <label for="signin-email" class="control-label sr-only">Email</label> <input type="text" class="form-control" name="username" id="username" placeholder="Username"> </div> <div class="form-group"> <label for="signin-password" class="control-label sr- only">Password</label> <input type="password" class="form-control" id="password" name="password" placeholder="Password"> </div> <div class="form-group clearfix"> <label class="fancy-checkbox element-left"> <input type="checkbox"> <span>Remember me</span> </label> </div> <button type="submit" class="btn btn-primary btn-lg btn- block">LOGIN</button> <div class="bottom"> <span class="helper-text"><i class="fa fa-lock"></i> <a href="register.php">Not A Member? </a></span>
  • 21. 21 </div> </form> </div> </div> <div class="right"> <div class="overlay"></div> <div class="content text"> <h1 class="heading">Welcome Blood Bank System</h1> <p>Developed By <a href="" style="color:black;text- decoration:none;"><b>Rahul</b> & <b>Ankit</b></a></p> </div> </div> <div class="clearfix"></div> </div> </div> </div> </div> </body> </html>
  • 22. 22 6.2 Admin dasboard Coding File name:admin_dashboard.php <?php include('../header.php'); ?> <!-- END LEFT SIDEBAR --> <!-- MAIN --> <div class="main"> <!-- MAIN CONTENT --> <div class="main-content"> <div class="container-fluid"> <!-- OVERVIEW --> <div class="panel panel-headline"> <div class="panel-heading"> <h3 class="panel- title">Weekly Overview</h3> <p class="panel-subtitle">Period: April 15, 2019 - April 22, 2019</p> </div> <div class="panel-body"> <div class="row"> <div class="col-md-3"> <div class="metric"> <span class="icon"><i class="fa fa- download"></i></span> <p> <span class="number">1,252</span> <span class="title">Downloads</span> </p> </div> </div>
  • 23. 23 <div class="col-md-3"> <div class="metric"> <span class="icon"><i class="fa fa- shopping-bag"></i></span> <p> <span class="number">203</span> <span class="title">Sales</span> </p> </div> </div> <div class="col-md-3"> <div class="metric"> <span class="icon"><i class="fa fa-eye"></i></span> <p> <span class="number">274,678</span> <span class="title">Visits</span> </p> </div> </div> <div class="col-md-3"> <div class="metric"> <span class="icon"><i class="fa fa-bar- chart"></i></span> <p> <span class="number">35%</span> <span class="title">Conversions</span> </p> </div> </div> </div> <div class="row"> <div class="col-md-9"> <div id="headline-chart" class="ct-chart"></div>
  • 24. 24 </div> </div> </div> </div> <!-- END OVERVIEW --> </div> </div> <!-- END MAIN CONTENT --> </div> <!-- END MAIN --> <div class="clearfix"></div> <footer> <div class="container-fluid"> <p class="copyright">&copy; 2019 <a href="" target="_blank"></a>. BSC (IT).</p> </div> </footer> </div> <?php include('../footer.php'); ?> 6.21 INSERT query coding File name:add _donor.php <?php include('../connection.php'); session_start(); $name = $_POST['name'];
  • 25. 25 $fathername = $_POST['fathername']; $gender = $_POST['gender']; $datepicker = $_POST['datepicker']; $weight = $_POST['weight']; $email = $_POST['email']; $blood = $_POST['blood']; $state = $_POST['state']; $city = $_POST['city']; $pincode = $_POST['pincode']; $phone = $_POST['phone']; $address = $_POST['address']; $fileInfo = PATHINFO($_FILES["photo"]["name"]); if (empty($_FILES["photo"]["name"])){ $location=""; } else{ if ($fileInfo['extension'] == "jpg" OR $fileInfo['extension'] == "png") { $newFilename = $fileInfo['filename'] . "_" . time() . "." . $fileInfo['extension']; move_uploaded_file($_FILES["photo"]["tmp_name"], "../upload/" . $newFilename); $location = "upload/" . $newFilename; } else{ $location=""; ?> <script> window.alert('Photo not added. Please upload JPG or PNG photo only!');
  • 26. 26 </script> <?php } } // echo "<pre>"; // print_r($_POST); // exit(); $insert = $connection->query("INSERT INTO donor(name, father_name, gender, dob, body_weight, email, blood_group, state, city, address, pincode, phone, image, username_fk, status) VALUES ('$name', '$fathername', '$gender', '$datepicker', '$weight', '$email', '$blood', '$state', '$city', '$pincode', '$phone', '$address', '$location', '".$_SESSION['username']."', '0')"); // $r = "INSERT INTO donor(name, father_name, gender, dob, body_weight, email, state, city, address, pincode, phone, image, username_fk) VALUES ('$name', '$fathername', '$gender', '$datepicker', '$weight', '$email', '$state', '$city', '$pincode', '$phone', '$address', '$location',)"; // echo $r; // exit(); if($insert){ header('location:donor.php'); }else { header('location:donor.php'); } ?>
  • 27. 27 6.22 add_city coding File name:add_city.php <?php include('../connection.php'); session_start(); $code = $_POST['code']; $state = $_POST['state']; $city = $_POST['city']; $description = $_POST['description']; if(!$_SERVER['REQUEST_METHOD'] == 'POST'){ $_SESSION['state_error'] = ''; }else { $insert = $connection->query("INSERT INTO city(city_code, city_name, description, state_fk) VALUES('$code', '$city', '$description', '$state')"); $_SESSION['state_success'] = ''; header('location:city.php'); } ?>
  • 28. 28 6.23 Delete_city Coding File name:delete_city.php <?php include('../connection.php'); $id = $_GET['city_id']; $delete = $connection->query("DELETE FROM city WHERE city_id='$id'"); header('location:city.php'); ?> 6.24 Add_donor Coding File name:add_donor.php <?php include('../connection.php'); session_start(); $name = $_POST['name'];
  • 29. 29 $fathername = $_POST['fathername']; $gender = $_POST['gender']; $datepicker = $_POST['datepicker']; $weight = $_POST['weight']; $email = $_POST['email']; $blood = $_POST['blood']; $state = $_POST['state']; $city = $_POST['city']; $pincode = $_POST['pincode']; $phone = $_POST['phone']; $address = $_POST['address']; $fileInfo = PATHINFO($_FILES["photo"]["name"]); if (empty($_FILES["photo"]["name"])){ $location=""; } else{
  • 30. 30 if ($fileInfo['extension'] == "jpg" OR $fileInfo['extension'] == "png") { $newFilename = $fileInfo['filename'] . "_" . time() . "." . $fileInfo['extension']; move_uploaded_file($_FILES["photo"]["tmp_name"], "../upload/" . $newFilename); $location = "upload/" . $newFilename; } else{ $location=""; ?> <script> window.alert('Photo not added. Please upload JPG or PNG photo only!'); </script> <?php } } // echo "<pre>"; // print_r($_POST); // exit();
  • 31. 31 $insert = $connection->query("INSERT INTO donor(name, father_name, gender, dob, body_weight, email, blood_group, state, city, address, pincode, phone, image, username_fk, status) VALUES ('$name', '$fathername', '$gender', '$datepicker', '$weight', '$email', '$blood', '$state', '$city', '$pincode', '$phone', '$address', '$location', '".$_SESSION['username']."', '0')"); // $r = "INSERT INTO donor(name, father_name, gender, dob, body_weight, email, state, city, address, pincode, phone, image, username_fk) VALUES ('$name', '$fathername', '$gender', '$datepicker', '$weight', '$email', '$state', '$city', '$pincode', '$phone', '$address', '$location',)"; // echo $r; // exit(); if($insert){ header('location:donor.php'); }else { header('location:donor.php'); } ?> 6.25 Delete_donor Coding File name:delete_donor.php
  • 32. 32 ?php include('../connection.php'); $id = $_GET['donor_id']; $delete = $connection->query("DELETE FROM donor WHERE donor_id='$id'"); header('location:donor.php'); ?> 6.26 Add_Member coding File name:add_member.php <?php include('../connection.php'); session_start(); $name = $_POST['name']; $username = $_POST['username']; $password = $_POST['password']; $email = $_POST['email']; $phone = $_POST['phone']; $address = $_POST['address'];
  • 33. 33 $fileInfo = PATHINFO($_FILES["photo"]["name"]); if (empty($_FILES["photo"]["name"])){ $location=""; } else{ if ($fileInfo['extension'] == "jpg" OR $fileInfo['extension'] == "png") { $newFilename = $fileInfo['filename'] . "_" . time() . "." . $fileInfo['extension']; move_uploaded_file($_FILES["photo"]["tmp_name"], "../upload/" . $newFilename); $location = "upload/" . $newFilename; } else{ $location=""; ?> <script> window.alert('Photo not added. Please upload JPG or PNG photo only!'); </script> <?php
  • 34. 34 } } if(!$_SERVER['REQUEST_METHOD'] == 'POST'){ $_SESSION['state_error'] = ''; }else { $insert = $connection->query("INSERT INTO member(name, username, password, email, phone, address, usertype, profile) VALUES('$name', '$username', '$password', '$email', '$phone', '$address', 'user', '$location')"); $_SESSION['state_success'] = ''; header('location:members.php'); } ?> 6.27 Delete_Member Coding File name:delete_member.php <?php include('../connection.php'); $id = $_GET['member_id'];
  • 35. 35 $delete = $connection->query("DELETE FROM member WHERE member_id='$id'"); header('location:members.php'); ?> 6.28 Add State Coding File name:add_state.php <?php include('../connection.php'); session_start(); $code = $_POST['code']; $state = $_POST['state']; $description = $_POST['description']; if(!$_SERVER['REQUEST_METHOD'] == 'POST'){ $_SESSION['state_error'] = ''; }else { $insert = $connection->query("INSERT INTO state(state_code, state_name, description) VALUES('$code', '$state', '$description')"); $_SESSION['state_success'] = ''; header('location:state.php'); } ?>
  • 36. 36 6.29 Delete_state Coding File name:delete_state.php ?php include('../connection.php'); $id = $_GET['state_id']; $delete = $connection->query("DELETE FROM state WHERE state_id='$id'"); header('location:state.php'); ?> 6.3 Header coding file name:header.php <?php include('connection.php'); session_start(); if(!isset($_SESSION['username']) AND $_SESSION['member_id'] == ''){ header('location:login.php'); } ?> <!doctype html> <html lang="en">
  • 37. 37 <head> <title>Welcome To Admin Dashboard</title> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> <!-- VENDOR CSS --> <link rel="stylesheet" href="../assets/vendor/bootstrap/css/bootstrap.min.css"> <link rel="stylesheet" href="../assets/vendor/font- awesome/css/font-awesome.min.css"> <link rel="stylesheet" href="../assets/vendor/linearicons/style.css"> <link rel="stylesheet" href="../assets/vendor/chartist/css/chartist-custom.css"> <!-- MAIN CSS --> <link rel="stylesheet" href="../assets/css/main.css"> <!-- FOR DEMO PURPOSES ONLY. You should remove this in your project --> <!-- <link rel="stylesheet" href="assets/css/demo.css"> -- > <!-- GOOGLE FONTS --> <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pr o:300,400,600,700" rel="stylesheet"> <!-- ICONS --> <link rel="apple-touch-icon" sizes="76x76" href="assets/img/apple-icon.png"> <link rel="icon" type="image/png" sizes="96x96" href="assets/img/favicon.png"> </head> <body> <!-- WRAPPER --> <div id="wrapper"> <!-- NAVBAR -->
  • 38. 38 <nav class="navbar navbar-default navbar-fixed-top"> <div class="brand"> <a href="index.html"></a> </div> <div class="container-fluid"> <div class="navbar-btn"> <button type="button" class="btn- toggle-fullwidth"><i class="lnr lnr-arrow-left- circle"></i></button> </div> <form class="navbar-form navbar-left"> <div class="input-group"> <input type="text" value="" class="form-control" placeholder="Search dashboard..."> <span class="input-group- btn"><button type="button" class="btn btn- primary">Go</button></span> </div> </form> <div id="navbar-menu"> <ul class="nav navbar-nav navbar- right"> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"><img src="..assetsimgro.jpg" class="img-circle" alt="Avatar"> <span><?php echo $_SESSION['username'];?></span> <i class="icon-submenu lnr lnr-chevron-down"></i></a> <ul class="dropdown-menu"> <li><a href="#"><i class="lnr lnr-user"></i> <span>My Profile</span></a></li> <li><a href="" data- toggle="modal" data-target="#logout"><i class="lnr lnr- exit"></i> <span>Logout</span></a></li>
  • 39. 39 </ul> </li> </ul> </div> </div> </nav> <!-- END NAVBAR --> <!-- LEFT SIDEBAR --> <div id="sidebar-nav" class="sidebar"> <div class="sidebar-scroll"> <nav> <ul class="nav"> <li><a href="admin_dashboard.php" class="active"><i class="lnr lnr- home"></i> <span>Dashboard</span></a></li> <li><a href="state.php" class=""><i class="lnr lnr-code"></i> <span>State</span></a></li> <li><a href="city.php" class=""><i class="lnr lnr-chart-bars"></i> <span>City</span></a></li> <li><a href="members.php" class=""><i class="lnr lnr-cog"></i> <span>Members</span></a></li> <li><a href="donor.php" class=""><i class="lnr lnr-alarm"></i> <span>Non Active Donors</span></a></li> <li> <li><a href="active_donors.php" class=""><i class="lnr lnr-alarm"></i> <span>Active Donors</span></a></li> </ul> </nav> </div> </div>
  • 40. 40 <div class="modal fade" id="logout" role="dialog"> <div class="modal-dialog modal-sm"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data- dismiss="modal">&times;</button> <h4 class="modal-title">Are you sure ?</h4> </div> <div class="modal-body"> <p>Want to logout now ?</p> </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data- dismiss="modal">Close</button> <a href="../logout.php"> <button type="button" class="btn btn-danger">Logout</button></a> </div> </div> </div> </div> 6.4 User_dasboard coding File name:user_dasboard.php <?php include('user_header.php'); ?> <div class="main"> <!-- MAIN CONTENT -->
  • 41. 41 <div class="main-content"> <div class="container-fluid"> <!-- OVERVIEW --> <div class="panel panel-headline"> <div class="panel-heading"> <h3 class="panel-title">Weekly Overview</h3> <p class="panel-subtitle">Period: Oct 14, 2016 - Oct 21, 2016</p> </div> <div class="panel-body"> <div class="row"> <div class="col-md-3"> <div class="metric"> <span class="icon"><i class="fa fa- download"></i></span> <p> <span class="number">1,252</span> <span class="title">Downloads</span> </p> </div>
  • 42. 42 </div> <div class="col-md-3"> <div class="metric"> <span class="icon"><i class="fa fa-shopping-bag"></i></span> <p> <span class="number">203</span> <span class="title">Sales</span> </p> </div> </div> <div class="col-md-3"> <div class="metric"> <span class="icon"><i class="fa fa-eye"></i></span> <p> <span class="number">274,678</span> <span class="title">Visits</span> </p> </div> </div>
  • 43. 43 <div class="col-md-3"> <div class="metric"> <span class="icon"><i class="fa fa-bar-chart"></i></span> <p> <span class="number">35%</span> <span class="title">Conversions</span> </p> </div> </div> </div> </div> </div> <!-- END OVERVIEW --> </div> </div>
  • 44. 44 <!-- END MAIN CONTENT --> </div> <!-- END MAIN --> <div class="clearfix"></div> <footer> <div class="container-fluid"> <p class="copyright">&copy; 2018 <a href="http://shafraz.freeiz.com" target="_blank">Webrider Solution</a>. All Rights Reserved.</p> </div> </footer> </div> <?php include('user_footer.php'); ?> 6.5 Database connection coding File name:connection.php <?php $connection = new mysqli('localhost', 'root', '', 'blood_bank'); ?>
  • 45. 45 6.30 DONOR Member Coding File name:donor.php <?php include('user_header.php'); ?> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js">< /script> <link rel="stylesheet" type="text/css" href="//cdn.datatables.net/1.10.16/css/jquery.dataTables.min.css"> <script type="text/javascript" src="//cdn.datatables.net/1.10.16/js/jquery.dataTables.min.js"></script> <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script> <link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css"> <link rel="stylesheet" href="/resources/demos/style.css"> <script type="text/javascript"> $(document).ready(function() { $('#donor').DataTable(); } ); </script>
  • 46. 46 <script> $( function() { $( "#datepicker" ).datepicker(); } ); </script> <div class="main"> <!-- MAIN CONTENT --> <div class="main-content"> <div class="container-fluid"> <h2>Hello, <span style="color: blue"> <?php echo $_SESSION['membername']?></span> Listed Donor. </h2> <br /> <p><button type="button" class="btn btn-primary" data- toggle="modal" data-target="#adddonor">Donate Blood</button></p> <br /> <h2>Recent Donors</h2> <br /> <ul class="nav nav-tabs">
  • 47. 47 <li class="active"><a data-toggle="tab" href="#home">All Groups</a></li> <!--<li><a data-toggle="tab" href="#menu1">A+ &nbsp;</a></li> <li><a data-toggle="tab" href="#menu2">B+ &nbsp;</a></li> <li><a data-toggle="tab" href="#menu3">AB+ &nbsp;</a></li> <li><a data-toggle="tab" href="#menu4">O+ &nbsp;</a></li> </ul>--> <div class="tab-content"> <div id="home" class="tab-pane fade in active"> <h3>All Donors</h3> <p><?php $donor = $connection->query("SELECT * FROM donor"); while($fetch = $donor->fetch_array()){ ?> <div class="col-md-4"> <!-- PANEL WITH FOOTER --> <div class="panel"> <div class="panel-heading"> <h3 class="panel-title"><?php echo $fetch['father_name'];?></h3> <div class="right">
  • 48. 48 <button type="button" class="btn-toggle-collapse"><i class="lnr lnr-chevron-up"></i></button> <button type="button" class="btn-remove"><i class="lnr lnr-cross"></i></button> </div> </div> <div class="panel-body"> <p><img width="270px" height="150px" src="../<?php echo $fetch['image'];?>"></p> </div> <div class="panel-footer"> <a href="" data-toggle="modal" data- target="#view_donor<?php echo $fetch['donor_id']?>"><h5>View More Info</h5></a> </div> </div> <!-- END PANEL WITH FOOTER --> </div> <!-- view donor modal --> <div class="modal fade" id="view_donor<?php echo $fetch['donor_id']?>" role="dialog"> <div class="modal-dialog">
  • 49. 49 <!-- Modal content--> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data- dismiss="modal">&times;</button> <h4 class="modal-title">View <?php echo $fetch['name']?>'s Details</h4> </div> <div class="modal-body"> <form method="post" action="view_donor.php?donor_id=<?php echo $fetch['donor_id']?>"> <div class="form-group"> <input type="text" value="<?php echo $fetch['name']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['father_name']?>" class="form-control" readonly></input> </div> <div class="form-group">
  • 50. 50 <input type="text" value="<?php echo $fetch['gender']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['dob']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['body_weight']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['email']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['state']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['city']?>" class="form-control" readonly></input> </div>
  • 51. 51 <div class="form-group"> <input type="text" value="<?php echo $fetch['pincode']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['phone']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['username_fk']?>" class="form-control" readonly></input> </div> </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data- dismiss="modal">OKAY</button> <button type="submit" class="btn btn-primary" >View Profile</button> </div> </div> </form>
  • 52. 52 </div> </div> <?php } ?></p> </div> <div id="menu1" class="tab-pane fade"> <h3>Donors With A+</h3> <p><?php $donor = $connection->query("SELECT * FROM donor WHERE blood_group='A+'"); while($fetch = $donor->fetch_array()){ ?> <div class="col-md-4"> <!-- PANEL WITH FOOTER --> <div class="panel"> <div class="panel-heading"> <h3 class="panel-title"><?php echo $fetch['father_name'];?></h3> <div class="right"> <button type="button" class="btn-toggle-collapse"><i class="lnr lnr-chevron-up"></i></button> <button type="button" class="btn-remove"><i class="lnr lnr-cross"></i></button>
  • 53. 53 </div> </div> <div class="panel-body"> <p><img width="270px" height="150px" src="../<?php echo $fetch['image'];?>"></p> </div> <div class="panel-footer"> <a href="" data-toggle="modal" data- target="#view_donor<?php echo $fetch['donor_id']?>"><h5>View More Info</h5></a> </div> </div> <!-- END PANEL WITH FOOTER --> </div> <!-- view donor modal --> <div class="modal fade" id="view_donor<?php echo $fetch['donor_id']?>" role="dialog"> <div class="modal-dialog"> <!-- Modal content--> <div class="modal-content">
  • 54. 54 <div class="modal-header"> <button type="button" class="close" data- dismiss="modal">&times;</button> <h4 class="modal-title">View <?php echo $fetch['name']?>'s Details</h4> </div> <div class="modal-body"> <form method="post" action="view_donor.php?donor_id=<?php echo $fetch['donor_id']?>"> <div class="form-group"> <input type="text" value="<?php echo $fetch['name']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['father_name']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['gender']?>" class="form-control" readonly></input> </div> <div class="form-group">
  • 55. 55 <input type="text" value="<?php echo $fetch['dob']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['body_weight']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['email']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['state']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['city']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['pincode']?>" class="form-control" readonly></input> </div>
  • 56. 56 <div class="form-group"> <input type="text" value="<?php echo $fetch['phone']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['username_fk']?>" class="form-control" readonly></input> </div> </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data- dismiss="modal">OKAY</button> <button type="submit" class="btn btn-primary" >View Profile</button> </div> </div> </form> </div> </div> <?php } ?></p>
  • 57. 57 </div> <div id="menu2" class="tab-pane fade"> <h3>Donors With B+</h3> <p><?php $donor = $connection->query("SELECT * FROM donor WHERE blood_group='B+'"); while($fetch = $donor->fetch_array()){ ?> <div class="col-md-4"> <!-- PANEL WITH FOOTER --> <div class="panel"> <div class="panel-heading"> <h3 class="panel-title"><?php echo $fetch['father_name'];?></h3> <div class="right"> <button type="button" class="btn-toggle-collapse"><i class="lnr lnr-chevron-up"></i></button> <button type="button" class="btn-remove"><i class="lnr lnr-cross"></i></button> </div> </div> <div class="panel-body">
  • 58. 58 <p><img width="270px" height="150px" src="../<?php echo $fetch['image'];?>"></p> </div> <div class="panel-footer"> <a href="" data-toggle="modal" data- target="#view_donor<?php echo $fetch['donor_id']?>"><h5>View More Info</h5></a> </div> </div> <!-- END PANEL WITH FOOTER --> </div> <!-- view donor modal --> <div class="modal fade" id="view_donor<?php echo $fetch['donor_id']?>" role="dialog"> <div class="modal-dialog"> <!-- Modal content--> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data- dismiss="modal">&times;</button>
  • 59. 59 <h4 class="modal-title">View <?php echo $fetch['name']?>'s Details</h4> </div> <div class="modal-body"> <form method="post" action="view_donor.php?donor_id=<?php echo $fetch['donor_id']?>"> <div class="form-group"> <input type="text" value="<?php echo $fetch['name']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['father_name']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['gender']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['dob']?>" class="form-control" readonly></input> </div>
  • 60. 60 <div class="form-group"> <input type="text" value="<?php echo $fetch['body_weight']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['email']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['state']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['city']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['pincode']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['phone']?>" class="form-control" readonly></input>
  • 61. 61 </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['username_fk']?>" class="form-control" readonly></input> </div> </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data- dismiss="modal">OKAY</button> <button type="submit" class="btn btn-primary" >View Profile</button> </div> </div> </form> </div> </div> <?php } ?></p> </div> <div id="menu3" class="tab-pane fade">
  • 62. 62 <h3>Donors With AB+</h3> <p><?php $donor = $connection->query("SELECT * FROM donor WHERE blood_group='AB+'"); while($fetch = $donor->fetch_array()){ ?> <div class="col-md-4"> <!-- PANEL WITH FOOTER --> <div class="panel"> <div class="panel-heading"> <h3 class="panel-title"><?php echo $fetch['father_name'];?></h3> <div class="right"> <button type="button" class="btn-toggle-collapse"><i class="lnr lnr-chevron-up"></i></button> <button type="button" class="btn-remove"><i class="lnr lnr-cross"></i></button> </div> </div> <div class="panel-body"> <p><img width="270px" height="150px" src="../<?php echo $fetch['image'];?>"></p> </div>
  • 63. 63 <div class="panel-footer"> <a href="" data-toggle="modal" data- target="#view_donor<?php echo $fetch['donor_id']?>"><h5>View More Info</h5></a> </div> </div> <!-- END PANEL WITH FOOTER --> </div> <!-- view donor modal --> <div class="modal fade" id="view_donor<?php echo $fetch['donor_id']?>" role="dialog"> <div class="modal-dialog"> <!-- Modal content--> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data- dismiss="modal">&times;</button> <h4 class="modal-title">View <?php echo $fetch['name']?>'s Details</h4>
  • 64. 64 </div> <div class="modal-body"> <form method="post" action="view_donor.php?donor_id=<?php echo $fetch['donor_id']?>"> <div class="form-group"> <input type="text" value="<?php echo $fetch['name']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['father_name']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['gender']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['dob']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['body_weight']?>" class="form-control" readonly></input>
  • 65. 65 </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['email']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['state']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['city']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['pincode']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['phone']?>" class="form-control" readonly></input> </div> <div class="form-group">
  • 66. 66 <input type="text" value="<?php echo $fetch['username_fk']?>" class="form-control" readonly></input> </div> </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data- dismiss="modal">OKAY</button> <button type="submit" class="btn btn-primary" >View Profile</button> </div> </div> </form> </div> </div> <?php } ?></p> </div> <div id="menu4" class="tab-pane fade"> <h3>Donors With O+</h3> <p><?php
  • 67. 67 $donor = $connection->query("SELECT * FROM donor WHERE blood_group='O+'"); while($fetch = $donor->fetch_array()){ ?> <div class="col-md-4"> <!-- PANEL WITH FOOTER --> <div class="panel"> <div class="panel-heading"> <h3 class="panel-title"><?php echo $fetch['father_name'];?></h3> <div class="right"> <button type="button" class="btn-toggle-collapse"><i class="lnr lnr-chevron-up"></i></button> <button type="button" class="btn-remove"><i class="lnr lnr-cross"></i></button> </div> </div> <div class="panel-body"> <p><img width="270px" height="150px" src="../<?php echo $fetch['image'];?>"></p> </div> <div class="panel-footer">
  • 68. 68 <a href="" data-toggle="modal" data- target="#view_donor<?php echo $fetch['donor_id']?>"><h5>View More Info</h5></a> </div> </div> <!-- END PANEL WITH FOOTER --> </div> <!-- view donor modal --> <div class="modal fade" id="view_donor<?php echo $fetch['donor_id']?>" role="dialog"> <div class="modal-dialog"> <!-- Modal content--> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data- dismiss="modal">&times;</button> <h4 class="modal-title">View <?php echo $fetch['name']?>'s Details</h4> </div>
  • 69. 69 <div class="modal-body"> <form method="post" action="view_donor.php?donor_id=<?php echo $fetch['donor_id']?>"> <div class="form-group"> <input type="text" value="<?php echo $fetch['name']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['father_name']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['gender']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['dob']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['body_weight']?>" class="form-control" readonly></input> </div>
  • 70. 70 <div class="form-group"> <input type="text" value="<?php echo $fetch['email']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['state']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['city']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['pincode']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['phone']?>" class="form-control" readonly></input> </div> <div class="form-group"> <input type="text" value="<?php echo $fetch['username_fk']?>" class="form-control" readonly></input>
  • 71. 71 </div> </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data- dismiss="modal">OKAY</button> <button type="submit" class="btn btn-primary" >View Profile</button> </div> </div> </form> </div> </div> <?php } ?></p> </div> </div>
  • 72. 72 </div> </div> </div> <!-- add donor modal --> <div class="modal fade" id="adddonor" role="dialog"> <div class="modal-dialog"> <!-- Modal content--> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data- dismiss="modal">&times;</button> <h4 class="modal-title">Add Donor Details</h4> </div>
  • 73. 73 <div class="modal-body"> <form action="add_donor.php" method="post" enctype="multipart/form-data"> <div class="form-group"> <input type="text" class="form-control" name="name" id="name" placeholder="Enter Name"></input> </div> <div class="form-group"> <input type="text" class="form-control" name="fathername" id="fathername" placeholder="Enter fathername"></input> </div> <div class="form-group"> <select class="form-control" name="gender" id="gender" > <option value="male">Male</option> <option value="female">Female</option> <option value="other">Other</option> </select> </div>
  • 74. 74 <div class="form-group"> <input type="text" class="form-control" name="datepicker" id="datepicker" placeholder="Enter dob"></input> </div> <div class="form-group"> <input type="text" class="form-control" name="weight" id="weight" placeholder="Enter weight"></input> </div> <div class="form-group"> <input type="email" class="form-control" name="email" id="email" placeholder="Enter email"></input> </div> <div class="form-group"> <select class="form-control" name="state" id="state" > <?php $state = $connection->query("SELECT * FROM state"); while($row = $state->fetch_array()){ ?> <option value="<?php echo $row['state_name'];?>"><?php echo $row['state_name'];?></option>
  • 75. 75 <?php } ?> </select> </div> <div class="form-group"> <select class="form-control" name="city" id="city" > <?php $state = $connection->query("SELECT * FROM city"); while($row = $state->fetch_array()){ ?> <option value="<?php echo $row['city_name'];?>"><?php echo $row['city_name'];?></option> <?php } ?> </select> </div>
  • 76. 76 <div class="form-group"> <input type="text" class="form-control" name="pincode" id="pincode" placeholder="Enter pincode"></input> </div> <div class="form-group"> <input type="text" class="form-control" name="phone" id="phone" placeholder="Enter phone"></input> </div> <div class="form-group"> <textarea type="text" class="form-control" name="address" id="address" placeholder="Enter Address"></textarea> </div> <div class="form-group"> <input type="file" class="form-control" name="photo" id="photo" ></input> </div> </div> <div class="modal-footer">
  • 77. 77 <button type="button" class="btn btn-default" data- dismiss="modal">Close</button> <button type="submit" class="btn btn-primary" name="addmember">Add</button> </div> </form> </div> </div> </div> <?php include('user_footer.php'); ?> 6.31 Need blood form Coding File name:need_blood.php <?php include('../connection.php'); session_start(); $name = $_POST['name'];
  • 78. 78 $gender = $_POST['gender']; $group = $_POST['group']; $unit = $_POST['unit']; $hospital = $_POST['hospital']; $datepicker = $_POST['datepicker']; $contactperson = $_POST['contactperson']; $address = $_POST['address']; $email = $_POST['email']; $contact = $_POST['contact']; $reason = $_POST['reason']; $member = $_POST['member']; $fileInfo = PATHINFO($_FILES["photo"]["name"]); if (empty($_FILES["photo"]["name"])){ $location=""; } else{
  • 79. 79 if ($fileInfo['extension'] == "jpg" OR $fileInfo['extension'] == "png") { $newFilename = $fileInfo['filename'] . "_" . time() . "." . $fileInfo['extension']; move_uploaded_file($_FILES["photo"]["tmp_name"], "../upload/" . $newFilename); $location = "upload/" . $newFilename; } else{ $location=""; ?> <script> window.alert('Photo not added. Please upload JPG or PNG photo only!'); </script> <?php } } // echo "<pre>"; // print_r($_POST); // exit();
  • 80. 80 $insert = $connection->query("INSERT INTO requester(`patient_name`,`gender`,`blood_group`,`unit_blood`,`hospital_ name`,`date`,`contact_person`,`address`,`email`,`contact_no`,`reason`,` member_fk`,`image`) VALUES ('$name', '$gender', '$group', '$unit', '$hospital', '$datepicker', '$contactperson', '$address', '$email', '$contact', '$reason', '".$_SESSION['membername']."', '$location')"); // $r = "INSERT INTO donor(name, father_name, gender, dob, body_weight, email, state, city, address, pincode, phone, image, username_fk) VALUES ('$name', '$fathername', '$gender', '$datepicker', '$weight', '$email', '$state', '$city', '$pincode', '$phone', '$address', '$location',)"; // echo $r; // exit(); if($insert){ header('location:request.php'); }else { header('location:request.php'); } ?> 6.5 Database connection coding File name:connection.php <?php
  • 81. 81 $connection = new mysqli('localhost', 'root', '', 'blood_bank'); ?> 7 Register form Coding File name: register.php <html lang="en" class="fullscreen-bg"> <head> <title>Please Login Here</title> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial- scale=1.0, maximum-scale=1.0, user-scalable=0"> <!-- VENDOR CSS --> <link rel="stylesheet" href="assets/css/bootstrap.min.css"> <link rel="stylesheet" href="assets/vendor/font-awesome/css/font- awesome.min.css"> <link rel="stylesheet" href="assets/vendor/linearicons/style.css"> <!-- MAIN CSS --> <link rel="stylesheet" href="assets/css/main.css">
  • 82. 82 <!-- FOR DEMO PURPOSES ONLY. You should remove this in your project --> <link rel="stylesheet" href="assets/css/demo.css"> <!-- GOOGLE FONTS --> <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,40 0,600,700" rel="stylesheet"> <!-- ICONS --> <link rel="apple-touch-icon" sizes="76x76" href="assets/img/apple-icon.png"> <link rel="icon" type="image/png" sizes="96x96" href="assets/img/favicon.png"> </head> <body> <!-- WRAPPER --> <div id="wrapper"> <div class="vertical-align-wrap"> <div class="vertical-align-middle"> <div class="auth-box "> <div class="left"> <div class="content">
  • 83. 83 <div class="header"> <div class="logo text-center"><img src="assets/img/lo.png" style="height:100px;width:100px;"></div> <p class="lead">Login to your account</p> </div> <form class="form-auth-small" action="member_register.php" method="post"> <div class="form-group"> <label for="signin-email" class="control-label sr- only">Email</label> <input type="text" class="form-control" name="fullname" id="fullname" placeholder="Fullname" required=""> </div> <div class="form-group"> <label for="signin-email" class="control-label sr- only">Email</label> <input type="text" class="form-control" name="username" id="username" placeholder="Username" required=""> </div> <div class="form-group"> <label for="signin-password" class="control-label sr- only">Password</label>
  • 84. 84 <input type="password" class="form-control" id="password" name="password" placeholder="Password" required=""> </div> <div class="form-group"> <label for="signin-password" class="control-label sr- only">Email</label> <input type="email" class="form-control" id="email" name="email" placeholder="Eamil" required=""> </div> <div class="form-group clearfix"> <label class="fancy-checkbox element-left"> <input type="checkbox"> <span>Remember me</span> </label> </div> <button type="submit" class="btn btn-primary btn-lg btn- block">REGISTER</button> <div class="bottom"> <span class="helper-text"><i class="fa fa-lock"></i> <a href="index.php">Are You A Member? </a></span> </div>
  • 85. 85 </form> </div> </div> <div class="right"> <div class="overlay"></div> <div class="content text"> <h1 class="heading">Welcome Blood Bank System</h1> <p>Developed By <a href="" style="color:black;text- decoration:none;"><b>Rahul</b></a></p> </div> </div> <div class="clearfix"></div> </div> </div> </div> </div> </body> </html>
  • 86. 86 <?php $recipient = 'rahulfarswan0932@email.com'; //construct your email text here $message = 'Name: '.$_POST['fullname'].'<br/>username: '.$_POST['username'].'email: '.$_POST['email']; mail($recipient, 'MAIL SUBJECT', $message); ?> 8 .Login Snapshots
  • 87. 87 9. Registered form Snapshots 10 Database Snapshots
  • 88. 88