<table width = "100%">
			<?php  if(!isset($operation['vis_page'])) { ?>
				<thead class="table_head">
					<tr class="b-b">
						<th style="height:40px;" width = "30%"><?php echo $vis_language['TXTTITLE']; ?></th>
						<th style="height:40px;" width = "40%"><?php echo $vis_language['TXTDESCRIPTION'];
								?></th>	
						<th style="height:40px;" width = "15%"><?php echo $vis_language['TXTSTATUS']; ?></th>
						<th style="height:40px;" width = "15%"><?php echo $vis_language['TXTPRIORITY']; ?></th>									
					</tr>
				</thead>
			<?php } ?>
				<tbody>
					<?php
					for($i=0;$i<count($vt_ticket_records);$i++){ 
						$rec_arr = explode('x',$vt_ticket_records[$i]['id']);
						$rec_url = $ticket_url.$rec_arr[1];
					 ?>
					<tr class="b-b">
						<td style="height:40px;"><a target="_blank" href="<?php echo $rec_url; ?>" ><?php echo substr($vt_ticket_records[$i][$ticket_title],0,20); ?></a></td>
						<td style="height:40px;"><a target="_blank" href="<?php echo $rec_url; ?>" > <?php echo substr($vt_ticket_records[$i]['description'],0,20); ?></a></td>							
						<td style="height:40px;"><a target="_blank" href="<?php echo $rec_url; ?>" ><?php echo substr($vt_ticket_records[$i][$ticketstatus],0,20); ?></a></td>	
						<td style="height:40px;"><a target="_blank" href="<?php echo $rec_url; ?>" ><?php echo substr($vt_ticket_records[$i][$ticketpriority],0,20); ?></a></td>	
						
					</tr>
					<? } ?>						
			    </tbody>
				</table>
				<?php 			
				$load_more_id = (isset($operation['vis_page']))?"load_more_".($operation['vis_page']+1):"load_more_1";
					  $page = ($page!='')?$page:"1";
				?>
				<div id="<?php echo $load_more_id; ?>"><br/>
				<?php if($vt_ticket_records!=-1){ ?>
				<a id="load_more" class="link" href="#" onclick="$('#<?php echo $load_more_id; ?>').visExecution('load_operations',{'vis_module':'ticket', 'vis_operation':'lm_vtiger_ticket','vis_domain':'<?php echo $operation['vis_domain']; ?>','vis_ticketid':'<?php echo $operation['vis_ticketid']; ?>','vis_page':'<?php echo $page; ?>','temp_id':'<?php echo  $vt_acc_list[0]['integration_id']; ?>','vis_integration_id':$('#vis_vt_user').val()});$('#load_more').button('loading');">Load more</a><br/>
				<?php } ?>
				</div>