<!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>Phantom - Climatic &amp; Functional Poprtfolio / Business HTML Template</title>
	<meta name="description" content=""/>
	<meta name="keywords" content=""/>
	<meta http-equiv="content-type" content="text/html;charset=iso-8859-1"/>
	<meta http-equiv="content-language" content="en"/>
	<link rel="stylesheet" type="text/css" media="screen" title="screen" href="css/reset.css"/>
	<link rel="stylesheet" type="text/css" media="screen" title="screen" href="css/style.css"/>
    <link rel="stylesheet" type="text/css" media="screen" title="screen" href="css/template_style.css"/>

    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.js" type="text/javascript"></script>
    <!-- from validation -->
	<script src="js/ContactForm/jquery.validate.js" type="text/javascript"></script>
    <script src="js/ContactForm/jquery.metadata.js" type="text/javascript"></script>
    <script src="js/ContactForm/cmxforms.js" type="text/javascript"></script>
    <script type="text/javascript">
		$(document).ready(function() {
			$("#commentForm").validate();
		});
    </script>


            	<!-- drop down menu -->
    <link rel="stylesheet" type="text/css" href="css/superfish.css" media="screen" />
    <script type="text/javascript" src="js/hoverIntent.js"></script>
    <script type="text/javascript" src="js/superfish.js"></script>
	<script type="text/javascript">
		// initialise plugins
		jQuery(function(){
			jQuery('ul.sf-menu').superfish();
		});
	</script>
</head>
<body>
<div id="main-container">

	<div id="header">
    	<a href="index.html" name="top" class="logo_link"></a>
    </div><!-- end #header -->

	<div id="menu_wrap">
        <ul class="sf-menu">
            <li>
                <a href="index.html">Home</a>
            </li>
             <li>
                <a href="about.html">About</a>
                <ul>
                    <li><a href="404.html">Error 404 Sample</a></li>
                    <li><a href="#">Our Mission</a></li>
                    <li><a href="#">Services</a></li>
                    <li><a href="#">Another Link</a></li>
                    <li><a href="#">Another Link</a></li>
                </ul>
            </li>

            <li>
                <a href="portfolio.html">Portfolio</a>
                <ul>
                    <li><a href="#">Web Design</a></li>
                    <li><a href="#">Prints</a></li>
                    <li><a href="#">Branding</a></li>
                    <li><a href="#">Photography</a></li>
                    <li><a href="#">Another Service</a></li>
                </ul>
            </li>
            <li>
                <a href="blog.html">Blog</a>
            </li>
            <li>
                <a href="contact.html" class="current">Contact</a>
            </li>
		</ul><!-- end .sf-menu -->

        <div id="free_for_job"></div><!-- end #free_for_job -->
    </div><!-- end #menu_wrap -->

    <div id="small_banner_wrap" class="banner_contact">
		Don't hesitate to contact us. We love talking!
    </div><!-- end #banner_wrap -->

    <div id="content_wrap" class="content_bg_sidebar">
    	<div class="corners_bottom_sidebar"></div><!-- end .corners_bottom_nosidebar -->
    	<div class="corners_top_sidebar"></div><!-- end .corners_top_nosidebar -->

        <div class="clear"></div><!-- end .clear -->
        <div id="content">
        	<h1>Thank You for Quote</h1><br />
            <p>
            Duis laoreet massa ut arcu congue quis aliquet dolor egestas. Maecenas sed augue consequat augue viverra luctus non eget enim.
            Maecenas elementum vulputate aliquet.
            </p>

 			<?php

				$mailTo = 'your_mail';
				$header = 'From: Phantom@example.com' . "\r\n" .
						  'Reply-To: webmaster@example.com' . "\r\n".
						  'MIME-Version: 1.0' . "\r\n".
						  'Content-type: text/plain; charset=utf-8' . "\r\n";
				$name = htmlspecialchars($_POST['name']);
				$mailFrom = htmlspecialchars($_POST['email']);
				$org = htmlspecialchars($_POST['org']);
				$url = htmlspecialchars($_POST['url']);
				$country = htmlspecialchars($_POST['country']);
				$project = htmlspecialchars($_POST['project']);
				$timeline = htmlspecialchars($_POST['timeline']);
				$budget = htmlspecialchars($_POST['budget']);

				$subject = 'Message from website';
				$message_text = htmlspecialchars($_POST['message']);

				$message =  "From: $name \r\nEmail: $mailFrom \r\nOrganization: $org \r\nOrganization Website: $url \r\nCountry: $country \r\nProject: $project \r\nTimeline: $timeline \r\nBudget: $budget \r\nMessage: $message_text";

				if(mail($mailTo, $subject, $message, $header))
				{
					echo $body."<br/>";
					echo "<div class='message'>Quote sent. Thank you. I will contact with you shortly.</div>";
				}
				else{
					echo "FAILED!";
            	 } ?>

        </div><!-- end #content -->

        <div id="sidebar">

             <div class="sidebar_box">
                <h2><img src="images/contact_icon.png" alt="Get in Touch"/>Get in Touch</h2>
                <p>
                Please feel free to email me if you have specific requirements, or even if you just want a chat!
                You can also use our <a href="contact.html">contact page</a>.
                <br /><br />
                <img src="images/mail_icon.png" alt="e-mail"/> <strong>email:</strong>  <a href="mailto:sample@sample.com">sample@sample.com</a>
                <br /><br />
                <img src="images/phone_icon.png" alt="phone"/> <strong>phone:</strong> 	0353 123 456 78<br />
                <img src="images/mobile_icon.png" alt="mobile"/> <strong>mobile:</strong> 	0353 123 456 78
                </p>
             </div>


             <div class="sidebar_box top_margin">
                <h2><img src="images/blog_icon.png" alt="Recent Blog"/>Recent Blog Entries</h2>
                <p class="recent_post">
                <a href="blog.html">Mauris tincidunt pharetra ipsum in tempus.</a><br />
                <small>Aug 02, 2009 | No Comments</small>
                </p>
                <p class="recent_post">
                <a href="blog.html">Donec adipiscing ipsum semper ante condim.</a><br />
                <small>Jul 15, 2009 | 3 Comments</small>
                </p>
                <p class="recent_post">
                <a href="blog.html">Sed commodo lobortis risus, vitae commodo.</a><br />
                <small>May 26, 2009 | 14 Coments</small>
                </p>
            </div>

            <div class="sidebar_box top_margin">
            	<a href="" class="alignleft"><img src="images/adv/adv1.jpg" alt="Recent Blog"/></a>
                <a href="" class="alignright"><img src="images/adv/adv2.jpg" alt="Recent Blog"/></a>
            </div>
        </div><!-- end #sidebar -->
        <div class="clear"></div><!-- end .clear -->

    </div><!-- end #content_wrap -->

    <div id="footer_wrap" >

        <div id="top_footer" class="content_bg_nosidebar">
            <div class="corners_bottom_nosidebar"></div><!-- end .corners_bottom_nosidebar -->
            <div class="corners_top_nosidebar"></div><!-- end .corners_top_nosidebar -->

            <div class="clear"></div><!-- end .clear -->
            <div id="twitter">

                <table><tr>
                <td class="follow_me"><a href="#"><img src="images/twitter_bird.jpg"  alt="Twitter Bird"/></a></td>
                <td>
                <h5><strong>Recent Tweet</strong></h5>
                <p>
                Aenean ut nibh odio, vitae mollis odio.<br />
                Maecenas faucibus auctor interdum.<br />
                <em>3 hours ago</em>
                </p>
                </td>
                </tr></table>

            </div><!-- end #twitter -->

            <div id="get_connected">
                <h5><strong>Let's get connected</strong></h5>
                <p>You can also contact me through any of the social networks below.<br  />
                <a href="#"><img src="images/socicon1.jpg" alt="social icon" /></a>
                <a href="#"><img src="images/socicon2.jpg" alt="social icon" /></a>
                <a href="#"><img src="images/socicon3.jpg" alt="social icon" /></a>
                <a href="#"><img src="images/socicon4.jpg" alt="social icon" /></a>
                <a href="#"><img src="images/socicon5.jpg" alt="social icon" /></a>
                <a href="#"><img src="images/socicon6.jpg" alt="social icon" /></a>
                <a href="#"><img src="images/socicon7.jpg" alt="social icon" /></a>
                <a href="#"><img src="images/socicon8.jpg" alt="social icon" /></a></p>
            </div><!-- end #get_connected -->

            <div class="clear"></div><!-- end .clear -->
        </div><!-- end #top_footer -->



     	 <div id="bottom_footer">
        	&copy; Copyright 2009 <a href="http://themeforest.net/item/phantom-climatic-functional-psd-template/53041">Phantom</a> Template &amp; <a href="http://CharismaticMedia.com">CharismaticMedia.com</a>.
            <a href="#top" id="top_button">TOP</a>
            <div id="footer_menu">
                <a href="index.html">Home</a> |
                <a href="about.html">About</a> |
                <a href="portfolio.html">Portfolio</a> |
                <a href="blog.html">Blog</a> |
                <a href="contact.html">Contact</a>
            </div><!-- end #footer_menu -->
        </div><!-- end #bottom_footer -->
    </div><!-- end #footer_wrap -->

</div><!-- end #main-container -->


</body>
</html>
