<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['TXTCLOSEDATE'];
								?></th>							
						<th style="height:40px;" width = "15%"><?php echo $vis_language['TXTSALSESTAGE']; ?></th>	
						<th style="height:40px;" width = "15%"><?php echo $vis_language['TXTASSIGNEDTO']; ?></th>						
					</tr>
				</thead>
			<?php } ?>
				<tbody>
					<?php
					for($i=0;$i<count($vt_opp_records);$i++){ 
						$rec_arr = explode('x',$vt_opp_records[$i]['id']);
						$rec_url = $opp_url.$rec_arr[1];
						
						$vt_data['id'] = $vt_opp_records[$i]['assigned_user_id'];
						$ret_rec = $setting_object->get_vtiger('retrieve_record',$vt_data);						
					 ?>
					<tr class="b-b">
						<td style="height:40px;"><a target="_blank" href="<?php echo $rec_url; ?>" ><?php echo substr($vt_opp_records[$i]['potentialname'],0,20); ?></a></td>
						<td style="height:40px;"><a target="_blank" href="<?php echo $rec_url; ?>" > <?php echo substr($vt_opp_records[$i]['closingdate'],0,20); ?></a></td>						
						<td style="height:40px;"><a target="_blank" href="<?php echo $rec_url; ?>" ><?php echo substr($vt_opp_records[$i]['sales_stage'],0,20); ?></a></td>	
						<td style="height:40px;"><a target="_blank" href="<?php echo $rec_url; ?>" ><?php echo substr($ret_rec['user_name'],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_opp_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_opp','vis_domain':'<?php echo $operation['vis_domain']; ?>','vis_ticketid':'<?php echo $operation['vis_ticketid']; ?>','vis_page':'<?php echo $page; ?>','vis_integration_id':$('#vis_vt_user').val()}); $('#load_more').button('loading');">Load more</a><br/>
				<?php } ?>
				</div>