<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Buy</title>
    <meta name="description" content="Institute management system, online Learning Center Management System, Cheapest Management Software,Coaching center management software,ielts center"/>
	
	<meta name="keywords" content="Institute Management System Online, center Management System, erp for coaching center, customize erp solution, Institute Administration Software, Institute Software India, ERP Software, Educational ERP, erp developers,Cheapest Institute Management System,Best Management Software,IMS,Ielts Center"/>
    <!--Favicons-->
    <link rel="apple-touch-icon" sizes="57x57" href="favicon/apple-icon-57x57.png">
    <link rel="apple-touch-icon" sizes="60x60" href="favicon/apple-icon-60x60.png">
    <link rel="apple-touch-icon" sizes="72x72" href="favicon/apple-icon-72x72.png">
    <link rel="apple-touch-icon" sizes="76x76" href="favicon/apple-icon-76x76.png">
    <link rel="apple-touch-icon" sizes="114x114" href="favicon/apple-icon-114x114.png">
    <link rel="apple-touch-icon" sizes="120x120" href="favicon/apple-icon-120x120.png">
    <link rel="apple-touch-icon" sizes="144x144" href="favicon/apple-icon-144x144.png">
    <link rel="apple-touch-icon" sizes="152x152" href="favicon/apple-icon-152x152.png">
    <link rel="apple-touch-icon" sizes="180x180" href="favicon/apple-icon-180x180.png">
    <link rel="icon" type="image/png" sizes="192x192"  href="favicon/android-icon-192x192.png">
    <link rel="icon" type="image/png" sizes="32x32" href="favicon/favicon-32x32.png">
    <link rel="icon" type="image/png" sizes="96x96" href="favicon/favicon-96x96.png">
    <link rel="icon" type="image/png" sizes="16x16" href="favicon/favicon-16x16.png">
    <link rel="manifest" href="favicon/manifest.json">
    <meta name="msapplication-TileColor" content="#e74c3c">
    <meta name="msapplication-TileImage" content="favicon/ms-icon-144x144.png">
    <meta name="theme-color" content="#e74c3c">
    
    <!--Bootstrap-->
    <link rel="stylesheet" href="<?php echo e(Asset('css/bootstrap.min.css')); ?>">
    <link rel="stylesheet" href="<?php echo e(Asset('css/bootstrap-theme.min.css')); ?>">
    
    <!--Loader-->
    <link rel="stylesheet" href="<?php echo e(Asset('css/spinners.css')); ?>">
    
    
    <!-- Vendors -->
    <link rel="stylesheet" href="<?php echo e(Asset('vendors/owl.carousel/owl.carousel.css')); ?>">
    <link rel="stylesheet" href="<?php echo e(Asset('vendors/simple-line-icons/css/simple-line-icons.css')); ?>">
    <link rel="stylesheet" href="<?php echo e(Asset('vendors/bootstrap-select/css/bootstrap-select.min.css')); ?>">
    <link rel="stylesheet" href="<?php echo e(Asset('css/font-awesome.min.css')); ?>">
    <link rel="stylesheet" href="<?php echo e(Asset('vendors/lineariconsFree/style.css')); ?>">
    <link rel="stylesheet" href="<?php echo e(Asset('css/magnific-popup.css')); ?>">
    
    <!--Fonts-->
    <link href='https://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'>
    <link href='https://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,400italic,500,500italic,700,700italic,900,900italic' rel='stylesheet' type='text/css'>
    
    <!--Theme Styles-->
    <link rel="stylesheet" href="<?php echo e(Asset('css/default/style.css')); ?>">
    <link rel="stylesheet" href="<?php echo e(Asset('css/responsive/responsive.css')); ?>">
    
    <!--[if lt IE 9]>
        <script src="js/html5shiv.min.js"></script>
        <script src="js/respond.min.js"></script>
    <![endif]-->
    
</head>
<body class="shortcode">
    
    <div class="preloader">
        <div class="dots-loader">Loading ...</div>
    </div>
   
   <?php echo View('top'); ?>

    
    <?php echo View('menu'); ?>

    
     <section class="row page_header">
        <div class="container">
            <h3>Buy</h3>
            <ol class="breadcrumb">
                <li><a href="<?php echo e(Asset('home.html')); ?>">home</a></li>
                <li class="active">Buy</li>
            </ol>
        </div>
    </section>
    
    <section class="row contact_content">
        <div class="container">
           
            <div class="row form_row">
                <div class="col-sm-7 form_side" id="BuyNow">
                    <h2 class="part_number" id="error" style="font-size:35px;"><?php echo e($planName); ?> For Rs.<?php echo e($planAmount); ?></h2>                   
                    <p>Please provide bellow detail to complete this process</p><br><br>
					
						<?php if(count($errors) > 0): ?>
						<div class="alert alert-danger">
						<ul>
						<?php foreach($errors->all() as $error): ?>
						<li><?php echo e($error); ?></li>
						<?php endforeach; ?>
						</ul>
						</div><br>
						<?php endif; ?>
						
						<?php if(Session::has('loginError')): ?>
						<p class="text-center list-group-item list-group-item-danger"><?php echo e(Session::get('loginError')); ?></p><br>
						<?php endif; ?>
						
						<script>
						function getType(id)
						{
							var xmlhttp;
							if (window.XMLHttpRequest)
							{// code for IE7+, Firefox, Chrome, Opera, Safari
							xmlhttp=new XMLHttpRequest();
							}
							else
							{// code for IE6, IE5
							xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
							}
							xmlhttp.onreadystatechange=function()
							{
							if (xmlhttp.readyState==4 && xmlhttp.status==200)
							{
							document.getElementById("typeGet").innerHTML=xmlhttp.responseText;
							}
							}
							xmlhttp.open("GET","../typeGet.php?id="+id,true);
							xmlhttp.send();
						}
						</script>
						
                    <div class="contactForm row m0">
                        <form action="<?php echo e(Asset('buy/'.$plan)); ?>" class="row m0" id="contactForm" method="post">
							<input type="hidden" name="_token" value="<?php echo e(csrf_token()); ?>">
							
                            <input type="radio" name="userType" checked onchange="getType(this.value)" value="1"> Already Registered
                            <input type="radio" name="userType" onchange="getType(this.value)" value="2"> New User<br><br>
							
							<span id="typeGet">
							
							<input type="text" class="form-control" placeholder="Enter Your User Name Or Registered Email Address" name="user_name" id="uname" required>
							
							</span>
                            <input type="submit" value="Continue" class="btn btn-primary" onclick="this.value='Please Wait....'">                        
                        </form><br><br>
						<i>By this you always agree with our <a href="<?php echo e(Asset('term.html')); ?>" target="blank">term & condition</a></i>
                        <div id="success">Your message successfully sent!</div>
                        
                    </div>
                </div>
                <div class="col-sm-5 detail_address" id="Forgot">
                    <h3 class="part_number" style="font-size:33px">Renew Account</h3>
					 <p>If you want to renew your account then please fill the following detail<br><br></p>
					 
							<form action="<?php echo e(Asset('buy/'.$plan)); ?>" class="row m0" id="contactForm" method="post">
							<input type="hidden" name="_token" value="<?php echo e(csrf_token()); ?>">
							<input type="hidden" name="userType" value="1">				
                            							
							<input type="text" class="form-control" placeholder="Enter Your User Name Or Registered Email Address" name="user_name" id="uname" required>
							
						
                            <input type="submit" value="Continue" class="btn btn-primary" onclick="this.value='Please Wait....'">                        
                        </form>
					 
							                   
                </div>
            </div>
           
                    </div>
                </div>                
            </div>
        </div>
    </section>
    
    <?php echo View('footer'); ?>

    
    <!--jQuery, Bootstrap and other vendor JS-->
    
    <!--jQuery-->
    <script src="<?php echo e(Asset('js/jquery-2.1.4.min.js')); ?>"></script>
    
 
    <!--Bootstrap JS-->
    <script src="<?php echo e(Asset('js/bootstrap.min.js')); ?>"></script>
    
    <!--Bootstrap Select-->
    <script src="<?php echo e(Asset('vendors/bootstrap-select/js/bootstrap-select.min.js')); ?>"></script>
    
    <!--Owl Carousel-->
    <script src="<?php echo e(Asset('vendors/owl.carousel/owl.carousel.min.js')); ?>"></script>
    
    <!--Waypoints-->
    <script src="<?php echo e(Asset('vendors/waypoints/waypoints.min.js')); ?>"></script>
    
    <!--Counter Up-->
    <script src="<?php echo e(Asset('vendors/counterup/jquery.counterup.min.js')); ?>"></script>
    
    <!--Magnific Popup-->
    <script src="<?php echo e(Asset('js/jquery.magnific-popup.min.js')); ?>"></script>
    
    <!--Isotope-->
    <script src="<?php echo e(Asset('vendors/isotope/isotope.min.js')); ?>"></script>
    
    <!--Isotope-->
    <script src="<?php echo e(Asset('vendors/infinitescrol/jquery.infinitescroll.min.js')); ?>"></script>
        
    <!--Form Js-->
    <script src="<?php echo e(Asset('js/jquery.form.js')); ?>"></script>
    <script src="<?php echo e(Asset('js/jquery.validate.min.js')); ?>"></script>
    
    
    <!--Theme JS-->
    <script src="<?php echo e(Asset('js/theme.js')); ?>"></script>
</body>

</html>