<?php
$slider = DB::table('photogallerys')->where("slider",1)->orderBy('id','DESC')->get();
$setting = DB::table("setting")->first();
?>


<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title><?php if($lang == 'en'): ?><?php echo e($setting->name); ?><?php else: ?> <?php echo e($setting->name_bangla); ?><?php endif; ?></title>
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
  <link rel="icon" href="<?php echo e(asset($setting->image)); ?>" type="image/gif" sizes="16x16">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
  <link href="https://fonts.googleapis.com/css2?family=Nunito+Sans&display=swap" rel="stylesheet">
  <link href="https://fonts.maateen.me/adorsho-lipi/font.css" rel="stylesheet">

  <link rel="stylesheet" type="text/css" href="<?php echo e(asset('/')); ?>frontend/css/uikit.min.css">
  <link rel="stylesheet" type="text/css" href="<?php echo e(asset('/')); ?>frontend/css/bootstrap.min.css">
  <link rel="stylesheet" type="text/css" href="<?php echo e(asset('/')); ?>frontend/style.css">
  <link href="<?php echo e(asset('/')); ?>frontend/css/bootstrap-4-navbar.css" rel="stylesheet">

  <link rel="stylesheet" href="https://cdn.datatables.net/1.10.24/css/jquery.dataTables.min.css">
  <link href="http://www.jqueryscript.net/css/jquerysctipttop.css" rel="stylesheet" type="text/css">
  <link href="<?php echo e(asset('/')); ?>frontend/css/sliderResponsive.css" rel="stylesheet" type="text/css">
  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
  <script type="text/javascript" src="<?php echo e(asset('/')); ?>frontend/js/main.js"></script>

</head>



<style type="text/css">
.container{
    background: white;
}
.site-lang {

display: flex;
align-items: center;
}
.site-lang ul {
margin:0;
padding:0;
list-style:none;
}
.site-lang > ul > li {
position: relative;
display: block;
text-align: left;
/* padding: 11px 0; */
}
.site-lang ul li a {
font-weight:700;
color:#222222;
position:relative;
top:2px;
}
.site-lang > ul > li > a::after {
font-family:FontAwesome;
content:"\f107";
margin-left:5px;
font-weight:normal;
}
.site-lang ul li a:hover {
color: #7e7678;
}
.site-lang ul li img {
width:26px;
height:26px;
border-radius:100%;
margin-right:15px;
}
.site-lang ul li ul {
background-color: #ffffff;
box-shadow: 5.5px 9.526px 43px 0px rgb( 98, 143, 144, 0.15 );
position: absolute;
top:100%;
left: -18px;
min-width: 165px;
transition: .4s;
transform-origin: top;
z-index: 400;
border-radius: 10px;
opacity:0;
visibility:hidden;
}
.site-lang ul li:hover ul {
opacity:1;
visibility:visible;
}
.site-lang ul li ul {
padding:10px 0;
}
.site-lang ul li ul li {
padding: 10px 25px;
}
.site-lang.style-2 {
padding-left:50px;
}
.site-lang.style-2 > ul > li > a {
color:#ffffff;
}
.site-lang.in-right ul {
left:unset;
right:0;
}

.logo-sm-header{
    display: block;
    background: none;
    border-top: none;
    padding: 0px;
}






@media (max-width: 768px)
      {
        .logo-sm-header {
            display: block;
            background: #683091;
            border-top: 1px solid white;
            padding: 16px 0px;
        }
        #slider1{
            display: none;
        }
        .logoName{
            position: relative !important;
        }
        .logoName.d-flex {
            margin-top: 0px !important;
        }

        .logoName.d-flex img {
            max-width: 59px !important;
        }

        .logoName.d-flex span {
            font-size: 15px !important;
        }

        .siteNameEst {
            margin-top: 12px !important;
        }

        .bangabondhu{
            text-align: center !important;
        }

        #top_button{
            font-size: 8px !important;
            padding: 9px 5px !important;
        }

        #email label a {
          font-size: 12px;
          padding: 6px 17px 7px 4px;
          text-align: center;
          /* justify-content: center; */
        }
        .site-lang a img{
          width: 26px;
        }
      }

.btn-success {
    background : #05c76a

}
.logoName {
    position: absolute;
    z-index: 2;
}

.logoName span{
    color: white;
}

.logoName img {
    max-width : 80px;
    border-radius : 5px ;
}
.siteNameEst {
    margin-top: 17px;
    padding-left: 12px;
    font-weight: bold;
    font-size: 19px;
}

.siteNameEst span:first-child{
    font-size: 25px;
}

.siteNameEst span {
    text-shadow: -1px -1px 10px #000, 1px -1px 10px #000, -1px 1px 10px #000, 1px 1px 10px #000;
}

.logoName.d-flex {
    margin-top: 55px;
    margin-left: 18px;
    transition: .3s;
}
</style>

<?php if(config('app.locale') == 'en'): ?>
<style>
    .container{
    max-width : 1272px !important;
  }
  </style>
<style>
    li.nav-item a {
      font-size: 12.46px;
      padding: 14px 6px !important;
      text-transform: capitalize;
      font-weight: bold;
  }

</style>
<?php endif; ?>

<?php if(config('app.locale') == 'bn'): ?>
<style>
      .container{
        max-width: 1135px !important;
        }
</style>
<?php endif; ?>

<?php if(env('APP_URL') == 'https://chhgc.edu.bd/'): ?>
  <style>
    li.nav-item a {
      font-size: 12.46px;
      padding: 14px 7.5px !important;
  }

</style>

<?php if(config('app.locale') == 'en'): ?>
<style>
    li.nav-item a {
      font-size: 12.46px;
      padding: 14px 6px !important;
  }
</style>
<?php endif; ?>

<?php endif; ?>


<?php if($setting->type == 'school'): ?>




<?php else: ?>

<style>
    .container{
  max-width : 1198px !important;
}
</style>

<?php endif; ?>


<body>




  <div class="container">


    <div class="col-sm-12 col-12 pt-2" style="background: #fff;">

     <div class="col-sm-12 col-12  topheader">
      <div class="row">
        


        <div class="col-sm-12 col-12 text-center text-sm-center text-lg-right" id="email">
          <div class="btn-group" role="group" aria-label="Basic example">

            <label><a id="top_button" target="_blank" href="<?php echo e(url('/download_file')); ?>" style="text-decoration:none;color:white;margin-right:10px" class="btn btn-outline-danger btn-sm"><?php echo app('translator')->get('frontend.upload_download_file'); ?></a></label>
            <label><a id="top_button" target="_blank" href="<?php echo e(url('/online_lecture')); ?>" style="text-decoration:none;color:white;margin-right:10px" class="btn btn-outline-danger btn-sm"><?php echo app('translator')->get('frontend.online_lecture_upload'); ?></a></label>
            
            <label>
              <div class="site-lang" style="margin-top: -4px;">
                  <?php if(config('app.locale')=='bn'): ?>
                  <a  style="margin-left: -2px;" id="top_button" class="nav-link btn btn-outline-success" href="<?php echo e(route('lang', 'en')); ?>" role="button">
                      <img src="<?php echo e(asset('assets/images/flags/us.jpg')); ?>" alt="user-image" class="me-0 me-sm-1" height="12" width="25px" style="margin-left: -4px;">
                      <span style="font-size: 12px;margin-left: -6px;"><?php echo e('English'); ?></span>
                  </a>
                  <?php else: ?>
                  <a style="margin-left: -2px;" id="top_button" class="nav-link btn btn-outline-success" href="<?php echo e(route('lang', 'bn')); ?>" role="button">
                      <img src="<?php echo e(asset('assets/images/flags/bd.jpg')); ?>" alt="user-image" class="me-0 me-sm-1" height="12" width="25px" style="margin-left: -4px;">
                      <span style="font-size: 12px;margin-left: -6px;"><?php echo e('বাংলা'); ?></span>
                  </a>
                  <?php endif; ?>
              </div>
            </label>
        </div>

          </div>

        </div>
      </div><!------------Top Header End---------------->

      <div class="logo-sm-header">
          <div class="logoName d-flex">
              <div class="siteLogo">
                  <a href="<?php echo e(url('/')); ?>"><img src="<?php echo e(asset($setting->image)); ?>" class="img-fluid" style="height: 90px;width : 100px;"></a>
                </div>
                <div class="siteNameEst">
                    <span><?php if($lang == 'en'): ?><?php echo e($setting->name); ?><?php else: ?> <?php echo e($setting->name_bangla); ?> <?php endif; ?></span>
                    <br>
                    <span id="" style="">
                    <?php echo app('translator')->get('frontend.established'); ?> - <?php if($lang == 'en'): ?><?php echo e($setting->established); ?><?php else: ?> <?php echo e($setting->established_bangla); ?> খ্রিঃ<?php endif; ?> </span>
                </div>
            </div>
        </div>





      <div class="col-sm-12 col-12 p-0">

        <div class="slider" id="slider1">
          <!-- Slides -->


          <?php if(isset($slider)): ?>
          <?php $__currentLoopData = $slider; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $s): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>


          <div style="background:linear-gradient(0deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('<?php echo e(asset('/')); ?><?php echo e($s->image); ?>'); background-size:cover;background-repeat:no-repeat;"></div>


          <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
          <?php endif; ?>





          <!-- The Arrows -->
          <i class="left" class="arrows" style="z-index:2; position:absolute;"><svg viewBox="0 0 100 100"><path d="M 10,50 L 60,100 L 70,90 L 30,50  L 70,10 L 60,0 Z"></path></svg></i>
          <i class="right" class="arrows" style="z-index:2; position:absolute;"><svg viewBox="0 0 100 100"><path d="M 10,50 L 60,100 L 70,90 L 30,50  L 70,10 L 60,0 Z" transform="translate(100, 100) rotate(180) "></path></svg></i>
          <!-- Title Bar -->
      </div><!---------------End Slider------------------->


      <div id="carouselExampleControls" class="carousel slide d-block d-sm-none" data-bs-ride="carousel">
        <div class="carousel-inner">
            <?php
            $i = 0;
            ?>
            <?php if(isset($slider)): ?>
            <?php $__currentLoopData = $slider; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $s): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

            <?php
            $i= $i +1;
            ?>
              <div class="carousel-item <?php if($i == 1): ?> active <?php endif; ?>">
                <img src="<?php echo e(asset('/')); ?><?php echo e($s->image); ?>" class="d-block w-100" alt="...">
              </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            <?php endif; ?>
        </div>
        <button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleControls" data-bs-slide="prev">
          <span class="carousel-control-prev-icon" aria-hidden="true"></span>
          <span class="visually-hidden">Previous</span>
        </button>
        <button class="carousel-control-next" type="button" data-bs-target="#carouselExampleControls" data-bs-slide="next">
          <span class="carousel-control-next-icon" aria-hidden="true"></span>
          <span class="visually-hidden">Next</span>
        </button>
      </div>

      <nav class="navbar navbar-expand-lg navbar-light btco-hover-menu menubar" style="background: #fff; border-bottom: 1px solid #e5e5e5; padding: 0px; box-shadow: 0 1px 5px -2px #999;">


        <a class="navbar-brand d-sm-none d-block" style="color: #000; font-weight: bold;" href=""><?php echo app('translator')->get('frontend.select_menu'); ?></a>

        <button  class="navbar-toggler"  uk-toggle="target: #offcanvas-slide" style="background-color: #f4f4f4; color: #fff; padding: 5px 10px;">
          <span class="navbar-toggler-icon" style="color: #fff;"></span>
        </button>


        <div class="collapse navbar-collapse " id="navbarNavDropdown">
          <ul class="navbar-nav">
            <li class="nav-item">
              <a class="nav-link" href="<?php echo e(url('/')); ?>"><i class="fa fa-home" aria-hidden="true" style="font-size: 15px;"></i></a>
            </li>

            <li class="nav-item dropdown">
              <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                <?php echo app('translator')->get('frontend.institute_introduction'); ?>
              </a>
              <ul class="dropdown-menu pb-3 bg-white" aria-labelledby="navbarDropdownMenuLink" style="min-width: 400px;  max-width:100%;">

                <div class="row">

                  <div class="col-md-6 col-12 dmenu mt-3">
                    <li><a href="<?php echo e(url('page/1')); ?>"><?php echo app('translator')->get('frontend.about_us'); ?></a></li>
                    <li><a href="<?php echo e(url('page/2')); ?>"><?php echo app('translator')->get('frontend.mission_vision'); ?></a></li>
                    <li><a href="<?php echo e(url('page/3')); ?>"><?php echo app('translator')->get('frontend.history'); ?></a></li>
                    <li><a href="<?php echo e(url('page/4')); ?>"><?php echo app('translator')->get('frontend.citizen_charter'); ?></a></li>

                    <?php if(env('APP_URL') == 'https://chhgc.edu.bd/'): ?>
                    <li><a href="<?php echo e(url('teacher_permission')); ?>"><?php echo app('translator')->get('frontend.teaching_permission_recognition'); ?></a></li>
                    <li><a href="<?php echo e(url('mpo_nationalizations')); ?>"><?php echo app('translator')->get('frontend.mpo_nationalization_info'); ?></a></li>
                      <?php endif; ?>
                  </div>

                  <div class="col-md-6 col-12 dmenu mt-3">
                    <li><a href="<?php echo e(url('page/6')); ?>"><?php echo app('translator')->get('frontend.infrastructure'); ?></a></li>
                    <?php if(env('APP_URL') == 'https://chhgc.edu.bd/'): ?>
                      <li><a href="<?php echo e(url('page/7')); ?>"><?php echo app('translator')->get('frontend.yearly_working_plans'); ?></a></li>
                    <?php else: ?>
                    <li><a href="<?php echo e(url('page/7')); ?>"><?php echo app('translator')->get('frontend.yearly_working_plan'); ?></a></li>
                    <?php endif; ?>
                    <li><a href="<?php echo e(url('page/8')); ?>"><?php echo app('translator')->get('frontend.contact'); ?></a></li>
                  </div>



                </div>



              </ul>
            </li>



            <li class="nav-item dropdown">
              <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                <?php echo app('translator')->get('frontend.administrative_information'); ?>
              </a>
              <ul class="dropdown-menu pb-3 bg-white" aria-labelledby="navbarDropdownMenuLink" style="min-width:260px; max-width:100%;">

                <?php
                 $president_check = DB::table('principles')->where('type',2)->count();
                ?>

                <div class="col-md-12 col-12 dmenu mt-3">

                <?php if(env('APP_URL') == 'https://ahrsc.edu.bd'): ?>
                 <li><a href="<?php echo e(url('ministerofstatemessage')); ?>"><?php echo app('translator')->get('frontend.ministerofstatemessage'); ?> </a></li>
                 <li><a href="<?php echo e(url('chairmanmessage')); ?>"><?php echo app('translator')->get('frontend.chairmanmessage'); ?> </a></li>
                 <?php endif; ?>
                
                 <li><a href="<?php echo e(url('principal_message')); ?>">
                  <?php if($setting->type == 'school'): ?>
                  <?php echo app('translator')->get('frontend.principal_message'); ?>
                  <?php else: ?>
                  <?php echo app('translator')->get('frontend.principal_message'); ?>
                  <?php endif; ?>
                 </a></li>
                 <?php if($setting->type == 'madrasah'): ?>
                 <li><a href="<?php echo e(url('presidentmessage')); ?>"><?php echo app('translator')->get('frontend.presidentmessage'); ?> </a></li>
                 <?php elseif($setting->type == 'school'): ?>
                 <li><a href="<?php echo e(url('presidentmessage')); ?>"><?php echo app('translator')->get('frontend.presidentmessage'); ?> </a></li>
                 
                 <?php if($president_check): ?>
                 <li><a href="<?php echo e(url('presidents')); ?>"><?php echo app('translator')->get('frontend.presidents'); ?></a></li>
                 <li><a href="<?php echo e(url('principles')); ?>"><?php echo app('translator')->get('frontend.principals'); ?></a></li>
                 <?php endif; ?>
                 
                 <li><a href="<?php echo e(url('managing_comitte')); ?>"><?php echo app('translator')->get('frontend.managing_comitte'); ?></a></li>
                 <li><a href="<?php echo e(url('donar')); ?>"><?php echo app('translator')->get('frontend.donar'); ?></a></li>
                 <li><a href="<?php echo e(url('ex_member')); ?>"><?php echo app('translator')->get('frontend.ex_member'); ?></a></li>
                 <?php endif; ?>

                 <?php if($setting->type == 'college' || $setting->type == 'madrasah'): ?>
                 <li><a href="<?php echo e(url('vice_principal_messages')); ?>"><?php echo app('translator')->get('frontend.vice_principal_message'); ?> </a></li>
                 <li><a href="<?php echo e(url('principles')); ?>"><?php echo app('translator')->get('frontend.principles'); ?></a></li>
                 <?php endif; ?>
               </div>
             </ul>
           </li>



           <li class="nav-item dropdown">
            <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
              <?php echo app('translator')->get('frontend.teachers_and_staff'); ?>
            </a>
            <?php if($setting->type == 'college'): ?>
            <ul class="dropdown-menu pb-3 bg-white" aria-labelledby="navbarDropdownMenuLink" style="min-width: 500px;  max-width:100%;">
            <?php else: ?>
            <ul class="dropdown-menu pb-3 bg-white" aria-labelledby="navbarDropdownMenuLink" style="min-width: 217px;  max-width:100%;">
            <?php endif; ?>

              <div class="col-md-12 col-12 dmenu mt-3">
               <div class="row">
                <?php if($setting->type == 'college'): ?>
                <div class="col-md-7">

               <li><a href="<?php echo e(url('teacherinfo')); ?>"><?php echo app('translator')->get('frontend.teacherinfo'); ?></a></li>
               <?php
                $department = DB::table('department')->limit(9)->get();
               ?>

               <?php if(isset($department)): ?>
               <?php $__currentLoopData = $department; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $d): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
               <li><a href="<?php echo e(url('department_teacher/'.$d->id)); ?>"><?php if($lang == 'en'): ?><?php echo e($d->department); ?><?php elseif($lang == 'bn'): ?><?php echo e($d->department_name_bn); ?><?php endif; ?></a></li>

               <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
               <?php endif; ?>



               </div>

                <div class="col-md-5">
                <?php if($setting->type == 'college'): ?>
                <?php
                $department2 = DB::table('department')->skip(9)->limit(9)->get();
               ?>

               <?php if(isset($department2)): ?>
               <?php $__currentLoopData = $department2; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $d): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
               <li><a href="<?php echo e(url('department_teacher/'.$d->id)); ?>"><?php if($lang == 'en'): ?><?php echo e($d->department); ?><?php elseif($lang == 'bn'): ?><?php echo e($d->department_name_bn); ?><?php endif; ?></a></li>

               <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
               <?php endif; ?>


               <li><a href="<?php echo e(url('staffinfo')); ?>"><?php echo app('translator')->get('frontend.staffinfo'); ?></a></li>

            </div>
            <?php endif; ?>
               <?php else: ?>
               <div class="col-12">

                    <li><a href="<?php echo e(url('teacherinfo')); ?>"><?php echo app('translator')->get('frontend.teacherinfo'); ?></a></li>
                    <li><a href="<?php echo e(url('staffinfo')); ?>"><?php echo app('translator')->get('frontend.staffinfo'); ?></a></li>
               </div>
               <?php endif; ?>
               </div>

             </div>
           </ul>
         </li>

         <li class="nav-item dropdown">
          <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
          <?php echo app('translator')->get('frontend.student'); ?>
         </a>
         <ul class="dropdown-menu pb-3 bg-white" aria-labelledby="navbarDropdownMenuLink">

          <div class="col-md-12 col-12 dmenu mt-3">


            <li><a href="<?php echo e(url('gender_wise_student_list')); ?>"><?php echo app('translator')->get('frontend.class_gender_based_education'); ?></a></li>
           <li><a href="<?php echo e(url('section_wise_student_list')); ?>"><?php echo app('translator')->get('frontend.section_wise_student'); ?></a></li>


          

           <li><a href="<?php echo e(url('student_attendance')); ?>"><?php echo app('translator')->get('frontend.student_attendance'); ?></a></li>
           

           

           <?php
           $class = DB::connection('mysql_second')->table('add_class')->get();
           ?>

                <?php if($class): ?>
                <?php $__currentLoopData = $class; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $c): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

                <?php
                $count = DB::connection('mysql_second')->table('running_student_info')->where('class_id',$c->id)->count();
                ?>

                <?php if($count > 0): ?>
                <li><a href="<?php echo e(url('class_student_info')); ?>/<?php echo e($c->id); ?>"><?php echo e($c->class_name); ?></a></li>
                <?php endif; ?>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                <?php endif; ?>

         </div>
       </ul>
     </li>




     <li class="nav-item dropdown">
          <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
          <?php echo app('translator')->get('frontend.academic_information'); ?>
         </a>
         <ul class="dropdown-menu pb-3 bg-white" aria-labelledby="navbarDropdownMenuLink">

          <div class="col-md-12 col-12 dmenu mt-3">

           <li><a href="<?php echo e(url('page/9')); ?>"><?php echo app('translator')->get('frontend.rules_regulation'); ?></a></li>
           <li><a href="<?php echo e(url('academiccalenders')); ?>"><?php echo app('translator')->get('frontend.academiccalenders'); ?></a></li>
           <li><a href="<?php echo e(url('classroutines')); ?>"><?php echo app('translator')->get('frontend.classroutines'); ?></a></li>
           <li><a href="<?php echo e(url('holidaylists')); ?>"><?php echo app('translator')->get('frontend.holidaylists'); ?></a></li>
           <li><a href="<?php echo e(url('page/10')); ?>"><?php echo app('translator')->get('frontend.uniform'); ?></a></li>
           <li><a href="<?php echo e(url('page/11')); ?>"><?php echo app('translator')->get('frontend.fees'); ?></a></li>
           <li><a href="<?php echo e(url('page/5')); ?>"><?php echo app('translator')->get('frontend.studentinfochart'); ?></a></li>


         </div>
       </ul>
     </li>











     <li class="nav-item dropdown">
      <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
      <?php echo app('translator')->get('frontend.co_curricular'); ?>
      </a>
      <ul class="dropdown-menu pb-3 bg-white" aria-labelledby="navbarDropdownMenuLink" style="min-width: 400px;  max-width:100%;">

        <div class="row">

          <div class="col-md-6 col-12 dmenu mt-3">
            <li><a href="<?php echo e(url('page/13')); ?>"><?php echo app('translator')->get('frontend.sports_activities'); ?></a></li>
            <li><a href="<?php echo e(url('page/14')); ?>"><?php echo app('translator')->get('frontend.cultural_activities'); ?></a></li>
            <li><a href="<?php echo e(url('page/15')); ?>"><?php echo app('translator')->get('frontend.scouts'); ?></a></li>
            <li><a href="<?php echo e(url('page/17')); ?>"><?php echo app('translator')->get('frontend.bncc'); ?></a></li>
            <li><a href="<?php echo e(url('page/18')); ?>"><?php echo app('translator')->get('frontend.red_crescent'); ?></a></li>
            <li><a href="<?php echo e(url('page/22')); ?>"><?php echo app('translator')->get('frontend.educational_tour'); ?></a></li>


          </div>

          <div class="col-md-6 col-12 dmenu mt-3">
            <li><a href="<?php echo e(url('page/19')); ?>"><?php echo app('translator')->get('frontend.student_cabinet'); ?></a></li>
            <li><a href="<?php echo e(url('page/20')); ?>"><?php echo app('translator')->get('frontend.debating_club'); ?></a></li>
            <li><a href="<?php echo e(url('page/21')); ?>"><?php echo app('translator')->get('frontend.language_club'); ?></a></li>
            <li><a href="<?php echo e(url('page/23')); ?>"><?php echo app('translator')->get('frontend.science_fair'); ?></a></li>
          </div>



        </div>



      </ul>
    </li>


    <li class="nav-item dropdown">
      <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
        <?php echo app('translator')->get('frontend.admission_information'); ?>
      </a>
      <ul class="dropdown-menu pb-3 bg-white" aria-labelledby="navbarDropdownMenuLink">

        <div class="col-md-12 col-12 dmenu mt-3">

         <li><a href="<?php echo e(url('admissionInfo/3')); ?>"><?php echo app('translator')->get('frontend.prospectus'); ?></a></li>
         <li><a href="<?php echo e(url('admissionInfo/2')); ?>"><?php echo app('translator')->get('frontend.admission_rules'); ?></a></li>
         <li><a href="<?php echo e(url('admissionInfo/4')); ?>"><?php echo app('translator')->get('frontend.admission_procedure'); ?></a></li>
         <li><a href="<?php echo e(url('admissionInfo/5')); ?>"><?php echo app('translator')->get('frontend.admission_test_result'); ?></a></li>
         <li><a href="<?php echo e(url('admissionInfo/6')); ?>"><?php echo app('translator')->get('frontend.admission_test_questions'); ?></a></li>


       </div>
     </ul>
   </li>


   <li class="nav-item dropdown">
    <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
    <?php echo app('translator')->get('frontend.exam_information'); ?>
    </a>
    <ul class="dropdown-menu pb-3 bg-white" aria-labelledby="navbarDropdownMenuLink">

      <div class="col-md-12 col-12 dmenu mt-3">
       <li><a href="<?php echo e(url('page/12')); ?>"><?php echo app('translator')->get('frontend.exam_rules'); ?></a></li>
       <li><a href="<?php echo e(url('examroutines')); ?>"><?php echo app('translator')->get('frontend.examroutines'); ?></a></li>
       <li><a href="<?php echo e(url('examsyllabus')); ?>"><?php echo app('translator')->get('frontend.examsyllabus'); ?></a></li>
       <!--<li><a href="<?php echo e(url('examsuggession')); ?>"><?php echo app('translator')->get('frontend.examsuggession'); ?></a></li>-->

     </div>
   </ul>
 </li>




 <li class="nav-item dropdown">
  <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  <?php echo app('translator')->get('frontend.gallery'); ?>
  </a>
  <ul class="dropdown-menu pb-3 bg-white" aria-labelledby="navbarDropdownMenuLink" style="min-width: 150px; max-width:100%;">

    <div class="col-md-12 col-12 dmenu mt-3">
      <li><a href="<?php echo e(url('photogallery')); ?>"><?php echo app('translator')->get('frontend.photogallery'); ?></a></li>
      <li><a href="<?php echo e(url('videogallery')); ?>"><?php echo app('translator')->get('frontend.videogallery'); ?></a></li>
    </div>
  </ul>
</li>

  <?php if(env('APP_URL') == 'https://chhgc.edu.bd/'): ?>
  <li class="nav-item dropdown">
    <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
    <?php echo app('translator')->get('add_noc.other'); ?>
    </a>
    <ul class="dropdown-menu pb-3 bg-white" aria-labelledby="navbarDropdownMenuLink" style="min-width: 190px;  max-width:100%;">

      <div class="col-md-12 col-12 dmenu mt-3">
        <li><a href="<?php echo e(url('noc_info')); ?>"><?php echo app('translator')->get('add_noc.noc'); ?></a></li>
        <li><a href="<?php echo e(url('institute_position_info')); ?>"><?php echo app('translator')->get('institute_position_details.institute_position_details'); ?></a></li>
      </div>
    </ul>
  </li>
  <?php endif; ?>

<!-- <li class="nav-item"> -->
   <!-- <a class="nav-link" href="<?php echo e(url('complainbox')); ?>"><?php echo app('translator')->get('frontend.complainbox'); ?></a> -->
<!-- </li> -->

</ul>

</div>
</nav>





</div>
</div><!-------------------End Container-------------------->







<div id="offcanvas-slide" id="offcanvas-slide" uk-offcanvas="flip: false; overlay: true;">
  <div class="uk-offcanvas-bar d-block sidemenu" id="mobilemenuoff" style="transition: 0.9s; border:none; background-color: #000; font-size: 13px!important;">
   <button class="uk-offcanvas-close" type="button" style="top:6px; color: #fff;" uk-close></button>
   <br><br>


   <ul class="uk-nav-parent-icon p-3" uk-nav duration='800'>

     <li><a href=""><span uk-icon="icon: chevron-right; ratio: 0.9"></span>&nbsp;&nbsp;<?php echo app('translator')->get('frontend.home'); ?></a></li>


     <li class="uk-parent">
      <a href="#"><span uk-icon="icon: chevron-right; ratio: 0.9"></span>&nbsp;&nbsp;<?php echo app('translator')->get('frontend.institute_introduction'); ?></a>
      <ul class="uk-nav-sub">
        <li><a href="<?php echo e(url('page/6')); ?>"><?php echo app('translator')->get('frontend.infrastructure'); ?></a></li>
        <?php if(env('APP_URL') == 'https://chhgc.edu.bd/'): ?>
          <li><a href="<?php echo e(url('page/7')); ?>"><?php echo app('translator')->get('frontend.yearly_working_plans'); ?></a></li>
        <?php else: ?>
        <li><a href="<?php echo e(url('page/7')); ?>"><?php echo app('translator')->get('frontend.yearly_working_plan'); ?></a></li>
        <?php endif; ?>
        <li><a href="<?php echo e(url('page/8')); ?>"><?php echo app('translator')->get('frontend.contact'); ?></a></li>
        <li><a href="<?php echo e(url('page/1')); ?>"><?php echo app('translator')->get('frontend.about_us'); ?></a></li>
        <li><a href="<?php echo e(url('page/2')); ?>"><?php echo app('translator')->get('frontend.mission_vision'); ?></a></li>
        <li><a href="<?php echo e(url('page/3')); ?>"><?php echo app('translator')->get('frontend.history'); ?></a></li>
        <li><a href="<?php echo e(url('page/4')); ?>"><?php echo app('translator')->get('frontend.citizen_charter'); ?></a></li>
        <?php if(env('APP_URL') == 'https://chhgc.edu.bd/'): ?>
        <li><a href="#"><?php echo app('translator')->get('frontend.teaching_permission_recognition'); ?></a></li>
        <li><a href="#"><?php echo app('translator')->get('frontend.mpo_nationalization_info'); ?></a></li>
        <?php endif; ?>
      </ul>
    </li>





    <li class="uk-parent">
      <a href="#"><span uk-icon="icon: chevron-right; ratio: 0.9"></span>&nbsp;&nbsp;<?php echo app('translator')->get('frontend.administrative_information'); ?> </a>
      <ul class="uk-nav-sub">
        
      <?php if(env('APP_URL') == 'https://ahrsc.edu.bd'): ?>
        <li><a href="<?php echo e(url('ministerofstatemessage')); ?>"><?php echo app('translator')->get('frontend.ministerofstatemessage'); ?> </a></li>
        <li><a href="<?php echo e(url('chairmanmessage')); ?>"><?php echo app('translator')->get('frontend.chairmanmessage'); ?> </a></li>
      <?php endif; ?>

      <li><a href="<?php echo e(url('principal_message')); ?>">
        <?php if($setting->type == 'school'): ?>
        <?php echo app('translator')->get('frontend.principal_message'); ?>
        <?php else: ?>
        <?php echo app('translator')->get('frontend.principal_message'); ?>
        <?php endif; ?>
        </a></li>
        <?php if($setting->type == 'madrasah'): ?>
        <li><a href="<?php echo e(url('presidentmessage')); ?>"><?php echo app('translator')->get('frontend.presidentmessage'); ?> </a></li>
        <?php elseif($setting->type == 'school'): ?>
        <li><a href="<?php echo e(url('presidentmessage')); ?>"><?php echo app('translator')->get('frontend.presidentmessage'); ?> </a></li>
        <li><a href="<?php echo e(url('presidents')); ?>"><?php echo app('translator')->get('frontend.presidents'); ?></a></li>
        <li><a href="<?php echo e(url('principles')); ?>"><?php echo app('translator')->get('frontend.principals'); ?></a></li>
        <li><a href="<?php echo e(url('managing_comitte')); ?>"><?php echo app('translator')->get('frontend.managing_comitte'); ?></a></li>
        <li><a href="<?php echo e(url('donar')); ?>"><?php echo app('translator')->get('frontend.donar'); ?></a></li>
        <li><a href="<?php echo e(url('ex_member')); ?>"><?php echo app('translator')->get('frontend.ex_member'); ?></a></li>
        <?php endif; ?>

        <?php if($setting->type == 'college' || $setting->type == 'madrasah'): ?>
        <li><a href="<?php echo e(url('vice_principal_messages')); ?>"><?php echo app('translator')->get('frontend.vice_principal_message'); ?> </a></li>
        <li><a href="<?php echo e(url('principles')); ?>"><?php echo app('translator')->get('frontend.principles'); ?></a></li>
        <?php endif; ?>
      </ul>
    </li>





    <li class="uk-parent">
      <a href="#"><span uk-icon="icon: chevron-right; ratio: 0.9"></span>&nbsp;&nbsp;<?php echo app('translator')->get('frontend.teachers_and_staff'); ?> </a>
      <ul class="uk-nav-sub">
        <li><a href="<?php echo e(url('teacherinfo')); ?>"><?php echo app('translator')->get('frontend.teacherinfo'); ?></a></li>
        <li><a href="<?php echo e(url('staffinfo')); ?>"><?php echo app('translator')->get('frontend.staffinfo'); ?></a></li>
      </ul>
    </li>





    <?php if($setting->type == 'school'): ?>
    <li class="uk-parent">
      <a href="#"><span uk-icon="icon: chevron-right; ratio: 0.9"></span>&nbsp;&nbsp;<?php echo app('translator')->get('frontend.student'); ?></a>
      <ul class="uk-nav-sub">

        

        <li><a href="<?php echo e(url('gender_wise_students')); ?>"><?php echo app('translator')->get('frontend.class_gender_based_education'); ?></a></li>
        <li><a href="<?php echo e(url('section_wise_students')); ?>"><?php echo app('translator')->get('frontend.section_wise_student'); ?></a></li>

        <li><a href="#"><?php echo app('translator')->get('frontend.student_attendance'); ?></a></li>
        <?php
        $class = DB::connection('mysql_second')->table('add_class')->get();
        ?>
        <?php if($class): ?>
        <?php $__currentLoopData = $class; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $c): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <?php
        $count_student = DB::connection('mysql_second')->table('running_student_info')->where('class_id',$c->id)->count();
        ?>
        <?php if($count_student > 0): ?>
        <li><a href="#"><?php echo e($c->class_name); ?></a></li>
        <?php endif; ?>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        <?php endif; ?>
     </ul>
   </li>
   <?php endif; ?>


   <li class="uk-parent">
      <a href="#"><span uk-icon="icon: chevron-right; ratio: 0.9"></span>&nbsp;&nbsp;<?php echo app('translator')->get('frontend.academic_information'); ?></a>
      <ul class="uk-nav-sub">
       <li><a href="<?php echo e(url('page/9')); ?>"><?php echo app('translator')->get('frontend.rules_regulation'); ?></a></li>
       <li><a href="<?php echo e(url('academiccalenders')); ?>"><?php echo app('translator')->get('frontend.academiccalenders'); ?></a></li>
       <li><a href="<?php echo e(url('classroutines')); ?>"><?php echo app('translator')->get('frontend.classroutines'); ?></a></li>
       <li><a href="<?php echo e(url('holidaylists')); ?>"><?php echo app('translator')->get('frontend.holidaylists'); ?></a></li>
       <li><a href="<?php echo e(url('page/10')); ?>"><?php echo app('translator')->get('frontend.uniform'); ?></a></li>
       <li><a href="<?php echo e(url('page/11')); ?>"><?php echo app('translator')->get('frontend.fees'); ?></a></li>
       <li><a href="<?php echo e(url('page/5')); ?>"><?php echo app('translator')->get('frontend.studentinfochart'); ?></a></li>
     </ul>
   </li>



   <li class="uk-parent">
    <a href="#"><span uk-icon="icon: chevron-right; ratio: 0.9"></span>&nbsp;&nbsp;<?php echo app('translator')->get('frontend.co_curricular'); ?></a>
    <ul class="uk-nav-sub">
      <li><a href="<?php echo e(url('page/13')); ?>"><?php echo app('translator')->get('frontend.sports_activities'); ?></a></li>
      <li><a href="<?php echo e(url('page/14')); ?>"><?php echo app('translator')->get('frontend.cultural_activities'); ?></a></li>
      <li><a href="<?php echo e(url('page/15')); ?>"><?php echo app('translator')->get('frontend.scouts'); ?></a></li>
      <li><a href="<?php echo e(url('page/17')); ?>"><?php echo app('translator')->get('frontend.bncc'); ?></a></li>
      <li><a href="<?php echo e(url('page/18')); ?>"><?php echo app('translator')->get('frontend.red_crescent'); ?></a></li>
      <li><a href="<?php echo e(url('page/22')); ?>"><?php echo app('translator')->get('frontend.educational_tour'); ?></a></li>
      <li><a href="<?php echo e(url('page/19')); ?>"><?php echo app('translator')->get('frontend.student_cabinet'); ?></a></li>
      <li><a href="<?php echo e(url('page/20')); ?>"><?php echo app('translator')->get('frontend.debating_club'); ?></a></li>
      <li><a href="<?php echo e(url('page/21')); ?>"><?php echo app('translator')->get('frontend.language_club'); ?></a></li>
      <li><a href="<?php echo e(url('page/23')); ?>"><?php echo app('translator')->get('frontend.science_fair'); ?></a></li>
    </ul>
  </li>





  <li class="uk-parent">
    <a href="#"><span uk-icon="icon: chevron-right; ratio: 0.9"></span>&nbsp;&nbsp;<?php echo app('translator')->get('frontend.admission_information'); ?></a>
    <ul class="uk-nav-sub">


      <li><a href="<?php echo e(url('admissionInfo/3')); ?>"><?php echo app('translator')->get('frontend.prospectus'); ?></a></li>
      <li><a href="<?php echo e(url('admissionInfo/2')); ?>"><?php echo app('translator')->get('frontend.admission_rules'); ?></a></li>
      <li><a href="<?php echo e(url('admissionInfo/4')); ?>"><?php echo app('translator')->get('frontend.admission_procedure'); ?></a></li>
      <li><a href="<?php echo e(url('admissionInfo/5')); ?>"><?php echo app('translator')->get('frontend.admission_test_result'); ?></a></li>
      <li><a href="<?php echo e(url('admissionInfo/6')); ?>"><?php echo app('translator')->get('frontend.admission_test_questions'); ?></a></li>




    </ul>
  </li>






  <li class="uk-parent">
    <a href="#"><span uk-icon="icon: chevron-right; ratio: 0.9"></span>&nbsp;&nbsp;<?php echo app('translator')->get('frontend.exam_information'); ?></a>
    <ul class="uk-nav-sub">
     <li><a href="<?php echo e(url('page/12')); ?>"><?php echo app('translator')->get('frontend.exam_rules'); ?></a></li>
     <li><a href="<?php echo e(url('examroutines')); ?>"><?php echo app('translator')->get('frontend.examroutines'); ?></a></li>
     <li><a href="<?php echo e(url('examsyllabus')); ?>"><?php echo app('translator')->get('frontend.examsyllabus'); ?></a></li>
     <!--<li><a href="<?php echo e(url('examsuggession')); ?>"><?php echo app('translator')->get('frontend.examsuggession'); ?></a></li>-->
   </ul>
 </li>


 <li class="uk-parent">
  <a href="#"><span uk-icon="icon: chevron-right; ratio: 0.9"></span>&nbsp;&nbsp;<?php echo app('translator')->get('frontend.gallery'); ?></a>
  <ul class="uk-nav-sub">
    <li><a href="<?php echo e(url('photogallery')); ?>"><?php echo app('translator')->get('frontend.photogallery'); ?></a></li>
    <li><a href="<?php echo e(url('videogallery')); ?>"><?php echo app('translator')->get('frontend.videogallery'); ?></a></li>
  </ul>
</li>

  <?php if(env('APP_URL') == 'https://chhgc.edu.bd/'): ?>
  <li class="nav-item">
    <a class="nav-link" href="<?php echo e(url('noc_info')); ?>"><?php echo app('translator')->get('add_noc.noc'); ?></a>
  </li>
  <?php endif; ?>



</ul>


</div>
</div> <!----------------End Mobile Menu------------->







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




<div class="container">
  <div class="col-sm-12 col-12 bg-white p-0 pt-5">
    <img src="<?php echo e(asset('/')); ?>frontend/img/footer_top_bg.png" class="img-fluid w-100">
  </div>


  <div class="col-sm-12 col-12 developerdiv">

    <center>
      <span class="develop"><?php echo app('translator')->get('frontend.crights'); ?> © <?php echo date('Y'); ?> <?php if($lang == 'en'): ?><?php echo e($setting->name); ?><?php elseif($lang == 'bn'): ?><?php echo e($setting->name_bangla); ?><?php endif; ?> <?php echo app('translator')->get('frontend.rights'); ?></span><br>
      <span class="develop"><?php echo app('translator')->get('frontend.drights'); ?></span>&nbsp;&nbsp;<a href="http://sbit.com.bd" target="blank" class="it"><?php echo app('translator')->get('frontend.sbit'); ?></a></center>

    </div>

  </div>


  <!-----------end develop by---------->




  <script type="text/javascript" src="https://cdn.datatables.net/1.10.20/js/jquery.dataTables.min.js"></script>
  <script src="<?php echo e(asset('/')); ?>frontend/js/bootstrap-4-navbar.js"></script>
  <script type="text/javascript" src="<?php echo e(asset('/')); ?>frontend/js/owl.carousel.min.js"></script>
  <script type="text/javascript" src="<?php echo e(asset('/')); ?>frontend/js/jquery.nivo.slider.js"></script>
  <script type="text/javascript" src="<?php echo e(asset('/')); ?>frontend/js/uikit.min.js"></script>
  <script type="text/javascript" src="<?php echo e(asset('/')); ?>frontend/js/uikit-icons.min.js"></script>
  <script type="text/javascript" src="<?php echo e(asset('/')); ?>frontend/js/jquery.exzoom.js"></script>

  <script>
    AOS.init();
    var preloader=document.getElementById('load');
    function myfunctions() {
      preloader.style.display='none';
    }

    $(document).ready(function() {
      $('#example').DataTable();
    } );


  </script>


  <script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
  <script src="<?php echo e(asset('/')); ?>frontend/js/sliderResponsive.js"></script>


  <script>
    $(document).ready(function() {

      $("#slider1").sliderResponsive({
      });

      $("#slider2").sliderResponsive({
        fadeSpeed: 300,
        autoPlay: "off",
        showArrows: "on",
        hideDots: "on"
      });

      $("#slider3").sliderResponsive({
        hoverZoom: "off",
        hideDots: "on"
      });

    });
  </script>


  <script src="https://cdn.datatables.net/1.10.24/js/jquery.dataTables.min.js" type="text/javascript" ></script>

  <script type="text/javascript">
    $(document).ready(function() {
      $('#example').DataTable();
    } );
  </script>


  <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper.min.js" integrity="sha384-oBqDVmMz9ATKxIep9tiCxS/Z9fNfEXiDAYTujMAeBAsjFuCZSmKbSSUnQlmh/jp3" crossorigin="anonymous"></script>
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.min.js" integrity="sha384-cuYeSxntonz0PPNlHhBs68uyIAVpIIOZZ5JqeqvYYIcEL727kskC66kF92t6Xl2V" crossorigin="anonymous"></script>
</body>
</html>
<?php /**PATH /home/gzmcfenigov/public_html/resources/views/frontend/index.blade.php ENDPATH**/ ?>