| Server IP : 10.200.247.200 / Your IP : 216.73.217.19 Web Server : Apache System : Linux synergy-usa-sites 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64 User : jeremy ( 1001) PHP Version : 8.4.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/usa_sites/fundingapplications.com/membersonly/ |
Upload File : |
<?php
session_start();
ob_start();
$_SITE_ADDR = '73 Greentree Dr. #52 Dover, DE 19904';
$_SITE_PHONE = '888-846-8472';
require_once("../inc/functions.includes.php");
if($_POST)
{
$_POST = sanitize($_POST); //clean input data
$required_fields = array('first'=>'First Name',
'last'=>'Last Name',
'subject'=>'Subject',
'email'=>'Email Address',
'message'=>'Message');
$first = true;
foreach($required_fields as $field=>$name) {
if(!isset($_POST[$field]) || $_POST[$field] == "") { //check if they are blank
if(!isset($errors)) {
$errors = array();
$errors['required_fields'] = "The following fields are required: ";
}
$errors['required_fields'] .= ($first) ? $name : ", ".$name;
$first = false;
}
}
if(!validEmail($_POST['email'])) {
if(!isset($errors)) {
$errors = array();
}
$errors['invalid_email'] = "An invalid email was submitted: ";
$errors['invalid_email'] .= ($_POST['email'] == "") ? "BLANK" : $_POST['email'];
}
if(!isset($errors)) {
$todayis = date("l, F j, Y, g:i a") ;
$attn = "Funding Applications Support - Contact Us ";
$subject = $attn.date('Y-m-d H:i:s');
$_POST['message'] = htmlentities(stripcslashes($_POST['message']));
/*$message = " $todayis \n
Attention: $attn \n
From: ".$_POST['first']." ".$_POST['last']." (".$_POST['email'].")\n
IP Address: ".$_SERVER['REMOTE_ADDR']." \n
Browser Info: ".$_SERVER['HTTP_USER_AGENT']." \n
Referer URL: ".$_SERVER['HTTP_REFERER']." \n
Message: ".$_POST['message']." \n
";*/
$message = " $todayis \n
Attention: $attn \n
From: ".$_POST['first']." ".$_POST['last']." (".$_POST['email'].")\n
Message: ".$_POST['message']." \n
";
$from = "From: ".$_POST['email']."\r\n";
$email_header = $from . "Bcc: fundingapplications.com@gmail.com\r\n";
mail("support@fundingapplications.com", $subject, $message, $email_header);
$_POST = null;
$success = true;
}
}
$body_id = 'member_side';
?>
<div class="regform">
<div>
<h1>Contact Us</h1>
<p>You may call our toll free number or send an email to our customer support team using the contact form below.</p>
<h1>Toll Free Number:</h1>
<h2 style="margin-left: 20px;"><?= $_SITE_PHONE; ?></h2>
<h1>Hours:</h1>
<table cellspacing="5px" style="margin-left: 15px;">
<tr>
<td>Monday - Thursday</td>
<td>24 Hours</td>
</tr>
<tr>
<td>Friday</td>
<td>24 Hours</td>
</tr>
<tr>
<td>Saturday</td>
<td>24 Hours</td>
</tr>
<tr>
<td>Sunday</td>
<td>24 Hours</td>
</tr>
</table>
<p>Please use the contact form below if outside of our business hours.</p>
<h1>Mailing Address:</h1>
<p><?=$_SITE_ADDR;?></p>
<p style="font-style: italic">**Please do not send Order Forms, Money, or Applications to this address. They will be returned. All orders are only accepted online through our website.</p>
<div style="clear:both;"></div>
</div>
<?
if(isset($errors) && is_array($errors)) {
echo "<p>We were unable to send your request do to the following errors: </p>
<ul style='color:#B32317;'>";
foreach($errors as $error) {
echo "<li>".$error."</li>";
}
echo "</ul>";
}
else if(isset($success) && $success == true) {
echo "<p style='color:#80AA70;'>Your request has been sent. Please allow 24-48 hours to receive a reply.
Thank you.</p>";
}
?>
<form method="post" action="/membersonly/contact.php">
<table>
<tr>
<td>First Name:</td>
<td><input type="text" name="first" size="35" value="<?= ($_POST['first'] != '') ? $_POST['first'] : NULL; ?>" /></td>
</tr>
<tr>
<td>Last Name:</td>
<td><input type="text" name="last" size="35" value="<?= ($_POST['last'] != '') ? $_POST['last'] : NULL; ?>"/></td>
</tr>
<? $subject = array('Personal Assistance',
'Business Funding',
'Education Funding',
'Real Estate Funding',
'Billing',
'Technical Support',
'Login Issue',
'Other'
);
?>
<tr>
<td>Subject:</td>
<td>
<select name="subject">
<option value="">Select one ...</option>
<?
foreach($subject as $text) {
$selected = ($_POST['subject'] == $text) ? ' selected' : '';
echo "<option value='$text' $selected>$text</option>";
}
?>
</select>
</td>
</tr>
<tr>
<td>Email Address:</td>
<td><input type="text" name="email" size="35" value="<?= ($_POST['email'] != '') ? $_POST['email'] : NULL; ?>"/></td>
</tr>
<tr>
<td valign="top">Message:</td>
<td><textarea name="message" rows="6" cols="45"><?= ($_POST['message'] != '') ? $_POST['message'] : NULL; ?></textarea></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" value="Send Mail" /></td>
</tr>
</table>
</form>
</div>
<?
$pageHtml = ob_get_clean();
$title = 'Contact Us';
include 'layout.php';