-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b109c96
commit 618f01a
Showing
33 changed files
with
624 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
|
||
|
||
?> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.