<? global $vis_language; ?>
<table class="table table-hover b-t b-light m-b-none" data-ride="datatables">
	<thead class="table_head">
		<tr>
			<th>
				<div class="btn-group">
					<label class="checkbox m-n m-r-sm i-checks"  style="float: left;"><input type="checkbox"><i></i></label>		
				</div>
			</th>
			<th><? echo $vis_language['TXTDOMAIN']; ?></th>
			<th class="txt_nowrap"><? echo $vis_language['TXTUSERNAME']; ?></th>
			<th class="txt_nowrap"><? echo $vis_language['TXTAPI']; ?></th>
			<th class="txt_nowrap"><? echo $vis_language['TXTSTATUS']; ?></th>									
			<th></th>
		</tr>
	</thead>
	<tbody>			  
		<? for($i=0;$i<$whmcs_info['total'];$i++) {
         $status=($sms_details[$i]['is_enabled']==1)?$vis_language['TXTENABLED']:$vis_language['TXTDISABLED'];
		echo '<tr><td width="30"><label class="checkbox m-n m-r-sm i-checks"><input type="checkbox"  name="vis_global_mass_chk_'.$i.'" id="vis_global_mass_chk_'.$i.'" value="'.$sms_details[$i]['integration_id'].'" /><i></i></label></td>';
        echo '<td><a href="#/setting/sms_details/'.$sms_details[$i]['domain_name'].'/'.$sms_details[$i]['integration_id'].'">'.$sms_details[$i]['domain_name'].'</a></td>';
        echo '<td><a href="#/setting/sms_details/'.$sms_details[$i]['domain_name'].'/'.$sms_details[$i]['integration_id'].'">'.$sms_details[$i]['user_name'].'</a></td>';
        echo '<td><a href="#/setting/sms_details/'.$sms_details[$i]['domain_name'].'/'.$sms_details[$i]['integration_id'].'">'.$sms_details[$i]['host_name'].'</a></td>';
		echo '<td><a href="#/setting/sms_details/'.$sms_details[$i]['domain_name'].'/'.$sms_details[$i]['integration_id'].'">'.$status.'</a></td>';         ?>        
        <td align="center"> <a href="javascript:void(0);" title="<? echo$vis_language['TXTDELETE']; ?>" class="text-muted" data-toggle="ajaxModal" data-modal-arguments="vis_module=setting&vis_operation=get_sms_delete&vis_integration_id=<? echo $sms_details[$i]['integration_id']; ?>&vis_static_area=vis_sms_delete_form" ><i class="vh vh-delete-round"></a></td>
        <?
        echo '</tr>';
    }?>	  
			
    </tbody>
</table>