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

        <ol class="breadcrumb">
            <li><a href="#">استيراد السيارات</a></li>
            <li><a href="importContractController.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="importContractController.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="importContractController.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="clientid" data-join="clientid" data-search="clientid">
                                <option value=""></option>
                                {foreach $allClients as $single}
                                <option value="{$single.clientid}">{$single.clientname}</option>
                                {/foreach}
                            </select>
                    </div>
                </div>
            </form>
            <hr />

            <table class="table table-black" id="getajaxdata" {if $show==2 }
                data-controll="importContractController.php?do=showajax2" {else}
                data-controll="importContractController.php?do=showajax" {/if}>
                <thead>
                    <tr>
                        <th style="width:50px;">م</th>
                        <th>العميل</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>