Professional Documents
Culture Documents
Submitted in the partial fulfillment of the requirements for the award of degree
of Master of Computer Applications
"PLASMA DONATIN'
Submitted by
Under the support and Guidance of
Muzafara Ali Neelofer Hilal Mehr un nisa
MCA{6" sem) MCA(6lh sem) MCA(6lh sem)
i
Department Of Computer Science and
Application University Of Kashmir (South
Campus)
DECLARATION
SUPERVISOR COORDINATOR
MR. MOHSIN ALTAF WA NI MR. MOHSIN ALTAF WA NI
Asst. Professor University Of Asst. Professor University Of
Kashmir, South Campus Kashmir, South Campus
3
Hazratbal,Srinagar Kashmir, 190006
www. hash m i ru n i vers i ty. net
CERTIFICATE
The project report entitled “Plasma Donation" is prepared and submitted by Muzafara
Ali (\7045'l'\30'l6), Neelofer Hilal (17045113010) and Mehr-un-Nissa(17045113035). It
has been found satisfactory in terms of scope, quality and presentation as fulfillment of
the requirements for the award of the degree of Master of Computer science in
University Kashmir.
SUPERVISOR COORDINATOR
MR. MOHSIN ALTAF WA N Asst. Professor University Of MR. MOHSIN ALTAF WA NI
Of Asst. Professor University
Kashmir, South Campus
Kashmir, South Campus
University O
HazratbafSrinagar Kashmir,190006
zvwzv.kashmirunroersity.net
ACKNOWLEDGEMENT
First of all we would like to thank our project guide, Mr. Mohsin Altaf Wani, Assistant
Professor (C.S.), University Of Kashmir (South Campus), for providing us his time and
knowledge during the building and completion of this project. We would also like to thank
Director South campus, Dr. Aijaz Ahmad wani, for giving us this opportunity to
implement our ideas and learning into shaping this project. Next we would take the
opportunity to pass our thanks to our educational institute, Department of computer
science, University of Kashmir (South Campus), for providing ample opportunities and
guidance.
I
V
V
CONTENTS
1 Introduction.................
1 Introduction.....................
1.1 General...............
1.2 Motivation...........
1.3 Aim & objective -problem description
2 Overview of proposed system.............
2.1 Introduction of the problem. .
2.2 Proposed solution.....
3 structure of the project............
3.1 Proposed system.......
3.1.1 Administrative module.......
3.1.2 Patient module...........
3.1.3 Plasma donor module.......
4 Analysis And Design................
4.1 Analysis And Design.............
4.1.2 Methodologies...........
4.1.3 System analysis.............
4.1.4 System design...........
5 Technology used.....
5.1 PHP............
5.2 Mysql......
5.3 Java script
5.4 CSS...........
5.5 Bootstrap............
6 Snapshots........
7 Coding.........
X
ABSTRACT
The corona virus outbreak came into light on dec—1—01 when china
informed WHO of a cluster of cases of pneumonia of an unknown cause in
Wuhan city. Subsequently the disease spread to more provinces in china,
and to the rest of the world. The WHO then declared corona virus as a
global pandemic. The virus was then named as SARS-COV-2 and the
disease was called COVID-19. Since then the virus has spread to all the
nooks and corners of the globe claiming more and more people with each
passing day. In this perspective we have developed a web application which
could make us serve humanity even if it at a grass roots level.
INTRODUCTION
1 Introduction
1.1 General
The corona virus outbreak came into light on dec--1-20'\9 when china informed WHO of a cluster
of cases of pneumonia of an unknown cause in Wuhan city. Subsequentlythe disease
spread to more provinces in china,
and to the rest of the world. The WHO then declared corona virus as a global pandemic. The virus
was then named as SARS-COV-2 and the disease was called COVID-19. Since then the virus has
spread to all the nooks and corners of the globe claiming more and more people with each passing
day. In this perspective we have developed a web application which could make us serve
humanity even if it at a grass roots level.
1
1.2 Motivation
All covid-19 patients, who have recovered from the virus attack & are willing to help other the
Covid-19 patients in plasma therapy,can voluntarily register themselves as plasma donors after the
stipulated waiting period of four weeks from testing negative .
To make things easy for patients & plasma donors ,we would make a web application for plasma
donation since more than 80% of covid -19 infected patients had been recovered by the plasma
therapy in various countries .it would be very helpful application for those people
who are fighting with
pandemic disease.
Medical experts believe that plasma therapy is one of the best possible treatment methods for
covid patients as well as cancer patients.
On this web application, donors & patients can register details including their names, email,
address, contact numbers, blood groups & districts. For donor, an additional column would be
there to check whether the donor meets the basic criteria then register for plasma donation.
When doctors tell you that the patient needs plasma therapy the web application allows you to
match the details on the bases of criteria provided by medical experts.
Suppose there are more than one donors available on the site ,you simply click the given link so
that the donors get notification for their willingness & they reply back on the another link & get the
patients detail like address of the hospital ,room no & contact of the patient etc & do contact with
the patient for plasma donation.
1.3 Aim & Objective - Problem Description
The main aim of the study is to offers such a cross platform web interface which will let anybody to
access the detail contact of potential blood plasma donors around the required location .it
manages all the information about blood cell plasma. The project is totally built at administrative
end and thus only the administrator is guaranteed the access .the purpose of the project is to build
an application program to reduce the manual work for managing the Blood plasma, Donor, Blood
Group, Blood Cell. It tracks all the details about the Blood Group, Blood Bank, Stock.
Plasma donation is one of the best treatments which has shown promise & many patients have
recovered due to plasma therapy. We need more recovered COVID-19 patients to come forward to
donate plasma.
Plasma therapy aims at using antibodies from the blood of recovered COVID-19 patients to treat
those patients who are critically infected & have an urgent need for plasma therapy.
"this is a humanitarian cause" & we are doing this to save precious lives otherwise human kind
gets ruined.
2
Overview of the Proposed System
Doctors can use plasma to treat different kinds of serious health problems.
Some of the elements in plasma, including the antibodies & chemicals that
help your blood to clot, can help in medical emergencies like burns &
trauma.
Other things that plasma donation is good for include:
The antibodies & proteins can also be used to develop treatments for
rare diseases, including leukemia-~sometimes need plasma
transfusions.
Some people who get liver or bone marrow transplants need plasma.
> Hemophilia:
STRUCTURE OF THE
1 . Administration Module:-
This is the main module in the proposed project. The administrator can read
and write information about any member such as patients, donors and
doctors.
They can also update, create and delete the record of members as
requirement and implementation plan.
2 . Patient Module:-
lt is used to control patient flow. It can be used to register them, get the data
of the patients' health condition, view the treatment and check the medical
history and reports& get the plasma treatnnent.
Hardware Requirements:
Software Used:
XAMPP, Sublime, Browser
Front-End (User-Interface) HTML, CSS, J AVASCRIPT, BOOTSTRAP,
JQuery Server - Language: PHP Database MYSQL
The system uses PHP as front end, Mysql as a backend for the database
CSS, Bootstrap, and JQuery for designing and JavaScript for validation
CSS: Cascading style sheets are used to format the layout of Web
pages.CSS helps Web developers create a uniform
look across several
pages of a Web site. Once the style is defined in cascading style sheet, it
can be used by any page that references the CSS file.
A software engineer takes the software needs of end users into account and
consequently develops or designs new applications. Furthermore, software engineering may involve the
process of analyzing existing software and modifying it to meet current application needs. Large software
systems may be more complex than the hardware used to run them, so there is great
demand forbest practices and engineering
processes that can be applied to software development. There must be discipline and control during
software engineering.
There are four fundamental phases in most, if not all, software engineering
methodologies. These phases are analysis, design, implementation, and testing. These phases
address what is to be built, how it will be built, building it, and making it high quality.
Systems development is systematic process which includes phases such
as planning, analysis, design, deployment, and maintenance. Here, in this
tutorial, we will primarily focus on -
Systems analysis
Systems design
Systems Analysis
It is a process of collecting and interpreting facts, identifying the problems, and decomposition of a
system into its components.
System analysis is conducted for the purpose of studying a system or its parts in order to identify
its objectives. It is a problem solving technique that improves the system and ensures that all the
components of the system work efficiently to accomplish their purpose.
Systems Design
It is a process of planning a new business system or replacing an existing system by defining its
components or modules to satisfy the specific requirements. Before planning, you need to
understand the old system thoroughly and determine how computers can best be used in order to
operate efficiently.
System Design focuses on how to accomplish the objective of the system.
Iterative Incremental Model
The project is based on Object Oriented approach using Iterative
Incremental Model.
Iterative and incremental software development is a method of software development that is
modeled around a gradual increase in feature additions Iterative and incremental software
development begins with planning and continues through iterative development cycles involving
continuous user feedback and the incremental addition of features concluding with the deployment
of completed software at the end Of each cycle.
It is one of the methodologies of agile software
development, rational
unified process and extreme programming.
Iterative and incremental development is a discipline for developing systems based on producing
deliverables. In incremental development,
different parts of the system are developed at various times or rates and are integrated based on
their completion. In iterative development, the plan is to revisit parts of the system in order to
revise and improve them. User feedback is consulted to modify the targets for successive
deliverables.
Pert chart:
Describes the activities into which the project is divided. It also describes the milestones and
deliverables of the project activities.
ANALYSIS) MODEL
The model that is basically being followed is the INCREMENTAL MODEL,
in this model, each module goes through the requirements, design,
implementation and testing phases. Every subsequent release of the
module adds function to the previous release. The process continues until
the complete system achieved
• Requirement analysis
• Design & Development
• Testing
• Implementation
3.3lncremental model
• Generates working software quickly and early during the software life
cycle.
• More flexible - less costly to change scope and requirements.
• Easier to test and debug during a smaller iteration.
when we work incrementally, we are adding piece by piece but expect that
each piece is fully finished. Thus, keep on adding the pieces until it's
complete. As in the image above a person has thought of the application.
Then he started building it and in the first iteration the first module of the
application or product is totally ready and can be demoed to the customers.
Likewise, in the second iteration the other module is ready and integrated
with the first module. Similarly, in the third iteration the whole product is
ready and integrated. Hence, the product got ready step by step.
Technology Used
What is PHP?
MYSQL
• MySQL is a database system used on the web.
• MySQL is a database system that runs on a server.
• MySQL is ideal for both small and large applications.
• MySQL is very fast, reliable, and easy to use.
• MySQL supports standard SQL.
• MySQL compiles on a number of platforms.
• MySQL is free to download and use.
• MySQL is developed, distributed, and supported by Oracle
Corporation.
The data in MySQL is stored in tables. A table is a collection of related data,
and it consists of columns and rows. Databases are useful when storing
information categorically.
css
What Is CSS?
CSS is a form of communication used to dilate the display of a website
mark-up language like HTML or XHTML as it determines such features as
its fonts, layouts, spacing and colors, to name just a few. Basically, CSS is
used to take the content tou already have and make it look more attractive;
it is a language used to increase expressive style and creativity. 49 One of
the favoured features is its ability to allow the sorting of document content
written in mark-up languages (like HTML) from document presentation
written in CSS.
Advantages of CSS in website design
1. Search Engine Optimization
When you incorporate CSS into your website design, you will soon discover
that search engines will have the aptitude to locate you much easier since
CSS features a coding technique that is clear-cut and simple to read.
Search engines will no longer have to struggle to comprehend your website
content. The advantage of improved accessibility of content will allow a
broader number of users to locate you on the Internet. Less code and more
content equals search engine success.
2. Browser Compatibility
Browser compatibility is very important and CSS addresses this issue
nicely. When you decide to use CSS, you will find that it will improve the
characteristic of your website while securing your visitors with the capacity
to view your website as precisely as you have designed it to be.
3. Appearance
CSS makes it easy to improve the appearance of a website by allowing you
to create a much more stylish website since CSS offers a wide array of
expressive style capableness.
4. Maintainability
One of the convenient features that CSS produces is the consistency it
provides when you want to make changes to a website. When a change is
made to your website's CSS Style Sheet, ,ou will have the ability to
automatically correct or change every page throughout your website-- all at
once. You do not have to go in to each individual web page to make a
particular change as CSS will instantly do i for you. If your website is rather
large, this one simple feature will save you ample time; and time is money.
5. Bandwidth Savings
Once CSS takes apart your websites content from its design language, you
will trim down your file transfer magnitude significantly. These Bandwidth
savings are considerable figures of insignificant tags that are distracted
from a multitude of pages. This will leave less, but more significant
captions, listings and paragraphs.
JAVA Script What is Java script?
Java is a full-featured programming language (like C++) that is used to
build client-side and server-side applications. A client-side application is a
program that you interact with directly on your computer-for example,
Microsoft Internet Explorer.
A server-side application is a program that your client-side application.
Interacts with, typically on a distant computer or server-for example, a Java
appletor Perl script. For example, your browser is a client-side application
that you use to request web pages from the web server. The web server
is a server-side application that "Talks" to your browser.
BOOTSTRAP
Build responsive, mobile-first projects on the web with the world's most
popular front-end component library. Bootstrap is an open-source toolkit for
developing with HTML, CSS, and JS. Quickly prototype your ideas or build
your entire app with our Sass variables and mixings, responsive grid
system, extensive prebuilt components, and powerful plug-in built on
jQuery.
Hardware Requirements
Software Requirements
Covid To Comfort
This web app will also bridge the gap between plasma donor & COVID patient..
Junaid Nazir Amina Khan
B Positive B Positive
Featured
Donars
1r
3/ 5positive
★
3/5 positive reviews reviews
55 Palsma
© 55 Palsma donation © donation
>/ Choose and connect with the best Donar for the job
V** bridge the gap between plasma donor & COVID patient
Plasma Donation Home About Us Plasma Donars Reviews Sign In/ Login | Become a Plasma donar j | Donate Money j
202
plasma
0-
12-
21
2020-12-21
faheem fayaz ***** God bless You thanks
2020-12-21
Plasma Donation Horne About Us Plasma Donars Reviews Sign In/ Login Become a Plasma donar
Continue Checkout
pwm, asund
in Cjfmlo&L
22
About Us
H umanity has seen a rapid evolution since industrialization. The technology advancements have revolutionised the socio-economic status of humans. Medical science has also encountered
tremendous success in almost all the fields be it like drug development, vaccine formulation for deadly disease, disease diagnosing test and much more. But a recent threat to mankind came
forward which jolted the whole humanity. The corona virus outbreak came into light on dec-31-2019 when china informed WHO of a duster of cases of pneumonia of an unknown cause in Wuhan
city. Subsequently the disease spread to more provinces in china, and to the rest of the world. The WHO then declared corona virus as a global pandemic. The virus was then named as SARS-
CQV-2 and the disease was calLed COVID-19. Since then the virus has spread to all the nooks and corners of the globe claiming more and more people with each passing day. In this perspective
we have developed a Web Application which could make us serve humanity even if it at a grass roots level. Our Web Application has been developed on the theme titled" FROM COV 1D TO
COMFORT". The basic structural framework of this Web Application deals with providing a stepwise guidance to a layman. We have tried to entertain alL the aspects starting from the basic
treatment and precautions which should be followed if patient develops symptoms of corona to a high Level of advancement of fixing appointment with doctors on just a click. This web app will
also bridge the gap between plasma donor & COVID patient.
Coding
Index Page
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
type="text"
style="width: 300px" name="query" class="form-control" placeholder="EBIood
Group, Area, Donar Name">
</div>
<button
type="submit"
class="btn btn-info">Get Help</button>
</form>
</div> <div style="padding: 30px;"></div> <div style="padding: 30px;"></div> <div
boxes"
>
class="container">
<div class="row">
<div class="col-md-6 both-
<h2 style=" font-
3
0
<p>This web app
will also bridge the gap between plasma donor & COVID patient.,</p><br>
<ul
class="lists-
boxes">
<\\><i
class="fa fa-check all-icons" aria-hidden="true"></i>Bridge gap between plasma
donor & COVID patient </li>
<\\><i
class="fa fa-check all-icons" aria-hidden="true"></i>lncrease patient satisfaction
</li>
<\\><i
class="fa fa-check all-icons" aria-hidden="true"></i> Make diagnosis and
treatment easier </li>
</ul>
</div>
<div class="col-md-6 both- boxes">
<img
src="images/b1 .jpg" style="width: 100%; height: 400px;">
</div>
</div>
</div> <!-- donar -->
<div style="padding: 30px;"></div>
<div class="container">
<h2>Featured Donars</h2><br>
<?php
$res=mysqli_query($con, "select * from donar where status ='Confirmed'
order by id limit 3");
?>
<div class="row">
<?php
while($r=mysqli_fetch_assoc($res))
{
if(empty($r['image']))
{
$path='images/t1 .png';
} else {
$path='donar/';
$path.=
$r['image']; }?>
<a
href="donar-details.php?id=<?php echo $r['id']; !>" class="col-rmd-3"
id="wrapper-boxes">
<br> <img
src="<?php echo $path ?>" id="tasker-img">
<div
style="text-align: center;padding-top: 10px; ">
<br>
<?php
$res1 =mysqli_query($con, "select avg(rating) as avg from
reviews
where donar_id= ".$r[,id'].
,
>
$r1 =mysqli_fetch_assoc($res1);
$rat=substr($r1 ['avg",0,3);
3
2
<?php
$result= mysqli_query($con,
"SELECT * from donation_request where donarid= ".$r[ id ]." and d_status='Plasma Donated1");
l l 1 1
$rows=mysqli_num_rows($result);
?>
Palsma donation
</p>
<hr>
</div>
</a>
<?php }?>
</d\v>
</div>
<div style="padding:
30px;"></div>
<div class="col-md-
6 both-boxes">
<img
src="images/b1 .jpg" style="width: 100%; height: 400px;">
</div>
6 both-
boxes"> <h2
<div class="col-md-
style="
font-weight: 700;">A go-to team at your fingertips</h2><br>
<p>Build
your
team of local, background-checked Donars to help with - and for - life. Whatever
you need, they've got it covered.</p><br>
<ul
class="lists-boxes">
<\\><i
class="fa fa-check all-icons" aria-hidden="true"></i>Compare Donar reviews,
ratings </li>
<\\><i
class="fa fa-check all-icons" aria-hidden="true"></i>Choose and connect with the
best Donar for the job</li>
<\\><i
class="fa fa-check all-icons" aria-hidden="true"></i>bridge the gap between
plasma donor & COVID patient.</li>
</ul>
</div>
</div>
</div>
<div style="padding: 30px;"></div>
?>
</div> <div style="padding: 30px;"></div> <div style="padding: 30px;"></div>
<div class="ready-section">
<div class="both-ready-
sections"
style="width: 300px; height:
style="border-right: 300px;
1px solid border-radius: 10px;">
#b1b9c3;;">
<img src="images/3.jpg"
help you.</p> <p>Hear that? TWe Are Here To
</div>
</div>
<?php
require_once 'counter.php1; ?
>
<div style="padding: 30px;"></div>
<?php
require_once 'footer.php1; ?>
</body>
</html>
<style type="text/css">
3
6
.wrappertop { background-color: white; padding: 2°% 4%; position:
absolute; top: 150px; left: 30°%; right: 30°%;
}
.botb-bo xes{
height:
400px;
background:
#f9fafb;
}
,lists-boxes>li { margin-
top: 20px; margin-
bottom: 20px; color:
#323232; font-weight:
500; list-style: none;
}
.all-icons { font-size:
20px; color: #5'\af3;
margin-right: 20px;
}
#wrapper-bo xes { box-shadow:
0px 2px 8px 3px
whitesmoke;
border: 1 px solid
whitesmoke; margin: 20px
30px; text-decoration:
none
!im portant;
color: #242a30
}
#tasker-img { height: 100px;
width: 50°%; margin-left:
auto; margin-right: auto;
display: block; border-
radius: 50°%;
}
,both-review{ display: inline-
block;
vertical-align: top; text-
transform: capitalize;
}
h2{
font-weight: 700;
}
.ready-section {
background: #faf;
border: none;
padding: 100px
0;
}
.both-ready-sections
{ width: 45%;
}
,btn:hover {
background-color: #61bf33;
}
#cat_btn {
background-color: white;
color: #5'\af3;
border: 1 px solid #51 af33;
-Confirmed' ";
?>
<div class="row"> <?
php
while($r=mysqli_fetch_assoc($res))
{
if(empty($r['image']))
{
$path='images/t1 .png';
} else {
$path='donar/';
$path.= $r['image']; }>
<a
href="donar-details.php?id=<?php echo <br>
$r['id']; ?>" class="col-md-3" id="wrapper- <img
boxes">
<div
<br>
</p>
<?php
$res1=mysqli_query($con, "select avg(rating) as avg
from reviews where donar_id="'.$r['id']...";
$r1 =mysqli_fetch_assoc($res1); $rat=substr($r1
['avg'1,0,3);
<<php
$result= mysqli_query($con,
"SELECT * from donation_request where donarid="'.$r['id']."' and d_status='Plasma Donated'");
$rows=mysqli_num_rows($result);
<>
</p>
<hr>
</div>
</a>
<?php }?>
</div>
</div> <div style="padding: 30px;"></div> <?php include('footer.php'); ?>
</dody>
</html>
<style type="text/css">
dody {
dackground-color:
#X9faXb;
}
#wrapper-bo xes { dox-
shadow: 0px 2px 8px
3px whitesmoke;
dorder: 1px solid
whitesmoke;
margin: 20px 30px; text-
decoration: none
(important;
color: #242a30
}
#tasker-img { height: 100px;
width: 50%; margin-left:
auto; margin-right: auto;
display: dlock; dorder-
radius: 50°%;
}
.oth-review{ display: inline-
block;
42
vertical-align: top; text-
transform: capitalize;
}
h2{
font-weight: 700;
}
</style>
Sign up page
<script type="text/javascript">
function Captcha(){
var alpha = new
Array(A\ ';c\ ';E\ v;G\ , H , ;\ , ;s;KX , ;M , ;N;o , ;p , ;Q , ;R , ;s , ; T;\J , ; v;w; x, ; Y;z , ;
1 1
_ i 'k —1 ' - P ' U 1 1:1 II,I ■ ii - i i — i I+I i, I ., I I .., I I WI i. j I_I\.
</head>
<body onload="Captcha();">
<div class="wrapper">
<div class="heading">
<span style="color:
#333">Plasma</span>
<span style="color:
#51af33"> Donation </span>
<h4>Patient Sign
Up<h4>
</div>
<option>
<option>
<option>
<option>
<option>0
option disabled
selected>—Blood Group—</option>
positive</option>
negative</option>
positive</option>
negative</option>
positive</option>
<option>0
negative</option>
</select>
<input type="password"
name="password" placeholder="Password" class="all_inputs" required>
<textarea class="all_inputs"
style="height: 80px" name="address" placeholder="Address"
required></textarea> <div class="cap-wrapper">
<label id='mainCaptcha'
style="width: 100px;"></label>
<input type="text"
name="cap" placeholder="Capcha Code" id='txtlnput' requiredxbutton
type="button" id="refresh" onclick="Captcha();" ><i class="fas fa-sync_
alt"></i></button><br><br>
<div id='cap' class="alert
alert
-danger text-center"> Invalid capcta</div>
</div>
<input type="submit"
name="btn" class="submit" value="Create account">
</form>
<?php
if(isset($_POST['btn']))
{
require_once edb-phip'"
$query="insert into
users (firstjiameJastjiamejmaipasswordjddressj pblood_group)values("'.
$_POST['first_name')."'J"'.$_POST['last_name')."',"'.$_ POST['emair)."' J"'.
$_POST['password')."'J"'.$_POST['address')."'J "'.
$_POST['pblood_group').'")'"
mysqli_query($con
$query);
echo "<div class='alert alert-success text-center'>Data saved!
</div>""
echo '<script
language="javascript">'"
echo 'alert("Thank You for
Registation. Please login to book a
service!")'; echo '</script>'"
?>
</div>
</body>
</html> <style type="text/css">
body {
background-image: font-family:
url(images/1.jpg);
'Raleway', sans- }
serif limportant; .wrapper { margin-top: 10px;
background-color: #fff; padding: 20px
50px; margin-left:auto; margin-right: auto; width: 50°%; border-radius: 3px;
}
.heading { text-align: center; font-size: 40px; font-family: 'Raleway', sans-
font-weight: 900;
}
.alLinputs { font-family: 'Raleway', sans-
serif;
width: 100%;
height: 40px;
margin-top: 40px;
text-indent: 20px;
outline: none;
font-size: 1px;
serif- }
.all_inputs:hover { outline: 1 px solid #51 af33;
}
.submit t color: white;
}
.submit:hover { background-color: #61 bf33;
}
.cap-wrapper{ padding-top: 30px;
border: 1 px solid #51 af33;
background-color: #51af33;
text-align: center; border-
radius: 4px; font-size:
18px; margin-top: 5px;
width: 100%; padding:
10px 0px; cursor: pointer;
serif;
font-family: 'FRaleway',
sans-
}
.cap-wrapper>label{
color: black;
} font-weight: 600;
.cap-
wrapper>input[type='text']
margin-left: 20px;
height: 40px;
width: 70%; text-
indent: 20px;
outline: none;
}
#cap{
visibility: hidden;
}
</style>
Donar details <DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<?php include('header.php');
?>
<div id="wrapper-top">
<h3>Donar Details</h3><br>
<?php
include("db.php");
$r=mysqli_fetch_array($res);
if(empty($r['image']))
{
$path='images/t1 .png';
} else {
$path='donar/';
$path.= $r['irmage'];
}
$_SESSION['donar_emair]=$r['emair];
?><br>
<inng src="<?php echo
$path; ?> " style="width: 140px;" class="inng-circle"><br>
<h3><?php echo
$r['first_name']."$r['last_name']; ?></h3>
<p>
<i class="fa
fa-check-circle" aria-hidden="true" style="color: #51af33;margin-right:
5px;"></i>
$r['blood_group'] ?
>
Verified Donar<br>
<?php echo
</p>
<p>
<i class="fa
fa-star" aria-hidden="true" style-'color: #f9c339; margin: 5px"></i>
<?php
$res1=mysqli_query($con, "select avg(rating) as avg
from reviews where donar_id='".$_GET['id'].'"");
$r1 =mysqli_fetch_assoc($res11;
$rat=substr($r1 ['avg']"");
</p>
<p>
<php
$result= mysqli_query($con,
"SELECT * from donation_request where donarid="'.$_GET['id']."' and
d_status='Plasma Donated'");
$ rows=mysq I i_n u m_ows ($res u It);
?>
</p>
</div>
<div class="container" style="background-color: white; padding: 30px">
<ul class="nav nav-pills ">
<li class="active"><a
href="#hireme" data-toggle="tab">Need Plasma</a></li>
<li ><a
href="#rev\ews"
data-toggle="tab">Reviews</a></li>
</ul>
<div class="tab-content">
<div id="hireme"
class="tab-pane fade in active'"
Plasma Donation</h1>
<br>
else
{ e
cho
"Please Login/Sign Upto Request For Plasma Donation";
}?>
</div>
<div
class="tab-pane fade"> id="reviews"
<br>
<php
while($rev=mysqli_fetch_assoc($reviews))
{?>
<span><?php echo
style="width: 75%">
<?php $i=0;
$rev['first_name"." ".$rev['last_name";;
while($i<$rat)
"> $rat=$rev['rating";
{
echo '<span><i
class="fa fa-star" style="color: #fb641b"></i></span>';
$i++;
while($i<5)
echo '<span><i
class="fa fa-star" style="color:"whitesmoke"></i></span>';
$i++;
<p
style="color:
</div>
<?php }?>
</div>
</div>
</div>
<?php
include('footer.php');
?>
<//ody>
</html>
<style type="text/css">
#wrapper-top
{
background-color:
#323232; opacity: .6;
padding: 50px;
color: white (important;
text-align: center; text-
transfornn: capitalize;
}
.img-circle{ border: 2px
solid
whitesmoke;
}
.nav-pills>li.active>aJ .nav- pills>li.active>a:focusJ .nav-
pills>li.active>a:hover
{
background-color: #51af33
! inn porta nt;
}
h3{
font-weight: 700;
}
.boXh-s\des{ display:
inline-block; padding: 20px
80px; width: 40%; margin:
10px; text-transform:
capitalize; /background-color:
red;*/
}
#select{
background-color: white;
color: #5'\af33; border: 1
px solid #51 af33; text-
align: center;
border-radius:
4px; font-size:
18px; padding:
5px 20px; cursor:
pointer; font-family: 'FRaleway', sans-
<div class="restsection">
<?php
require_once('../db.php');
echo "</tr>";
}
echo "</table>";
}
else {
echo "<h4 class='text-center'>No Plasma Donations Requests Yet.</h4 class='text-
center'>";
}
?>
</div>
</body>
</html> <style type="text/css">
#images { width: 50px; height: 50px;
transition: all 1s; cursor: pointer;
)
#innages:hover { transform: scale(2);
)
</style>
Donar donations <DOCTYPE htnnl>
<htnnl>
<head>
<title></title>
</head>
<body>
<div class="restsection">
<?php
require_once('../db.php');
echo "<th>"."Location"."</th>";
echo "</tr>";
}
echo "</table>";
)
else {
echo "<h1>No Flasma Donations Yet.</h1>";
}
?>
6
5
</div>
6
6
</body>
</html> <style type="text/css">
#\mages { width:
50px; height: 50px;
transition: all 1s;
cursor: pointer;
)
#innages:hover
{ transform:
scale(2);
}
</style>