<!-- 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>
                    <div class="portlet-body form">
                        <!-- BEGIN FORM-->
                        <form action="{$hosturl}/{$controllname}/addit" method="post" id="theform" class="form-horizontal" enctype="multipart/form-data">
                            <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">
                                    <label class="col-md-2 control-label" style="text-align: right">الاسم </label>
                                    <div class="col-md-8">
                                        <input type="text" class="form-control" placeholder="الاسم" name="title" id="title" minlength="2">
                                    </div>
                                    <span class="help-block help-block-error" id="showerrortitle" style="color: #F3565D"></span>
                                </div>
                                <div class="form-group">
                                    <label class="col-md-2 control-label" style="text-align: right">Name </label>
                                    <div class="col-md-8">
                                        <input type="text" class="form-control" placeholder="Name" name="title_en" id="title_en" minlength="2">
                                    </div>
                                    <span class="help-block help-block-error" id="showerrortitle_en" style="color: #F3565D"></span>
                                </div>
                                <div class="form-group">
                                    <label class="col-md-2 control-label" style="text-align: right">السعر </label>
                                    <div class="col-md-8">
                                        <input type="text" class="form-control" placeholder="السعر" name="price" id="price" number="true" required>
                                    </div>
                                    <span class="help-block help-block-error" id="showerrorprice" style="color: #F3565D"></span>
                                </div>
                                <div class="form-group">
                                    <label class="col-md-2 control-label" style="text-align: right">السعر قبل الخصم </label>
                                    <div class="col-md-8">
                                        <input type="text" class="form-control" placeholder="السعر قبل الخصم " name="price_without_discount" id="price_without_discount" number="true">
                                    </div>
                                    <span class="help-block help-block-error" id="showerrorprice_without_discount" style="color: #F3565D"></span>
                                </div>
                                <div class="form-group">
                                    <label class="col-md-2 control-label" style="text-align: right">عدد الافراد </label>
                                    <div class="col-md-8">
                                        <input type="text" class="form-control" placeholder="عدد الافراد" name="no_of_persons" id="no_of_persons" number="true" required>
                                    </div>
                                    <span class="help-block help-block-error" id="showerrorno_of_persons" style="color: #F3565D"></span>
                                </div>
                                <div class="form-group">
                                    <label class="col-md-2 control-label" style="text-align: right">المساحة </label>
                                    <div class="col-md-8">
                                        <input type="text" class="form-control" placeholder="المساحة " name="storage" id="storage" number="true" required>
                                    </div>
                                    <span class="help-block help-block-error" id="showerrorstorage" style="color: #F3565D"></span>
                                </div>
                                <div class="form-group">
                                    <label class="col-md-2 control-label" style="text-align: right">مقياس المساحة </label>
                                    <div class="col-md-8">
                                        <div class="radio-list">
                                            <label class="radio-inline">
                                                <input type="radio" name="storage_unit" id="storage_unit0" value="0" checked> ميجا بايت </label>
                                            <label class="radio-inline">
                                                <input type="radio" name="storage_unit" id="storage_unit1" value="1"> جيجا بيت </label>
                                        </div>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-md-2 control-label" style="text-align: right">نوع الاشتراك </label>
                                    <div class="col-md-8">
                                        <div class="radio-list">
                                            <label class="radio-inline">
                                                <input type="radio" name="subscription" id="subscription0" value="0" checked> مجانى</label>
                                            <label class="radio-inline">
                                                <input type="radio" name="subscription" id="subscription1" value="1"> مدفوع </label>
                                        </div>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-md-2 control-label" style="text-align: right">طريقة الدفع </label>
                                    <div class="col-md-8">
                                        <div class="radio-list">
                                            <label class="radio-inline">
                                                <input type="radio" name="pay_method" id="pay_method0" value="0" checked>تجريبي </label>
                                            <label class="radio-inline">
                                                <input type="radio" name="pay_method" id="pay_method1" value="1">سنوي  </label>
                                            <label class="radio-inline">
                                                <input type="radio" name="pay_method" id="pay_method2" value="2">نصف سنوي  </label>
                                            <label class="radio-inline">
                                                <input type="radio" name="pay_method" id="pay_method3" value="3">شهري  </label>
                                        </div>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label class="col-md-2 control-label" style="text-align: right">نوع التفعيل</label>
                                    <div class="col-md-8">
                                        <div class="radio-list">
                                            <label class="radio-inline">
                                                <input type="radio" name="activation_type" id="activation_type0" value="0" checked>انتظار الموافقة </label>
                                            <label class="radio-inline">
                                                <input type="radio" name="activation_type" id="activation_type1" value="1">تفعيل مباشر  </label>
                                        </div>
                                    </div>
                                </div>

                                <div class="clearfix"></div>


                                <!--                                <div class="form-group">
                                                                    <label class="col-md-2 control-label" style="text-align: right">تفاصيل</label>
                                                                    <div class="col-md-8">
                                                                        <textarea name="content" id="content" rows="7" class="form-control ckeditor"></textarea>
                                                                    </div>
                                                                </div>
                                                                <div class="form-group">
                                                                    <label class="col-md-2 control-label" style="text-align: right">Details</label>
                                                                    <div class="col-md-8">
                                                                        <textarea name="content_en" id="content_en" rows="7" class="form-control ckeditor"></textarea>
                                                                    </div>
                                                                </div>


                                                                <div class="form-group">
                                                                    <label class="col-md-2 control-label" style="text-align: right"> صورة </label>
                                                                    <div class="col-md-8">
                                                                        <div class="clearfix"></div>
                                                                        <div class="fileinput fileinput-new" data-provides="fileinput">
                                                                            <div class="fileinput-preview thumbnail" data-trigger="fileinput" style="width: 200px; height: 150px;"></div>
                                                                            <div>
                                                                                <span class="btn default btn-file">
                                                                                    <span class="fileinput-new">استعراض</span>
                                                                                    <span class="fileinput-exists">تغيير</span>
                                                                                    <input type="file" name="slider"  accept="image/jpg, image/jpeg, image/png" class="img_cls" required>
                                                                                </span>
                                                                                <a href="#" class="btn red fileinput-exists" data-dismiss="fileinput">
                                                                                    حذف </a>
                                                                            </div>
                                                                            <div class="clearfix margin-top-10 margin-bottom-10">
                                                                                <span class="label label-danger">ملاحظة!</span> يمكنك فقط رفع صور
                                                                            </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="{$controllname}">إلغاء</button>
                                    </div>
                                </div>
                            </div>
                        </form>
                        <!-- END FORM-->
                    </div>
                </div>
            </div>
        </div>
        <!-- END PAGE CONTENT-->
    </div>
</div>
<!-- END CONTENT -->
<script src="{$path}/_assets/custom/image_validation.js"></script>