
<!DOCTYPE html>
<html lang="en">
<head>
	<title>Welcome to Relyo Solutions</title>
	<meta charset="utf-8">
	<meta name="format-detection" content="telephone=no"/>
	<link rel="icon" href="images/favicon.png" type="image/x-icon">
	<link rel="stylesheet" href="css/grid.css">
	<link rel="stylesheet" href="css/style.css">
	<link rel="stylesheet" href="css/search.css">
	<link rel="stylesheet" href="css/camera.css">
	<link rel="stylesheet" href="css/owl-carousel.css">
	<link rel="stylesheet" href="css/touch-touch.css">
	<link rel="stylesheet" href="css/google-map.css">
	<link rel="stylesheet" href="css/nivo-slider.css" type="text/css" media="screen" />
	<link rel="stylesheet" href="css/default.css" type="text/css" media="screen" />
	<link rel="stylesheet" type="text/css" media="all" href="css/styles.css">
	<link href="css/style1.css" rel="stylesheet" type="text/css" />
	<link rel="stylesheet" href="css/stewart-framework-css.css">

	<script src="js/jquery-1.11.1.js"></script>
	<script src="js/jquery-migrate-1.2.1.js"></script> 
	<script type="text/javascript" src="js/jquery.nivo.slider.js"></script> 
	<script type="text/javascript">
		$(window).load(function() {
			$('#slider').nivoSlider();
		});
	</script>



	<!--[if lt IE 9]> 
	<html class="lt-ie9">
	<div style=' clear: both; text-align:center; position: relative;'>
		<a href="http://windows.microsoft.com/en-US/internet-explorer/..">
			<img src="images/ie8-p  anel/warning_bar_0000_us.jpg" border="0" height="42" width="820"
					 alt="You are using an outdated browser. For a faster, safer browsing experience, upgrade for free today."/>
		</a>
	</div>
	<script src="js/html5shiv.js"></script>
	<![endif]-->

	<script src='js/device.min.js'></script>
	    <script>
var _validFileExtensions = [".pdf", ".doc", ".docx"];    
function ValidateSingleInput(oInput) {
    if (oInput.type == "file") {
        var sFileName = oInput.value;
         if (sFileName.length > 0) {
            var blnValid = false;
            for (var j = 0; j < _validFileExtensions.length; j++) {
                var sCurExtension = _validFileExtensions[j];
                if (sFileName.substr(sFileName.length - sCurExtension.length, sCurExtension.length).toLowerCase() == sCurExtension.toLowerCase()) {
                    blnValid = true;
                    break;
                }
            }
             
            if (!blnValid) {
                alert("Sorry, " + sFileName + " is invalid, allowed extensions are: " + _validFileExtensions.join(", "));
                oInput.value = "";
                return false;
            }
        }
    }
    return true;
}
</script>
</head>
<body>
<div class="page">
	<!--========================================================
													HEADER
	=========================================================-->
	<header>
		<!-- <section class="top-section clear">
			<ul class="inline-list">
				<li><a href="#" class="icon icon-xs circle fa-facebook"></a></li>
				<li><a href="#" class="icon icon-xs circle fa-twitter"></a></li>
				<li><a href="#" class="icon icon-xs circle fa-google-plus"></a></li>
			</ul>
			contact-info 
			<!-- END contact-info
		</section> -->
		<!-- Stuck container -->
		<section id="stuck_container" class="stuck_container clear">
			<?php include("include/header.php");?>
		</section>
		<!-- END Stuck container -->
	</header>

	<!--========================================================
														CONTENT
	=========================================================-->
	<main class="text-center">
		<!-- section -->
		<section>
			<img src="images/banner/banner8.jpg" class="banner00" />
			<img src="images/banner/banner8.jpg" class="banner000" />
		</section>
		<!-- END section --> 

		<!-- section -->
		<section class="well well--inset-2">
			<div class="container">
				<div class="row ">
				<h2 class="enqu_boxh2">Careers</h2>
					<div class="col-md-12 hom_top hom_top10">
						<div class="enqu_box">
							<div class="enqu_box1">
							<form id='formSubmission' method='POST' action="" enctype="multipart/form-data">
							<label>Name :</label>
							<input type="text" name="name" />
							<label>Email :</label>
							<input type="email" name="email" />
							<label>City :</label>
							<input type="text" name="city" />
							<label>Phone Number :</label>
							<input type="text" name="phone" />
							<label>Your Message :</label>
							<textarea name="message"></textarea>
							<label>Upload Resume :</label>
							<input type="file" name="resume" accept="pdf|doc|docx" maxlength="3" onchange="ValidateSingleInput(this);" data-multiple-caption="{count} files selected" />
							<input type="submit" name="submit" value="send" class="enqu_box2" />
							</form>
							<?php
							if(isset($_REQUEST["submit"]))
							{
								$name=$_POST['name'];
								$email=$_POST['email'];
								$city=$_POST['city'];
								$phone=$_POST['phone'];
								$message=$_POST['message'];
								
								$path= "resume/".$_FILES["attachment"]["name"];
								//move_uploaded_file($_FILES["attachment"]["tmp_name"],$path);
								
								$subject="Relyo Solutions";
							   
								$message ="A Visitor from Relyo Solutions has Sent a message" 
							   ."\n Name\t:\t" 
							   . $name
							   ."\n E-mail\t:\t" 
							   . $email
							   ."\n City\t:\t" 
							   . $city
							   ."\n Phone\t:\t" 
							   . $phone
							   ."\n Your Message\t:\t" 
							   . $message
							   . "\n\n";
							   
								$messages=AddAttachment( $file_to_attach , $path );
							   
							   mail( "jobs@relyosolutions.com", "$subject",$message,$resume, "From: $email" );
							   
							   $sub ="www.relyosolutions.com";
								
								$body="\n\nRespected Sir/Madem, \n\nWe have received your Career Form\n\nWe will Contact As soon As Possbile\n\nBest Wishes,\n www.relyosolutions.com\n\n";
								
								$head = 'From:  <info@xerrow.com>' . "\r\n";
								
								mail($email, $sub, $body, $head);
							}
							?>
							
							</div>
						</div>
					</div>
				</div>
			</div>
		</section>
		<!-- END section -->
		
		<!-- section -->
		
		<!-- END section -->   
		<!-- section -->
		
		
</main>
<!--========================================================
													FOOTER
=========================================================-->
<footer class="text-center">
	<!-- Google map -->
	<!--<section id="map" class="map" >
	<div id="google-map" class="map_model" data-zoom="12" data-x="-74.008592" data-y="40.682597"></div>

	<ul class="map_locations">
		<li data-x="-73.973584" data-y="40.684763">
			<p>8901 Marmora Road, Glasgow, DO4 89GR.<a href="callto:#">+1 800 559 6580</a></p>
		</li>
	</ul>

	</section>-->
	<!-- END Google map --> 

	<!-- section -->
	<section class="well text-md-left">
		<?php include("include/footer.php");?>
	</section>

			</div>
	<!-- END section -->

</footer>
</div> <!-- end page -->

<script src="js/script.js"></script>
<script>
jQuery(function($){
  
  
  $('body').append($('<div class="mobile-nav"></div>').html($('.nav-list').clone()));
  

  $('.js-nav-trigger').on('click',function(event){
    event.preventDefault();
    $('body').toggleClass('show-nav');
  });
       
});
</script>


</body>
</html>