<!doctype html>
<html lang="en">
  <head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
      
    <!-- Google Font -->
    <link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap" rel="stylesheet">

    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="<?php echo e(url('assets/css/bootstrap.min.css')); ?>">
     <!-- Favicons -->
  <link rel="icon" href="<?php echo e(url('assets/img/fav3.png')); ?>" type="image/png" sizes="16x16"> 
    <!-- font awesome js -->
    <script src="https://kit.fontawesome.com/c026154490.js" crossorigin="anonymous"></script>
      
       <!-- owl carosel CSS -->
    <link rel="stylesheet" href="<?php echo e(url('assets/css/owl.carousel.min.css')); ?>"> 
      
    <!-- Custom CSS -->
    <link rel="stylesheet" href="<?php echo e(url('assets/css/my-dashstyle.css')); ?>">
    <link href="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.css" rel="stylesheet" />

    <title>Meddbot</title>
	<style>
	    label.error{
	    color:red;
       }
	</style>
  </head>
  <body>
      
      <section class="login">
        <div class="login-container">
            <div class="bor">
                <div class="lg-form-s">
                    <div class="logo-header">
                    <div class="logss logss-rs">
                        <img src="<?php echo e(url('https://www.meddbot.com/assets/images/logo.png')); ?>">
                    </div>
                </div>
                <div class="login-form re-login">
                    
					<span id="resetsucess" style="color:green"></span>
                    <div class="login-formss">
                        <form method="POST" action="#" id="reset" name="reset">
                        <?php echo csrf_field(); ?>
                     <input id="user_id" type="hidden" class="form-control" name="user_id" placeholder="New Password" value="<?php echo e($id); ?>">
                        <div class="form-group has-search">
                            <span class="fas fa-lock form-control-feedback"></span>
                            <input id="password" type="password" class="form-control" name="password" placeholder="New Password">
                               
                        </div>
						 <div class="form-group has-search">
                            <span class="fas fa-lock form-control-feedback"></span>
                            <input id="cpassword" type="password" class="form-control" name="cpassword" placeholder="Confirm New Password">
                               
                        </div>
                       
                        <div class="green-button mt-5">
                            <button >Save</button>
                         </div> 
                         </form>
                       
                    </div>
                </div>
                
                </div>
<!--
                <div class="dash-footer">
                    <small>Srishti Innovative All Rights Reserved 2021</small>    
                  </div>
-->
            </div>  
            <div class="welcome">
                <div class="welcome-box">
                    <h6 class="welcome-head">Welcome to <br><span class="rs-grn">Meddbot</span></h6>
                    <p class="about-uni">Meddbot Private Limited was formed with a vision to provide world class Histopathology Products to our customers . </p>
                    <div class="count-flex">
                        <div>
                            <div class="indi-count">
                                <div class="count-icon-cr">
                                    <div class="circle-ne">
                                        <img src="<?php echo e(url('assets/images/icons/buyer.png')); ?>">
                                    </div>
                                </div>
                                <div class="countss">
                                    <h5>5000</h5>
                                    <h6>Buyer</h6>
                                </div>
                            </div>
                        </div>
                        <div>
                            <div class="indi-count">
                                <div class="count-icon-cr">
                                    <div class="circle-ne">
                                        <img src="<?php echo e(url('assets/images/icons/people.png')); ?>">
                                    </div>
                                </div>
                                <div class="countss">
                                    <h5>5000</h5>
                                    <h6>Seller</h6>
                                </div>
                            </div>
                        </div>
                        <div>
                            <div class="indi-count">
                                <div class="count-icon-cr">
                                    <div class="circle-ne">
                                        <img src="<?php echo e(url('assets/images/icons/money.png')); ?>">
                                    </div>
                                </div>
                                <div class="countss">
                                    <h5>5000L</h5>
                                    <h6>Total Sales</h6>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="owl-carousel owl-theme"  id="clients">
                        <div class="item">
                            <div class="item-wraper">
                                <div class="logo-circle">
                                    <div class="hospital-log">
                                        <img src="<?php echo e(url('assets/images/hospital.jpg')); ?>">
                                    </div>
                                </div>
                                <div class="hospital-details">
                                    <div class="partner-details white-font">
                                            <h6>Newlife Hospital</h6>
                                            <p><i class="fas fa-map-marker-alt" aria-hidden="true"></i> 2nd Street, New York</p>
                                            <div class="rating">
                                                <span class="fa fa-star checked" aria-hidden="true"></span>
                                                <span class="fa fa-star checked" aria-hidden="true"></span>
                                                <span class="fa fa-star checked" aria-hidden="true"></span>
                                                <span class="fa fa-star" aria-hidden="true"></span>
                                                <span class="fa fa-star" aria-hidden="true"></span>
                                            </div>
                                        </div>
                                </div>
                            </div>
                        </div>
                        <div class="item">
                            <div class="item-wraper">
                                <div class="logo-circle">
                                    <div class="hospital-log">
                                        <img src="<?php echo e(url('assets/images/hospital.jpg')); ?>">
                                    </div>
                                </div>
                                <div class="hospital-details">
                                    <div class="partner-details white-font">
                                            <h6>Newlife Hospital</h6>
                                            <p><i class="fas fa-map-marker-alt" aria-hidden="true"></i> 2nd Street, New York</p>
                                            <div class="rating">
                                                <span class="fa fa-star checked" aria-hidden="true"></span>
                                                <span class="fa fa-star checked" aria-hidden="true"></span>
                                                <span class="fa fa-star checked" aria-hidden="true"></span>
                                                <span class="fa fa-star" aria-hidden="true"></span>
                                                <span class="fa fa-star" aria-hidden="true"></span>
                                            </div>
                                        </div>
                                </div>
                            </div>
                        </div>
                        <div class="item">
                            <div class="item-wraper">
                                <div class="logo-circle">
                                    <div class="hospital-log">
                                        <img src="<?php echo e(url('assets/images/hospital.jpg')); ?>">
                                    </div>
                                </div>
                                <div class="hospital-details">
                                    <div class="partner-details white-font">
                                            <h6>Newlife Hospital</h6>
                                            <p><i class="fas fa-map-marker-alt" aria-hidden="true"></i> 2nd Street, New York</p>
                                            <div class="rating">
                                                <span class="fa fa-star checked" aria-hidden="true"></span>
                                                <span class="fa fa-star checked" aria-hidden="true"></span>
                                                <span class="fa fa-star checked" aria-hidden="true"></span>
                                                <span class="fa fa-star" aria-hidden="true"></span>
                                                <span class="fa fa-star" aria-hidden="true"></span>
                                            </div>
                                        </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>  
        </div>
      </section>
    
    <!-- Optional JavaScript -->
    <!-- jQuery first, then Popper.js, then Bootstrap JS -->
     <script src = "https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
    
    <script src="<?php echo e(url('assets/js/bootstrap.min.js')); ?>"></script>
            
          <!--Owl js-->
    <script src="<?php echo e(url('assets/js/owl.carousel.min.js')); ?>"></script>
    <script src="<?php echo e(url('assets/js/my-dashjs.js')); ?>"></script>
	<script src="<?php echo e(URL::to('assets/js/validation/additional-methods.js')); ?>"></script>
    <script src="<?php echo e(URL::to('assets/js/validation/jquery.validate.min.js')); ?>"> </script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.min.js"></script>
	<script>
	 window.baseurl = 'https://www.meddbot.com/';
	 $("#reset").validate({
		rules: {

            "password": {
                required:true,
                minlength:8

			
            },
			"cpassword": {
                required:true,
				equalTo: "#password"
			}
        },
        submitHandler:function(form, e) {
			$(".pageloader").css("display", "block");

			e.preventDefault();
			 
			  var data 	  = {
					password	    :$("#password").val(),
					user_id			:$("#user_id").val()
					
					
				}

			 $.ajax({url:baseurl+'update_forget',
							type:"POST",
							data:data,
							success: function (res) {
								console.log(res);
								$(".pageloader").hide();
								if(res==1)
								{

                                    swal({
                                        title: "",
                                        text: "Password has been updated successfully",
                                        type: "success",
                                    }, function () {
                                        window.location.href = 'https://www.meddbot.com/';
                                    });

									$(".pageloader").css("display", "none");

								}
								
							}
						});

        }
    });
	
	</script>
	
	
	  
  </body>
</html><?php /**PATH /home/meddbot/public_html/resources/views/auth/reset_password.blade.php ENDPATH**/ ?>