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

        <ol class="breadcrumb">
            <li><a href="#">المنتجات</a></li>
            <li><a href="productShapeController.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="{$youtubes[198]->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="productShapeController.php" class="hidden-print"><input type="button" id="submit"
                        style="margin-left: 12px" class="btn btn-primary pull-left " value="إضافة جديد" /></a>
            </div>

            <hr />
            <table class="display table-black" id="example" style="text-align: center">
                <thead>
                    <th style="text-align: center">
                        الرقم
                    </th>
                    <th style="text-align: center"> الاسم </th>
                    <th style="text-align: center"> شكل المنتج </th>
                    <th style="text-align: center"> اسم المستخدم </th>
                    <th style="text-align: center">تعديل</th>
                    <th style="text-align: center">حذف </th>
                </thead>
                <tbody>
                    {foreach $showData as $data}
                    <tr style="text-align: center">
                        <td>{$data.id}</td>
                        <td>{$data.name}</td>
                        <td>{if $data.shape eq 'box'}علبة{else}برطمان{/if}</td>
                        <td>{$data.username}</td>
                        <td class="btn_showm_edit">
                            <a href="productShapeController.php?do=edit&id={$data.id}" type="button"
                                class="btn btn-default btn-lg editicon"></a>
                        </td>
                        <td>
                            <a href="#" type="button" class="btn btn-default btn-lg removeicon conformdel1"
                                data-position="productShapeController.php?do=del&id={$data.id}"></a>
                        </td>
                    </tr>
                    {/foreach}
                </tbody>
            </table>
            <div class="clearfix"></div>
        </div>
    </div>
</div>

<!-- Modal -->
<div class="hidden-print">
    <div class="modal fade " id="myModal1" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
        aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close pull-left" data-dismiss="modal"
                        aria-hidden="true">&times;</button>
                    <div class="modal-title">تأكيد حذف شكل المنتج</div>
                </div>
                <div class="modal-body"> هل تريد حذف هذا الشكل </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">لا</button>
                    <button type="button" class="btn btn-primary savemodel1">نعم</button>
                </div>
            </div>
            <!-- /.modal-content -->
        </div>
        <!-- /.modal-dialog -->
    </div>
</div>
<!-- /.modal -->