| 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/ |
Upload File : |
<?
header("Location: /vx/usa/contact/");
exit;
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;
}
}
$title = 'Contact Page';
$body_id = 'sub';
require_once("header.php") ?>
<?php /*
<script type="text/javascript">
var __lc = {};
__lc.license = 1096486;
(function() {
var lc = document.createElement('script'); lc.type = 'text/javascript'; lc.async = true;
lc.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'cdn.livechatinc.com/tracking.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(lc, s);
})();
</script>*/ //No live chat as of 2/1/2013?>
<div class="contactInfo">
<p><strong>PLEASE NOTE:</strong> We <em>DO NOT process registrations or applications through our contact form or via our mailing address</em>. All orders, applications, and forms must be submitted through our <a href="index.php">Registration Page</a>.</p>
<div class="contactBox">
<p style="font:bold 10pt/180% verdana;text-align:center"><?=$_SITE_ADDR;?></p>
<p style="font:bold 12pt/180% verdana;text-align:center"><?= $_SITE_PHONE; ?></p>
<center><span style="font-size: 14px; font-weight:bold;">Hours</span>
<table cellspacing="5px" style="margin-left: 15px;">
<tr>
<td>Monday</td>
<td>24 Hours</td>
</tr>
<tr>
<td>Tuesday</td>
<td>24 Hours</td>
</tr>
<tr>
<td>Wednesday</td>
<td>24 Hours</td>
</tr>
<tr>
<td>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></center>
</div>
</div>
<!-- <img src="images/open_24_7.png" /> -->
<table id="form">
<tr>
<td class="form_top"></td>
</tr>
<tr>
<td class="form_in">
<?
if(isset($errors) && is_array($errors)) {
echo "<div style='background-color:#ffffff; padding:0 20px; margin:0 0 20px 0; border-top:1px dotted #888888; border-bottom:1px dotted #888888'><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></div>";
}
else if(isset($success) && $success == true) {
echo "<div style='background-color:#ffffff; padding:0 20px; margin:0 0 20px 0; border-top:1px dotted #888888; border-bottom:1px dotted #888888'><p style='color:#80AA70;'>Your request has been sent. Please allow 24-48 hours to receive a reply.
Thank you.</p></div>";
}
?></div>
<form method="post" action="contact.php">
<table align="center">
<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>Message:</td>
<td><textarea name="message" rows="6" style="width:400px"><?= ($_POST['message'] != '') ? $_POST['message'] : NULL; ?></textarea></td>
</tr>
<tr>
<td colspan="2" align="center"><input type="submit" value="Send Secure Email" /></td>
</tr>
</table>
</form>
</td>
</tr>
<tr>
<td class="form_bot"></td>
</tr>
</table>
<? require_once("footer.php")?>