| Server IP : 94.136.191.34 / Your IP : 216.73.216.25 Web Server : Apache System : Linux hostpanel.netbiz.in 5.15.0-130-generic #140-Ubuntu SMP Wed Dec 18 17:59:53 UTC 2024 x86_64 User : omkar.com_6nnuz6y629h ( 10087) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system,proc_open,popen MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/vhosts/omkar.com/httpdocs/application/views/admin05apr2019/partner_us/ |
Upload File : |
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-header">
<h3 class="box-title"><?php echo $form_title;?></h3>
</div>
<!-- /.box-header -->
<div class="box-body">
<table id="example1" class="table table-bordered table-striped">
<thead>
<tr>
<th>#</th>
<th>Name</th>
<th>Location</th>
<th>identity</th>
<th>Email_id</th>
<th>property_state</th>
<th>Mobile No</th>
<th>View Details</th>
<th>Created date</th>
</tr>
</thead>
<tbody>
<?php $i=1;
foreach ($info as $row) { ?>
<tr>
<td><?php echo $i;?></td>
<td><?php echo $row['name'];?></td>
<td><?php echo $row['property_city'];?></td>
<td><?php echo $row['identity'];?></td>
<td><?php echo $row['email_id'];?></td>
<td><?php echo $row['property_state'];?></td>
<td><?php echo $row['mobile_no'];?></td>
<td><a href="<?php echo base_url().'admin/home/partner_us_details/'.$row['id']?>">Details</a></td>
<td><?php echo $row['created_date'];?></td>
</tr>
<?php $i++;} ?>
</tfoot>
</table>
</div>
<!-- /.box-body -->
</div>
</div>
</div>
<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="myModalLabel">Delete</h4>
</div>
<div class="modal-body">
<p>You are about to delete.</p>
<p>Do you want to proceed?</p>
</div>
<div class="modal-footer">
<button type="button" id="delete" class="btn btn-primary">Yes</button>
<button type="button" class="btn btn-default" data-dismiss="modal">No</button>
</div>
</div>
</div>
</div>
<script>
$(document).ready(function(){
$(document).on('click', '.remove_levels', function (e) {
var contact_id = $(this).attr("contact-id");
var base_url = "<?php echo base_url();?>";
$(document).on('click', '#delete', function (e) {
$(location).attr('href', base_url+'admin/home/delete_contact/'+contact_id);
});
});
});
</script>