<!--BEGIN CONTENT -->
<div class="page-content-wrapper">
    <div class="page-content">
        <!-- BEGIN PAGE HEADER-->
        <h3 class="page-title">
            {$shcontrollname}
        </h3>
        <div class="page-bar">
            <ul class="page-breadcrumb">
                {$breadcrumbs}
            </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">اضافة صور ف {$shcontrollname}</span>
                        </div>
                        <div class="actions">
                            <a class="btn default btn-xs blue tooltips" href="{$hosturl}/{$controllname}/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="{$hosturl}/{$controllname}/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_{$sfile.id}" name="dataId" value="{$sfile.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>

                                                                            {foreach $category as $single}
                                                                            <option value="{$single->id}">{$single->name}</option>
                                                                            {/foreach}
                                                                        </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="{$sfile.link}" data-id="{$sfile.id}" data-colName="link">
                                            </div>
                                        </div>
                                        <button type="button" class="btn spinner-down" style="float:left" data-id="{$sfile.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="{$sfile.title}" data-id="{$sfile.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="{$sfile.title_en}" data-id="{$sfile.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="{$sfile.link}">
                                                                            </iframe>

                                                                        </div>-->
                                </div>

                                <input type="hidden" id="cat_id" name="cat_id" value="{$cat_id}" />


                            </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="{$controllname}">إلغاء</button>
                                    </div>
                                </div>
                            </div>
                        </div>

                    </form>
                </div>
            </div>
        </div>
        <!-- END PAGE CONTENT-->
    </div>
</div>
<!-- END CONTENT-->
