

<div class="row">
    <div class="container">
        <ol class="breadcrumb">
            <li><a href="#"> العملاء</a></li>
            <li><a href="premiumautomaticController.php?do=show"> اقساط العملاء </a></li>
            <li class="active"> عرض اقساط العملاء</li>

        </ol>


        <div class="panel panel-default panel-m">
            <div class="panel-heading" style="padding:5px 15px 15px">
                <h3 class="panel-title" style="display: inline-block;">عرض اقساط العملاء</h3>
                <a href="{$youtubes[277]->url}" target="_blank" class="hidden-print"><img src="../views/default/assets/img/youtube.png" class="pull-left" alt="Youtube" style="width: 2%;"></a>
                <a href="premiumautomaticController.php" class="hidden-print"><input type="button" style="margin-left: 12px" class="btn btn-primary pull-left" value="إضافة جديد"/></a>
            </div>


            <div>
            {if $message != ""}
            {$message}
            {/if}
            </div>
        <div class="panel-body">


            <table class="table table-black" id="dataTableClass">
                <thead>
                <tr>
                    <th  class="hidden-print">
                        <input type="checkbox" name="checkAll" id="checkAll"/></th>
                    <th>اسم العميل</th>
                    <th>اسم المستخدم</th>
                    <th>التاريخ</th>
                    <th class="hidden-print">تفاصيل</th>
                    <th class="hidden-print">تعديل</th>
                    <th class="hidden-print"> حذف نهائى </th>
                </tr>
                </thead>
                <tbody>
                {assign var=i value=1}
                {foreach $allpremiums as $data}

                <tr class="noprint">
                    <td class="hidden-print">
                        <input type="checkbox" name="choosedItem[]" id="checked{$i}" class="choosenItem" value="" /></td>
                    <td>{$data->clientname}</td>
                    <td>{$data->username}</td>
                    <td>{$data->date}</td>
                    <td class="noprint"><a href="premiumautomaticController.php?do=details&id={$data->id}" type="button" class="btn btn-default btn-lg notesicon"></a></td>

                    <td class="hidden-print"> <a href="premiumautomaticController.php?do=edit&id={$data->id}" type="button" class="btn btn-default btn-lg editicon"></a> </td>

                    <td  class="hidden-print"> <a href="premiumautomaticController.php?do=delete&id={$data->id}
                                                  " name="dd" type="button" class="btn btn-default btn-lg deleteicon conformdel1" data-position=""  onClick="if (confirm(' متأكد انك تريد الحذف ؟') == false)
                                                              return false;"></a></td>

                </tr>
                {assign var="i" value=$i+1}
                {/foreach}

                </tbody>

            </table>

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


        <div  class="hidden-print">
            <div class="col-lg-12">
                <div class="form-group">
                    <div class="col-lg-4">
                        <!--<button type="button" onclick="print_Custom('mycustomheader');" class="btn btn-success pull-right">طباعة</button>-->
                    </div>
                </div>
            </div>

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

</div>

