Skip to content

Commit

Permalink
Covid-19 Tracker File Uploaded :octocat:
Browse files Browse the repository at this point in the history
  • Loading branch information
ruhulaminparvez committed Apr 8, 2021
1 parent b109c96 commit 618f01a
Show file tree
Hide file tree
Showing 33 changed files with 624 additions and 0 deletions.
137 changes: 137 additions & 0 deletions css/style.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
<style type="text/css">
html{
scroll-behavior: smooth;
}
*{margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Chango', cursive, monospace;}
.nav_style{
background-color: #14b1ab;
}
.nav_style a{
color: white;
}
/*------MAIN HEADER------*/
.main_header{
height: 450px;
width: 100%;
}
.slogan {
text-transform: uppercase;
}
.rightside h1{
font-size: 3rem;
}
.corona_title img{
animation: corona 3s linear infinite;
}
@keyframes corona{
0% {transform: rotate(0);}
100% {transform: rotate(360deg);}
}
.corona_rot img{
animation: gocorona 3s linear infinite;
}
@keyframes gocorona{
0% {transform: rotate(0);}
100% {transform: rotate(360deg);}
}
.leftside img{
animation: heartbeat 5s linear infinite;
}
@keyframes heartbeat{
0%{
transform: scale(.75);
}
20%{
transform: scale(1);
}
40%{
transform: scale(.75);
}
60%{
transform: scale(1);
}
80%{
transform: scale(.75);
}
100%{
transform: scale(.75);
}
}
.btn{
background-color: #14b1ab; /* Set the background color */
color: white;
}
.btn:hover{
background: #606060;
}
/* -------------------FOOTER SECTION----------------- */
.footer{
margin-bottom: 0!important;
}
.footer_style{
background-color: #14b1ab!important;
}
.footer_style p{
margin-bottom: 0!important;
}
/* -----------------TOP SCROLL------------------------ */
#myBtn{
display: none; /* Hidden by default */
position: fixed; /* Fixed/Sticky position */
bottom: 30px; /* Place the button at the bottom of the page */
right: 40px; /* place the button 30px from the right */
z-index: 99; /* Make sure it does not overlap */
border: none; /* Remove borders */
outline: none; /* Remove outline */
background-color: #14b1ab; /* Set the background color */
color: white; /* Text color */
cursor: pointer; /* Add a mouse pointer on hver */
padding: 10px; /* Some padding */
border-radius: 10px; /* Rounded corners */
}
#myBtn:hover{
background: #606060;
}
/*----------------RESPONSIVE------------------*/
@media(max-width: 768px){
.main_header{height: 700px; text-align: center;}
.main_header h1{
text-align: center;
padding: 0;
width: 100%;
font-size: 30px;
}
}
.row{margin-left: 0!important; margin-right: 0!important;}
</style>
44 changes: 44 additions & 0 deletions dbcon.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?php

$link = mysqli_connect("localhost", "root", "root", "dbcorona");

// Check connection
if($link === false){
die("ERROR: Could not connect. " . mysqli_connect_error());
}

if(isset($_POST['submit'])){
$name = mysqli_real_escape_string($link, $_REQUEST['username']);
$email = mysqli_real_escape_string($link, $_REQUEST['email']);
$number = mysqli_real_escape_string($link, $_REQUEST['number']);
$stymtoms = ($_REQUEST['coronasym']);
$desc = mysqli_real_escape_string($link, $_REQUEST['desc']);

$chk = "";

foreach($stymtoms as $chk1){
$chk .= $chk1.",";
}
}

// Attempt insert query execution
$sql = "INSERT INTO `casecorona`(`username`, `email`, `mobile`, `stymtoms`, `description`) VALUES ('$name', '$email', '$number', '$chk', '$desc')";
if(mysqli_query($link, $sql)){
?>
<script>
alert("Your info store successfully. We will contract you soon!");
</script>
<?php
}else{
?>
<script>
alert("Failed to send data.Try Again!");
</script>
<?php
}

// Close connection
mysqli_close($link);


?>
Binary file added img/bar.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/black1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/black2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/blue1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/blue2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/blue3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/breath.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/cold.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/corona.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/cough.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/covid.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/developer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/distance.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/family-covid.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/fever.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/graph.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/home.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/mask.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/medical.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/nose.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/positive.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/rate-bar.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/red-v.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/red-v2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/red1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/state.png
Binary file added img/tired.png
Binary file added img/wash.png
Loading

0 comments on commit 618f01a

Please sign in to comment.