-
Notifications
You must be signed in to change notification settings - Fork 18
/
Home.php
46 lines (40 loc) · 2.3 KB
/
Home.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?php
session_start();
$_SESSION["tab"] = "Home";
if($_SESSION["login"] != 1)
echo '<h2 txtcolor="red">Authentication Error!!!</h2>';
else{
include_once('header.php');
###########contents of div goes here###########
echo "
<h2>
Abstract
</h2>
<p>
Despite the immense technological advancement, blood bank systems are either manual or valuable data Consequently, one of the major issues in blood bank systems, as talked about in many research papers and articles, is the lack of data security. People always doubt whether their personal information and medical records are safely stored and secured. Therefore, our project aims to develop an online blood donation system applying the concepts of database security and encryption. easily retrievable.
</p>
<p>
The following is what our project aims to:<br>
Admin/User has to login first.Any person who is willing to donate/receive blood will have to register by giving all his personal details. Admin/User has to register the given details . The admin/user will be able to view all the details and records of all earlier donation/receive as well as the stock of blood in the blood bank. All this is related to the blood bank system. Apart from this, we will be using concepts of database encryption to make sure that the users' information is kept secure and confidential. This will help us keep their donation records protected from any threats from individuals with potentially malicious intentions, or unforeseen hazards to the security of the data.
</p>
<h2>
Our Goal
</h2>
<p>";
$sql = "select count(p_id) from Person";
$result = mysqli_query($con, $sql);
$row = mysqli_fetch_array($result);
echo "We have got registrations from ".$row[0] ." people";
$sql = "select count(p_id) from Donation";
$result = mysqli_query($con, $sql);
$row = mysqli_fetch_array($result);
echo "<br>We got donations of about ".$row[0] ." from registered persons";
$sql = "select count(p_id) from Receive";
$result = mysqli_query($con, $sql);
$row = mysqli_fetch_array($result);
echo "<br>We gave blood for around ".$row[0] ." times to the registered people from our stock in case of emergency<br>";
echo "We are glad to say that we have made a successful service to the society</p>";
##################################################
include_once('footer.php');
}
?>