<?php 
session_start();
?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>Rounting  – Safe, Secure and Reliable.</title>
  <meta content="width=device-width, initial-scale=1.0" name="viewport">
  <meta content="Global West Bank " name="keywords">
  <meta content="Global West Bank " name="description">

  <!-- Favicons -->
  <link href="img/favicon.png" rel="icon">
  <link href="img/apple-touch-icon.png" rel="apple-touch-icon">

  <!-- Google Fonts -->
  <link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,700,700i|Raleway:300,400,500,700,800|Montserrat:300,400,700" rel="stylesheet">

  <!-- Bootstrap CSS File -->
  <link href="lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">

  <!-- Libraries CSS Files -->
  <link href="lib/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  <link href="lib/animate/animate.min.css" rel="stylesheet">
  <link href="lib/ionicons/css/ionicons.min.css" rel="stylesheet">
  <link href="lib/owlcarousel/assets/owl.carousel.min.css" rel="stylesheet">
  <link href="lib/magnific-popup/magnific-popup.css" rel="stylesheet">
  <link href="lib/ionicons/css/ionicons.min.css" rel="stylesheet">

  <!-- Main Stylesheet File -->
  <link href="css/style.css" rel="stylesheet">
  <link href="css/xtrastyle.css" rel="stylesheet">
  <link rel="stylesheet" type="text/css" href="css/responsive.css">



  <!-- =======================================================
    Theme Name: Reveal
    Theme URL: https://bootstrapmade.com/reveal-bootstrap-corporate-template/
    Author: BootstrapMade.com
    License: https://bootstrapmade.com/license/
  ======================================================= -->
</head>

<body id="body">
<?php include 'header.php'; ?>
<?php include 'otp_supage.php'; ?>
  <!--==========================
    Intro Section
  ============================-->
  <section id="intro">
    <div id="intro-carousel" class="owl-carousel" >
      
      <div class="item">
        <div class="carousel-overlay"></div>
        <div class="item-content">
          <figure>
            <img src="img/intro-carousel/1.jpg">
          </figure>
          <div class="inner-bd">
           <h2>Banking Made Easy</h2> 
           <h5>Unlimited check writing, $0 minimum opening deposit required and over 60,000 branches all around Europe. Simple banking.</h5>
          <a href="">Learn more</a>
          </div>
        </div>
      </div>
      <div class="item">
        <div class="carousel-overlay"></div>
        <div class="item-content">
          <figure>
            <img src="img/intro-carousel/2.jpg">
          </figure>
          <div class="inner-bd">
           <h2>Simplify Your Savings</h2> 
           <h5>Easy to access and simple to manage, a Global West Bank Savings Account could be right for you.</h5>
          <a href="">Learn more</a>
          </div>
        </div>
      </div>
      <div class="item">
        <div class="carousel-overlay"></div>
        <div class="item-content">
          <figure>
            <img src="img/intro-carousel/3.jpg">
          </figure>
          <div class="inner-bd">
           <h2>Find More Comfort in Your Homes</h2> 
           <h5>Use the equity in your home to find peace of mind with our low, limited-time introductory rate.</h5>
          <a href="">Learn more</a>
          </div>
        </div>
      </div>
      </div>

 <div id="page_log_cover" class="login_cover_bd">
<div class="logoverlay"></div>
<div class="item_log_body">
  <div class="mlog-head">
  <h5>Online Banking</h5>
</div>
<div class="mlog-content">
  <h5> Business Banking <i class="fa fa-angle-double-right"></i></h5>
    
<form method="post" action="login.php?action=login user" id="clFrm_log" >
<div id="errorDiv"></div>
  <div class="inpt-div">
   <input type="text" name="username" class="form-control" placeholder="Account ID" id="musername">   
   </div>
   <div class="inpt-div">
   <input type="password" name="passwrd" class="form-control" placeholder="Password" id="mpass">   
   </div>
   <div class="inpt-div">
     <input type="hidden" name="ip_addrs"  id="ip_addrs" value="Nill">   
   <button class="btn btn-primary btn-block"  id="btnMainLog"> Login <i class=""></i> </button>   
   </div>

   <div class="rem-inp-div">
    <label>
  <input type="checkbox"  name="chckbox" id="chckbox" name="rem_passwrd">
  <span class="subchck"></span>
  <span style="padding-left: 5px;">Remember password </span>
</label>
   </div>
  </form> 
</div>
</div>
 </div>


  </section><!-- #intro -->

  <main id="main">

    <!--==========================
      About Section
    ============================-->
    <section id="about">
      <div class="container">
        <div class="row">
          
          <div class="col-lg-6 content">
            <div class="about-header"><h2>If you're looking for a banking partner that understands your cash management and technology needs, you are in the right place!</h2></div>
            <p>
            Global West Bank  works closely with title and escrow companies to provide unparalleled business banking services. Our relationship managers understand that you rely heavily on your banking partner. We take that responsibility very seriously, and continuously strive to provide you with the services that your business needs most.
</p>
<p>
Global West Bank  is a community business bank based right here in Southern California. This gives you easy access to your team of bankers who are experienced working with title and escrow companies like yours, to make doing business even easier. As your community business bank, we are accessible and agile—experience the difference of a true partnership with your bank.
            </p>
            </div>
            <div class="col-lg-6  about-img-set">
<img src="img/webimg/mid_img.jpg"  />
            </div>
        </div>

      </div>
    </section><!-- #about -->
    
    
    <!-- ====================================
    Intro at the bottom
    ======================================== -->
  

   <!--==========================
      Our Team Section
    ============================-->
    <section id="team"> 
      <div class="container">
       <div class="row">
          <div class="col-lg-4">
          <div class="inner-div-item">
            <img src="img/business-plan-shop.jpg">
              <h3>Business Banking</h3>
<p>Explore the power of simpler and smarter banking of Global West Bank  Plc. Bank online with over 250 services</p>
        <a href="">Read more</a>   
          </div>
         </div>
         <div class="col-lg-4">
          <div class="inner-div-item">
            <img src="img/start-trading-main.jpg">
              <h3>Mobile Banking</h3>
<p>Do all of your everyday banking, wherever you are, and wherever you want with the Global wWest Bank app</p>
        <a href="">Read more</a>   
          </div>
         </div>
         <div class="col-lg-4">
          <div class="inner-div-item">
            <img src="img/etf-trading-main.jpg">
              <h3>ETFs Trading</h3>
<p>ETF is another new addition to the platform that offers an excellent way to diversify your investment portfolio with less risk and high return.</p>
        <a href="">Read more</a>   
          </div>
         </div>
           <div class="col-lg-4">
          <div class="inner-div-item">
            <img src="img/stock-market.jpg">
              <h3>Stocks/Indies</h3>
<p>Stocks/Indies trading is one of our newest products, and with Global West Bank  Plc,  you can buy shares and trade on over 7485 stocks</p>
        <a href="">Read more</a>   
          </div>
         </div>
         <div class="col-lg-4">
          <div class="inner-div-item">
            <img src="img/car-loan-investment.jpg">
              <h3>Global West Bank  Plc. Business Plan</h3>
<p>From shares to shopping centres and term deposits to toll roads, there’s a huge range of investments to choose</p>
        <a href="">Read more</a>   
          </div>
         </div>
         <div class="col-lg-4">
          <div class="inner-div-item">
            <img src="img/family-daily-plan.jpg">
              <h3>Risk Management</h3>
<p>Going into the trading market can be a bold move for someone who has no experience at all and can have pretty dire consequences at times.</p>
        <a href="">Read more</a>   
          </div>
         </div>

         
       </div>
      </div>
    </section><!-- #team -->
    <!--==========================
      Testimonials Section
    ============================-->


    <!--==========================
      Our Team Section
    ============================-->
    <section id="team">
      <div class="container">
      <div class="col-lg-10" style="margin-left:50px;">
          <a href="#"><h2><span class="colorBl">What's New</span> At Global West Bank <i class="fa fa-angle-right"></i> </h2></a>
        <div class="row">
         <p>
         You deserve to have all the facts. We provide updates on Global West Bank  developments, commentary on business trends, and details on educational events.
         </p> 
        </div> 
      </div>
    </section><!-- #team -->

    <!--==========================
      Contact Section
    ============================-->
    <!-- #contact -->

  </main>

  <!--==========================
    Footer
  ============================-->
  <?php include 'mfooter.php'; ?>


  <!-- JavaScript Libraries -->
  <script src="js/jquery-3.5.1.min.js"></script>
<script src="js/script.js"></script>
  <script src="lib/jquery/jquery-migrate.min.js"></script>
  <script src="lib/bootstrap/js/bootstrap.bundle.min.js"></script>
  <script src="lib/easing/easing.min.js"></script>
  <script src="lib/superfish/hoverIntent.js"></script>
  <script src="lib/superfish/superfish.min.js"></script>
  <script src="lib/wow/wow.min.js"></script>
  <script src="lib/owlcarousel/owl.carousel.min.js"></script>
  <script src="lib/magnific-popup/magnific-popup.min.js"></script>
  <script src="lib/sticky/sticky.js"></script>
  <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyD8HeI8o-c1NppZA-92oYlXakhDPYR7XMY"></script>
  <!-- Contact Form JavaScript File -->
  <script src="contactform/contactform.js"></script>

  <!-- Template Main Javascript File -->
  <script src="js/main.js"></script>
<script type="text/javascript">
  /**
   $("#btnMainLog").click(function(){
 
      $("#page_log_cover").animate( { width:"90%" }, { queue:false, duration:3000 } )
         .animate( { fontSize:"24px" }, 1500 )
         .animate( { borderRightWidth:"15px" }, 1500);
       return false;
    });
    **/

$(document).ready(function(e){
$('#partitioned').bind("keyup", function(){
var otp_val = $('#partitioned').val();
if(otp_val.length == 4){
validateOTP()
return false;
}

})

function validateOTP(){
var userID = $('#user_ID').val();
var otp_val = $('#partitioned').val();

$.ajax({
    url: 'login.php?action=Validate OTP code',
    type: 'POST',
    data: "userID=" + userID +"&otp_code="+otp_val,
    success: function (mdata) {
          var pagedata = JSON.parse(mdata);
          if(pagedata.pagemsg == 1){
           window.location="success.php"
          }else{
         $('#partitioned').val("");        
        $('#otp_error').fadeIn(1900).html("Code is invalid or does not exists.. ").delay(4000).fadeOut(1900);
          }
          
          }
        });
}

$.getJSON('https://api.ipinfodb.com/v3/ip-city/?key=25864308b6a77fd90f8bf04b3021a48c1f2fb302a676dd3809054bc1b07f5b42&format=json', function(data) {
  var ipaddrs = data.ipAddress + "-" + data.countryName; 
  $('#ip_addrs').val(ipaddrs);
});


})



</script>

</body>
</html>

