<?php /* Smarty version Smarty-3.1.11, created on 2019-06-09 12:19:17
         compiled from "..\views\aw_ar\videocategories\add.html" */ ?>
<?php /*%%SmartyHeaderCode:254145cfcdd254cae97-19799578%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'b50739b9eee730306102b25910544449eec5e25c' => 
    array (
      0 => '..\\views\\aw_ar\\videocategories\\add.html',
      1 => 1560069650,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '254145cfcdd254cae97-19799578',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'shcontrollname' => 0,
    'breadcrumbs' => 0,
    'hosturl' => 0,
    'controllname' => 0,
    'sfile' => 0,
    'category' => 0,
    'single' => 0,
    'cat_id' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.11',
  'unifunc' => 'content_5cfcdd255e0502_62824781',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5cfcdd255e0502_62824781')) {function content_5cfcdd255e0502_62824781($_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 class="actions">
                            <a class="btn default btn-xs green tooltips addnewVideo" href="javascript:;" data-container="body" data-placement="top" data-original-name="Show">
                                <i class="icon-plus"></i>
                                إضافة فيديو
                            </a>
                        </div>
                    </div>
                    <form action="<?php echo $_smarty_tpl->tpl_vars['hosturl']->value;?>
/<?php echo $_smarty_tpl->tpl_vars['controllname']->value;?>
/insertNewVideo" method="post" class="form-horizontal" id="category_form" enctype="multipart/form-data">
                        <div class="form-body">
                            <div class="portlet-body " id="videoDiv">


                                <!--<input type="hidden" id="dataId_<?php echo $_smarty_tpl->tpl_vars['sfile']->value['id'];?>
" name="dataId" value="<?php echo $_smarty_tpl->tpl_vars['sfile']->value['id'];?>
" />-->
                                <!--                                <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="">
                                                                            <option value="">اختر</option>

                                                                            <?php  $_smarty_tpl->tpl_vars['single'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['single']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['category']->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->name;?>
</option>
                                                                            <?php } ?>
                                                                        </select>
                                                                        <label for="form_control_1">الفئة</label>
                                                                    </div>
                                                                </div>-->

                                <div class="row">
                                    <div class="col-md-12">
                                        <div class="form-group col-md-12">
                                            <label class="col-md-2 control-label" style="text-align: right">رابط الفيديو</label>
                                            <div class="col-md-6">
                                                <input type="text" class="form-control linkvideo updateData" placeholder="الرابط" name="link_1" url="true"  minlength="2" value="<?php echo $_smarty_tpl->tpl_vars['sfile']->value['link'];?>
" data-id="<?php echo $_smarty_tpl->tpl_vars['sfile']->value['id'];?>
" data-colName="link">
                                            </div>
                                        </div>
                                        <button type="button" class="btn spinner-down" style="float:left" data-id="<?php echo $_smarty_tpl->tpl_vars['sfile']->value['id'];?>
">تأكيد</button>

                                        <div class="form-group col-md-12">
                                            <label class="col-md-2 control-label" style="text-align: right">عنوان الفيديو</label>
                                            <div class="col-md-6">
                                                <input type="text" class="form-control updateData" placeholder="عنوان الفيديو" name="title_1" minlength="2" value="<?php echo $_smarty_tpl->tpl_vars['sfile']->value['title'];?>
" data-id="<?php echo $_smarty_tpl->tpl_vars['sfile']->value['id'];?>
" data-colName="title">
                                            </div>
                                        </div>
                                        <div class="form-group col-md-12">
                                            <label class="col-md-2 control-label" style="text-align: right">عنوان الفيديو بالإنجليزي</label>
                                            <div class="col-md-6">
                                                <input type="text" class="form-control updateData" placeholder="عنوان الفيديو بالإنجليزي" name="title_en_1"  minlength="2" value="<?php echo $_smarty_tpl->tpl_vars['sfile']->value['title_en'];?>
" data-id="<?php echo $_smarty_tpl->tpl_vars['sfile']->value['id'];?>
" data-colName="title_en">
                                            </div>
                                        </div>
                                    </div>
                                    <input type="hidden" id="Videoitr" name="Videoitr" value="1" />

                                    <!--                                    <div class="form-group col-md-12 col-xs-offset-3 updateData" id="iframeId">
                                                                            <iframe width="420" height="315"
                                                                                    src="<?php echo $_smarty_tpl->tpl_vars['sfile']->value['link'];?>
">
                                                                            </iframe>

                                                                        </div>-->
                                </div>

                                <input type="hidden" id="cat_id" name="cat_id" value="<?php echo $_smarty_tpl->tpl_vars['cat_id']->value;?>
" />


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

                    </form>
                </div>
            </div>
        </div>
        <!-- END PAGE CONTENT-->
    </div>
</div>
<!-- END CONTENT-->
<?php }} ?>