
<div class="row">
    <div class="container">
        <ol class="breadcrumb">
            <li><a href="#">خصائص عامة</a></li>
            <li><a href="knownWaysController.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="knownWaysController.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 class="hidden-print">تعديل</th>
                        <th class="hidden-print">حذف</th>
                    </tr>
                </thead>
                <tbody>

                    {foreach $knownWaysData as $knownWays}


                    <tr>

                        <td>{$knownWays->name}</td>
                        <td class="hidden-print"> <a href="knownWaysController.php?do=edit&id={$knownWays->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="knownWaysController.php?do=delete&id={$knownWays->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}