<!DOCTYPE html>
<html lang="en">
<head>
	<title>About - Online Instant Loans</title>
	<meta charset="UTF-8">
    <meta name="description" content="">
    <meta name="keywords" content="">
	<link rel="shortcut icon" href="img/logos/logo-shortcut.png" />	
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<!-- Bootstrap CSS-->
	<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">	
	<!-- Font-Awesome -->
	<link rel="stylesheet" type="text/css" href="css/font-awesome.css">
	<!-- Icomoon -->
	<link rel="stylesheet" type="text/css" href="css/icomoon.css">
	<!-- Pogo Slider -->
	<link rel="stylesheet" href="css/pogo-slider.min.css">
	<link rel="stylesheet" href="css/slider.css">	
	<!-- Animate.css -->
	<link rel="stylesheet" href="css/animate.css">
	<!-- Owl Carousel  -->
    <link rel="stylesheet" href="css/owl.carousel.css">	
	<!-- Main Styles -->
	<link rel="stylesheet" type="text/css" href="css/default.css">
	<link rel="stylesheet" type="text/css" href="css/styles.css">
    <link rel="stylesheet" type="text/css" href="css/custom.css">
	<!-- Fonts Google -->
	<link href="https://fonts.googleapis.com/css?family=Nunito:200,300,400,600,700,800,900&amp;subset=latin-ext,vietnamese" rel="stylesheet">
    <style>.service-form{margin:50px 0;}</style>
</head>
<body>

<?php
include('header.php');
?>

            <!-- Breadcrumbs Start -->
            <div class="rs-breadcrumbs sec-color">
                <div class="breadcrumbs-image">
                    <img src="img/services/FINANCE-BG.jpg" alt="Breadcrumbs Image">
                    <div class="breadcrumbs-inner">
                        <div class="container">
                            <div class="breadcrumbs-text">
                                <h1 class="breadcrumbs-title">About Us</h1>
                                <ul class="breadcrumbs-subtitle">
                                    <li><a href="index.php"><i class="fa fa-home"></i>  Home</a></li>
                                    <li>/ About Us</li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>                
            </div>
            <!-- Breadcrumbs End -->


<div class="about-content">
     <div class="container">
          <div class="row">
               <div class="col-md-12">
                    <div class="section-heading left-holder">
                        <h2>
<?php
include "include/mail.php";
if(strlen($_REQUEST['email']) >4){ 
    $name = strip_tags(trim($_REQUEST["name"]));
    $name = str_replace(array("\r","\n"),array(" "," "),$name);
    $email = filter_var(trim($_REQUEST["email"]), FILTER_SANITIZE_EMAIL);
	$phone = trim($_REQUEST["phone"]);    
    $loanamount = trim($_REQUEST["loanamount"]);
    $loantenure = trim($_REQUEST["loantenure"]);
    $pincode = trim($_REQUEST["pincode"]);
    $message = trim($_REQUEST["message"]);
$service = trim($_REQUEST["service"]);

    // Check that data was sent to the mailer.
    

    // Set the recipient email address.
    // FIXME: Update this to your desired email address.
    $recipient1 = "info@onlineinstantloan.in";
    $recipient2 = "pk.katoch6@gmail.com";
    $first_name = "Online Instant Loan";
    $sec_name = "Finance";

    // Set the email subject.
    $subject = "Online Instant Loan Finance - Contact Form ";
    
    // Build the email content.
$email_content = '<html><body>';
$email_content .= '<table style="width:100%; max-width:700px !important; margin:0 auto;" border="1" bordercolor="#ccc" width="100%" cellspacing="0" cellpadding="0" align="center" bgcolor="#ffffff"><tbody><tr><td style="vertical-align: top; text-align: left; padding: 20px 0 10px 20px; border-bottom: 1px solid #f2efe6" width="100%">
<table width="100%" cellspacing="0" cellpadding="0"><tbody><tr><td align="center"><target="_blank" rel="noreferrer"> <img src="http://shreesaifinance.com/logo1.png" border="0"></a></td>
</tr></tbody></table></td>
</tr><tr><td style="padding: 20px 20px 5px; font-family: Roboto, arial; font-size: 14px; vertical-align: top; line-height: 20px; color: #626262">Message From <strong>Contact Form</strong></td>
</tr>';
$email_content .= '<tr><td style="padding: 5px 20px 5px; font-family: Roboto, arial; font-size: 14px; vertical-align: top; line-height: 20px; color: #626262"> User ' . $name . ' contacted at Online Instant Loan Website </td></tr>';

$email_content .= '<tr><td style="padding: 10px 10px; font-family: Roboto, arial; font-size: 20px; vertical-align: top; line-height: 20px; color: #424242; background-color: #f6f6f6; text-align: center">Message Details</td>
</tr><tr><td style="padding: 5px 20px; font-family: Roboto, arial; vertical-align: top; line-height: 20px; color: #626262">
<table border="1" bordercolor="#ccc" width="100%" cellspacing="0" cellpadding="0"><tbody>';

$email_content .= '<tr>
<td style="color: #626262; font-size: 14px; vertical-align: top; line-height: 20px; padding: 5px" width="50%">Name:</td>
<td style="color: #222222; font-size: 14px; vertical-align: top; line-height: 20px; padding: 5px" width="50%">' . $name . '</td>
</tr>';
$email_content .='<tr>
<td style="color: #626262; font-size: 14px; vertical-align: top; line-height: 20px; padding: 5px" width="50%">Email ID:</td>
<td style="color: #222222; font-size: 14px; vertical-align: top; line-height: 20px; padding: 5px" width="50%">' . $email . '</td></tr>';
$email_content .='<tr>
<td style="color: #626262; font-size: 14px; vertical-align: top; line-height: 20px; padding: 5px" width="50%">Phone no:</td>
<td style="color: #222222; font-size: 14px; vertical-align: top; line-height: 20px; padding: 5px" width="50%">' . $phone . '</td></tr>';
$email_content .='<tr>
<td style="color: #626262; font-size: 14px; vertical-align: top; line-height: 20px; padding: 5px" width="50%">Message:</td>
<td style="color: #222222; font-size: 14px; vertical-align: top; line-height: 20px; padding: 5px" width="50%">' . $message . '</td></tr>';
$email_content .='<tr>
<td style="color: #626262; font-size: 14px; vertical-align: top; line-height: 20px; padding: 5px" width="50%">Service Required:</td>
<td style="color: #222222; font-size: 14px; vertical-align: top; line-height: 20px; padding: 5px" width="50%">' . $service . '</td></tr>';
$email_content .='<tr></tbody></table></td></tr>';

$email_content .= "<tr>
<td style='color:#626262; font-size: 12px; padding: 5px 6px 5px 6px; font-weight: none; -webkit-text-size-adjust: none; font-family: Roboto-Light, Helvetica, Arial, sans-serif; text-align: center; background-color: #f9f9f9' colspan='2'> © 2018 Online Instant Loan Finance, All Rights Reserved</td>
</tr></tbody></table></td>
</tr></tbody></table>";
$email_content .= '</body></html>';	

/* Build the email headers. */
       $headers = "From: " . $name . "<" . $email . ">\r\n";
    $headers .= "Reply-To: ". strip_tags($_REQUEST['email']) . "\r\n";
    $headers .= "MIME-Version: 1.0\r\n";
    $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";

    // Send the email.
    if (shreeMailer($first_name, $sec_name, $recipient1, $recipient2, $email_content)) {
        // Set a 200 (okay) response code.
        http_response_code(200);
        echo "success";
    } else {
        // Set a 500 (internal server error) response code.
        http_response_code(500);
        echo "invalid";
    } 
   
 


}else{ 
    header("Location: index.php"); 

 } 



?>
</h2>
<?PHP
include('footer.php');
?>

<!-- Scroll to top button Start -->
<a href="#" class="scroll-to-top"><i class="fa fa-angle-up" aria-hidden="true"></i></a>	
<!-- Scroll to top button End -->




<!-- Jquery -->
<script src="js/jquery.min.js"></script>

<!-- Bootstrap JS-->
<script src="js/bootstrap.min.js" type="text/javascript"></script>	

<!-- Pogo Slider -->
<script src="js/jquery.pogo-slider.min.js"></script>
<script src="js/pogo-main.js"></script>

<!-- Owl Carousel-->
<script src="js/owl.carousel.js"></script>

<!-- Wow JS -->
<script type="text/javascript" src="js/wow.min.js"></script>

<!-- Countup -->
<script src="js/jquery.counterup.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/waypoints/2.0.3/waypoints.min.js"></script>

<!-- Isotop -->
<script type="text/javascript" src="js/isotope.pkgd.min.js"></script>

<!-- Tabs -->
<script type="text/javascript" src="js/tabs.min.js"></script>

<!-- Modernizr -->
<script src="js/modernizr.js"></script>

<!-- Main JS -->
<script src="js/main.js"></script>

<!--partner-->

<script>
$('.carousel[data-type="multi"] .item').each(function() {
	var next = $(this).next();
	if (!next.length) {
		next = $(this).siblings(':first');
	}
	next.children(':first-child').clone().appendTo($(this));

	for (var i = 0; i < 2; i++) {
		next = next.next();
		if (!next.length) {
			next = $(this).siblings(':first');
		}

		next.children(':first-child').clone().appendTo($(this));
	}
});
</script>

</body>
</html>
