<?php /* Smarty version Smarty-3.1.11, created on 2018-06-24 16:58:08
         compiled from "../views/default/generateserial/show.html" */ ?>
<?php /*%%SmartyHeaderCode:980840578583d51941f17f9-16344646%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '4f39dcd6101d39c2ff8a333582b483665137acb5' => 
    array (
      0 => '../views/default/generateserial/show.html',
      1 => 1529848234,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '980840578583d51941f17f9-16344646',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_583d519436b162_59725115',
  'variables' => 
  array (
    'allData' => 0,
    'data' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_583d519436b162_59725115')) {function content_583d519436b162_59725115($_smarty_tpl) {?>
<div class="row">
    <div class="container">

        <ol class="breadcrumb">
            <li><a href="#">ترخيص جهاز</a></li>
            <li><a href="generateserial.php">ترخيص جهاز</a></li>
            <li class="active">اضافة ترخيص جهاز</li>
        </ol>




        <div class="panel panel-default">
            <!-- Default panel contents -->
            <div class="panel-heading">عرض الرخص</div>
            <div class="panel-body">
                <table class="table">
                    <thead>
                        <tr>
                            <th>رقم النسخه "الجهاز"</th>
                            <th>عدد المستخدمين</th>
                            <th>تزامن اليوزر</th>
                            <th>مدة التزامن بالدقائق</th>
                            <th>اسم صاحب الجهاز</th>
                            <th>الترخيص حتى</th>
                            <th>اسم الموظف</th>
                            <th>تعديل</th>
                        </tr>
                    </thead>
                    <tbody>
                        <?php  $_smarty_tpl->tpl_vars['data'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['data']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['allData']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['data']->key => $_smarty_tpl->tpl_vars['data']->value){
$_smarty_tpl->tpl_vars['data']->_loop = true;
?>
                        <tr>
                            <td><?php echo $_smarty_tpl->tpl_vars['data']->value->deviceid;?>
</td>
                            <td><?php echo $_smarty_tpl->tpl_vars['data']->value->userno;?>
</td>
                            <td><?php if ($_smarty_tpl->tpl_vars['data']->value->syncusers=="0"){?>نعم<?php }else{ ?>لا<?php }?></td>
                            <td><?php echo $_smarty_tpl->tpl_vars['data']->value->synctime;?>
</td>
                            <td><?php echo $_smarty_tpl->tpl_vars['data']->value->clientname;?>
</td>
                            <td><?php echo $_smarty_tpl->tpl_vars['data']->value->dateto;?>
</td>
                            <td><?php echo $_smarty_tpl->tpl_vars['data']->value->userName;?>
</td>
                            <td class="hidden-print"><a href="generateserial.php?do=edit&id=<?php echo $_smarty_tpl->tpl_vars['data']->value->id;?>
" type="button" class="btn btn-default btn-lg editicon"></a></td>
                        </tr>
                        <?php } ?>


                    </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" 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 -->


<?php }} ?>