['topicsUpdate',"webmasterId"=>$WebmasterSection->id,"id"=>$Topics->id],'method'=>'POST', 'files' => true])); ?>
date_status): ?>
date, array('placeholder' => '','class' => 'form-control','id'=>'date')); ?>
expire_date_status): ?>
sections_status!=0): ?>
section_id); ?>
longtext_status): ?>
editor_status): ?>
type==2): ?>
type==3): ?>
icon_status): ?>
attach_file_status): ?>
customFields) >0): ?>
customFields; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $customField): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
$cf_title_var != "") {
$cf_title = $customField->$cf_title_var;
} else {
$cf_title = $customField->$cf_title_var2;
}
// check field language status
$cf_land_identifier = "";
$cf_land_active = false;
$cf_land_dir = trans('backLang.direction');
if (Helper::GeneralWebmasterSettings("ar_box_status") && Helper::GeneralWebmasterSettings("he_box_status")) {
if ($customField->lang_code == "ar") {
$cf_land_identifier = trans('backLang.arabicBox');
} elseif ($customField->lang_code == "en") {
$cf_land_identifier = trans('backLang.englishBox');
} elseif ($customField->lang_code == "he") {
$cf_land_identifier = trans('backLang.hebrewBox');
}
}
if (Helper::GeneralWebmasterSettings("ar_box_status") && $customField->lang_code == "ar") {
$cf_land_active = true;
$cf_land_dir = "rtl";
}
if (Helper::GeneralWebmasterSettings("he_box_status") && $customField->lang_code == "he") {
$cf_land_active = true;
$cf_land_dir = "rtl";
}
if (Helper::GeneralWebmasterSettings("en_box_status") && $customField->lang_code == "en") {
$cf_land_active = true;
$cf_land_dir = "ltr";
}
if ($customField->lang_code == "all") {
$cf_land_active = true;
}
// required Status
$cf_required = "";
if ($customField->required) {
$cf_required = "required";
}
$cf_saved_val = "";
$cf_saved_val_array = array();
if (count($Topics->fields) > 0) {
foreach ($Topics->fields as $t_field) {
if ($t_field->field_id == $customField->id) {
if ($customField->type == 7) {
// if multi check
$cf_saved_val_array = explode(", ", $t_field->field_value);
} else {
$cf_saved_val = $t_field->field_value;
}
}
}
}
?>
type ==12): ?>
type ==11): ?>
type ==10): ?>
type ==9): ?>
type ==8): ?>
type ==7): ?>
type ==6): ?>
type ==5): ?>
type ==4): ?>
type ==3): ?>
type ==2): ?>
type ==1): ?>
popLoop(); $loop = $__env->getLastLoop(); ?>