


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

        <ol class="breadcrumb">
            <li><a href="#">العيادات</a></li>
            <li><a href="rb_clinics.php?do=show">عيادات</a></li>
            <li class="active">عرض  العيادات</li>
        </ol>






        <div class="panel panel-default panel-m">
            <!-- Default panel contents -->
            <div class="panel-heading">عرض  العيادات</div>
            <div class="panel-body">


                <div id="outputString" class="alert alert-block alert-success fade in" style="display:none">
                    <button type="button" class="close pull-left" data-dismiss="alert" aria-hidden="true">&times;</button>

                    <p id="outputStringValue">{$outputString}</p>

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



            </div>
            <hr/>



            <table class="table table-black">
                <thead>
                    <tr>

                        <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 $select as $myalldata}

                    <tr {if $myalldata->tempdel eq 1} style="background-color:rgba(198, 9, 52, 0.27);"  {/if}>



                        <td>{$myalldata->name}</td>
                        <td>{$myalldata->description}</td>




                        <td class="noprint hidden-print">
                            <a href="rb_clinics.php?do=edit&id={$myalldata->id}" class="btn btn-default btn-lg editicon"></a>
                        </td>
                        <td class="hidden-print">

                            <a href="rb_clinics.php?do=delete&id={$myalldata->id}" name="dd" type="button" class="btn btn-default btn-lg deleteicon conformdel1" data-position="menuurController.php?do=delete&id={$myalldata->menuurlid}" ></a>


                        </td>
                        <td class="hidden-print">
                            <a href="javascript:;" data-id="{$myalldata->id}" id="row{$i}"  name="dd" type="button" class="tempdel btn btn-default btn glyphicon {if $myalldata->tempdel eq 0} glyphicon-ok {else} glyphicon-remove  {/if} conformdel1" data-position="menuurController.php?do=delete&id={$myalldata->menuurlid}" ></a>
                        </td>


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


                </tbody>
            </table>





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




            <div  class="noprint">
                <div class="col-lg-12">


                    <div class="form-group">
                        <div class="col-lg-4">

                        </div>
                    </div>

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






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


        </div>



    </div>

</div>


<!-- Modal -->
<div class="modal fade hidden-print" 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>
                <h4 class="modal-title">تأكيد حذف العيادة</h4>
            </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><!-- /.modal -->

