<? global $vis_language;
	$database=new class_database();
    include_once(VIS_PATH_CLASS.VIS_CLASS_PREFIX.'staff.php');
    $object=new class_staff($database);
    $modules=$object->get_modules('is_enabled=1', VIS_STAFF_ID, VIS_LOCATION_AREA);
    $curr_module_name = '';
    if(isset($modules)) for($i=0;$i<count($modules);$i++) {
		if($modules[$i]['module'] == $operation['vis_module']){
			$curr_module_name = $modules[$i]['module_name'];
			break;
		}
	}
	$hash_arr = explode("/", $operation['vis_action']); //print_r($arr);
?>
<script language="javascript">
	var curr_hash = location.hash;
	
</script>
<section id="breadcrumb" class="row m-b m-l-none m-r-none">
	<div class="col-sm-6">
		<h3 class="m-b-xs text-black"><? if($operation['vis_operation'] == 'quick_view'){ ?>Dashboard <? }
		else { echo $curr_module_name; } ?></h3>
		<small>
			<? if($operation['vis_operation'] == 'quick_view'){ ?>Home<? } else { ?><a href=""><? echo $modules[0]['module_name']; ?></a><? } ?>
			<? if($operation['vis_operation'] == 'filter_ticket'){ echo " / ". $curr_module_name; } ?>
			<? if($operation['vis_operation'] == 'ticket_details'){
				echo " / ";?>
				<a href="#/ticket/filter_ticket/<?= $vis_language['TXTTICKETS']?>/1"><?= $curr_module_name?></a> / <?= $hash_arr[3];
				} ?>
		</small>
		<? ///echo '<pre>'; print_r($modules); echo '</pre>';
		//echo $operation['vis_module'];
		?>
	</div><? /* //--- right side section
	<div class="col-sm-6 text-right text-left-xs m-t-md">
	  <div class="btn-group">
		<a class="btn btn-rounded btn-default b-2x dropdown-toggle" data-toggle="dropdown">Widgets <span class="caret"></span></a>
		<ul class="dropdown-menu text-left pull-right">
		  <li><a href="#">Notification</a></li>
		  <li><a href="#">Messages</a></li>
		  <li><a href="#">Analysis</a></li>
		  <li class="divider"></li>
		  <li><a href="#">More settings</a></li>
		</ul>
	  </div>
	  <a href="#" class="btn btn-icon b-2x btn-default btn-rounded hover"><i class="i i-bars3 hover-rotate"></i></a>
	  <a href="#nav, #sidebar" class="btn btn-icon b-2x btn-info btn-rounded" data-toggle="class:nav-xs, show"><i class="vh vh-bars"></i></a>
	</div>*/?>
</section>