<?php /* Smarty version Smarty-3.1.11, created on 2019-06-16 16:08:44
         compiled from "..\views\aw_ar\_menu\add.html" */ ?>
<?php /*%%SmartyHeaderCode:108305d064d6c20e791-44076329%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '8c7f897eb7b8f0be7f62ceeb314cad07024b951e' => 
    array (
      0 => '..\\views\\aw_ar\\_menu\\add.html',
      1 => 1560069651,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '108305d064d6c20e791-44076329',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'shcontrollname' => 0,
    'breadcrumbs' => 0,
    'hosturl' => 0,
    'controllname' => 0,
    'menus' => 0,
    'single' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_5d064d6c2c5a93_19123159',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5d064d6c2c5a93_19123159')) {function content_5d064d6c2c5a93_19123159($_smarty_tpl) {?><!-- BEGIN CONTENT -->
<div class="page-content-wrapper">
    <div class="page-content">
        <!-- BEGIN PAGE HEADER-->
        <h3 class="page-title">
            <?php echo $_smarty_tpl->tpl_vars['shcontrollname']->value;?>

        </h3>
        <div class="page-bar">
            <ul class="page-breadcrumb">
                <?php echo $_smarty_tpl->tpl_vars['breadcrumbs']->value;?>

            </ul>
        </div>
        <!-- END PAGE HEADER-->
        <!-- BEGIN PAGE CONTENT-->
        <div class="row">
            <div class="col-md-12">
                <div class="portlet light bg-inverse">
                    <div class="portlet-title">
                        <div class="caption">
                            <i class="icon-equalizer font-red-sunglo"></i>
                            <span class="caption-subject font-red-sunglo bold uppercase">اضافه جديد فى   <?php echo $_smarty_tpl->tpl_vars['shcontrollname']->value;?>
</span>
                        </div>
                        <div class="actions">
                            <a class="btn default btn-xs blue tooltips" href="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
/show" data-container="body" data-placement="top" data-original-title="Show">
                                <i class="icon-list"></i>
                                عرض البيانات
                            </a>
                        </div>
                    </div>
                    <div class="portlet-body form">
                        <!-- BEGIN FORM-->
                        <form action="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
/addit" method="post" class="form-horizontal" id="menu_form">
                            <div class="form-body">
                                <div class="alert alert-danger display-hide">
                                    <button class="close" data-close="alert"></button>
                                    لديك خطا فى ادخال البيانات , حاول مره اخرى
                                </div>
                                <div class="alert alert-success display-hide">
                                    <button class="close" data-close="alert"></button>
                                    لقد ادخلت بيانات صحيح
                                </div>

                                <div class="form-group form-md-line-input has-info">
                                    <div class="input-group">
                                        <span class="input-group-addon">
                                            <i class="fa fa-users"></i>
                                        </span>
                                        <input type="text" class="form-control" placeholder="العنوان" name="label">
                                        <label for="form_control_1">العنوان</label>
                                    </div>
                                </div>
                                <div class="form-group form-md-line-input has-info">
                                    <div class="input-group">
                                        <span class="input-group-addon">
                                            <i class="fa fa-envelope"></i>
                                        </span>
                                        <input type="text" class="form-control" placeholder="الرابط" name="link">
                                        <label for="form_control_1">الرابط</label>
                                    </div>
                                    <div class="alert alert-warning display-hide" id="showerroremail">
                                        <button class="close" data-close="alert"></button>
                                        يجب ان يكون الرابط مشابه لهذا : 'page/show'
                                    </div>
                                </div>

                                <div class="form-group form-md-line-input has-info">
                                    <div class="input-group">
                                        <span class="input-group-addon">
                                            <i class="fa fa-users"></i>
                                        </span>
                                        <select class="form-control input-xlarge select2me input-sm select2-offscreen noborder" data-placeholder="اختر واحد" name="parent">
                                            <option value=""></option>
                                            <option value="0">لا يوجد</option>
                                            <?php  $_smarty_tpl->tpl_vars['single'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['single']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['menus']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['single']->key => $_smarty_tpl->tpl_vars['single']->value){
$_smarty_tpl->tpl_vars['single']->_loop = true;
?>
                                            <option value="<?php echo $_smarty_tpl->tpl_vars['single']->value->id;?>
"><?php echo $_smarty_tpl->tpl_vars['single']->value->label;?>
</option>
                                            <?php } ?>
                                        </select>
                                        <label for="form_control_1">والد العنصر</label>
                                    </div>
                                </div>

                                <div class="form-group form-md-line-input has-info">
                                    <div class="input-group">
                                        <span class="input-group-addon">
                                            <i class="fa fa-envelope"></i>
                                        </span>
                                        <input type="text" class="form-control" placeholder="الاسم النشط" name="activename">
                                        <label for="form_control_1">الاسم النشط</label>
                                    </div>
                                    <div class="alert alert-warning display-hide" id="showerroremail">
                                        <button class="close" data-close="alert"></button>
                                        يستخدم لاظهر التظليل عليه
                                    </div>
                                </div>




                                <div class="form-group form-md-line-input">
                                    <label class="col-md-12" for="form_control_1">الايقونه</label>
                                    <div class="col-md-12">
                                        <div class="radio-list magtolft">
                                            <div class="radio-inline fsmglft">
                                                <input type="radio" name="menuicon" value="icon-home" checked />
                                                <i class="icon-home"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-action-redo" />
                                                <i class="icon-action-redo"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-bulb"/>
                                                <i class="icon-bulb"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-graph" />
                                                <i class="icon-graph"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-basket"/>
                                                <i class="icon-basket"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-tag" />
                                                <i class="icon-tag"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-handbag"/>
                                                <i class="icon-handbag"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-pencil" />
                                                <i class="icon-pencil"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-rocket"/>
                                                <i class="icon-rocket"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-diamond" />
                                                <i class="icon-diamond"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-puzzle"/>
                                                <i class="icon-puzzle"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-paper-plane" />
                                                <i class="icon-paper-plane"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-settings" />
                                                <i class="icon-settings"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-briefcase"/>
                                                <i class="icon-briefcase"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-wallet" />
                                                <i class="icon-wallet"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-bar-chart"/>
                                                <i class="icon-bar-chart"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-docs" />
                                                <i class="icon-docs"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-check"/>
                                                <i class="icon-check"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-envelope" />
                                                <i class="icon-envelope"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-user-following"/>
                                                <i class="icon-user-following"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-user" />
                                                <i class="icon-user"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-users"/>
                                                <i class="icon-users"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-question" />
                                                <i class="icon-question"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-calendar"/>
                                                <i class="icon-calendar"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-clock" />
                                                <i class="icon-clock"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-flag"/>
                                                <i class="icon-flag"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-speech" />
                                                <i class="icon-speech"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-link"/>
                                                <i class="icon-link"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-eye" />
                                                <i class="icon-eye"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-bell" />
                                                <i class="icon-bell"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-present"/>
                                                <i class="icon-present"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-folder" />
                                                <i class="icon-folder"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-globe"/>
                                                <i class="icon-globe"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-camera" />
                                                <i class="icon-camera"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-pointer"/>
                                                <i class="icon-pointer"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-power" />
                                                <i class="icon-power"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-star" />
                                                <i class="icon-star"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-logout"/>
                                                <i class="icon-logout"></i> </div>

                                            <div class="radio-inline">
                                                <input type="radio" name="menuicon" value="icon-envelope-open" />
                                                <i class="icon-envelope-open"></i> </div>
                                        </div>
                                    </div>
                                </div>




                            </div>
                            <div class="form-actions">
                                <div class="row">
                                    <div class="col-md-offset-3 col-md-4">
                                        <button type="submit" class="btn green">حفظ</button>
                                        <button type="button" class="btn default rtnshow" data-controll="<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
">الغاء</button>
                                    </div>
                                </div>
                            </div>
                        </form>
                        <!-- END FORM-->
                    </div>
                </div>
            </div>
        </div>
        <!-- END PAGE CONTENT-->
    </div>
</div>
<!-- END CONTENT --><?php }} ?>