<table></table>
<table class="table table-bordered tab-content">
    <thead>
    <tr>
		<?php foreach ($this->header as $filed_name) { ?>
            <th><?php wpbookingpro_render_content($filed_name) ?></th>
		<?php } ?>
    </tr>
    </thead>
    <tbody>
	<?php foreach ($this->list as $item) { ?>
        <tr>
			<?php foreach ($this->header as $filed_name) { ?>
                <td><?php wpbookingpro_render_content($item->$filed_name) ?></td>
			<?php } ?>
        </tr>
	<?php } ?>
    </tbody>
</table>