<?php /* Smarty version Smarty-3.1.11, created on 2019-06-09 12:41:27
         compiled from "..\views\aw_ar\voting\add.html" */ ?>
<?php /*%%SmartyHeaderCode:271885cfce257cff2c9-45267237%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '7cfaf3c9082fcf651deacb232123e2a5aba5b03e' => 
    array (
      0 => '..\\views\\aw_ar\\voting\\add.html',
      1 => 1560069650,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '271885cfce257cff2c9-45267237',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'shcontrollname' => 0,
    'breadcrumbs' => 0,
    'hosturl' => 0,
    'controllname' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_5cfce257d70bd6_19436761',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5cfce257d70bd6_19436761')) {function content_5cfce257d70bd6_19436761($_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" enctype="multipart/form-data"  id="myform">
                            <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="alert alert-warning display-hide" id="showerrorname">
                                    <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-info"></i>
                                        </span>
                                        <input type="text" class="form-control"  placeholder="السؤال" id="question" name="question" required="required" minlength="3" maxlength="50">
                                        <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-info"></i>
                                        </span>
                                        <input type="text" class="form-control"  placeholder="السؤال بالانجليزى" id="question_en" name="question_en" required="" minlength="3" maxlength="50">
                                        <label for="form_control_1">السؤال بالانجليزى</label>
                                    </div>
                                </div>
                                <div class="col-md-12">
                                    <h5 class="pull-left">الاجابات</h5>
                                    <button type="button" class="btn blue-madison pull-right myplusbtn" id="answer_btn">اضافه اجابة</button>
                                </div>
                                <div class="clearfix"></div>
                                <br/>


                                <ul class="list-group plusitemprop" id="plusitemprop">
                                    <li class="list-group-item row nomargin">
                                        <div class="form-group col-md-5">
                                            <label class="col-md-1 control-label">الاجابة</label>
                                            <div class="col-md-11">
                                                <div class="input-icon right" style="margin-right: 10px;">
                                                    <i class="fa fa-font"></i>
                                                    <input type="text" class="form-control" placeholder="الاجابة" name="ans1" required>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="form-group col-md-5">
                                            <label class="col-md-1 control-label">Answer</label>
                                            <div class="col-md-11">
                                                <div class="input-icon right" style="margin-right: 23px;">
                                                    <i class="fa fa-font"></i>
                                                    <input type="text" class="form-control" placeholder="Answer" name="ans_en1" required>
                                                </div>
                                            </div>
                                        </div>
                                    </li>
                                </ul>
                                <input type="hidden" id="itr" name="itr" value="1" />

                                <!--</div>-->
                                <div class="form-actions">
                                    <div class="row">
                                        <div class="col-md-offset-3 col-md-4">
                                            <button type="submit" id="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 }} ?>