Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitppn committed Sep 28, 2023
0 parents commit 5b3cd94
Show file tree
Hide file tree
Showing 236 changed files with 35,063 additions and 0 deletions.
Binary file added .DS_Store
Binary file not shown.
700 changes: 700 additions & 0 deletions about.html

Large diffs are not rendered by default.

Binary file added assets/.DS_Store
Binary file not shown.
1,656 changes: 1,656 additions & 0 deletions assets/css/halpes-responsive.css

Large diffs are not rendered by default.

7,449 changes: 7,449 additions & 0 deletions assets/css/halpes.css

Large diffs are not rendered by default.

Binary file added assets/images/.DS_Store
Binary file not shown.
Binary file added assets/images/backgrounds/.DS_Store
Binary file not shown.
Binary file added assets/images/backgrounds/counters-two-bg.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 assets/images/backgrounds/footer-bg.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 assets/images/backgrounds/help-them-bg.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 assets/images/backgrounds/join-one-bg.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 assets/images/backgrounds/main-slider-1-1.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 assets/images/backgrounds/main-slider-2-1.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 assets/images/backgrounds/main-slider-3-1.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 assets/images/backgrounds/news-two-bg.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 assets/images/backgrounds/page-header-bg-1-1.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 assets/images/backgrounds/slider-1.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 assets/images/backgrounds/slider-2.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 assets/images/backgrounds/slider-3.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 assets/images/backgrounds/testimonial-1-bg.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 assets/images/backgrounds/we-inspire-bg.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 assets/images/backgrounds/why-choose-bg.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 assets/images/blog/author-1-1.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 assets/images/blog/comment-1-1.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 assets/images/blog/comment-1-2.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 assets/images/blog/lp-1-1.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 assets/images/blog/lp-1-2.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 assets/images/blog/lp-1-3.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 assets/images/blog/news-details-img.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 assets/images/blog/news-one-img-1.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 assets/images/blog/news-one-right-img-1.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 assets/images/blog/news-one-right-img-2.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 assets/images/blog/news-one-right-img-3.jpg
Binary file added assets/images/blog/news-page-img-1.jpg
Binary file added assets/images/blog/news-page-img-2.jpg
Binary file added assets/images/blog/news-page-img-3.jpg
Binary file added assets/images/blog/news-page-img-4.jpg
Binary file added assets/images/blog/news-page-img-5.jpg
Binary file added assets/images/blog/news-page-img-6.jpg
Binary file added assets/images/blog/news-two-img-1.jpg
Binary file added assets/images/blog/news-two-img-2.jpg
Binary file added assets/images/blog/news-two-img-3.jpg
Binary file added assets/images/favicons/android-chrome-192x192.png
Binary file added assets/images/favicons/android-chrome-512x512.png
Binary file added assets/images/favicons/apple-touch-icon.png
Binary file added assets/images/favicons/favicon-16x16.png
Binary file added assets/images/favicons/favicon-32x32.png
Binary file added assets/images/favicons/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions assets/images/favicons/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
Binary file added assets/images/gallery/gallery-1-1.jpg
Binary file added assets/images/gallery/gallery-1-2.jpg
Binary file added assets/images/gallery/gallery-1-3.jpg
Binary file added assets/images/gallery/gallery-1-4.jpg
Binary file added assets/images/gallery/gallery-1-5.jpg
Binary file added assets/images/gallery/gallery-page-img-1.jpg
Binary file added assets/images/gallery/gallery-page-img-2.jpg
Binary file added assets/images/gallery/gallery-page-img-3.jpg
Binary file added assets/images/gallery/gallery-page-img-4.jpg
Binary file added assets/images/gallery/gallery-page-img-5.jpg
Binary file added assets/images/gallery/gallery-page-img-6.jpg
Binary file added assets/images/gallery/gallery-page-img-7.jpg
Binary file added assets/images/gallery/gallery-page-img-8.jpg
Binary file added assets/images/gallery/gallery-page-img-9.jpg
Binary file added assets/images/loader.png
Binary file added assets/images/resources/.DS_Store
Binary file not shown.
Binary file added assets/images/resources/about-page-img-1.jpg
Binary file added assets/images/resources/become-a-volunteer.jpg
Binary file added assets/images/resources/brand-1-1.png
Binary file added assets/images/resources/brand-1-2.png
Binary file added assets/images/resources/brand-1-3.png
Binary file added assets/images/resources/brand-1-4.png
Binary file added assets/images/resources/brand-1-5.png
Binary file added assets/images/resources/causes-details-img.jpg
Binary file added assets/images/resources/causes-one-img-1.jpg
Binary file added assets/images/resources/causes-one-img-2.jpg
Binary file added assets/images/resources/causes-one-img-3.jpg
Binary file added assets/images/resources/causes-page-img-1.jpg
Binary file added assets/images/resources/causes-page-img-2.jpg
Binary file added assets/images/resources/causes-page-img-3.jpg
Binary file added assets/images/resources/causes-page-img-4.jpg
Binary file added assets/images/resources/causes-page-img-5.jpg
Binary file added assets/images/resources/causes-page-img-6.jpg
Binary file added assets/images/resources/causes-three-img-1.jpg
Binary file added assets/images/resources/causes-three-img-2.jpg
Binary file added assets/images/resources/causes-three-img-3.jpg
Binary file added assets/images/resources/causes-three-img-4.jpg
Binary file added assets/images/resources/causes-two-img-1.jpg
Binary file added assets/images/resources/causes-two-img-2.jpg
Binary file added assets/images/resources/causes-two-img-3.jpg
Binary file added assets/images/resources/causes-two-img-4.jpg
Binary file added assets/images/resources/contact-page-img-1.jpg
Binary file added assets/images/resources/event-details-img-1.jpg
Binary file added assets/images/resources/events-one-img-1.jpg
Binary file added assets/images/resources/events-one-img-2.jpg
Binary file added assets/images/resources/events-one-img-3.jpg
Binary file added assets/images/resources/events-page-img-1.jpg
Binary file added assets/images/resources/events-page-img-2.jpg
Binary file added assets/images/resources/events-page-img-3.jpg
Binary file added assets/images/resources/events-page-img-4.jpg
Binary file added assets/images/resources/events-page-img-5.jpg
Binary file added assets/images/resources/events-page-img-6.jpg
Binary file added assets/images/resources/footer-logo.jpg
Binary file added assets/images/resources/four-icon-img-1.jpg
Binary file added assets/images/resources/four-icon-img-2.jpg
Binary file added assets/images/resources/four-icon-img-3.jpg
Binary file added assets/images/resources/four-icon-img-4.jpg
Binary file added assets/images/resources/help-them-two-bg.jpg
Binary file added assets/images/resources/help-them-two-img-1.jpg
Binary file added assets/images/resources/helping-one-left-img.jpg
Binary file added assets/images/resources/introduction-img-1.jpg
Binary file added assets/images/resources/logo-1.png
Binary file added assets/images/resources/logo-2.png
Binary file added assets/images/resources/logoi-01.png
Binary file added assets/images/resources/need-help-img-1.jpg
Binary file added assets/images/resources/recent-donation-img-1.jpg
Binary file added assets/images/resources/recent-donation-img-2.jpg
Binary file added assets/images/resources/recent-donation-img-3.jpg
Binary file added assets/images/resources/recent-donation-img-4.jpg
Binary file added assets/images/resources/three-boxes-img-1.jpg
Binary file added assets/images/resources/three-boxes-img-2.jpg
Binary file added assets/images/resources/three-boxes-img-3.jpg
Binary file added assets/images/resources/we-inspire-img.jpg
Binary file added assets/images/resources/welcome-one-img-1.jpg
Binary file added assets/images/resources/welcome-one-img-2.jpg
Binary file added assets/images/resources/welcome-one-img-220.jpg
Binary file added assets/images/resources/welcome-one-img-420.jpg
Binary file added assets/images/shapes/main-slider-1-shape-1.png
Binary file added assets/images/shapes/main-slider-3-shape-1.png
Binary file added assets/images/shapes/qoute-1-1.png
Binary file added assets/images/team/team-one-img-1.jpg
Binary file added assets/images/team/team-one-img-2.jpg
Binary file added assets/images/team/team-one-img-3.jpg
Binary file added assets/images/team/team-page-img-1.jpg
Binary file added assets/images/team/team-page-img-2.jpg
Binary file added assets/images/team/team-page-img-3.jpg
Binary file added assets/images/team/team-page-img-4.jpg
Binary file added assets/images/team/team-page-img-5.jpg
Binary file added assets/images/team/team-page-img-6.jpg
Binary file added assets/images/testimonial/testimonial-1-img-1.png
Binary file added assets/images/testimonial/testimonial-1-img-2.png
Binary file added assets/images/testimonial/testimonial-2-img-1.png
Binary file added assets/images/testimonial/testimonial-2-img-2.png
Binary file added assets/images/testimonial/testimonial-2-img-3.png
44 changes: 44 additions & 0 deletions assets/inc/sendemail.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<?php

// Define some constants
define( "RECIPIENT_NAME", "John Doe" );
define( "RECIPIENT_EMAIL", "mail@mail.com" );

// Read the form values
$success = false;
$name = isset( $_POST['name'] ) ? preg_replace( "/[^\.\-\' a-zA-Z0-9]/", "", $_POST['name'] ) : "";
$senderEmail = isset( $_POST['email'] ) ? preg_replace( "/[^\.\-\_\@a-zA-Z0-9]/", "", $_POST['email'] ) : "";
$phone = isset( $_POST['phone'] ) ? preg_replace( "/[^\.\-\_\@a-zA-Z0-9]/", "", $_POST['phone'] ) : "";
$services = isset( $_POST['services'] ) ? preg_replace( "/[^\.\-\_\@a-zA-Z0-9]/", "", $_POST['services'] ) : "";
$subject = isset( $_POST['subject'] ) ? preg_replace( "/[^\.\-\_\@a-zA-Z0-9]/", "", $_POST['subject'] ) : "";
$address = isset( $_POST['address'] ) ? preg_replace( "/[^\.\-\_\@a-zA-Z0-9]/", "", $_POST['address'] ) : "";
$website = isset( $_POST['website'] ) ? preg_replace( "/[^\.\-\_\@a-zA-Z0-9]/", "", $_POST['website'] ) : "";
$message = isset( $_POST['message'] ) ? preg_replace( "/(From:|To:|BCC:|CC:|Subject:|Content-Type:)/", "", $_POST['message'] ) : "";

$mail_subject = 'A contact request send by ' . $name;

$body = 'Name: '. $name . "\r\n";
$body .= 'Email: '. $senderEmail . "\r\n";


if ($phone) {$body .= 'Phone: '. $phone . "\r\n"; }
if ($services) {$body .= 'services: '. $services . "\r\n"; }
if ($subject) {$body .= 'Subject: '. $subject . "\r\n"; }
if ($address) {$body .= 'Address: '. $address . "\r\n"; }
if ($website) {$body .= 'Website: '. $website . "\r\n"; }

$body .= 'message: ' . "\r\n" . $message;



// If all values exist, send the email
if ( $name && $senderEmail && $message ) {
$recipient = RECIPIENT_NAME . " <" . RECIPIENT_EMAIL . ">";
$headers = "From: " . $name . " <" . $senderEmail . ">";
$success = mail( $recipient, $mail_subject, $body, $headers );
echo "<div class='inner success'><p class='success'>Thanks for contacting us. We will contact you ASAP!</p></div><!-- /.inner -->";
}else {
echo "<div class='inner error'><p class='error'>Something went wrong. Please try again.</p></div><!-- /.inner -->";
}

?>
Loading

0 comments on commit 5b3cd94

Please sign in to comment.