<table id="myTable" class="table table-bordered table-striped">
    <thead>
        <tr role="">
            <th>S.No</th>
            <th>Name</th>
            <th>Email  <br/> Phone <br/> Mobile</th>
            <th>Trading Name</th>
            <th>Company Name</th>
            <th>Site Name <br/> Site Title <br/> Site Url</th>
            <th>Status</th>
            <th>Action</th>
        </tr>
    </thead>
    <tbody>
        <?php
        if (count($dataListing) > 0) {
            $i = 1;

            foreach ($dataListing as $listing) {
                //$bookingModule   =   $this->mainMenu()->fetchBookingModule($listing['master_booking_type_id']);
                ?>
                <tr class="odd" id="main_markup">
                    <td><?php echo $i; ?></td>
                    <td><?php echo $listing['first_name'].' '.$listing['last_name']; ?></td>
                    <td><?php echo $listing['email']; ?> <br/><?php echo $listing['phone']; ?><br/><?php echo $listing['mobile']; ?></td>
                    <td><?php echo $listing['trading_name']; ?></td>
                    <td><?php echo $listing['com_name']; ?></td>
                    <td><?php echo $listing['site_name']; ?><br/><?php echo $listing['site_title']; ?><br/><?php echo $listing['site_url']; ?></td>
                    <td><div id="changestatus1" class="<?php if($listing['status']==1){ echo "aprovestatus";}else{ echo "unaprovestatus";} ?> iconsize" name="ChangeStatus" onclick="changeRecordStatus('<?php echo $listing['id']; ?>','markup','change-record-status','<?php echo $listing['status'];?>')"> </div></td>
                    <td>
                        <div class="hidden-sm hidden-xs action-buttons">
                            <a class="red pointer " title="Edit" href="<?php echo $this->url('global-settings', array('action' => 'index'), ['query' => ['id' => $listing['id']]]);
                        ?>" id="markup_edit"> <i class="ace-icon fa fa-edit bigger-130"></i> </a>
                        <a class="red" href="<?php echo $this->url('global-settings', array('action' => 'delete-markup'), array('query' => array('data' => $listing['id']))); ?>" title="Delete"> <i class="ace-icon fa fa-trash-o bigger-130"></i> </a>

                             </div>
                    </td>
                </tr>
                <?php
                $i++;
            }
        } else {
            ?>
            <tr><td colspan="13" class="red">No Record Found</td></tr>
<?php } ?>
    </tbody>
</table>


<div class="modal fade" id="markup-history" role="dialog">
    <div class="modal-dialog modal-dialogprint">
        <div class="modal-content">
            <div class="modal-dialog">
        <!-- Modal content-->
        <div class="modal-content">  
        </div>
    </div>
        </div>
    </div>
</div>