Skip to content

Commit

Permalink
DiwaDental is a Modern Responsive template for Dentist & Dental Clini…
Browse files Browse the repository at this point in the history
…c website.This is built with Bootstrap 5.x and Sass. Any health-related website such as dentist clinic, dental practices, doctors clinic, hospital, doctor consultation center, cosmetic surgery center, medical laboratory, dental clinic, centenary clinic, pharmacy, etc. For healthcare professionals like a general practitioner, surgeon, dentist, veterinarian, psychiatrist, psychologist, ophthalmologist, physiotherapist, or gynecologist website, the template will be a great fit. Fully responsive design layouts with visitor-centric stunning look and feel will help reach the business’s target audience.
  • Loading branch information
gridtemplate committed Aug 21, 2021
1 parent be2e1c3 commit 6e64469
Show file tree
Hide file tree
Showing 137 changed files with 28,480 additions and 0 deletions.
55 changes: 55 additions & 0 deletions assets/contact.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<?php

// Only process POST reqeusts.
if ($_SERVER["REQUEST_METHOD"] == "POST") {
// Get the form fields and remove whitespace.
$name = strip_tags(trim($_POST["name"]));
$name = str_replace(array("\r", "\n"), array(" ", " "), $name);
$email = filter_var(trim($_POST["email"]), FILTER_SANITIZE_EMAIL);
$message = trim($_POST["message"]);

// Check that data was sent to the mailer.
if (empty($name) OR empty($message) OR !filter_var($email, FILTER_VALIDATE_EMAIL)) {
// Set a 400 (bad request) response code and exit.
http_response_code(400);
echo "Please complete the form and try again.";
exit;
}

// Set the recipient email address.
// FIXME: Update this to your desired email address.
$recipient = "hello@gridtemplate.com";

// Set the email subject.
$subject = "New contact from $name";

// Build the email content.
$email_content = "First Name: $name\n";
$email_content .= "Email: $email\n\n";
$email_content .= "Message:\n$message\n";

// Build the email headers.
$email_headers = "From: $name <$email>";

// Send the email.
if (mail($recipient, $email_content, $email_headers)) {
// Set a 200 (okay) response code.
http_response_code(200);
echo "Thank You! Your message has been sent.";
} else {
// Set a 500 (internal server error) response code.
http_response_code(500);
echo "Oops! Something went wrong and we couldn't send your message.";
}

} else {
// Not a POST request, set a 403 (forbidden) response code.
http_response_code(403);
echo "There was a problem with your submission, please try again.";
}

?>




11 changes: 11 additions & 0 deletions assets/css/plugins/animate.min.css

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions assets/css/plugins/bootstrap.min.css

Large diffs are not rendered by default.

86 changes: 86 additions & 0 deletions assets/css/plugins/flaticon.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
@font-face {
font-family: "flaticon";
src: url("../../fonts/flaticon.ttf?de907dc9386223b9df052a84d5235c1b") format("truetype"),
url("../../fonts/flaticon.woff?de907dc9386223b9df052a84d5235c1b") format("woff"),
url("../../fonts/flaticon.woff2?de907dc9386223b9df052a84d5235c1b") format("woff2"),
url("../../fonts/flaticon.eot?de907dc9386223b9df052a84d5235c1b#iefix") format("embedded-opentype"),
url("../../fonts/flaticon.svg?de907dc9386223b9df052a84d5235c1b#flaticon") format("svg");
}
@font-face {
font-family: "flaticon";
src: url("../../fonts/flaticon.ttf?ef40d1771f4317873ca461c9ee78e047") format("truetype"),
url("../../fonts/flaticon.woff?ef40d1771f4317873ca461c9ee78e047") format("woff"),
url("../../fonts/flaticon.woff2?ef40d1771f4317873ca461c9ee78e047") format("woff2"),
url("../../fonts/flaticon.eot?ef40d1771f4317873ca461c9ee78e047#iefix") format("embedded-opentype"),
url("../../fonts/flaticon.svg?ef40d1771f4317873ca461c9ee78e047#flaticon") format("svg");
}

i[class^="flaticon-"]:before, i[class*=" flaticon-"]:before {
font-family: flaticon !important;
font-style: normal;
font-weight: normal !important;
font-variant: normal;
text-transform: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}



.flaticon-health-check:before {
content: "\f101";
}
.flaticon-medicine:before {
content: "\f102";
}
.flaticon-ambulance:before {
content: "\f103";
}
.flaticon-doctor:before {
content: "\f104";
}
.flaticon-microscope:before {
content: "\f105";
}
.flaticon-surgery-room:before {
content: "\f106";
}
.flaticon-user:before {
content: "\f107";
}
.flaticon-message:before {
content: "\f108";
}
.flaticon-phone-call:before {
content: "\f109";
}
.flaticon-schedule:before {
content: "\f10a";
}
.flaticon-right-quotation-mark:before {
content: "\f10b";
}
.flaticon-add-user:before {
content: "\f10c";
}
.flaticon-calendar:before {
content: "\f10d";
}
.flaticon-emergency-call:before {
content: "\f10e";
}
.flaticon-medical-report:before {
content: "\f10f";
}
.flaticon-quotation-marks:before {
content: "\f110";
}
.flaticon-chat:before {
content: "\f111";
}
.flaticon-chat-1:before {
content: "\f112";
}
.flaticon-reply:before {
content: "\f113";
}
4 changes: 4 additions & 0 deletions assets/css/plugins/font-awesome.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/css/plugins/gijgo.min.css

Large diffs are not rendered by default.

Loading

0 comments on commit 6e64469

Please sign in to comment.