Linux lionsclub 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.29 (Ubuntu)
: 161.35.52.75 | : 18.218.47.157
Cant Read [ /etc/named.conf ]
7.4.28
www-data
shells.trxsecurity.org
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
Backdoor Scanner
Backdoor Create
Alfa Webshell
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
lionsclub /
core /
storage /
framework /
views /
[ HOME SHELL ]
Name
Size
Permission
Action
.DS_Store
6
KB
-rwxrwxrwx
.gitignore
14
B
-rwxrwxrwx
008b5937edd9b174e53e1646a5ce0d...
15.84
KB
-rw-r--r--
07c110c00d54b2c8583cd2421f03bb...
2.84
KB
-rw-r--r--
08d70b51d75f252cf99a2a3c6856f6...
2.11
KB
-rw-r--r--
0fbd9d21b4804b6f88503412032921...
6.51
KB
-rw-r--r--
1296f27e38853bca97e8b7b93f37dc...
36.64
KB
-rw-r--r--
14adf53892f5d3693baba1df1f555f...
13.82
KB
-rw-r--r--
1bf4ae619d090dacfeaececae799b8...
3.57
KB
-rw-r--r--
2120c48c4a59f0772b0ad82d063e5f...
11.81
KB
-rw-r--r--
236251055489ca95d29435176fe0f1...
21.54
KB
-rw-r--r--
24299adbf7f047d335b6e7d84546e3...
8.22
KB
-rw-r--r--
24586261d94d5df4742d13af2e92d8...
12.47
KB
-rw-r--r--
28cc5ff5bf94c33bed171d78cbfc43...
9.05
KB
-rw-r--r--
2a290fb933e97de1f8266181379b22...
3.64
KB
-rw-r--r--
3568bbb274e699471217d7a0089f20...
3.83
KB
-rw-r--r--
35e9af273845db71cd209c9455c27c...
16.04
KB
-rw-r--r--
36df8396176b2fc7b0bbe1051d5110...
589
B
-rw-r--r--
38f731f2df72b28f2516393550a29c...
1.51
KB
-rw-r--r--
395c025c78382ac40a317dce37a4f0...
2.68
KB
-rw-r--r--
3a4976ee77ce024505e65e2a1ddf12...
9.87
KB
-rw-r--r--
3f1167b9293f05d7ee8b0b44634548...
5.37
KB
-rw-r--r--
4157c4eafbe9925208a7360ba1ab5d...
5.67
KB
-rw-r--r--
45306883ed5a7dd7bdaa44e33e24f3...
11.35
KB
-rw-r--r--
4ed79fadc3da932245664f21da5f11...
1.65
KB
-rw-r--r--
52f6958b8fc4d0b25630b8f884e13e...
13.67
KB
-rw-r--r--
58bb90c8e0c07835ef024b4a6b9186...
23.81
KB
-rw-r--r--
5a3dff02c99abfa5f40b767dc2fce5...
36.58
KB
-rw-r--r--
5b459cf18eba08a359785ac8df6797...
2.51
KB
-rw-r--r--
5fd2d4e5a05ccf22594e2fa160c3c6...
3.3
KB
-rw-r--r--
61b189a0c6c118dabe9d3a15f61278...
11.02
KB
-rw-r--r--
62b451decd96b94bc1598c6cb56f45...
2.36
KB
-rw-r--r--
62ec9d603501a12caf9482f0cd210a...
3.78
KB
-rw-r--r--
64e1a835b7d8c34496e77c47e9c509...
1.68
KB
-rw-r--r--
6c8cc70cc67815ec8d44b14cb5c05d...
19.42
KB
-rw-r--r--
6e1d718600bae4265bded0a5028402...
13.05
KB
-rw-r--r--
6ee8ab92661d98f08a47601548c156...
2.86
KB
-rw-r--r--
6f885e4f612642e1cbd732feda466c...
2.43
KB
-rw-r--r--
7234625885b584622526d6b686c9ac...
5.89
KB
-rw-r--r--
7462d876e3597ca2d32f1f4aa17f78...
63.92
KB
-rw-r--r--
7d7ed008610d9fb6e171762ad71bc9...
9.85
KB
-rw-r--r--
80f45e06d188171b2a220869e51620...
475
B
-rw-r--r--
8197cb9a26d8567f1fe977e2694681...
17.74
KB
-rw-r--r--
8822b4eb2e998b9b2438916413b86e...
13.89
KB
-rw-r--r--
88c249f3216fd1a9671dd1b6734d6a...
961
B
-rw-r--r--
8b79969bca59fe4932a019dd5bc25f...
44.27
KB
-rw-r--r--
8c1822bc028ac21d4923052efc1f71...
6.65
KB
-rw-r--r--
8f144c076e811d5476f75348278286...
2.77
KB
-rw-r--r--
92d3a992263e08e008f0e3e0828909...
10.97
KB
-rw-r--r--
956b0837a133ef26d2135845624c15...
15.23
KB
-rw-r--r--
96e1d567d3ffef29e421128400e441...
13.99
KB
-rw-r--r--
98286a00b307aadd3d8042f93846e3...
4.34
KB
-rw-r--r--
9c5f7ef4fd68671e16657aa8a8af0d...
26.36
KB
-rw-r--r--
a7bb510e626bc429fbcd3b57197e1c...
26.26
KB
-rw-r--r--
ad922416b2d02390bd0a3ba3c9b0d4...
7.75
KB
-rw-r--r--
b15a03b2f78c70115a84aa6a4f20c7...
5.36
KB
-rw-r--r--
bb2de14bad0b95c3f47a8c9f92c953...
8.44
KB
-rw-r--r--
bcf2630c4fcb56a507a204cd598943...
3.86
KB
-rw-r--r--
bdb86aab28529b93529350aee16e3a...
12.86
KB
-rw-r--r--
bdeed3ac15f7f62a2b9543c901954a...
7.3
KB
-rw-r--r--
c2a99dbc0319561a4e6296adf1203b...
467
B
-rw-r--r--
c5ed5d81bfc98d310e2389d6a1c003...
28.18
KB
-rw-r--r--
c7dc0f1f96a2a633e26d14c3020916...
2.91
KB
-rw-r--r--
c91d62b45be597d0069b07f34d5b9a...
3.14
KB
-rw-r--r--
cec14ddbbfbeda4057fe6ddfe7b4e1...
2.59
KB
-rw-r--r--
cedfdf91f7434bcffd5c1d40b91f84...
20.74
KB
-rw-r--r--
d5fef72b308e5142ef6707deed094b...
23.32
KB
-rw-r--r--
d642b8d192131956b5e5de10542508...
8.68
KB
-rw-r--r--
d87614b675c9a6f87a721122b39b2f...
6.16
KB
-rw-r--r--
d955a607b78f2a10725dda246ef4c1...
2.63
KB
-rw-r--r--
e0c25a3a5f8a7cf65cbf2d2bada229...
6.97
KB
-rw-r--r--
e5e91ee74e425ddb47f9c68ebeccab...
657
B
-rw-r--r--
e78c142b8078936a02b38b70f41bfe...
10.88
KB
-rw-r--r--
ef54808b5619fbeb990e4638728d6d...
20.91
KB
-rw-r--r--
f20adb15e815562c30d701d189bda7...
42.66
KB
-rw-r--r--
f2d5ea8e523c4ade220a1582a38ebd...
41.34
KB
-rw-r--r--
ff2cc503bbe683edaffd7d0ac53f43...
50.45
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : 8b79969bca59fe4932a019dd5bc25f0c4705d841.php
<?php $title_var = "title_" . @Helper::currentLanguage()->code; $title_var2 = "title_" . env('DEFAULT_LANGUAGE'); if ($WebmasterSection->$title_var != "") { $WebmasterSectionTitle = $WebmasterSection->$title_var; } else { $WebmasterSectionTitle = $WebmasterSection->$title_var2; } ?> <?php $__env->startSection('title', $WebmasterSectionTitle); ?> <?php $__env->startPush("after-styles"); ?> <link href="<?php echo e(asset("assets/dashboard/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->stopPush(); ?> <?php $__env->startSection('content'); ?> <div class="padding"> <div class="box"> <div class="box-header dker"> <?php $title_var = "title_" . @Helper::currentLanguage()->code; $title_var2 = "title_" . env('DEFAULT_LANGUAGE'); if ($WebmasterSection->$title_var != "") { $WebmasterSectionTitle = $WebmasterSection->$title_var; } else { $WebmasterSectionTitle = $WebmasterSection->$title_var2; } ?> <h3><i class="material-icons"> </i> <?php echo e(__('backend.topicNew')); ?> <?php echo $WebmasterSectionTitle; ?> </h3> <small> <a href="<?php echo e(route('adminHome')); ?>"><?php echo e(__('backend.home')); ?></a> / <a><?php echo $WebmasterSectionTitle; ?></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 __('backend.topicDate'); ?> </label> <div class="col-sm-10"> <div class="form-group"> <div class='input-group date' ui-jp="datetimepicker" ui-options="{ format: '<?php echo e(Helper::jsDateFormat()); ?>', 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',Helper::formatDate(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 __('backend.expireDate'); ?> </label> <div class="col-sm-10"> <div class="form-group"> <div class='input-group date' ui-jp="datetimepicker" ui-options="{ format: '<?php echo e(Helper::jsDateFormat()); ?>', 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 __('backend.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_" . @Helper::currentLanguage()->code; $title_var2 = "title_" . env('DEFAULT_LANGUAGE'); $t_arrow = "»"; ?> <?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 $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 $ftitle; ?> <?php echo $t_arrow; ?> <?php echo $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($WebmasterSection->title_status): ?> <?php $__currentLoopData = Helper::languagesList(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $ActiveLanguage): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($ActiveLanguage->box_status): ?> <div class="form-group row"> <label class="col-sm-2 form-control-label"><?php echo __('backend.topicName'); ?> <?php echo @Helper::languageName($ActiveLanguage); ?> </label> <div class="col-sm-10"> <?php echo Form::text('title_'.@$ActiveLanguage->code,'', array('placeholder' => '','class' => 'form-control','required'=>'', 'dir'=>@$ActiveLanguage->direction)); ?> </div> </div> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> <?php if($WebmasterSection->longtext_status): ?> <?php if($WebmasterSection->editor_status): ?> <?php $__currentLoopData = Helper::languagesList(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $ActiveLanguage): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($ActiveLanguage->box_status): ?> <div class="form-group row"> <label class="col-sm-2 form-control-label"><?php echo __('backend.bannerDetails'); ?> <?php echo @Helper::languageName($ActiveLanguage); ?> </label> <div class="col-sm-10"> <div class="box p-a-xs"> <?php echo Form::textarea('details_'.@$ActiveLanguage->code,'<div dir='.@$ActiveLanguage->direction.'><br></div>', array('ui-jp'=>'summernote','placeholder' => '','class' => 'form-control summernote_'.@$ActiveLanguage->code, 'dir'=>@$ActiveLanguage->direction,'ui-options'=>'{height: 300,callbacks: { onImageUpload: function(files, editor, welEditable) { sendFile(files[0], editor, welEditable,"'.@$ActiveLanguage->code.'"); } }}')); ?> </div> </div> </div> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php else: ?> <?php $__currentLoopData = Helper::languagesList(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $ActiveLanguage): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($ActiveLanguage->box_status): ?> <div class="form-group row"> <label class="col-sm-2 form-control-label"><?php echo __('backend.bannerDetails'); ?> <?php echo @Helper::languageName($ActiveLanguage); ?> </label> <div class="col-sm-10"> <?php echo Form::textarea('details_'.@$ActiveLanguage->code,'', array('placeholder' => '','class' => 'form-control', 'dir'=>@$ActiveLanguage->direction,'rows'=>'5')); ?> </div> </div> <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?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 __('backend.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(__('backend.bannerVideoType1')); ?> </label> <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(__('backend.bannerVideoType2')); ?> </label> <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(__('backend.bannerVideoType3')); ?> </label> <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 __('backend.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="offset-sm-2 col-sm-10"> <small> <i class="material-icons"></i> <?php echo __('backend.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 __('backend.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'=>'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 __('backend.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'=>'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'=>'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 __('backend.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="offset-sm-2 col-sm-10"> <small> <i class="material-icons"></i> <?php echo __('backend.audioTypes'); ?> </small> </div> </div> <?php endif; ?> <?php if($WebmasterSection->photo_status): ?> <div class="form-group row"> <label for="photo_file" class="col-sm-2 form-control-label"><?php echo __('backend.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="offset-sm-2 col-sm-10"> <small> <i class="material-icons"></i> <?php echo __('backend.imagesTypes'); ?> </small> </div> </div> <?php endif; ?> <?php if($WebmasterSection->icon_status): ?> <div class="form-group row"> <label for="icon" class="col-sm-2 form-control-label"><?php echo __('backend.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 __('backend.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="offset-sm-2 col-sm-10"> <small> <i class="material-icons"></i> <?php echo __('backend.attachTypes'); ?> </small> </div> </div> <?php endif; ?> <?php if(count($WebmasterSection->customFields) >0): ?> <?php $cf_title_var = "title_" . @Helper::currentLanguage()->code; $cf_title_var2 = "title_" . env('DEFAULT_LANGUAGE'); ?> <?php $__currentLoopData = $WebmasterSection->customFields; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $customField): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php // check permission $add_permission_groups = []; if ($customField->add_permission_groups != "") { $add_permission_groups = explode(",", $customField->add_permission_groups); } if(in_array(Auth::user()->permissions_id, $add_permission_groups) || in_array(0, $add_permission_groups) || $customField->add_permission_groups == ""){ // have permission & continue 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 = @Helper::currentLanguage()->direction; if ($customField->lang_code != "all") { $ct_language = @Helper::LangFromCode($customField->lang_code); $cf_land_identifier = @Helper::languageName($ct_language); $cf_land_dir = $ct_language->direction; if ($ct_language->box_status) { $cf_land_active = true; } } 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_" . @Helper::currentLanguage()->code; $cf_details_var2 = "details_en" . env('DEFAULT_LANGUAGE'); 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_" . @Helper::currentLanguage()->code; $cf_details_var2 = "details_en" . env('DEFAULT_LANGUAGE'); 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: '<?php echo e(Helper::jsDateFormat()); ?> 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,Helper::formatDate($customField->default_value)." ".date("h:i A", strtotime($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: '<?php echo e(Helper::jsDateFormat()); ?>', 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,Helper::formatDate($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 } ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> <div class="form-group row m-t-md"> <div class="offset-sm-2 col-sm-10"> <button type="submit" class="btn btn-primary m-t"><i class="material-icons"> </i> <?php echo __('backend.add'); ?></button> <a href="<?php echo e(route('topics',$WebmasterSection->id)); ?>" class="btn btn-default m-t"><i class="material-icons"> </i> <?php echo __('backend.cancel'); ?></a> </div> </div> <?php echo e(Form::close()); ?> </div> </div> </div> <?php $__env->stopSection(); ?> <?php $__env->startPush("after-scripts"); ?> <script src="<?php echo e(asset("assets/dashboard/js/iconpicker/fontawesome-iconpicker.js")); ?>"></script> <script src="<?php echo e(asset("assets/dashboard/js/summernote/dist/summernote.js")); ?>"></script> <script> $(function () { $('.icp-auto').iconpicker({placement: '<?php echo e((@Helper::currentLanguage()->direction=="rtl")?"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(asset("uploads/topics/")); ?>/' + url); <?php $__currentLoopData = Helper::languagesList(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $ActiveLanguage): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if($ActiveLanguage->box_status): ?> if (lang == "<?php echo e($ActiveLanguage->code); ?>") { $('.summernote_<?php echo e($ActiveLanguage->code); ?>').summernote("insertNode", image[0]); } <?php endif; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> } }); } // 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->stopPush(); ?> <?php echo $__env->make('dashboard.layouts.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/lionsclub/core/resources/views/dashboard/topics/create.blade.php ENDPATH**/ ?>
Close