KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.62
System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64
User : www ( 80)
PHP Version : 8.3.8
Disable Function : NONE
Directory :  /domains/highlandlabs/cqi-bin/ALFA_DATA/alfasymlink/root/domains/bobrubel/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /domains/highlandlabs/cqi-bin/ALFA_DATA/alfasymlink/root/domains/bobrubel/contact.php
<?php
$message = "";
	if(isset($_POST['submit'])) {
	$name = $_POST['name'];
	$business_name = $_POST['business_name'];
	$email = $_POST['email'];
	$phone = $_POST['phone'];
	$best_time = $_POST['best_time'];
	$subject = $_POST['subject'];
	$city = $_POST['city'];
	if($name == "" || $email == "" || $phone == "" || $subject == "") { // If Fields Are Missing
	$message = "Required Fields Are Missing";
	} else { // If All Fields Are Filled In
	$emailSubject = "Contact From Website";
    $webMaster = "[email protected]";		

$body = <<<EOD
<br><hr><br>
Contact Name: $name<br>
Business Name: $business_name<br>
Email: $email <br>
Phone: $phone <br>
City: $city <br>
Best Time To Reach: $best_time<br><br>
Subject: $subject <br><br>
EOD;

	$headers = "From: $email\r\n";
	$headers .= "Content-type: text/html\r\n";
	$success = mail($webMaster, $emailSubject, $body, $headers);
	$message = "Message Was Sent...An Associate Will Get Back To You Shortly";	
	$name = "";
	$email = "";
	$phone = "";
	$city = "";
	$business_name = "";
	$subject = "";
	}	
} // End Of Submit
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<mega name="author" content="Site Designed By NTRImagescapes.Com" />
<meta name="rating" content="General"/>
<title>Constructive Management, Inc. | CMI | Contact CMI For Questions or Consultation on Your Next Residential, Commercial, Industrial or Elderly Care Project in Chicago and the Chicago Metro Area</title>
<meta name="Description" content="CMI is a construction consultant and a general contractor. Performing new construction, remodeling, renovations, and repairs to commercial, industrial and residential buildings. CMI offers its services to businesses, developers and homeowners in the metropolitan Chicago area."/>
<meta name="Keywords" content="CMI, General Contracting, general contracting, constructive management, construction, Chicago, Illinois, consulting, contracting, Bob Rubel, industrial, commercial, projects, residential, commercial, architects, engineers, home remodeling, aging in place, elderly care, construction consulting, building repair, new construction, business consulting, retail construction, restaurant construction, Norridge, Schaumburg, Arlington Heights, Palatine, Algonquin, Elgin, Crystal Lake"/>
<link href="CSS/layout.css" rel="stylesheet" type="text/css" />
</head>
<body>
<?php include_once("Includes/header.php"); ?>
<div id="wrapper">
   <?php include_once("Includes/navigation.php"); ?>
    <div id="contact_area">
    <form action="contact.php" method="post">
    <table width="95%" border="0" cellspacing="6" cellpadding="6">
    <tr>
    	<th align="center" colspan="2">Contact CMI For Questions or Consultation</th>
    </tr>
    <tr>
    	<td>&nbsp;</td>
    </tr>
    <tr>
    	<td align="center" colspan="2">
        <span class="branding_red">Constructive Management, Inc.</span><br />
        10661 Ridge Lane <br />
           Marengo, IL 60152 <br />
           <strong>Phone</strong>: 815-923-0302 &nbsp;&nbsp; | &nbsp;&nbsp; <strong>Fax:</strong> 815-923-0314<br />
        </td>
    </tr>
    <tr>
    	<td align="center" colspan="2"><span class="tiny">Please fill out the contact form below and an associate will get back to you shortly.</span>
    </tr>
    <tr>
    	<td>&nbsp;</td>
    </tr>
    <tr>
    	<td align="center" colspan="2"><span class="message"><?php echo $message; ?></span></td>
    </tr>
    <tr>
    	<td align="left" width="35%">Contact Name <span class="required">*</span></td>
        <td align="left"><input name="name" type="text" value="<?php echo $name; ?>" size="30" /></td>
    </tr>
    <tr>
    	<td align="left">Business Name</td>
        <td align="left"><input name="business_name" type="text" value="<?php echo $business_name; ?>" size="30" /></td>
    </tr>
    <tr>
    	<td align="left">Phone <span class="required">*</span></td>
        <td align="left"><input type="text" name="phone" value="<?php echo $phone; ?>" /></td>
    </tr>
    <tr>
    	<td align="left">Email <span class="required">*</span></td>
        <td align="left"><input name="email" type="text" value="<?php echo $email; ?>" size="28" /></td>
    </tr>
    <tr>
    	<td align="left">City <span class="required">*</span></td>
        <td align="left"><input name="city" type="text" value="<?php echo $city; ?>" /></td>
    </tr>
    <tr>
        <td align="left">Best Time To Reach:</td>
        <td align="left">
                    <select name="best_time">
                    	<option value="8:00am">8:00am</option>
                    	<option value="9:00am">9:00am</option>
                        <option value="10:00am">10:00am</option>
                        <option value="11:00am">11:00am</option>
                        <option value="12:00pm">12:00pm</option>
                        <option value="1:00pm">1:00pm</option>
                        <option value="2:00pm">2:00pm</option>
                        <option value="3:00pm">3:00pm</option>
                        <option value="4:00pm">4:00pm</option>
                        <option value="5:00pm">5:00pm</option>
                        <option value="6:00pm">6:00pm</option>
                        <option value="7:00pm">7:00pm</option>
                        <option value="8:00pm">8:00pm</option>
                        <option value="9:00pm">9:00pm</option>                       
                                     
                    </select>
         </td>
    </tr>
    <tr>
    	<td align="left" valign="top">Subject of Inquiry: <span class="required">*</span></td>
        <td align="left"><textarea name="subject" cols="40" rows="5"><?php echo $subject; ?></textarea></td>
    </tr>
    <tr>
    	<td>&nbsp;</td>
    </tr>
    <tr>
    	<td align="center" colspan="2"><input type="submit" name="submit" value="Submit Form" /></td>
    </tr>
    <tr>
    	<td>&nbsp;</td>
    </tr>    
    </table>
    </form>
    </div>
    <div class="large_clear"></div>
</div>
<?php include_once("Includes/footer.php"); ?>
</body>
</html>

Anon7 - 2021