<form class="form-horizontal" method="post" action="">
    <div class="form-group">
        <div class="col-md-12">
            <div class="input-group">
                <div class="input-group-addon">
                    <span class="fa fa-search"></span>
                </div>
                <input type="text" name="name" id="foo_filter" class="form-control" placeholder="{$_L['Search']}..."/>

            </div>
        </div>

    </div>
</form>

<table class="table table-bordered table-hover sys_table footable" data-filter="#foo_filter" data-page-size="50">
    <thead>
    <tr>
        <th>#</th>
        <th>Name</th>
        <th>Type</th>
        <th>
            Price
        </th>
        <th>Created at</th>
        {*<th class="text-right" width="120px;">{$_L['Manage']}</th>*}
    </tr>
    </thead>
    <tbody>

    {if $products}
        {foreach $products as $product}
            <tr>
                <td  data-value="{$product->id}"> {$product->id} </td>
                <td> {$product->name} </td>
                <td> {$product->type} </td>
                <td class="amount" data-a-sign="{$config['currency_code']}">{if $product->price != ''}{$product->price} {else} 0.00 {/if}</td>
                <td data-value="{strtotime($product->date_created)}">{date( $config['df'], strtotime($product->date_created))}</td>

                {*<td class="text-right">*}
                    {*<a href="{$product->permalink}" target="_blank" class="btn btn-primary">View</a>*}
                {*</td>*}

            </tr>
        {/foreach}
    {/if}

    </tbody>

    <tfoot>
    <tr>
        <td colspan="8">
            <ul class="pagination">
            </ul>
        </td>
    </tr>
    </tfoot>

</table>