80 lines
3.1 KiB
PHP
80 lines
3.1 KiB
PHP
|
|
<div class="col-md-12 col-sm-12 ">
|
|
<div class="x_panel">
|
|
<div class="x_title">
|
|
<h2>Business Details </h2>
|
|
|
|
<ul class="nav navbar-right panel_toolbox">
|
|
<a href="<?php echo base_url();?>business/add_business" class="btn btn-sm btn-primary">Add Business</a>
|
|
<li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
|
|
</li>
|
|
</ul>
|
|
<div class="clearfix"></div>
|
|
</div>
|
|
<div class="x_content">
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
<div class="card-box table-responsive">
|
|
|
|
<table id="datatable" class="table table-striped table-bordered dataTable no-footer" width="100%">
|
|
<thead>
|
|
<tr class="headings">
|
|
|
|
|
|
<th class="column-title">Business Name </th>
|
|
<th class="column-title">Email </th>
|
|
<th class="column-title">Phone </th>
|
|
<th class="column-title">Address </th>
|
|
<th class="column-title">City </th>
|
|
<th class="column-title">State </th>
|
|
<th class="column-title">Pincode </th>
|
|
<th class="column-title">Country </th>
|
|
<th class="column-title">Logo </th>
|
|
<th class="column-title" >Action </th>
|
|
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<?php foreach ($tableData as $key => $value) { ?>
|
|
<tr class="even pointer">
|
|
|
|
|
|
<td class=" "> <?php echo $value->business_name; ?> </td>
|
|
<td class=" "><?php echo $value->email; ?> </td>
|
|
<td class=" "><?php echo $value->phone; ?></td>
|
|
<td class=" "><?php echo $value->address; ?></td>
|
|
<td class=" "><?php echo $value->city; ?></td>
|
|
<td class=" "><?php echo $value->state_name; ?></td>
|
|
<td class=" "><?php echo $value->pincode; ?></td>
|
|
<td class=" "><?php echo $value->country; ?> </td>
|
|
<td class=" "><?php echo $value->logo; ?> </td>
|
|
|
|
<td style=" text-align: center; font-size: 16px;">
|
|
<a href="<?php echo base_url()?>business/get_business/<?php echo md5($value->id);?>" ><i class="fa fa-pencil"></i></a>
|
|
|
|
|
|
<a href="<?php echo base_url()?>business/delete_business/<?php echo md5($value->id);?>" ><i class="fa fa-trash"></i></a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
<?php } ?>
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<br/>
|
|
|
|
<div style="display:none" id="sub-value">
|
|
|
|
</div>
|
|
|