HEX
Server: Apache
System: Linux www3.pit.tblive.com 5.14.0-687.38.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Aug 12 17:19:12 EDT 2026 x86_64
User: awaldron (1020)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/awaldron/www/archive/blueliner/quote.php
<?php include('include/functions/f_mail_encode.php'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Blueliner.net : Custom Quote Request : Web Development Services : Pittsburgh, PA</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />

<link rel="stylesheet" href="include/js/sifr/all.css" type="text/css" media="all" />
<link rel="stylesheet" href="include/js/sifr/sIFR-screen.css" type="text/css" media="screen" />
<link rel="stylesheet" href="include/js/sifr/sIFR-print.css" type="text/css" media="print" />
<link rel="stylesheet" type="text/css" href="style.css" />

<script src="include/js/jquery/jquery.pack.js" type="text/javascript"></script>
<script src="include/js/interface/interface.js" type="text/javascript" ></script>
<script src="include/js/sifr/sifr.js" type="text/javascript"></script>
<script src="include/js/sifr/sifr.js" type="text/javascript"></script>
<script src="include/js/sifr/sifr-addons.js" type="text/javascript"></script>

<script type="text/javascript">
<!--
$(document).ready(function() { 
	if(typeof sIFR == "function"){
	    sIFR.replaceElement("body h3", named({sFlashSrc: "./euro.swf", sWmode:"transparent"}));
	};
	// Set 'title' attribute = to alt
	$('img').attr('alt', function() { return this.alt; } ).attr('title', function() { return this.alt } );
	
	$('input[@type=text]').focus( function() { this.className='focusOn'; } ).blur( function() { this.className='focusOff'; } );
	$('textarea').focus( function() { this.className='focusOn'; } ).blur( function() { this.className='focusOff'; } );
	$('#quotereq').submit( function() { return validate(); } );
});

function validate() {
	var name = document.forms['quotereq'].name.value;
	var email = document.forms['quotereq'].email.value;
	var describe = document.forms['quotereq'].describe.value;
	var robot = document.forms['quotereq'].nobot.checked;
	var submit = 1;
	
	var regex=/^[a-zA-Z0-9._-]+@([a-zA-Z0-9.-]+\.)+[a-zA-Z0-9.-]{2,4}$/;
	if (regex.test(email)) { document.getElementById('emailmsg').innerHTML = '* Required'; document.getElementById('emailmsg').className = 'req-no-error'; } 
	else if (email == '') { submit = 0; document.getElementById('emailmsg').innerHTML = '* Required'; document.getElementById('emailmsg').className = 'req-error'; }
	else { submit = 0; document.getElementById('emailmsg').innerHTML = '* Invalid Email'; document.getElementById('emailmsg').className = 'req-error'; }
	
	if (name != "") { document.getElementById('namemsg').className = 'req-no-error'; }
	else { submit = 0; document.getElementById('namemsg').className = 'req-error'; }
	
	if (describe != "") { document.getElementById('describemsg').className = 'req-no-error'; }
	else { submit = 0; document.getElementById('describemsg').className = 'req-error'; }
	
	if (robot) { document.getElementById('human').className = 'req-no-error'; }
	else { submit = 0; document.getElementById('human').className = 'req-error'; }
	
	if (submit == 1) { document.forms['quotereq'].submit(); return true; } 
	else { 
		alert('Your form could not be submitted. Please correct the highlighted errors and re-submit.');
		return false; 
	}
}
-->
</script>
</head>

<body>

<div class="header">
  <div class="inner">
     <div class="top-nav">
       <a href="index.php">Home</a>																												
       <a href="services.php">Services</a>
       <a href="spotlight.php">Spotlight</a>																												
       <a href="portfolio.php">Portfolio</a>
       <a href="quote.php" class="on">Quote</a>																											
     </div>
  </div>
</div>
<div class="green-divide-top"><img src="gui/clear.gif" alt="clear" width="3" height="3" /></div>

<?php
	if (isset($_POST[submit])) {
		
		$to = 'wds@alanwaldron.com';
		$subject = 'Custom Quote Request';
		$addhead = "From: ".$_POST[name]." <".$_POST[email].">" . PHP_EOL;
		$addhead .= "Reply-To: ".$_POST[email] . PHP_EOL;
				
		$msg =  '--Via Blueliner--'."\n\n";
		$msg .=  'Name:  '.$_POST[name]."\n";
		$msg .= 'Email: '.$_POST[email]."\n";
		$msg .= 'Phone: '.$_POST[phone]."\n";
		$msg .= 'URL:   '.$_POST[url]."\n\n";
		$msg .= 'Services: ';
		for ($i=0; $i < count($_POST[services]); $i++) {
			$msg .= $_POST[services][$i]."\n          ";
		}
		$msg .= "\n";
		$msg .= "Describe:\n";
		$msg .= stripslashes($_POST[describe]);
		
		mail($to,$subject,$msg,$addhead);
		
?>
<div class="main-body">
	<div class="l-col">
		<div class="title"><h3>custom quote request</h3></div>
		<br />
		<p class="instruction">Your form has been submitted for review.</p>
		<br /><br />
		<p>Thank you for your interest in Blueliner.net Web Development Services. Your form will be reviewed and a response will be sent within 24 hours.</p>
		<p>We here at Blueliner are excited at the prospect of working with you to make your project an unequivocal success!</p>
		<p>Kind Regards,</p>
		<p>Alan W. Waldron<br />Owner, Blueliner.net</p>
		<br /><br />
		<p class="center">&laquo; <a href="index.php">Back to Home Page</a></p>		
	</div>
	
	<div class="r-col">

	</div>
</div>
<?php
	} else {
?>
<div class="main-body">
	<div class="l-col">
		<div class="title"><h3>custom quote request</h3></div>
		<p><b>Fill out the custom quote request form to receive a quote on your project.</b></p>
		<p>Please fill out as many fields as you can and be as detailed as possible, the more specifics that you provide, the more accurate quote you will receive.</p>
		
		<br />
		<form id="quotereq" method="post" action="quote.php">
		<table>
	      <tr><td style="width:100px;"><b>Your Name:</b> &nbsp; </td><td><input type="text" name="name" value="" class="text" /></td><td id="namemsg" class="req-no-error" style="width:140px;">* Required</td></tr>
	      <tr><td style="width:100px;"><b>Email:</b> &nbsp; </td><td><input type="text" name="email" value="" class="text" /></td><td id="emailmsg" class="req-no-error" style="width:140px;">* Required</td></tr>
	      <tr><td style="width:100px;"><b>Phone:</b> &nbsp; </td><td><input type="text" name="phone" value="" class="text" /></td><td>&nbsp;</td></tr>
	      <tr><td style="width:100px;"><b>Website URL:</b> &nbsp; </td><td><input type="text" name="url" value="" class="text" /></td><td>&nbsp;</td></tr>
	      <tr><td colspan="3">&nbsp;</td></tr>
	      <tr><td colspan="3"><b>Please select the services that you are interested in:</b></td></tr>
	      <tr><td colspan="3">
	          <table cellspacing="0" cellpadding="0">
	            <tr><td><input type="checkbox" name="services[]" value="Website Development" checked /></td><td> &nbsp; Website Development</td><td>&nbsp;</td></tr>
	            <tr><td><input type="checkbox" name="services[]" value="Webmaster for Hire" /></td><td> &nbsp; Webmaster for Hire</td><td>&nbsp;</td></tr>
	      		<tr><td><input type="checkbox" name="services[]" value="Search Engine Optimization : Website Analysis" /></td><td> &nbsp; Search Engine Optimization : Website Analysis</td><td>&nbsp;</td></tr>
	      		<tr><td><input type="checkbox" name="services[]" value="Search Engine Optimization" /></td><td> &nbsp; Search Engine Optimization</td><td>&nbsp;</td></tr>
	      		<tr><td><input type="checkbox" name="services[]" value="Search Engine Marketing" /></td><td> &nbsp; Search Engine Marketing</td><td>&nbsp;</td></tr>
	      		<tr><td><input type="checkbox" name="services[]" value="Consulting / Training" /></td><td> &nbsp; Consulting / Training</td><td>&nbsp;</td></tr>
	      	  </table>
	      </td></tr>
	      <tr><td colspan="3">&nbsp;</td></tr>
	      <tr><td colspan="3"><b>Please describe the services you are requesting.</b> For web development projects, try to describe the goals and objectives you'd like your website to accomplish.</td></tr>
	      <tr><td colspan="2"><i>( Please be as detailed as possible. )</i></td><td id="describemsg" class="req-no-error" style="width:140px;text-align:right;">* Required</td></tr>
	      <tr><td colspan="3"><textarea name="describe" class="describe" cols="50" rows="6"></textarea></td></tr>
	      <tr><td colspan="3">&nbsp;</td></tr>
	      <tr><td colspan="3"><input type="checkbox" name="nobot" value="nobot" /> <span id="human">Please check this box if you are a human.</span></td></tr>
	      <tr><td colspan="3">&nbsp;</td></tr>
	      <tr><td colspan="3"><p align="center"><input type="submit" name="submit" value="Submit" /></p></td></tr>
		</table>
		</form>
		
	</div>
	
	<div class="r-col">

	</div>
</div>

<?php 
	} // end else;

include('_footer.php'); ?>