<!DOCTYPE html>
<html>
<head>
  	<meta charset="utf-8">
  	<meta http-equiv="X-UA-Compatible" content="IE=edge">
  	<title>IGLOO</title>
  	<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  	<link rel="stylesheet" href="<?php echo e(asset('assets/css/bootstrap.min.css')); ?>">
  	<link rel="stylesheet" href="<?php echo e(asset('assets/css/font-awesome.min.css')); ?>">
  	<link rel="stylesheet" href="<?php echo e(asset('assets/css/ionicons.min.css')); ?>">
  	<link rel="stylesheet" href="<?php echo e(asset('assets/css/style.min.css')); ?>">
  	<link rel="stylesheet" href="<?php echo e(asset('assets/css/_all-skins.min.css')); ?>">
  	<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">
  	<style type="text/css">
        .alert {
            padding: 2px; 
            margin-bottom: 5px;
        }

        .required:after{ 
	        content:'*'; 
	        color:red; 
	        padding-left:5px;
	    }

      .skin-blue .main-header .navbar {
          padding: 10px;
      }
    </style>

     <?php echo $__env->yieldContent('style'); ?>
</head>

<body class="hold-transition skin-blue layout-top-nav">
	<div class="wrapper">
  		<header class="main-header">
    		<nav class="navbar navbar-static-top">
      			<div class="container">

        			<div class="navbar-header">
          				<!-- <a href="<?php echo e(url('/')); ?>" class="navbar-brand"><b>IGLOO</b> Ticketing System</a> -->
                  <a href="<?php echo e(url('/')); ?>" class="navbar-brand"><img src="<?php echo e(asset('assets/images/igloo.jpg')); ?>" width="101" height="71" style="margin-top: -26px;"></a>
                  <!-- <a href="<?php echo e(url('/')); ?>" class="navbar-brand"><img src="<?php echo e(asset('assets/images/myol8171.png')); ?>" style="margin-top: -26px;"></a> -->
          				<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse">
            				<i class="fa fa-bars"></i>
          				</button>
        			</div>
        			<?php if(Auth::guest()): ?>
			        <div class="collapse navbar-collapse pull-right" id="navbar-collapse">
			          	<ul class="nav navbar-nav">
                    <li class="active"><a href="<?php echo e(url('/login')); ?>"> <i class="fa fa-sign-in"></i> Login <span class="sr-only">(current)</span></a></li> 
			            	<!-- <li class="active"><a href="<?php echo e(url('/register')); ?>"> <i class="fa fa-sign-in"></i> Registration <span class="sr-only">(current)</span></a></li>  -->
			          	</ul>
			        </div>
        			<?php else: ?>
        			<div class="collapse navbar-collapse pull-right" id="navbar-collapse">
          				<ul class="nav navbar-nav">
            				<!-- <li class="active"><a href="<?php echo e(url('/')); ?>">Home <span class="sr-only">(current)</span></a></li> -->

                    <!-- <li <?php echo e(( Request::is('own/*') ? 'class=active' : '' )); ?> ><a href="<?php echo e(url('/own/ticket-form')); ?>">Own Order</a></li> -->
                    
                    <!-- <li <?php echo e(( Request::is('cc/*') ? 'class=active' : '' )); ?> ><a href="<?php echo e(url('/cc/ticket-form')); ?>">CC Ticket</a></li> -->

                    <!-- <li <?php echo e(( Request::is('division') || Request::is('division/*') || Request::is('district') || Request::is('district/*') || Request::is('police-station') || Request::is('police-station/*') ? 'class=active' : '' )); ?> class="dropdown">
                      <a href="#" class="dropdown-toggle" data-toggle="dropdown">Area <span class="caret"></span></a>
                      <ul class="dropdown-menu" role="menu">
                        <li <?php echo e(( Request::is('division') || Request::is('division/*') ? 'class=active' : '' )); ?> ><a href="<?php echo e(url('/division')); ?>">Division</a></li>
                        <li <?php echo e(( Request::is('district') || Request::is('district/*') ? 'class=active' : '' )); ?> ><a href="<?php echo e(url('/district')); ?>">District</a></li>
                      </ul>
                    </li> -->

                    <li <?php echo e(( Request::is('user') || Request::is('user/*') || Request::is('user-registration') || Request::is('user-registration/*')  ? 'class=active' : '' )); ?> class="dropdown">
                      <a href="#" class="dropdown-toggle" data-toggle="dropdown">User <span class="caret"></span></a>
                      <ul class="dropdown-menu" role="menu">
                        <li <?php echo e(( Request::is('user') || Request::is('user/*') ? 'class=active' : '' )); ?> ><a href="<?php echo e(url('/user')); ?>">Web User</a></li>
                        <li <?php echo e(( Request::is('user-registration') || Request::is('user-registration/*') ? 'class=active' : '' )); ?> ><a href="<?php echo e(url('/user-registration')); ?>">App User</a></li>
                      </ul>
                    </li>

            				<!-- <li <?php echo e(( Request::is('user') || Request::is('user/*') ? 'class=active' : '' )); ?> ><a href="<?php echo e(url('/user')); ?>">User</a></li> -->
                    <li <?php echo e(( Request::is('ticket-type') || Request::is('ticket-type/*') ? 'class=active' : '' )); ?> ><a href="<?php echo e(url('/ticket-type')); ?>">Order Type</a></li>
                    <li <?php echo e(( Request::is('ticket-status') || Request::is('ticket-status/*') ? 'class=active' : '' )); ?> ><a href="<?php echo e(url('/ticket-status')); ?>">Order Status</a></li>
                    <li <?php echo e(( Request::is('select') || Request::is('select/*') ? 'class=active' : '' )); ?> ><a href="<?php echo e(url('/select')); ?>">Select</a></li>
                    <li <?php echo e(( Request::is('option') || Request::is('option/*') ? 'class=active' : '' )); ?> ><a href="<?php echo e(url('/option')); ?>">Option</a></li>
                    <!-- <?php if (app('Illuminate\Contracts\Auth\Access\Gate')->check('ticket_admin-access')): ?>
                    <li <?php echo e(( Request::is('ticket') || Request::is('ticket/*') ? 'class=active' : '' )); ?> ><a href="<?php echo e(url('/ticket')); ?>">Ticket</a></li>
                    <?php endif; ?>

                    <?php if (app('Illuminate\Contracts\Auth\Access\Gate')->check('agent-access')): ?>
                    <li <?php echo e(( Request::is('ticket') || Request::is('ticket/*') ? 'class=active' : '' )); ?> ><a href="<?php echo e(url('/ticket')); ?>">Ticket</a></li>
                    <?php endif; ?> -->
                    <li <?php echo e(( Request::is('ticket') || Request::is('ticket/*') ? 'class=active' : '' )); ?> ><a href="<?php echo e(url('/ticket')); ?>">Order</a></li>
                    


                    <!-- <li <?php echo e(( Request::is('report') || Request::is('report/*') ? 'class=active' : '' )); ?> class="dropdown">
                      <a href="#" class="dropdown-toggle" data-toggle="dropdown">Ticket <span class="caret"></span></a>
                      <ul class="dropdown-menu" role="menu">
                        <li><a href="<?php echo e(url('/report/id-wise-form')); ?>">ID Wise Report</a></li>
                        <li><a href="<?php echo e(url('/report/dept-wise-form')); ?>">Dept. Wise Report</a></li>
                        <li class="divider"></li>
                        <li class="bg-danger"><a href="#">Excel => XLSX XLS CSV</a></li>
                        <li class="divider"></li>
                        <li><a href="<?php echo e(url('/report/id-wise-form-excel')); ?>">ID Wise Report</a></li>
                        <li><a href="<?php echo e(url('/report/dept-wise-form-excel')); ?>">Dept. Wise Report</a></li>
                      </ul>
                    </li> -->
                    <!-- <li><a href="<?php echo e(url('/ex')); ?>">Excel</a></li> -->




                    <!--  <?php if (app('Illuminate\Contracts\Auth\Access\Gate')->check('ticket_admin-access')): ?>
                    <li class="dropdown">
                      <a href="#" class="dropdown-toggle" data-toggle="dropdown">Settings <span class="caret"></span></a>
                      <ul class="dropdown-menu" role="menu">
                        <li <?php echo e(( Request::is('user') || Request::is('user/*') ? 'class=active' : '' )); ?> ><a href="<?php echo e(url('/user')); ?>">User</a></li>
                        <li <?php echo e(( Request::is('ticket-type') || Request::is('ticket-type/*') ? 'class=active' : '' )); ?> ><a href="<?php echo e(url('/ticket-type')); ?>">Ticket Type</a></li>
                        <li <?php echo e(( Request::is('ticket-status') || Request::is('ticket-status/*') ? 'class=active' : '' )); ?> ><a href="<?php echo e(url('/ticket-status')); ?>">Ticket Status</a></li>
                        
                        <li <?php echo e(( Request::is('select') || Request::is('select/*') ? 'class=active' : '' )); ?> ><a href="<?php echo e(url('/select')); ?>">Select</a></li>
                        <li <?php echo e(( Request::is('option') || Request::is('option/*') ? 'class=active' : '' )); ?> ><a href="<?php echo e(url('/option')); ?>">Option</a></li>
                      </ul>
                    </li>
                    <?php endif; ?>
                    <li <?php echo e(( Request::is('ticket') || Request::is('ticket/*') ? 'class=active' : '' )); ?> ><a href="<?php echo e(url('/ticket')); ?>">Ticket</a></li>
            				-->

                    <li <?php echo e(( Request::is('report') || Request::is('report/*') ? 'class=active' : '' )); ?> class="dropdown">
                      <a href="#" class="dropdown-toggle" data-toggle="dropdown">Report <span class="caret"></span></a>
                      <ul class="dropdown-menu" role="menu">
                        
                        <li><a href="<?php echo e(url('/report/ticket-form')); ?>">Order Report</a></li>
                        <li><a href="<?php echo e(url('/report/delivery-status-form')); ?>">Delivery Status Report</a></li>
                        <li><a href="<?php echo e(url('/report/online-payment-form')); ?>">Online Payment Report</a></li>
                        <li><a href="<?php echo e(url('/report/ticket-id-form')); ?>">Order ID Search</a></li>
                        <!-- <li><a href="<?php echo e(url('/report/district-form')); ?>">District Wise Ticket Report</a></li> -->
                        <li><a href="<?php echo e(url('/report/ticket-type-form')); ?>">Type Wise Report</a></li>
                        <?php if (app('Illuminate\Contracts\Auth\Access\Gate')->check('ticket_admin-access')): ?>
                        <li><a href="<?php echo e(url('/report/sku-form')); ?>">SKU Report</a></li>
                        <?php endif; ?>
                        <li><a href="<?php echo e(url('/report/ticket-form-excel')); ?>"> Report Download (Excel)</a></li>
                        <?php if (app('Illuminate\Contracts\Auth\Access\Gate')->check('ticket_admin-access')): ?>
                        <!-- <li><a href="<?php echo e(url('/report/crm-form-excel')); ?>">CRM Report Download (xlsx, csv, xls)</a></li> -->
                        <?php endif; ?>
                        <li><a href="<?php echo e(url('/dashboard')); ?>">Dashboard</a></li>
                        <li><a href="<?php echo e(url('/own/ticket-form')); ?>">Own Order</a></li>
                        <?php if(Auth::id() == 1): ?>
                          <li><a href="<?php echo e(url('/IGLOO-daily-dashboard')); ?>">Dashboard Refresh</a></li>
                        <?php endif; ?>
                      </ul>
                    </li>
                    <?php if (app('Illuminate\Contracts\Auth\Access\Gate')->check('agent-access')): ?>
                      <li <?php echo e(( Request::is('crm') || Request::is('crm/*') ? 'class=active' : '' )); ?> ><a href="<?php echo e(url('/crm')); ?>">CRM</a></li>
                    <?php endif; ?>
                    <?php if(Auth::id() == 1): ?>
                      <li <?php echo e(( Request::is('crm') || Request::is('crm/*') ? 'class=active' : '' )); ?> ><a href="<?php echo e(url('/crm')); ?>">CRM</a></li>
                    <?php endif; ?> 

                    <li <?php echo e(( Request::is('created-by/*') ? 'class=active' : '' )); ?> ><a href="<?php echo e(url('/created-by/ticket-form')); ?>">Created By</a></li>

            				<li class="dropdown user user-menu">
              					<a href="#" class="dropdown-toggle" data-toggle="dropdown">
                          <?php if(isset(Auth::user()->image)): ?>
                              <img src="<?php echo e(asset('public/uploads/'.Auth::user()->image)); ?>" class="user-image" alt="User Image">
                          <?php else: ?>
                              <img src="<?php echo e(asset('assets/images/user.png')); ?>" class="user-image" alt="User Image">
                          <?php endif; ?>
                					
                					<span class="hidden-xs"><?php echo e(Auth::user()->name); ?></span>
              					</a>
              					<ul class="dropdown-menu">
                					<li class="user-header">
                              <?php if(isset(Auth::user()->image)): ?>
                                <img src="<?php echo e(asset('public/uploads/'.Auth::user()->image)); ?>" class="img-circle" alt="User Image">
                              <?php else: ?>
                                  <img src="<?php echo e(asset('assets/images/user.png')); ?>" class="img-circle" alt="User Image">
                              <?php endif; ?>
	                  					
	                  					<p>
	                    					<?php echo e(Auth::user()->name); ?>

	                  					</p>
                					</li>
					                <li class="user-footer">
					                  <div class="pull-left">
					                    <!-- <a href="<?php echo e(url('/profile')); ?>" class="btn btn-default btn-flat">Profile</a> -->
                              <a href="<?php echo e(url('/logout')); ?>" class="btn btn-danger btn-flat">Sign out</a>
					                  </div>
					                  <div class="pull-right">
					                    <!-- <a href="<?php echo e(url('/logout')); ?>" class="btn btn-danger btn-flat">Sign out</a> -->
					                  </div>
					                </li>
              					</ul>
            				</li>
          				</ul>
                  <!-- <form class="navbar-form navbar-left" role="search" method="post" >
                    <div class="form-group">
                      <input type="text" class="form-control" id="navbar-search-input" placeholder="Search">
                    </div>
                    <button type="submit" class="btn btn-default">Submit</button>
                  </form> -->
                  <!-- <?php echo Form::open(['url' => 'search', 'method' => 'post', 'class' => 'navbar-form navbar-left']); ?>

                    <div class="form-group">
                      <?php echo Form::text('mobile_or_code', null, ['class' => 'form-control', 'placeholder' => 'Search Mobile or Code', 'autocomplete' => 'off', 'id' => 'navbar-search-input', 'required' => 'required']); ?>

                    </div>
                    <?php echo Form::submit('Submit', ['class' => 'btn btn-success btn-flat']); ?>

                  <?php echo Form::close(); ?> -->
        			</div>
         			<?php endif; ?>
      			</div>
    		</nav>
  		</header>

  		

  		<div class="content-wrapper">
  			<div class="container">
		        <div class="col-sm-8 col-sm-offset-2">
		            <?php echo $__env->make('flash::message', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
		        </div>
		    </div>

    		
       		<?php echo $__env->yieldContent('content'); ?>
    		
  		</div>
  
 		<footer class="main-footer">
    		<div class="container">
      			<div class="pull-right hidden-xs">
        			<b>Version</b> 1.0
      			</div>
      			<strong>Copyright &copy; <?php echo e(date('Y')); ?> <a href="http://myolbd.com" target="_blank">MY Outsourcing Limited</a>.</strong> All rights reserved.
    		</div>
  		</footer>
	</div>

	<script src="<?php echo e(asset('assets/js/jquery.min.js')); ?>"></script>
	<script src="<?php echo e(asset('assets/js/bootstrap.min.js')); ?>"></script>
	<script src="<?php echo e(asset('assets/js/jquery.slimscroll.min.js')); ?>"></script>
	<script src="<?php echo e(asset('assets/js/fastclick.js')); ?>"></script>
	<script src="<?php echo e(asset('assets/js/script.min.js')); ?>"></script>
	<!-- <script src="<?php echo e(asset('assets/js/demo.js')); ?>"></script> -->
	<?php echo $__env->yieldContent('script'); ?>
</body>
</html>
