<? global $vis_language;?>
<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['TXTSCHEDULEREPORT']; ?> (<? echo $report_count;?>)</h3>
      <div>
         <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="#/report/report_list/<? echo $vis_language['TXTREPORTS']; ?>" onclick="$('#vis_workpanel_div').visExecution('load_module', '<? echo $vis_language['TXTREPORTS']; ?>',{'vis_module':'report', 'vis_operation':'report_list'});"><? echo $vis_language['TXTREPORTS']; ?></a></li>
            <li class="active"><? echo $vis_language['TXTSCHEDULEREPORT']; ?></li>
         </ul>
      </div>
   </div>
   <div class="col-sm-6 text-right text-left-xs m-t-lg">
   <? include(VIS_PATH_TEMPLATE.'report_left_menu.php'); ?>
   </div>
</section>
<? if($report_count>0){?>
  <section class="col-lg-12">
            	<div class="panel panel-default">
				 <form class="form-horizontal" enctype="multipart/form-data" id="vis_task_form1" name="vis_task_form1" method="post" >
				 <div id="myTask">
				   
					 <div class="text-right padder">
                        <ul class="pagination-sm pagination" id="task_pagination"></ul>
                     </div>
					  <aside class="myTask">
                        <? include(VIS_PATH_TEMPLATE.'schedule_report_list.php'); ?>
                     </aside>

					 <div class="text-right padder">
                        <ul class="pagination-sm pagination" id="task_pagination1"></ul>
                     </div>
					  
					 </div>
                     </form>

                </div>
            </section>
            <? }else {
                    include(VIS_PATH_TEMPLATE.'no_record_yet.php');
                    }?>
<script>
  <? if($view_info['page_count']>0) {?>
    $('.pagination-sm').twbsPagination({
          totalPages:<?php echo $view_info['page_count']; ?>,
          visiblePages:3,
		  first:false,
		  last:false,
          onPageClick: function (event, page) {
          $('.myTask').visExecution('load_operations',{'vis_module':'report', 'vis_operation':'schedule_queue_list', 'vis_page':page-1 ,'vis_form':'vis_task_form1','vis_change':1});
          }
      });<? }?>

	$(".selectpicker").selectpicker();
</script>
