MSV FM

dot.antimicrobial@66.96.161.157: ~ $
Path : /hermes/sb_web/b2920/afamfarmersca.org/
File Upload :
Current < : /hermes/sb_web/b2920/afamfarmersca.org/support_thankyou.html

<!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>
  <title>Isaiah Terry Designs | Donation</title>
 <meta http-equiv="content-type" content="text/html;charset=utf-8" />
  <meta name="description" content="Professional Graphic Design Services, Thank you for your donations. />
  <meta name="keywords" content="Web Design, Donations, Thank you" />
  
<link rel="stylesheet" type="text/css" href="isaiah.css"/>
<!--[if IE 6]>
	<link rel="stylesheet" href="ie6.css" type="text/css" media="screen">
	<![endif]-->

<!--[if lte IE 6]>
   <style type="text/css">
   /*<![CDATA[*/ 
	html {overflow-x:auto; overflow-y:hidden;}
   /*]]>*/
   </style>
<![endif]-->

<link rel="shortcut icon" href="images/favicon.ico">

</head>

<body bgcolor="#121212">
					<div id="container" align="center">
			
					<table border="0" cellspacing="0" cellpadding="0" width="900" align="center">
					<tr>
					<td>
					<a href="index.html"><img src="images/logo-trans1.png" width="175" height="175" alt="Isaiah Terry Designs" 
					title="Go to home page" border="0" align="top"></a>
					</td>
					</tr>
					</table>
							
	
			
					<div id="menubar">
					<table border="0" cellspacing="0" cellpadding="0" width="900" align="center" valign="middle">
					<tr>
					<td>
					<ul>
					<li><a href="index.html">HOME</a></li>
					<li><a href="services.html">SERVICES</a></li>
					<li><a href="portfolio.html">PORTFOLIO</a></li>
					<li><a href="products.html">PRODUCTS</a></li>
					<li><a href="support.php">CONTACT</a></li>
					<li><a href="https://www.etsy.com/shop/IsaiahTerry">SHOP</a></li>
					</ul>
					</td>
					</tr>
					</table>
					</div><!--end menubar div-->
					
		
					<div id="thankyou">
					<?php
//This is a very simple PHP script that outputs the name of each bit of information (that corresponds to the <code>name</code> attribute for that field) along with the value that was sent with it right in the browser window, and then sends it all to an email address (once you've added it to the script).

if (empty($_POST)) {
	print "<p>No data was submitted.</p>";
	print "</body></html>";
	exit();
}

//Creates function that removes magic escaping, if it's been applied, from values and then removes extra newlines and returns to foil spammers. Thanks Larry Ullman!
function clear_user_input($value) {
	if (get_magic_quotes_gpc()) $value=stripslashes($value);
	$value= str_replace( "\n", '', trim($value));
	$value= str_replace( "\r", '', $value);
	return $value;
	}



if ($_POST['comments'] == 'Please share any comments you have here') $_POST['comments'] = '';	

//Create body of message by cleaning each field and then appending each name and value to it

$body ="Here is the data that was submitted:\n";

foreach ($_POST as $key => $value) {
	$key = clear_user_input($key);
	$value = clear_user_input($value);
	if ($key=='extras') {
		
	if (is_array($_POST['extras']) ){
		$body .= "$key: ";
		$counter =1;
		foreach ($_POST['extras'] as $value) {
				//Add comma and space until last element
				if (sizeof($_POST['extras']) == $counter) {
					$body .= "$value\n";
					break;}
				else {
					$body .= "$value, ";
					$counter += 1;
					}
				}
		} else {
		$body .= "$key: $value\n";
		}
	} else {

	$body .= "$key: $value\n";
	}
}

extract($_POST);
//removes newlines and returns from $email and $name so they can't smuggle extra email addresses for spammers
$email = clear_user_input($email);
$name = clear_user_input($name);

//Create header that puts email in From box along with name in parentheses and sends bcc to alternate address
$from='From: '. $email . "(" . $name . ")" . "\r\n" . 'Bcc: info@isaiahterrydesigns.com' . "\r\n";



//Creates intelligible subject line that also shows me where it came from
$subject = 'Inquiry from Contact Page';

//Sends mail to me, with elements created above
mail ('info@isaiahterrydesigns.com', $subject, $body, $from);



?>
					</div><!--end thankyou div-->
					
					<div id="subcontent" align="center" style="content:normal">
					
					<table border="0" cellspacing="0" cellpadding="0" width="720" align="center">
					<tr>
					<td>
					<a href="http://www.crowdrise.com/phillipinessupporteffort/fundraiser/isaiahterry"><img src="images/spacer.png" width="240" height="240" alt="Phillipines Support Effort" title="Fundraiser for Phillipines" border="0" align="left" /></a>
					</td>
					<td>
					<a href="http://isaiahssoapbox.blogspot.com/"><img src="images/spacer2.png" width="240" height="240" alt="Isaiah Terry Designs" title="Isaiah's Blog" border="0" align="middle" /></a>
					</td>
					<td>
					<a href="http://www.crowdrise.com/phillipinessupporteffort/fundraiser/isaiahterry"><img src="images/spacer3.png" width="240" height="240" alt="Isaiah Terry Designs" title="Fundraiser for Phillipines" border="0" align="right" /></a>
					</td>
					</tr>
					</table>
					
					</div><!--end subcontent--> 
					 
					<div id="footer-nav" align="center">
					<table border="0" cellspacing="0" cellpadding="0" width="720" align="center">
					<tr>
					<td align="center">
					<h6>&copy; 2015 Isaiah Terry Designs. All Rights Reserved.</h6>
					</td>
					<td align="center">
					<h6> info@IsaiahTerryDesigns.com</h6>
					</td>
					<td align="center">
					<h6>P.O. Box Box 61103  Seattle, WA 98121 </h6>
					</td>
					</tr>
					</table>
					
					</div><!--end footer div-->
		</div><!--end container div-->
		
	
			
</body>
</html>