<div class="row">
    <div class="container">

        <ol class="breadcrumb">
            <li><a href="#">استيراد السيارات</a></li>
            <li><a href="carController.php?do=show">كنترول السيارات</a></li>
            <li class="active">عرض </li>
        </ol>
        <div class="panel panel-default panel-m">
            <!-- Default panel contents -->
            <div class="panel-heading" style="padding:5px 15px 15px">
                <h3 class="panel-title" style="display: inline-block;"> عرض </h3>
                <a href="carController.php" class="hidden-print"><input type="button" id="submit"
                        class="btn btn-primary pull-left " value="إضافة جديد" /></a>
            </div>

            <hr />

            <form class="form-inline hidden-print" method="post" action="carController.php?do=show">
                <div class="form-group">
                    <label class="sr-only">من التاريخ</label>
                    <input type="text" class="form-control awdatepicker searchdata" autocomplete="off"
                        data-date-format="yyyy-mm-dd" id="start_date" value="">
                </div>
                <div class="form-group">
                    <label class="sr-only">إلى التاريخ</label>
                    <input type="text" class="form-control awdatepicker searchdata" autocomplete="off"
                        data-date-format="yyyy-mm-dd" id="end_date" value="">
                </div>

                <div class="form-group">
                    <label class="sr-only">المنتج</label>
                    <div style="width: 400px;">
                            <select name="data1" data-placeholder="المنتج " class="searchdata selectnew"
                                data-table="client" data-tablecol="productid" data-join="productid" data-search="productid">
                                <option value=""></option>
                                {foreach $allProducts as $single}
                                <option value="{$single.productid}">{$single.productName}</option>
                                {/foreach}
                            </select>
                    </div>
                </div>
            </form>
            <hr />

            <table class="table table-black" id="getajaxdata" {if $show==2 }
                data-controll="carController.php?do=showajax2" {else}
                data-controll="carController.php?do=showajax" {/if}>
                <thead>
                    <tr>
                        <th style="width:50px;">م</th>
                        <th>المنتج</th>
                        <th>تاريخ الإضافة</th>
                        <th class="noprint">تعديل</th>
                        <th class="noprint">حذف</th>                   
                    </tr>
                </thead>
                <tbody>

                </tbody>
            </table>
            <div class="clearfix"></div>
        </div>
    </div>
</div>