<? global $vis_language; ?>
		 <div class="table-responsive scroll-x" >
			<table class="table table-hover b-t b-light m-b-none" id="datatable">
					<thead class="table_head">
						  <tr>
							 <th><? echo $vis_language['TXTREPORTTITLE']; ?></th>   
							 <th><? echo $vis_language['TXTSTARTDATE'];?></th>
							 <th><? echo $vis_language['TXTENDDATE'];?></th>		
							 <th><? echo $vis_language['TXTSCHEDULETYPE'];?></th>
							 <th><? echo $vis_language['TXTDISPLAYCOUNT'];?></th>
									<th></th>

						  </tr>
					 </thead>
					 <tbody>
					   <? 
							  for($i=0;$i<count($download_list);$i++) { 
											
									  echo '<tr>';
									  echo '<td class="txt_nowrap"> <a href="javascript:void(0);" data-toggle="ajaxModal" data-modal-arguments="vis_module=report&vis_operation=edit_schedule_report_inqueue&vis_rschedule_id='.$download_list[$i]['rschedule_id'].'" onclick="" type="button">'.$download_list[$i]['report_title'].'</a></td>';	
									  echo '<td class="txt_nowrap"> <a href="javascript:void(0);" data-toggle="ajaxModal" data-modal-arguments="vis_module=report&vis_operation=edit_schedule_report_inqueue&vis_rschedule_id='.$download_list[$i]['rschedule_id'].'" onclick="" type="button">'.format_datetime(($download_list[$i]['start_date']) - (VIS_TIMEZONE)).'</a></td>';
									  echo '<td class="txt_nowrap"> <a href="javascript:void(0);" data-toggle="ajaxModal" data-modal-arguments="vis_module=report&vis_operation=edit_schedule_report_inqueue&vis_rschedule_id='.$download_list[$i]['rschedule_id'].'" onclick="" type="button">'.format_datetime(($download_list[$i]['end_date']) - (VIS_TIMEZONE)).'</a></td>';
									  if($download_list[$i]['schedule_type']==0)
									  {
										  $once="Once";
									  echo '<td class="txt_nowrap"><a href="javascript:void(0);" data-toggle="ajaxModal" data-modal-arguments="vis_module=report&vis_operation=edit_schedule_report_inqueue&vis_rschedule_id='.$download_list[$i]['rschedule_id'].'" onclick="" type="button">'.$once.'</a></td>';
									  }elseif($download_list[$i]['schedule_type']==1)
									  {
										  $daily="Daily";
									  echo '<td class="txt_nowrap"><a href="javascript:void(0);" data-toggle="ajaxModal" data-modal-arguments="vis_module=report&vis_operation=edit_schedule_report_inqueue&vis_rschedule_id='.$download_list[$i]['rschedule_id'].'" onclick="" type="button">'.$daily.'</a></td>';
									  }elseif($download_list[$i]['schedule_type']==2) 
									  {
										  $week="Weekly";
									  echo '<td class="txt_nowrap"><a href="javascript:void(0);" data-toggle="ajaxModal" data-modal-arguments="vis_module=report&vis_operation=edit_schedule_report_inqueue&vis_rschedule_id='.$download_list[$i]['rschedule_id'].'" onclick="" type="button">'.$week.'</a></td>';
									  }elseif($download_list[$i]['schedule_type']==3)
									  {
										  $month="Monthly";
									  echo '<td class="txt_nowrap"><a href="javascript:void(0);" data-toggle="ajaxModal" data-modal-arguments="vis_module=report&vis_operation=edit_schedule_report_inqueue&vis_rschedule_id='.$download_list[$i]['rschedule_id'].'" onclick="" type="button">'.$month.'</a></td>';
									  }elseif($download_list[$i]['schedule_type']==4)
									  {
										  $quater="Quaterly";
									  echo '<td class="txt_nowrap"><a href="javascript:void(0);" data-toggle="ajaxModal" data-modal-arguments="vis_module=report&vis_operation=edit_schedule_report_inqueue&vis_rschedule_id='.$download_list[$i]['rschedule_id'].'" onclick="" type="button">'.$quater.'</a></td>';
									  }elseif($download_list[$i]['schedule_type']==5)
									  {
										  $year="Yearly";
									  echo '<td class="txt_nowrap"><a href="javascript:void(0);" data-toggle="ajaxModal" data-modal-arguments="vis_module=report&vis_operation=edit_schedule_report_inqueue&vis_rschedule_id='.$download_list[$i]['rschedule_id'].'" onclick="" type="button">'.$year.'</a></td>';
									  }
									   echo '<td class="txt_nowrap">'.$download_list[$i]['total_recurrence'].'</td>';
									   echo '<td align="center"> <a class="text-muted" href="javascript:void(0);" data-toggle="ajaxModal" data-modal-arguments="vis_module=report&vis_operation=delete_schedule_queue_link&vis_rschedule_id='.$download_list[$i]['rschedule_id'].'" title="'.$vis_language['TXTDELETE'].'"><i class="vh vh-delete-round"></a></td>';
									  
									  echo '</tr>';
							  }
							  ?>
					 </tbody>		   
				 </table>
			   </div>
		
