
<div class="row">
    <div class="container">
        <ol class="breadcrumb">
            <li><a href="#">خصائص عامة</a></li>
            <li><a href="clientareaController.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="clientareaController.php" class="hidden-print"><input type="button"  id="submit"  class="btn btn-primary pull-left " value="إضافة جديد"/></a>
            </div>
            <div class="panel-body">
                <div id="outputString" class="alert alert-block alert-success fade in hidden-print" 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>

            <!-- Table -->
            {literal}

            {/literal}
            <table class="table table-black">
                <thead>
                    <tr>

                        <th>اسم الشركة</th>
                         <th> العلامه</th>
                        <th class="hidden-print">تعديل</th>

                        <th class="hidden-print">حذف</th>
                    </tr>
                </thead>
                <tbody>

                    {foreach $clientareaData as $clientarea}


                    <tr>

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

                        <td class="hidden-print"> <a href="#" name="dd" type="button" class="btn btn-default btn-lg deleteicon conformdel1" data-position="clientareaController.php?do=delete&id={$clientarea->id}" ></a> </td>
                    </tr>
                    {/foreach}

                </tbody>

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

            </form>
        </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>
        <!-- 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>
                        <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>
        <!-- /.modal -->

    </div>
</div>
{literal}
<script type="text/javascript">
</script>
{/literal}