<?php
	// Start session.
	session_start();
	
	// Set a key, checked in mailer, prevents against spammers trying to hijack the mailer.
	$security_token = $_SESSION['security_token'] = uniqid(rand());
	
	if ( ! isset($_SESSION['formMessage'])) {
		$_SESSION['formMessage'] = 'Fill in the form below to send us an email.';	
	}
	
	if ( ! isset($_SESSION['formFooter'])) {
		$_SESSION['formFooter'] = '';
	}
	
	if ( ! isset($_SESSION['form'])) {
		$_SESSION['form'] = array();
	}
	
	function check($field, $type = '', $value = '') {
		$string = "";
		if (isset($_SESSION['form'][$field])) {
			switch($type) {
				case 'checkbox':
					$string = 'checked="checked"';
					break;
				case 'radio':
					if($_SESSION['form'][$field] === $value) {
						$string = 'checked="checked"';
					}
					break;
				case 'select':
					if($_SESSION['form'][$field] === $value) {
						$string = 'selected="selected"';
					}
					break;
				default:
					$string = $_SESSION['form'][$field];
			}
		}
		return $string;
	}
?><!DOCTYPE HTML>
<html>
<head>
	<!-- 
		Copper - ../rw_common/themes/Copper/template/Copper/release.txt
	-->
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		
	<title>Contact Us</title>
	<!-- Theme Default Styles -->
	<link rel="stylesheet" type="text/css" media="print" href="../rw_common/themes/Copper/consolidated-print-2.css" />
		<link rel="stylesheet" type="text/css" media="screen" href="../rw_common/themes/Copper/consolidated-screen-2.css" />
		<link rel="stylesheet" type="text/css" media="all" href="../rw_common/themes/Copper/consolidated-all-2.css" />
		
	
	<link href="https://fonts.googleapis.com/css?family=Bree Serif|Cabin|Cookie|Droid Serif|Lobster|Lora|Montserrat|Playfair Display|Ubuntu|Vollkorn" rel='stylesheet' type='text/css'>
	<!-- Theme Objects -->
	<script>sdSS = {};sdNav = {};RwSet = {pathto: "../rw_common/themes/Copper/javascript.js",baseurl: "http://www.myprophead.com/"};</script>
	<!--[if IE 9]><script>sdNav.IE9 = true;</script><![endif]-->
	<!--[if lt IE 9]><script src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
	<!-- Theme Options -->
	<script type="text/javascript" src="../rw_common/themes/Copper/options/navigation/3tier.js"></script>
		<script type="text/javascript" src="../rw_common/themes/Copper/options/slideshow/slideShow1to5.js"></script>
		
	<!-- Theme Color Options -->
	
	<!-- Plugin Resources -->
	
	<!-- User Resources -->
	<meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, width=device-width">
<link rel="stylesheet" type="text/css" media="screen" href="https://d2c8zg9eqwmdau.cloudfront.net/rw/m.common.css" />
	<!-- User Styles -->
	
	
<!-- Start Google Analytics -->
<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-44246331-1', 'myprophead.com');
  ga('send', 'pageview');

</script><!-- End Google Analytics -->
</head>
<body id="Copper">
	
	<!-- Outer Wrap -->
	<div class="outer top">
		
		<!-- Inner Wrap -->
		<div class="inner top">
				
			<!-- Title Block -->
			<div class="titleBlock">
				<a id="logo" href="http://www.myprophead.com/" title=""><img src="../rw_common/images/MPH-full-logo-tangerine-blue-on-tungsten.gif" width="344" height="78" alt="Site logo"/></a>
				<hgroup class="titles">
					<h1 id="site_title"></h1>
					<h2 id="site_slogan"></h2>
				</hgroup>
				
				<!-- Social Links -->
				<div id="extraContainer12"></div>
					
			</div>
			
			<!-- Toolbar 1 -->
			<nav class="toolbar1 radiusTop"><ul class="toolbarList"><li class="normalListItem"><a class="normal" href="../" rel="self" title="Home">Home</a></li><li class="normalListItem"><a class="normal" href="../services/" rel="self" title="Services">Services</a><ul class="toolbarList"><li class="normalListItem"><a class="normal" href="../services/fractional_cxo/" rel="self" title="Fractional CxO">Fractional CxO</a></li><li class="normalListItem"><a class="normal" href="../services/interim_transitional/" rel="self" title="Interim/Transitional">Interim/Transitional</a></li><li class="normalListItem"><a class="normal" href="../services/investor_services/" rel="self" title="Investor Services">Investor Services</a></li></ul></li><li class="normalListItem"><a class="normal" href="../expertise/" rel="self" title="Expertise">Expertise</a><ul class="toolbarList"><li class="normalListItem"><a class="normal" href="../expertise/stratergy_creation/" rel="self" title="Strategy Creation and Implementation">Strategy Creation and Implementation</a></li><li class="normalListItem"><a class="normal" href="../expertise/marketing_consultancy/" rel="self" title="Marketing Consultancy">Marketing Consultancy</a></li><li class="normalListItem"><a class="normal" href="../expertise/product_management/" rel="self" title="Product Management">Product Management</a></li><li class="normalListItem"><a class="normal" href="../expertise/sales_enablement/" rel="self" title="Sales Enablement">Sales Enablement</a></li></ul></li><li class="normalListItem"><a class="normal" href="../page14/" rel="self" title="Packages">Packages</a><ul class="toolbarList"><li class="normalListItem"><a class="normal" href="../page14/package_gtm_plan/" rel="self" title="GTM Plan Review & Creation">GTM Plan Review & Creation</a></li><li class="normalListItem"><a class="normal" href="../page14/package_presentation/" rel="self" title="Presentation Creation & Coaching">Presentation Creation & Coaching</a></li><li class="normalListItem"><a class="normal" href="../page14/package_speaking/" rel="self" title="Speaking & Panel Orchestration">Speaking & Panel Orchestration</a></li><li class="normalListItem"><a class="normal" href="../page14/package_sales_enablement/" rel="self" title="Sales/Channel Enablement">Sales/Channel Enablement</a></li></ul></li><li class="normalListItem"><a class="normal" href="../case_studies/" rel="self" title="Case Studies">Case Studies</a></li><li class="normalListItem"><a class="normal" href="../blog/" rel="self" title="OurPropHeads Blog">OurPropHeads Blog</a></li><li class="normalListItem"><a class="normal" href="../about/" rel="self" title="About">About</a></li><li class="currentListItem"><a class="current" href="./" rel="self" title="Contact Us">Contact Us</a></li></ul></nav>

			<!-- clear -->
			<div class="clear"></div>			
			
		</div>
	</div>
					
	<!-- Outer Wrap -->
	<div class="outer main">
		
		<!-- Inner Wrap -->
		<div class="inner main">
		
			<!-- Header/Slider -->
			<div class="header radiusAll">
				<!-- ExtraConent 1 -->
				<div id="extraContainer1"></div>
				<!-- SS3 -->
				<div class="seydoggySlideshow"><div class="pageHeader"></div></div>
				<!-- clear -->
				<div class="clear"></div>
			</div>
	
			<!-- Toolbar 2 -->
			<nav class="toolbar2 radiusAll"></nav>

			<!-- ExtraContent 2 -->
			<div class="extracontent extracontent2 radiusAll" id="extraContainer2"></div>
			
			<!-- Middle Wrap -->
			<div class="middle radiusAll">
		
				<!-- Wide Wrap -->
				<div class="wide radiusAll">
			
					<!-- Content -->
					<div id="content">
						
<div class="message-text"><?php echo $_SESSION['formMessage']; unset($_SESSION['formMessage']); ?></div><br />

<form action="./files/mailer.php" method="post" enctype="multipart/form-data">
	 <div>
		<label>Your Name:</label> *<br />
		<input class="form-input-field" type="text" value="<?php echo check('element0'); ?>" name="form[element0]" size="40"/><br /><br />

		<label>Your Email:</label> *<br />
		<input class="form-input-field" type="text" value="<?php echo check('element1'); ?>" name="form[element1]" size="40"/><br /><br />

		<label>Subject:</label> *<br />
		<input class="form-input-field" type="text" value="<?php echo check('element2'); ?>" name="form[element2]" size="40"/><br /><br />

		<label>Message:</label> *<br />
		<textarea class="form-input-field" name="form[element3]" rows="8" cols="38"><?php echo check('element3'); ?></textarea><br /><br />

		<label>Area of interest:</label> *<br />
		<select name="form[element4]">			<option <?php echo check('element4', 'select','In-house marketing consulting'); ?> value="In-house marketing consulting">In-house marketing consulting</option>
			<option <?php echo check('element4', 'select','External thought leadership engagement'); ?> value="External thought leadership engagement">External thought leadership engagement</option>
			<option <?php echo check('element4', 'select','Industry or firm analysis'); ?> value="Industry or firm analysis">Industry or firm analysis</option>
			<option <?php echo check('element4', 'select','2014 Planning'); ?> value="2014 Planning">2014 Planning</option>
			<option <?php echo check('element4', 'select','Sales Enablement'); ?> value="Sales Enablement">Sales Enablement</option>
			<option <?php echo check('element4', 'select','Voice over assistance'); ?> value="Voice over assistance">Voice over assistance</option>
			<option <?php echo check('element4', 'select','Investor Support'); ?> value="Investor Support">Investor Support</option>
			<option <?php echo check('element4', 'select','Other'); ?> value="Other">Other</option>
		</select><br /><br />

		<label>Other:  Please explain</label> <br />
		<input class="form-input-field" type="text" value="<?php echo check('element5'); ?>" name="form[element5]" size="40"/><br /><br />

		<div style="display: none;">
			<label>Spam Protection: Please don't fill this in:</label>
			<textarea name="comment" rows="1" cols="1"></textarea>
		</div>
		<input type="hidden" name="form_token" value="<?php echo $security_token; ?>" />
		<input class="form-input-button" type="reset" name="resetButton" value="Reset" />
		<input class="form-input-button" type="submit" name="submitButton" value="Submit" />
	</div>
</form>

<br />
<div class="form-footer"><?php echo $_SESSION['formFooter']; unset($_SESSION['formFooter']); ?></div><br />

<?php unset($_SESSION['form']); ?>
					</div>
			
				</div>

				<!-- Narrow Wrap -->
				<div class="narrow">
			
					<!-- Toolbar 3 -->
					<nav class="toolbar3"></nav>
			
					<!-- Plugin Sidebar -->
					<div id="plugin_sidebar"></div>
					
					<!-- Sidebar Title-->
					<h3 id="sidebar_title"></h3>

					<!-- Sidebar -->
					<div id="sidebar"><!-- 
	Instructions:
	1. Paste this snippet into the main content area or 
		sidebar area of your site.

	2. If pasted into a styled text area, be sure to 
		select the snippet then use Format > Ignore 
		Formatting.
	
	3. Replace # with the full URI you wish to link to.
	
	4. Add or remove lines as needed.
	
	5. For a list of other supported icons, visit: 
		http://fortawesome.github.com/Font-Awesome/
-->
<div id="myExtraContent12">
	<ul class="social_links">
		<li><a href="http://www.myprophead.com" class="icon-home"></a></li>
		<li><a href="https://twitter.com/myprophead" class="icon-twitter-sign"></a></li>
		<li><a href="http://www.linkedin.com/in/darrylsbrown" class="icon-linkedin-sign"></a></li>
		<li><a href="https://plus.google.com/114133877592075736506" class="icon-google-plus-sign"></a></li>


	</ul>
</div></div>

				</div>
				
				<!-- Clear -->
				<div class="clear"></div>
		
			</div>
			
			<!-- ExtraContent 3 -->
			<div class="extracontent extracontent3 radiusAll" id="extraContainer3"></div>
					
		</div>
	</div>
	
	<!-- Outer Wrap -->
	<div class="outer extracontent4 extracontent">
		
		<!-- ExtraContent 4 -->
		<div class="inner" id="extraContainer4"></div>
	
	</div>
	
	<!-- Outer Wrap -->
	<div class="outer bottom">
	
		<!-- Inner Wrap -->
		<div class="inner bottom">
		
			<!-- Footer -->
			<div id="footer">&copy; 2013 MyProphead, LLC <a href="#" id="rw_email_contact">Contact Us</a><script type="text/javascript">var _rwObsfuscatedHref0 = "mai";var _rwObsfuscatedHref1 = "lto";var _rwObsfuscatedHref2 = ":in";var _rwObsfuscatedHref3 = "fo@";var _rwObsfuscatedHref4 = "myp";var _rwObsfuscatedHref5 = "rop";var _rwObsfuscatedHref6 = "hea";var _rwObsfuscatedHref7 = "d.c";var _rwObsfuscatedHref8 = "om";var _rwObsfuscatedHref = _rwObsfuscatedHref0+_rwObsfuscatedHref1+_rwObsfuscatedHref2+_rwObsfuscatedHref3+_rwObsfuscatedHref4+_rwObsfuscatedHref5+_rwObsfuscatedHref6+_rwObsfuscatedHref7+_rwObsfuscatedHref8; document.getElementById('rw_email_contact').href = _rwObsfuscatedHref;</script></div>

			<!-- Breadcrumb -->
			<nav id="breadcrumb"><ul class="breadcrumbList"><li class="breadcrumbItem"><a href="../" title="Home">Home</a></li><li class="breadcrumbItem"><a href="./" title="Contact Us">Contact Us</a></li></ul></nav>
			
			<!-- Clear -->
			<div class="clear"></div>
				
		</div>
				
	</div>
	<!-- Theme Libraries -->
	<script src="https://d2c8zg9eqwmdau.cloudfront.net/rw/common.min.js"></script>
	<script src="https://d2c8zg9eqwmdau.cloudfront.net/rw/Copper.min.js"></script>
	<script>window.jQuery || document.write('<script src="../rw_common/themes/Copper/template/Copper/common.local.js"><\/script>')</script>
	<script src="../rw_common/themes/Copper/javascript.js"></script>
	<!-- User Resources -->
	
</body>
</html>
