<?
    global $vis_language;
    $paging_list='';
    for($i=0;$i<$view_info['page_count'];$i++) $paging_list.='<option value="'.$i.'" '.(($language_info['page']==$i)?'selected="selected"':'').'>'.($i+1).'</option>';
?>
<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"><? echo $vis_language['TXTLANGUAGE']; ?> (<? echo $language_info['total']; ?>)</span></h3>
		<ul class="breadcrumb bg-empty no-border m-b-xxs no-padder">
			<li><a class="link" href="#/home/quick_view/<? echo $vis_language['TXTHOME']; ?>"><?echo $vis_language['TXTHOME'];?></a></li>
			<li><a class="link" href="#/setting/setting_menu/<? echo $vis_language['TXTSETTINGS'];?>" onclick="$('#vis_workpanel_div').visExecution('load_module','<? echo $vis_language['TXTSETTINGS'];?>',{'vis_module':'setting','vis_operation':'setting_menu'});"><?echo $vis_language['TXTSETTINGS'];?></a></li>
			<li class="active"><? echo $vis_language['TXTLANGUAGE']; ?> </li>
		</ul>
	</div>
	<div class="col-sm-6 text-right text-left-xs m-t-lg">
 <div class="btn-group pull-right">
			<button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="vh vh-action text-muted"></i> <b class="caret"></b></button>
     <ul class="dropdown-menu dropdown-menu-right text-left">
     <li><a class="link"   href="#/setting/language_export/<? echo $vis_language['TXTEXPORT']; ?>" onclick="$('#vis_workpanel_div').visExecution('load_module','<? echo $vis_language['TXTEXPORT']; ?>',{'vis_module':'setting','vis_operation':'language_export'});"><? echo $vis_language['TXTEXPORT']; ?></a></li>
			<li><a onclick="$('#vis_workpanel_div').visExecution('load_module','<? echo $vis_language['TXTIMPORT']; ?>',{'vis_module':'setting','vis_operation':'import_language'});" href="#/setting/import_language/<? echo $vis_language['TXTIMPORT']; ?>" class="link"><? echo $vis_language['TXTIMPORT']; ?></a></li>
     <li><a class="link" href="#/setting/display_localisation/<? echo $vis_language['TXTLOCALISATION'];?>" onclick="$('#vis_workpanel_div').visExecution('load_module','<? echo $vis_language['TXTLOCALISATION'];?>',{'vis_module':'setting','vis_operation':'display_localisation'});"> <?echo $vis_language['TXTLOCALISATION'];?></a></li>
         </ul>
   </div>
   
		<div class="btn-group pull-right">&nbsp;
			<a class="btn btn-rounded btn-primary btn-sm dropdown-toggle" href="#/setting/new_language/Add language"><i style="font-size:10px;" class="vh vh-plus"> </i> <? echo $vis_language['TXTADD'];?></a>
		</div>
		<!--	<ul class="navSeprator m-n bred_rlink">
			
		<li><a class="link"   href="#/setting/language_export/<? echo $vis_language['TXTEXPORT']; ?>" onclick="$('#vis_workpanel_div').visExecution('load_module','<? echo $vis_language['TXTEXPORT']; ?>',{'vis_module':'setting','vis_operation':'language_export'});"><? echo $vis_language['TXTEXPORT']; ?></a></li>
			<li><a onclick="$('#vis_workpanel_div').visExecution('load_module','<? echo $vis_language['TXTIMPORT']; ?>',{'vis_module':'setting','vis_operation':'import_language'});" href="#/setting/import_language/<? echo $vis_language['TXTIMPORT']; ?>" class="link"><? echo $vis_language['TXTIMPORT']; ?></a></li>
		</ul>-->

	</div>
</section>
<? if($view_info['page_count']>0)
   {
   ?>
<div class="col-lg-12">
	<form name="vis_language_form" id="vis_language_form">
		<section class="panel panel-default">
		<div class="row wrapper clr">
			  <div class="col-sm-9 tkt_left_menu">

				<div class="vis_mass_action">
				<!--<div class="btn-group">
				  <button class="btn bg-empty btn-sm dropdown-toggle action_btn" data-toggle="dropdown">
					<i class="vh vh-action"></i> <span class="caret"></span>
				  </button>
					<ul class="dropdown-menu">
						<li><a href="javascript:void(0);" onclick="$(this).visExecution('submit_form',{'vis_module':'setting', 'vis_operation':'change_setting_status', 'vis_form':'vis_language_form', 'vis_switch':'language', 'vis_current_operation':'view_language', 'vis_current_module':'setting','vis_is_enable':'1'})"><? echo $vis_language['TXTENABLE'];?></a></li>
						<li><a href="javascript:void(0);" onclick="$(this).visExecution('submit_form',{'vis_module':'setting', 'vis_operation':'change_setting_status', 'vis_form':'vis_language_form', 'vis_switch':'language', 'vis_current_operation':'view_language','vis_current_module':'setting', 'vis_is_enable':'0'})"><? echo $vis_language['TXTDISABLE']; ?></a></li>
					</ul>
				</div>-->
				</div>
			  </div>
			  <div class="col-sm-3 text-right text-center-xs tkt_right_menu" id="paging">
				 <select name="pageing" class="form-control input-sm selectpicker pull-right paging v-middle" onchange="$(this).parents('#vis_workpanel_div').visExecution('load_area',{'vis_module':'setting', 'vis_operation':'view_language', 'vis_page':this.value})">
					<? echo $paging_list;?>
				  </select>
				  <div class="text-muted pull-right label_page"><? echo $vis_language['TXTPAGE']; ?>:</div>
			  </div>
			</div>
			<div class="table-responsive scroll-x" id="vis_department_list">
			<? include_once(VIS_PATH_TEMPLATE.'language_list.php'); ?>
			</div>
				<footer class="wrapper panel-footer bg-white">
			  <div class="row">
				  <div class="col-sm-9 tkt_left_menu">
				<div class="vis_mass_action_footer">
				<!--<div class="btn-group">
				  <button type="button" class="btn bg-empty btn-sm dropdown-toggle action_btn" data-toggle="dropdown">
					<i class="vh vh-action"></i>
					<span class="caret"></span>
				  </button>
					<ul class="dropdown-menu" role="menu">
							<li><a href="javascript:void(0);" onclick="$(this).visExecution('submit_form',{'vis_module':'setting', 'vis_operation':'change_setting_status', 'vis_form':'vis_language_form', 'vis_switch':'language', 'vis_current_operation':'view_language', 'vis_current_module':'setting', 'vis_is_enable':'1'})"><? echo $vis_language['TXTENABLE']; ?></a></li>
							<li><a href="javascript:void(0);" onclick="$(this).visExecution('submit_form',{'vis_module':'setting', 'vis_operation':'change_setting_status', 'vis_form':'vis_language_form', 'vis_switch':'language', 'vis_current_operation':'view_language', 'vis_current_module':'setting', 'vis_is_enable':'0'})"><? echo $vis_language['TXTDISABLE']; ?></a></li>
					</ul>

				</div>-->
	</div>
			  </div>
			  <div class="col-sm-3 text-right text-center-xs tkt_right_menu" id="paging">
				 <select name="pageing" class="form-control input-sm selectpicker pull-right paging v-middle" onchange="$(this).parents('#vis_workpanel_div').visExecution('load_area',{'vis_module':'setting', 'vis_operation':'view_language', 'vis_page':this.value})">
					<? echo $paging_list;?>
				  </select>
				  <div class="text-muted pull-right label_page"><? echo $vis_language['TXTPAGE']; ?>:</div>
			  </div>

			  </div>
			</footer>
		  </section>
		</form>
	</div>
<script src="<?= VIS_PATH_SCRIPT; ?>dropdown_dropup.js"></script>
<?
}
else
{
 include(VIS_PATH_TEMPLATE.'no_record_yet.php');
} ?>
