<?php $__env->startSection('content'); ?>

<!--Main Breadcrumb Area Start -->
<div class="main-breadcrumb-area" style="background-image: url(<?php echo e($gs->breadcumb_banner ? asset('assets/images/'.$gs->breadcumb_banner):asset('assets/images/noimage.png')); ?>);">
  <div class="container">
    <div class="row">
      <div class="col-lg-12">
        <ul class="pages">
          <li>
            <a href="<?php echo e(route('front.index')); ?>">
              <?php echo e(__('Home')); ?>

            </a>
          </li>
          <li class="active">
            <a href="<?php echo e(route('student.login')); ?>">
              <?php echo e(__('Login/Register')); ?>

            </a>
          </li>
        </ul>
      </div>
    </div>
  </div>
</div>
<!--Main Breadcrumb Area End -->




  <!-- Login Area Start -->
  <section class="new-login">
    <div class="container">
      <div class="row justify-content-center">
        <div class="col-lg-7">
          <div class="new-login-box">

            <div class="right-content">
              <ul class="nav" id="pills-tab" role="tablist">
                <li class="nav-item login">
                  <a class="nav-link active" id="pills-home-tab" data-toggle="pill" href="#pills-home" role="tab" aria-controls="pills-home" aria-selected="false"><i class="fas fa-user"></i><?php echo e(__('LOGIN')); ?></a>
                </li>
                <li class="nav-item register">
                  <a class="nav-link" id="pills-profile-tab" data-toggle="pill" href="#pills-profile" role="tab" aria-controls="pills-profile" aria-selected="true">
                    <i class="fas fa-user-plus"></i><?php echo e(__('REGISTER')); ?>

                  </a>
                </li>
              </ul>
              <div class="tab-content" id="pills-tabContent">
                <div class="tab-pane fade active show" id="pills-home" role="tabpanel" aria-labelledby="pills-home-tab">
                  <div class="login-area">
                    <div class="login-form signin-form">
                      <?php echo $__env->make('includes.admin.form-login', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                      <form id="loginform"  action="<?php echo e(route('student.login.submit')); ?>"  method="POST">
                        <?php echo e(csrf_field()); ?>

                        <div class="form-input">
                          <input type="email" name="email" placeholder="<?php echo e(__('Type Email Address')); ?>" value="" required="">
                          <i class="fas fa-envelope"></i>
                        </div>
                        <div class="form-input">
                          <input type="password" class="Password" name="password" value="" placeholder="<?php echo e(__('Type Password')); ?>" required="">
                          <i class="fas fa-key"></i>
                        </div>
                        <div class="form-forgot-pass">
                          <div class="left">
                            <input class="styled-checkbox" id="styled-checkbox-1" name="remember" type="checkbox" value="value1" <?php echo e(old('remember') ? 'checked' : ''); ?>>
                            <label for="styled-checkbox-1"><?php echo e(__('Remember Password')); ?></label>
                          </div>
                          <div class="right">
                            <a href="<?php echo e(route('student-forgot')); ?>">
                            <i class="fas fa-lock"></i>	<?php echo e(__('Forgot Password?')); ?>

                            </a>
                          </div>
                        </div>
                        <button type="submit" class="submit-btn"><?php echo e(__('Login')); ?></button>
                        <?php if(DB::table('socialsettings')->find(1)->f_check == 1 || DB::table('socialsettings')->find(1)->g_check == 1): ?>
                        <div class="social-area">
                          <h3 class="title"><?php echo e(__('Or')); ?></h3>
                          <p class="text"><?php echo e(__('Sign In with social media')); ?></p>
                          <ul class="social-links">
                            <?php if(DB::table('socialsettings')->find(1)->f_check == 1): ?>
                            <li>
                              <a href="<?php echo e(route('social-provider','facebook')); ?>" class="facebook">
                                <i class="fab fa-facebook-f"></i> <?php echo e(__('Facebook')); ?>

                              </a>
                            </li>
                            <?php endif; ?>
                            <?php if(DB::table('socialsettings')->find(1)->g_check == 1): ?>
                            <li>
                              <a href="<?php echo e(route('social-provider','google')); ?>" class="google">
                                <i class="fab fa-google-plus-g"></i> <?php echo e(__('Google')); ?>

                              </a>
                            </li>
                            <?php endif; ?>
                          </ul>
                        </div>
                        <?php endif; ?>
                      </form>
                    </div>
                  </div>
                </div>
                <div class="tab-pane fade" id="pills-profile" role="tabpanel" aria-labelledby="pills-profile-tab">
                  <div class="login-area">
                    <div class="login-form signup-form">

                      <?php echo $__env->make('includes.admin.form-login', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

                      <form id="registerform" action="<?php echo e(route('student-register-submit')); ?>" method="POST">

                        <?php echo csrf_field(); ?>

                        <div class="form-input">
                          <input type="text" placeholder="<?php echo e(__('First Name')); ?>" name="first_name" required>
                          <i class="fas fa-user"></i>
                        </div>
                        <div class="form-input">
                          <input type="text" placeholder="<?php echo e(__('Last Name')); ?>" name="last_name" required>
                          <i class="fas fa-user"></i>
                        </div>
                        <div class="form-input">
                          <input type="email" placeholder="<?php echo e(__('Enter Email')); ?>" name="email" required>
                          <i class="fas fa-envelope"></i>
                        </div>
                        <div class="form-input">
                          <input type="password" class="Password" name="password" placeholder="<?php echo e(__('Password')); ?>" required>
                          <i class="fas fa-key"></i>
                        </div>

                        <?php if($gs->is_capcha == 1): ?>

                        <ul class="captcha-area">
                          <li>
                            <p><img class="codeimg1" src="<?php echo e(asset("assets/images/capcha_code.png")); ?>" alt=""></p>
                          </li>
                        </ul>

                        <div class="form-input">
                          <input type="text" class="Password" name="codes" placeholder="<?php echo e(__('Enter Code')); ?>" required="">
                          <i class="fas fa-redo refresh_code"></i>
                        </div>

                        <?php endif; ?>

                        <button class="submit-btn"><?php echo e(__('Register')); ?></button>
                      </form>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </section>
  <!-- Login Area End -->

<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.front', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/royaldem/public_html/project/resources/views/student/login.blade.php ENDPATH**/ ?>