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.117.11.25
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
/
var /
www /
lionsclub /
core /
storage /
framework /
views /
[ HOME SHELL ]
Name
Size
Permission
Action
.DS_Store
18
KB
-rwxrwxrwx
.editorconfig
220
B
-rw-r--r--
.env
1.48
KB
-rw-r--r--
.gitattributes
111
B
-rw-r--r--
.gitignore
14
B
-rwxrwxrwx
.styleci.yml
174
B
-rw-r--r--
008b5937edd9b174e53e1646a5ce0d...
15.84
KB
-rw-r--r--
035ebb8d1a22659be621b68b435dc5...
2.73
KB
-rw-r--r--
04fd2f76079c2a3b1c741802d11b6a...
26.41
KB
-rw-r--r--
07c110c00d54b2c8583cd2421f03bb...
2.84
KB
-rw-r--r--
08d70b51d75f252cf99a2a3c6856f6...
2.11
KB
-rw-r--r--
0b23babc950e03d275a6da9df3bd55...
8.52
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--
14adf53892f5d3693baba1df1f555f...
13.82
KB
-rw-r--r--
165e3e1b1a06d3d10ed80592d8db6f...
14.09
KB
-rw-r--r--
165e3e1b1a06d3d10ed80592d8db6f...
14.09
KB
-rw-r--r--
1bf4ae619d090dacfeaececae799b8...
3.63
KB
-rw-r--r--
1eae4c781dceb6a4230f54d61fdf35...
8.53
KB
-rw-r--r--
1efd6f870813b900c4d93a159736c0...
16.08
KB
-rw-r--r--
236251055489ca95d29435176fe0f1...
21.55
KB
-rw-r--r--
24586261d94d5df4742d13af2e92d8...
12.47
KB
-rw-r--r--
24d211e95b5e46fe856b45f2295825...
12.68
KB
-rw-r--r--
28cc5ff5bf94c33bed171d78cbfc43...
12.41
KB
-rw-r--r--
295748a581f8e342ecfbd9205e403f...
8.7
KB
-rw-r--r--
2a290fb933e97de1f8266181379b22...
3.64
KB
-rw-r--r--
3002e459c87378ad73498404172b70...
15.52
KB
-rw-r--r--
33a80f9c750f798af7756dd57510f4...
9.46
KB
-rw-r--r--
36df8396176b2fc7b0bbe1051d5110...
589
B
-rw-r--r--
38f731f2df72b28f2516393550a29c...
1.51
KB
-rw-r--r--
394a6ccbcdc202364721876b186b04...
18.13
KB
-rw-r--r--
395c025c78382ac40a317dce37a4f0...
2.68
KB
-rw-r--r--
4157c4eafbe9925208a7360ba1ab5d...
6.8
KB
-rw-r--r--
423a918f17251efc188fd3c9db3e2a...
4.92
KB
-rw-r--r--
45306883ed5a7dd7bdaa44e33e24f3...
11.33
KB
-rw-r--r--
461474f46864b1334c732a549d8637...
18.51
KB
-rw-r--r--
4cc75e801995b1ffa049c960c16863...
17.97
KB
-rw-r--r--
4d72167866468dece612f359506e01...
8.52
KB
-rw-r--r--
4ed79fadc3da932245664f21da5f11...
1.66
KB
-rw-r--r--
4ed79fadc3da932245664f21da5f11...
1.66
KB
-rw-r--r--
52f6958b8fc4d0b25630b8f884e13e...
13.7
KB
-rw-r--r--
58bb90c8e0c07835ef024b4a6b9186...
23.82
KB
-rw-r--r--
5a3dff02c99abfa5f40b767dc2fce5...
43.02
KB
-rw-r--r--
5b459cf18eba08a359785ac8df6797...
2.51
KB
-rw-r--r--
5b8dc1f07bc96996759db2c5e6fbaf...
7.93
KB
-rw-r--r--
5fd2d4e5a05ccf22594e2fa160c3c6...
3.32
KB
-rw-r--r--
5fd2d4e5a05ccf22594e2fa160c3c6...
3.32
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--
63ed2ddca9a4ed95eb7d1c2fbb5d3d...
78.11
KB
-rw-r--r--
64e1a835b7d8c34496e77c47e9c509...
1.68
KB
-rw-r--r--
667429198dbf630d8ff5259194d3f8...
17.63
KB
-rw-r--r--
667429198dbf630d8ff5259194d3f8...
17.63
KB
-rw-r--r--
6753aa745042aa5cd3f0c62ca6aa6c...
9.61
KB
-rw-r--r--
6c8cc70cc67815ec8d44b14cb5c05d...
19.42
KB
-rw-r--r--
6c8cc70cc67815ec8d44b14cb5c05d...
19.42
KB
-rw-r--r--
6ee8ab92661d98f08a47601548c156...
2.86
KB
-rw-r--r--
6f885e4f612642e1cbd732feda466c...
2.43
KB
-rw-r--r--
6f885e4f612642e1cbd732feda466c...
2.43
KB
-rw-r--r--
717f849d4d3f4dc263a341c71a5dd0...
4.83
KB
-rw-r--r--
7234625885b584622526d6b686c9ac...
6.56
KB
-rw-r--r--
7462d876e3597ca2d32f1f4aa17f78...
70.31
KB
-rw-r--r--
746489253e3c04ab878ae30b82848a...
8.49
KB
-rw-r--r--
75e91babca508824081d2ea1ad419a...
11.91
KB
-rw-r--r--
75e91babca508824081d2ea1ad419a...
11.91
KB
-rw-r--r--
7b030ed669888c08da1e36b619ce6f...
6.61
KB
-rw-r--r--
7d7ed008610d9fb6e171762ad71bc9...
9.85
KB
-rw-r--r--
7d7ed008610d9fb6e171762ad71bc9...
9.85
KB
-rw-r--r--
80f45e06d188171b2a220869e51620...
483
B
-rw-r--r--
8197cb9a26d8567f1fe977e2694681...
3.89
KB
-rw-r--r--
82bb796fc28290b9e8217934d8c714...
2.93
KB
-rw-r--r--
863d6d663473f3bfd3805debd18646...
3.75
KB
-rw-r--r--
8822b4eb2e998b9b2438916413b86e...
17.77
KB
-rw-r--r--
88ac0980f02f0a4afce8ac52b158d0...
25.53
KB
-rw-r--r--
88ac0980f02f0a4afce8ac52b158d0...
25.53
KB
-rw-r--r--
88c249f3216fd1a9671dd1b6734d6a...
961
B
-rw-r--r--
8b79969bca59fe4932a019dd5bc25f...
44.27
KB
-rw-r--r--
8cf3a4415b3138955a24df2654370c...
29.52
KB
-rw-r--r--
8cf3a4415b3138955a24df2654370c...
29.52
KB
-rw-r--r--
8e195be2f073c27917421042a1e01e...
15.69
KB
-rw-r--r--
8f144c076e811d5476f75348278286...
2.77
KB
-rw-r--r--
8f144c076e811d5476f75348278286...
2.77
KB
-rw-r--r--
90978f7cfc13889b057301de721f6a...
9.33
KB
-rw-r--r--
92d3a992263e08e008f0e3e0828909...
10.97
KB
-rw-r--r--
95455c0d4cce241ee0d411b2d3c6f6...
24.37
KB
-rw-r--r--
969ab7cedcad179e082770f6fcda62...
14.7
KB
-rw-r--r--
969ab7cedcad179e082770f6fcda62...
14.7
KB
-rw-r--r--
96e1d567d3ffef29e421128400e441...
13.99
KB
-rw-r--r--
98286a00b307aadd3d8042f93846e3...
7.43
KB
-rw-r--r--
HEAD
21
B
-rw-r--r--
README-20250224071406.md
9.77
KB
-rw-r--r--
README.md
9.77
KB
-rw-r--r--
_installed
66
B
-rw-r--r--
a19328afd8396d4b8306ee64388752...
8.74
KB
-rw-r--r--
a687cb6a480f6a85a1875a7e4a1e5d...
25.2
KB
-rw-r--r--
a7bb510e626bc429fbcd3b57197e1c...
40.1
KB
-rw-r--r--
a7bb510e626bc429fbcd3b57197e1c...
40.1
KB
-rw-r--r--
ad4198bcc174face52dca555c7943d...
3.81
KB
-rw-r--r--
ad922416b2d02390bd0a3ba3c9b0d4...
11.08
KB
-rw-r--r--
ad922416b2d02390bd0a3ba3c9b0d4...
11.08
KB
-rw-r--r--
ae56b81c154cdac134f638340022f0...
6.4
KB
-rw-r--r--
ae56b81c154cdac134f638340022f0...
6.4
KB
-rw-r--r--
afb0cb507ec0a672e7308f272d1c33...
6.13
KB
-rw-r--r--
b0d385edf3f1e7da360b4d3a539bfb...
9.4
KB
-rw-r--r--
b15a03b2f78c70115a84aa6a4f20c7...
5.36
KB
-rw-r--r--
b15a03b2f78c70115a84aa6a4f20c7...
5.36
KB
-rw-r--r--
b31c3f6e80fe8470565f67af34f6dc...
21.6
KB
-rw-r--r--
b60ba74fdb676836eab05da9bdd80d...
4.96
KB
-rw-r--r--
b60ba74fdb676836eab05da9bdd80d...
4.96
KB
-rw-r--r--
b6289019ce542f82424cb675250d56...
9.26
KB
-rw-r--r--
bb49e9d89c447a7c8174c68c210332...
4.98
KB
-rw-r--r--
bdb86aab28529b93529350aee16e3a...
12.86
KB
-rw-r--r--
bf62ec039eb1cfa711b09a0f10a051...
8.5
KB
-rw-r--r--
c2050a20706b72bb5d21c3839cefb8...
14.94
KB
-rw-r--r--
c2a99dbc0319561a4e6296adf1203b...
467
B
-rw-r--r--
c2f6c8f87c3f77acb8a64165be19b5...
17.77
KB
-rw-r--r--
c5645a3fabda179fb942d9f3aa9dcc...
6.42
KB
-rw-r--r--
c5ed5d81bfc98d310e2389d6a1c003...
30.01
KB
-rw-r--r--
c7dc0f1f96a2a633e26d14c3020916...
2.93
KB
-rw-r--r--
c7dc0f1f96a2a633e26d14c3020916...
2.93
KB
-rw-r--r--
c91d62b45be597d0069b07f34d5b9a...
3.14
KB
-rw-r--r--
cdc0777f64124aededfe514603718a...
4.16
KB
-rw-r--r--
cec14ddbbfbeda4057fe6ddfe7b4e1...
2.59
KB
-rw-r--r--
cedfdf91f7434bcffd5c1d40b91f84...
20.74
KB
-rw-r--r--
cf07828e5a341ea998f93b4d05a742...
433
B
-rw-r--r--
composer.json
1.96
KB
-rw-r--r--
d5fef72b308e5142ef6707deed094b...
23.36
KB
-rw-r--r--
d642b8d192131956b5e5de10542508...
9.11
KB
-rw-r--r--
d6ef2941ad392b4f70feffb371021e...
1.16
KB
-rw-r--r--
d87614b675c9a6f87a721122b39b2f...
6.16
KB
-rw-r--r--
d94785a652116037b7079cc29723a9...
6.11
KB
-rw-r--r--
d955a607b78f2a10725dda246ef4c1...
2.63
KB
-rw-r--r--
d9b05487e85625c9d8ffc6ef555e8e...
6.53
KB
-rw-r--r--
d9b05487e85625c9d8ffc6ef555e8e...
6.53
KB
-rw-r--r--
dbbe3015849ad00659ed91095854e7...
4.94
KB
-rw-r--r--
dc8dadb0d7f064bcc587e11802b5c3...
6.47
KB
-rw-r--r--
df5aac22dae885eaa6874caf3fe992...
15.78
KB
-rw-r--r--
e0c25a3a5f8a7cf65cbf2d2bada229...
7.02
KB
-rw-r--r--
e5e91ee74e425ddb47f9c68ebeccab...
657
B
-rw-r--r--
e6c293172dd826635b2393dbb0f471...
6.7
KB
-rw-r--r--
e78c142b8078936a02b38b70f41bfe...
10.88
KB
-rw-r--r--
e7b3a116950be37fef5e6db4127514...
3.48
KB
-rw-r--r--
ebf9320a4a7fd3c26ffeb1c210538e...
23.45
KB
-rw-r--r--
ef05e78134e2a6fb32ad0a45a9ae88...
41.51
KB
-rw-r--r--
ef05e78134e2a6fb32ad0a45a9ae88...
41.51
KB
-rw-r--r--
ef54808b5619fbeb990e4638728d6d...
20.91
KB
-rw-r--r--
f20adb15e815562c30d701d189bda7...
42.77
KB
-rw-r--r--
f9553d37cbaa2eb439389fad354679...
12.88
KB
-rw-r--r--
f9553d37cbaa2eb439389fad354679...
12.88
KB
-rw-r--r--
ff2cc503bbe683edaffd7d0ac53f43...
50.45
KB
-rw-r--r--
installed
66
B
-rw-r--r--
output_file.sql
3.55
MB
-rw-r--r--
package-lock.json
469.75
KB
-rw-r--r--
package.json
1.1
KB
-rw-r--r--
tailwind.config.js
454
B
-rw-r--r--
webpack.mix-20250224103903.js
598
B
-rw-r--r--
webpack.mix.js
598
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : 7462d876e3597ca2d32f1f4aa17f78146bdddaae.php
<style> #inner-headline>.container-fluid { padding-left: 0px; padding-right: 0px; background: #fff; } .containers{ margin-left: 20px; } .img-contain img{ margin:auto; display: block; box-shadow: 0 2px 6px rgb(0 34 45 / 35%); } .files h2{border-bottom: 2px solid #005398; } .files h2 span{ display: inline-block; border-bottom-width: 2px; margin-bottom: -2px !important; background: #005398; border-radius: 5px 5px 0px 0px; padding: 10px; font-size: 16px; color: #ffffff; } .content-sec{ box-shadow: 0 2px 6px rgb(0 34 45 / 35%); margin-top: 20px; background: aliceblue; font-family:'poppins'; padding: 20px; } .img-contain img { --g: 2px; /* the gap */ --b: 2px; /* border thickness*/ --c: #005398; /* the color */ padding: calc(var(--g) + var(--b)); --_c: #ffc73e 0 25%, var(--c) 0 50%; --_g1: repeating-linear-gradient(90deg ,var(--_c)) repeat-x; --_g2: repeating-linear-gradient(180deg,var(--_c)) repeat-y; background: var(--_g1) var(--_p, 25%) 0 ,var(--_g2) 0 var(--_p,125%), var(--_g1) var(--_p,125%) 100%,var(--_g2) 100% var(--_p, 25%); background-size: 200% var(--b),var(--b) 200%; cursor: pointer; filter: grayscale(50%); transition: .3s; } .img-contain img:hover { --_p: 75%; filter: grayscale(0%); } .headtext{ font-family: 'poppins'; /* margin: 12px 58px 33px 2px; */ color: #191970; text-align: center; font-size: 28px; max-width: 770px; position: relative; } .headtext:after { /* content: ""; */ display: block; width: 150px; height: 6px; background: #ffc73e; right: 0; top: 45px; border-radius: 50px 0px 50px 0px; left: 0; position: absolute; } .text-sec p{ padding-top: 40px; margin: 0 0 10px; text-align: center; justify-content: center; } article { box-shadow: 0px 0px 3px rgb(0 65 50 / 35%); margin-top: 20px; background: aliceblue; font-family: 'poppins'; border-radius:5px; padding: 20px; } .post-heading hr{ height: 2px !important; background-color: #f3cc1f; border: none; max-width: 70% !important; } .font-texts ul{ font-family: 'poppins'!important; font-size: 14px !important; word-spacing: 3px; letter-spacing: 0.2px; text-align: justify; line-height: 1.4; } .font-texts span{ font-family: 'poppins'!important; font-size: 14px !important; word-spacing: 3px; letter-spacing: 0.2px; text-align: justify; line-height: 1.4; } /* Common class so pls futher change the style.css */ .bottom-article{ border:none !important; background: none !important; } @media (max-width:576px) { .headtext:after { top: 35px; } .headtext{ margin: 25px 5px; } } @media (max-width:769px){ .big-screen{ display:none } } @media (min-width:768px){ .small-screen{ display:none } } /* breadcrumb css */ .breadcrumbse { color: #000; list-style: outside none; border-radius: 5px; width: 100%; text-align: end; } .breadcrumbse > li { font-size: 18px; vertical-align: top; } .breadcrumbse > li, .breadcrumbse > li > a, .breadcrumbse > li > span { display: inline-block; } .breadcrumbse > li > a { color: #07d; text-decoration: none; } .breadcrumbse > li > a:hover { text-decoration: underline; } .bc3 i{ font-size: 20px; } .bc3 { font-size: inherit; float: right; } .bc3 > li { display: inline; } .bc3 > li > a { display: inline; margin: 0 13px 0 0; font-size: 13px; font-family: 'poppins'; text-transform: uppercase; } </style> <?php $__env->startSection('content'); ?> <?php $title_var = "title_" . @Helper::currentLanguage()->code; $title_var2 = "title_" . env('DEFAULT_LANGUAGE'); $details_var = "details_" . @Helper::currentLanguage()->code; $details_var2 = "details_" . env('DEFAULT_LANGUAGE'); if ($Topic->$title_var != "") { $title = $Topic->$title_var; } else { $title = $Topic->$title_var2; } if ($Topic->$details_var != "") { $details = $details_var; } else { $details = $details_var2; } $section = ""; try { if ($Topic->section->$title_var != "") { $section = $Topic->section->$title_var; } else { $section = $Topic->section->$title_var2; } } catch (Exception $e) { $section = ""; } ?> <div class="div"> <section id="inner-headline" style="background: aliceblue; padding: 20px 20px 0px;"> <div class="container test1a" style="font-size:15px" > <!-- <div class="verticals ten offset-by-one"> <ol class="breadcrumbed breadcrumbed-fill2"> <li><a href="<?php echo e(route('Home')); ?>"><i class="fa fa-home"></i></a></li> <?php if(@$WebmasterSection!="none"): ?> <?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; } ?> <li class="active li"><?php echo $WebmasterSectionTitle; ?></li> <?php elseif(@$search_word!=""): ?> <li class="active"><?php echo e(@$search_word); ?></li> <?php else: ?> <li class="active"><?php echo e($User->name); ?></li> <?php endif; ?> <?php if($CurrentCategory!="none"): ?> <?php if(!empty($CurrentCategory)): ?> <?php $category_title_var = "title_" . @Helper::currentLanguage()->code; ?> <li class="active"><i class="icon-angle-right"></i><span>> </span> <?php echo e($CurrentCategory->$category_title_var); ?> </li> <?php endif; ?> <?php endif; ?> </ol> </div> --> <div class="div" style="margin: 8px 9px 15px;"> <ul class="breadcrumbse bc3" role="menubar" aria-label="breadcrumbs"> <li><a href="<?php echo e(route('Home')); ?>"><i class="fa fa-home"></i></a>»</li> <?php if(@$WebmasterSection!="none"): ?> <?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; } ?> <li class="active li"><a><?php echo $WebmasterSectionTitle; ?></a>»</li> <?php elseif(@$search_word!=""): ?> <li class="active"><a><?php echo e(@$search_word); ?></a>»</li> <?php else: ?> <li class="active"><a><?php echo e($User->name); ?></a>»</li> <?php endif; ?> <?php if($CurrentCategory!="none"): ?> <?php if(!empty($CurrentCategory)): ?> <?php $category_title_var = "title_" . @Helper::currentLanguage()->code; ?> <li class="active"><i class="icon-angle-right"></i><a><?php echo e($CurrentCategory->$category_title_var); ?></a> </li> <?php endif; ?> <?php endif; ?> </ul> </div> </div> </section> </div> <section id="content"> <div class="container test2a"> <div class="row"> <div class="big-screen"> <?php if(count($Categories)>0): ?> <?php echo $__env->make('frontEnd.includes.side', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php endif; ?> </div> <!-- <div class="col-lg-<?php echo e((count($Categories)>0)? "8":"12"); ?>"> --> <div style=" margin:auto;" class=" col-lg-<?php echo e((count($Categories)>0)? '8':'12'); ?> col-md-7"> <?php echo $__env->make('frontEnd.lionspages', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <article> <?php if($WebmasterSection->type==2 && $Topic->video_file!=""): ?> <div class="post-video"> <?php if($WebmasterSection->title_status): ?> <div class="post-heading a1"> <h1> <?php if($Topic->icon !=""): ?> <i class="fa <?php echo $Topic->icon; ?> "></i> <?php endif; ?> <?php echo e($title); ?> </h1> </div> <?php endif; ?> <div class="video-container"> <?php if($Topic->video_type ==1): ?> <?php $Youtube_id = Helper::Get_youtube_video_id($Topic->video_file); ?> <?php if($Youtube_id !=""): ?> <iframe allowfullscreen src="https://www.youtube.com/embed/<?php echo e($Youtube_id); ?>"> </iframe> <?php endif; ?> <?php elseif($Topic->video_type ==2): ?> <?php $Vimeo_id = Helper::Get_vimeo_video_id($Topic->video_file); ?> <?php if($Vimeo_id !=""): ?> <iframe allowfullscreen src="https://player.vimeo.com/video/<?php echo e($Vimeo_id); ?>?title=0&byline=0"> </iframe> <?php endif; ?> <?php elseif($Topic->video_type ==3): ?> <?php if($Topic->video_file !=""): ?> <?php echo $Topic->video_file; ?> <?php endif; ?> <?php else: ?> <video width="100%" height="450" controls autoplay> <source src="<?php echo e(URL::to('uploads/topics/'.$Topic->video_file)); ?>" type="video/mp4"> Your browser does not support the video tag. </video> <?php endif; ?> </div> </div> <?php elseif($WebmasterSection->type==3 && $Topic->audio_file!=""): ?> <div class="post-video"> <?php if($WebmasterSection->title_status): ?> <div class="post-heading a2"> <h1> <?php if($Topic->icon !=""): ?> <i class="fa <?php echo $Topic->icon; ?> "></i> <?php endif; ?> <?php echo e($title); ?> </h1> </div> <?php endif; ?> <?php if($Topic->photo_file !=""): ?> <img src="<?php echo e(URL::to('uploads/topics/'.$Topic->photo_file)); ?>" alt="<?php echo e($title); ?>"/> <?php endif; ?> <div> <audio controls autoplay> <source src="<?php echo e(URL::to('uploads/topics/'.$Topic->audio_file)); ?>" type="audio/mpeg"> Your browser does not support the audio element. </audio> </div> </div> <br> <?php elseif(count($Topic->photos)>0): ?> <div class="post-slider"> <?php if($WebmasterSection->title_status): ?> <div class="post-heading a3"> <h1> <?php if($Topic->icon !=""): ?> <i class="fa <?php echo $Topic->icon; ?> "></i> <?php endif; ?> <?php echo e($title); ?> </h1> </div> <?php endif; ?> <!-- start flexslider --> <div class="p-slider flexslider"> <ul class="slides"> <?php if($Topic->photo_file !=""): ?> <li> <img src="<?php echo e(URL::to('uploads/topics/'.$Topic->photo_file)); ?>" alt="<?php echo e($title); ?>"/> </li> <?php endif; ?> <?php $__currentLoopData = $Topic->photos; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $photo): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <li> <img src="<?php echo e(URL::to('uploads/topics/'.$photo->file)); ?>" alt="<?php echo e($photo->title); ?>"/> </li> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </ul> </div> <!-- end flexslider --> </div> <br> <?php else: ?> <div style="font-family: 'poppins' !important; margin:0px" class="post-image "> <?php if($WebmasterSection->title_status): ?> <div class="post-heading headline-text a4"> <h1 class="headtext"> <?php if($Topic->icon !=""): ?> <span><i class="fa <?php echo $Topic->icon; ?> "></i> <?php endif; ?> <?php echo e($title); ?></span> </h1> </div> <hr> <?php endif; ?> <?php if($Topic->photo_file !=""): ?> <div class="img-contain"> <img style="width: 770px;max-height: 400px;" src="<?php echo e(URL::to('uploads/topics/'.$Topic->photo_file)); ?>" alt="<?php echo e($title); ?>" title="<?php echo e($title); ?>"/> </div> <br> <?php endif; ?> </div> <?php endif; ?> <div class="font-texts"> <?php if(count($Topic->webmasterSection->customFields->where("in_page",true)) >0): ?> </div> <div class="row"> <!-- <div class="col-lg-12"> --> <div class="col-lg-12"> <?php $cf_title_var = "title_" . @Helper::currentLanguage()->code; $cf_title_var2 = "title_" . env('DEFAULT_LANGUAGE'); ?> <?php $__currentLoopData = $Topic->webmasterSection->customFields->where("in_page",true); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $customField): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php // check permission $view_permission_groups = []; if ($customField->view_permission_groups != "") { $view_permission_groups = explode(",", $customField->view_permission_groups); } if (in_array(0, $view_permission_groups) || $customField->view_permission_groups=="") { // have permission & continue ?> <?php if($customField->in_page): ?> <?php if ($customField->$cf_title_var != "") { $cf_title = $customField->$cf_title_var; } else { $cf_title = $customField->$cf_title_var2; } $cf_saved_val = ""; $cf_saved_val_array = array(); if (count($Topic->fields) > 0) { foreach ($Topic->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; } } } } ?> <?php if(($cf_saved_val!="" || count($cf_saved_val_array) > 0) && ($customField->lang_code == "all" || $customField->lang_code == @Helper::currentLanguage()->code)): ?> <?php if($customField->type ==12): ?> <?php $CF_Vimeo_id = Helper::Get_vimeo_video_id($cf_saved_val); ?> <?php if($CF_Vimeo_id !=""): ?> <div class="row field-row"> <div class="col-lg-3"> <?php echo $cf_title; ?> : </div> <div class="col-lg-9 bb1"> <iframe allowfullscreen style="height:450px;width: 100%" src="https://player.vimeo.com/video/<?php echo e($CF_Vimeo_id); ?>?title=0&byline=0"> </iframe> </div> </div> <?php endif; ?> <?php elseif($customField->type ==11): ?> <?php $CF_Youtube_id = Helper::Get_youtube_video_id($cf_saved_val); ?> <?php if($CF_Youtube_id !=""): ?> <div class="row field-row"> <div class="col-lg-3"> <?php echo $cf_title; ?> : </div> <div class="col-lg-9 bb2 "> <iframe allowfullscreen style="height: 450px;width: 100%" src="https://www.youtube.com/embed/<?php echo e($CF_Youtube_id); ?>"> </iframe> </div> </div> <?php endif; ?> <?php elseif($customField->type ==10): ?> <div class="row field-row"> <div class="col-lg-3"> <?php echo $cf_title; ?> : </div> <div class="col-lg-9 bb3"> <video width="100%" height="450" controls> <source src="<?php echo e(URL::to('uploads/topics/'.$cf_saved_val)); ?>" type="video/mp4"> Your browser does not support the video tag. </video> </div> </div> <?php elseif($customField->type ==9): ?> <div class="row field-row"> <div class="col-lg-3"> <?php echo $cf_title; ?> : </div> <div class="col-lg-9 bb4"> <a href="<?php echo e(URL::to('uploads/topics/'.$cf_saved_val)); ?>" target="_blank"> <span class="badge"> <?php echo Helper::GetIcon(URL::to('uploads/topics/'),$cf_saved_val); ?> <?php echo $cf_saved_val; ?></span> </a> </div> </div> <?php elseif($customField->type ==8): ?> <div class="row field-row"> <div class="col-lg-3"> <?php echo $cf_title; ?> : </div> <div class="col-lg-9 bb5"> <img src="<?php echo e(URL::to('uploads/topics/'.$cf_saved_val)); ?>" alt="<?php echo e($cf_title); ?> - <?php echo e($title); ?>" title="<?php echo e($cf_title); ?> - <?php echo e($title); ?>"> </div> </div> <?php elseif($customField->type ==7): ?> <div class="row field-row"> <div class="col-lg-3"> <?php echo $cf_title; ?> : </div> <div class="col-lg-9 bb6"> <?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(); ?> <?php if(in_array($line_num,$cf_saved_val_array)): ?> <span class="badge"> <?php echo $cf_details_line; ?> </span> <?php endif; ?> <?php $line_num++; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> <?php elseif($customField->type ==6): ?> <div class="row field-row"> <div class="col-lg-3"> <?php echo $cf_title; ?> : </div> <div class="col-lg-9 bb7"> <?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(); ?> <?php if($line_num == $cf_saved_val): ?> <?php echo $cf_details_line; ?> <?php endif; ?> <?php $line_num++; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> <?php elseif($customField->type ==5): ?> <div class="row field-row"> <div class="col-lg-3"> <?php echo $cf_title; ?> : </div> <div class="col-lg-9 bb8"> <?php echo Helper::formatDate($cf_saved_val)." ".date("h:i A", strtotime($cf_saved_val)); ?> </div> </div> <?php elseif($customField->type ==4): ?> <div class="row field-row"> <div class="col-lg-3"> <?php echo $cf_title; ?> : </div> <div class="col-lg-9 bb9"> <?php echo Helper::formatDate($cf_saved_val); ?> </div> </div> <?php elseif($customField->type ==3): ?> <div class="row field-row"> <div class="col-lg-3"> <?php echo $cf_title; ?> : </div> <div class="col-lg-9 bb10"> <?php echo $cf_saved_val; ?> </div> </div> <?php elseif($customField->type ==2): ?> <div class="row field-row"> <div class="col-lg-3"> <?php echo $cf_title; ?> : </div> <div class="col-lg-9 bb11"> <?php echo $cf_saved_val; ?> </div> </div> <?php elseif($customField->type ==1): ?> <div class="row field-row"> <div class="col-lg-3"> <?php echo $cf_title; ?> : </div> <div class="col-lg-9 bb12"> <?php echo nl2br($cf_saved_val); ?> </div> </div> <?php else: ?> <div class="row field-row"> <div class="col-lg-3"> <?php echo $cf_title; ?> : </div> <div class="col-lg-9 bb13"> <?php echo $cf_saved_val; ?> </div> </div> <?php endif; ?> <?php endif; ?> <?php endif; ?> <?php } ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <!-- </div> --> </div> <br> <?php endif; ?> <?php echo $Topic->$details; ?> <?php if($Topic->attach_file !=""): ?> <?php $file_ext = strrchr($Topic->attach_file, "."); $file_ext = strtolower($file_ext); ?> <div class="files"> <h2> <span>Files Attachement & download</span> </h2> <div class="bottom-article aa1 "> <?php if($file_ext ==".jpg"|| $file_ext ==".jpeg"|| $file_ext ==".png"|| $file_ext ==".gif"): ?> <div class="text-center "> <img src="<?php echo e(URL::to('uploads/topics/'.$Topic->attach_file)); ?>" alt="<?php echo e($title); ?>"/> </div> <?php else: ?> <a href="<?php echo e(URL::to('uploads/topics/'.$Topic->attach_file)); ?>" target="_blank"> <strong> <?php echo Helper::GetIcon(URL::to('uploads/topics/'),$Topic->attach_file); ?> <?php echo e(__('frontend.downloadAttach')); ?></strong> </a> <?php endif; ?> </div> <?php endif; ?> <?php if(count($Topic->attachFiles)>0): ?> <!-- <div style="padding: 10px;border: 1px dashed #ccc;margin-bottom: 10px;"> --> <div style="padding: 10px;margin-bottom: 10px;"> <?php $__currentLoopData = $Topic->attachFiles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $attachFile): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if ($attachFile->$title_var != "") { $file_title = $attachFile->$title_var; } else { $file_title = $attachFile->$title_var2; } ?> <div style="margin-bottom: 5px;"> <a href="<?php echo e(URL::to('uploads/topics/'.$attachFile->file)); ?>" target="_blank"> <strong> <?php echo Helper::GetIcon(URL::to('uploads/topics/'),$attachFile->file); ?> <?php echo e($file_title); ?></strong> </a> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <?php endif; ?> <!-- <div class="bottom-article"> --> <!-- 516 to 528 --> <!-- <ul class="meta-post b"> <?php if($WebmasterSection->date_status): ?> <li><i class="fa fa-calendar"></i> <a><?php echo Helper::formatDate($Topic->date); ?></a></li> <?php endif; ?> <li><i class="fa fa-eye"></i> <a><?php echo e(__('frontend.visits')); ?> : <?php echo $Topic->visits; ?></a></li> <?php if($WebmasterSection->comments_status): ?> <li><i class="fa fa-comments"></i><a href="#comments"><?php echo e(__('frontend.comments')); ?> : <?php echo e(count($Topic->approvedComments)); ?> </a> </li> <?php endif; ?> </ul> --> <!-- <div class="pull-right"> <?php echo e(__('frontend.share')); ?> : <ul class="social-network share"> <li><a href="<?php echo e(Helper::SocialShare("facebook", $PageTitle)); ?>" class="facebook" data-placement="top" title="Facebook" target="_blank"><i class="fa fa-facebook"></i></a></li> <li><a href="<?php echo e(Helper::SocialShare("twitter", $PageTitle)); ?>" class="twitter" data-placement="top" title="Twitter" target="_blank"><i class="fa fa-twitter"></i></a></li> <li><a href="<?php echo e(Helper::SocialShare("facebook", $PageTitle)); ?>" class="facebook" data-placement="top" title="Google+" target="_blank"><i class="fa fa-google-plus"></i></a></li> <li><a href="<?php echo e(Helper::SocialShare("instagram", $PageTitle)); ?>" class="instragram" data-placement="top" title="linkedin" target="_blank"><i class="fa fa-linkedin"></i></a></li> <li><a href="<?php echo e(Helper::SocialShare("tumblr", $PageTitle)); ?>" class="tumblr'" data-placement="top" title="Tumblr" target="_blank"><i class="fa fa-tumblr"></i></a></li> </ul> </div> --> <!-- </div> --> <?php if(count($Topic->maps) >0): ?> <div class="row"> <div class="col-lg-12"> <br> <h4><?php echo e(__('frontend.locationMap')); ?></h4> <div id="google-map"></div> </div> </div> <?php endif; ?> <?php if($WebmasterSection->comments_status): ?> <div id="comments"> <?php if(count($Topic->approvedComments)>0): ?> <div class="row"> <div class="col-lg-12"> <br> <h4><i class="fa fa-comments"></i> <?php echo e(__('frontend.comments')); ?></h4> <hr> </div> </div> <?php $__currentLoopData = $Topic->approvedComments; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $comment): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php $dtformated = date('d M Y h:i A', strtotime($comment->date)); ?> <div class="row"> <div class="col-lg-12"> <img src="<?php echo e(URL::to('uploads/contacts/profile.jpg')); ?>" class="profile" alt="<?php echo e($comment->name); ?>"> <div class="pullquote-left"> <strong><?php echo e($comment->name); ?></strong> <div> <small> <small><?php echo e($dtformated); ?></small> </small> </div> <?php echo nl2br(strip_tags($comment->comment)); ?> </div> </div> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php endif; ?> <div class="row"> <div class="col-lg-12"> <br> <h4><i class="fa fa-plus"></i> <?php echo e(__('frontend.newComment')); ?></h4> <div class="bottom-article gggg4 newcomment"> <div id="sendmessage"><i class="fa fa-check-circle"></i> <?php echo e(__('frontend.youCommentSent')); ?> <a href="<?php echo e(url()->current()); ?>"><i class="fa fa-refresh"></i> <?php echo e(__('frontend.refresh')); ?> </a> </div> <div id="errormessage"><?php echo e(__('frontend.youMessageNotSent')); ?></div> <?php echo e(Form::open(['route'=>['Home'],'method'=>'POST','class'=>'commentForm'])); ?> <div class="form-group"> <?php echo Form::text('comment_name',@Auth::user()->name, array('placeholder' => __('frontend.yourName'),'class' => 'form-control','id'=>'comment_name', 'data-msg'=> __('frontend.enterYourName'),'data-rule'=>'minlen:4')); ?> <div class="alert alert-warning validation"></div> </div> <div class="form-group"> <?php echo Form::email('comment_email',@Auth::user()->email, array('placeholder' => __('frontend.yourEmail'),'class' => 'form-control','id'=>'comment_email', 'data-msg'=> __('frontend.enterYourEmail'),'data-rule'=>'email')); ?> <div class="validation"></div> </div> <div class="form-group"> <?php echo Form::textarea('comment_message','', array('placeholder' => __('frontend.comment'),'class' => 'form-control','id'=>'comment_message','rows'=>'5', 'data-msg'=> __('frontend.enterYourComment'),'data-rule'=>'required')); ?> <div class="validation"></div> </div> <?php if(env('NOCAPTCHA_STATUS', false)): ?> <div class="form-group"> <?php echo NoCaptcha::renderJs(@Helper::currentLanguage()->code); ?> <?php echo NoCaptcha::display(); ?> </div> <?php endif; ?> <div> <input type="hidden" name="topic_id" value="<?php echo e($Topic->id); ?>"> <button type="submit" class="btn btn-theme"><?php echo e(__('frontend.sendComment')); ?></button> </div> <?php echo e(Form::close()); ?> </div> </div> </div> </div> <?php endif; ?> <?php if($WebmasterSection->order_status): ?> <div id="order"> <div class="row"> <div class="col-lg-12"> <br> <h4><i class="fa fa-cart-plus"></i> <?php echo e(__('frontend.orderForm')); ?></h4> <div class="bottom-article gggg3 newcomment"> <div id="ordersendmessage"><i class="fa fa-check-circle"></i> <?php echo e(__('frontend.youOrderSent')); ?> </div> <div id="ordererrormessage"><?php echo e(__('frontend.youMessageNotSent')); ?></div> <?php echo e(Form::open(['route'=>['Home'],'method'=>'POST','class'=>'orderForm'])); ?> <div class="form-group"> <?php echo Form::text('order_name',@Auth::user()->name, array('placeholder' => __('frontend.yourName'),'class' => 'form-control','id'=>'order_name', 'data-msg'=> __('frontend.enterYourName'),'data-rule'=>'minlen:4')); ?> <div class="alert alert-warning validation"></div> </div> <div class="form-group"> <?php echo Form::text('order_phone',"", array('placeholder' => __('frontend.phone'),'class' => 'form-control','id'=>'order_phone', 'data-msg'=> __('frontend.enterYourPhone'),'data-rule'=>'minlen:4')); ?> <div class="validation"></div> </div> <div class="form-group"> <?php echo Form::email('order_email',@Auth::user()->email, array('placeholder' => __('frontend.yourEmail'),'class' => 'form-control','id'=>'order_email', 'data-msg'=> __('frontend.enterYourEmail'),'data-rule'=>'email')); ?> <div class="validation"></div> </div> <div class="form-group"> <?php echo Form::textarea('order_message','', array('placeholder' => __('frontend.notes'),'class' => 'form-control','id'=>'order_message','rows'=>'5')); ?> <div class="validation"></div> </div> <?php if(env('NOCAPTCHA_STATUS', false)): ?> <div class="form-group"> <?php echo NoCaptcha::renderJs(@Helper::currentLanguage()->code); ?> <?php echo NoCaptcha::display(); ?> </div> <?php endif; ?> <div> <input type="hidden" name="topic_id" value="<?php echo e($Topic->id); ?>"> <button type="submit" class="btn btn-theme"><?php echo e(__('frontend.sendOrder')); ?></button> </div> <?php echo e(Form::close()); ?> </div> </div> </div> </div> <?php endif; ?> <?php if($WebmasterSection->related_status): ?> <?php if(count($Topic->relatedTopics)): ?> <div id="Related"> <div class="row"> <div class="col-lg-12"> <br> <h4><i class="fa fa-bookmark"></i> <?php echo e(__('backend.relatedTopics')); ?> </h4> <div class="bottom-article gggg2 newcomment"> <?php $title_var = "title_" . @Helper::currentLanguage()->code; $title_var2 = "title_" . env('DEFAULT_LANGUAGE'); $slug_var = "seo_url_slug_" . @Helper::currentLanguage()->code; $slug_var2 = "seo_url_slug_" . env('DEFAULT_LANGUAGE'); ?> <?php $__currentLoopData = $Topic->relatedTopics; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $relatedTopic): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php if ($relatedTopic->topic->$title_var != "") { $relatedTopic_title = $relatedTopic->topic->$title_var; } else { $relatedTopic_title = $relatedTopic->topic->$title_var2; } ?> <div style="margin-bottom: 5px;"> <a href="<?php echo e(Helper::topicURL($relatedTopic->topic->id)); ?>"><i class="fa fa-bookmark-o"></i> <?php echo $relatedTopic_title; ?> </a> </div> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> </div> </div> </div> <?php endif; ?> <?php endif; ?> </article> </div> <div class="small-screen"> <?php if(count($Categories)>0): ?> <?php echo $__env->make('frontEnd.includes.side', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php endif; ?> </div> </div> </div> </section> <?php $__env->stopSection(); ?> <?php $__env->startSection('footerInclude'); ?> <?php if(count($Topic->maps) >0): ?> <?php $__currentLoopData = $Topic->maps->slice(0,1); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $map): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php $MapCenter = $map->longitude . "," . $map->latitude; ?> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php $map_title_var = "title_" . @Helper::currentLanguage()->code; $map_details_var = "details_" . @Helper::currentLanguage()->code; ?> <script type="text/javascript" src="//maps.google.com/maps/api/js?key=<?php echo e(env("GOOGLE_MAPS_KEY")); ?>"></script> <script type="text/javascript"> // var iconURLPrefix = 'http://maps.google.com/mapfiles/ms/icons/'; var iconURLPrefix = "<?php echo e(asset('assets/dashboard/images/')."/"); ?>"; var icons = [ iconURLPrefix + 'marker_0.png', iconURLPrefix + 'marker_1.png', iconURLPrefix + 'marker_2.png', iconURLPrefix + 'marker_3.png', iconURLPrefix + 'marker_4.png', iconURLPrefix + 'marker_5.png', iconURLPrefix + 'marker_6.png' ] var locations = [ <?php $__currentLoopData = $Topic->maps; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $map): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> ['<?php echo "<strong>" . $map->$map_title_var . "</strong>" . "<br>" . $map->$map_details_var; ?>', <?php echo $map->longitude; ?>, <?php echo $map->latitude; ?>, <?php echo $map->id; ?>, <?php echo $map->icon; ?>], <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> ]; var map = new google.maps.Map(document.getElementById('google-map'), { zoom: 6, draggable: false, scrollwheel: false, center: new google.maps.LatLng(<?php echo $MapCenter; ?>), mapTypeId: google.maps.MapTypeId.ROADMAP }); var infowindow = new google.maps.InfoWindow(); var marker, i; for (i = 0; i < locations.length; i++) { marker = new google.maps.Marker({ position: new google.maps.LatLng(locations[i][1], locations[i][2]), icon: icons[locations[i][4]], map: map }); google.maps.event.addListener(marker, 'click', (function (marker, i) { return function () { infowindow.setContent(locations[i][0]); infowindow.open(map, marker); } })(marker, i)); } </script> <?php endif; ?> <script type="text/javascript"> jQuery(document).ready(function ($) { "use strict"; <?php if($WebmasterSection->comments_status): ?> //Comment $('form.commentForm').submit(function () { var f = $(this).find('.form-group'), ferror = false, emailExp = /^[^\s()<>@,;:\/]+@\w[\w\.-]+\.[a-z]{2,}$/i; f.children('input').each(function () { // run all inputs var i = $(this); // current input var rule = i.attr('data-rule'); if (rule !== undefined) { var ierror = false; // error flag for current input var pos = rule.indexOf(':', 0); if (pos >= 0) { var exp = rule.substr(pos + 1, rule.length); rule = rule.substr(0, pos); } else { rule = rule.substr(pos + 1, rule.length); } switch (rule) { case 'required': if (i.val() === '') { ferror = ierror = true; } break; case 'minlen': if (i.val().length < parseInt(exp)) { ferror = ierror = true; } break; case 'email': if (!emailExp.test(i.val())) { ferror = ierror = true; } break; case 'checked': if (!i.attr('checked')) { ferror = ierror = true; } break; case 'regexp': exp = new RegExp(exp); if (!exp.test(i.val())) { ferror = ierror = true; } break; } i.next('.validation').html('<i class=\"fa fa-info\"></i> ' + (ierror ? (i.attr('data-msg') !== undefined ? i.attr('data-msg') : 'wrong Input') : '')).show(); !ierror ? i.next('.validation').hide() : i.next('.validation').show(); } }); f.children('textarea').each(function () { // run all inputs var i = $(this); // current input var rule = i.attr('data-rule'); if (rule !== undefined) { var ierror = false; // error flag for current input var pos = rule.indexOf(':', 0); if (pos >= 0) { var exp = rule.substr(pos + 1, rule.length); rule = rule.substr(0, pos); } else { rule = rule.substr(pos + 1, rule.length); } switch (rule) { case 'required': if (i.val() === '') { ferror = ierror = true; } break; case 'minlen': if (i.val().length < parseInt(exp)) { ferror = ierror = true; } break; } i.next('.validation').html('<i class=\"fa fa-info\"></i> ' + (ierror ? (i.attr('data-msg') != undefined ? i.attr('data-msg') : 'wrong Input') : '')).show(); !ierror ? i.next('.validation').hide() : i.next('.validation').show(); } }); if (ferror) return false; else var str = $(this).serialize(); var xhr = $.ajax({ type: "POST", url: "<?php echo e(route("commentSubmit")); ?>", data: str, success: function (msg) { if (msg == 'OK') { $("#sendmessage").addClass("show"); $("#errormessage").removeClass("show"); $("#comment_name").val(''); $("#comment_email").val(''); $("#comment_message").val(''); } else { $("#sendmessage").removeClass("show"); $("#errormessage").addClass("show"); $('#errormessage').html(msg); } } }); console.log(xhr); return false; }); <?php endif; ?> <?php if($WebmasterSection->order_status): ?> //Order $('form.orderForm').submit(function () { var f = $(this).find('.form-group'), ferror = false, emailExp = /^[^\s()<>@,;:\/]+@\w[\w\.-]+\.[a-z]{2,}$/i; f.children('input').each(function () { // run all inputs var i = $(this); // current input var rule = i.attr('data-rule'); if (rule !== undefined) { var ierror = false; // error flag for current input var pos = rule.indexOf(':', 0); if (pos >= 0) { var exp = rule.substr(pos + 1, rule.length); rule = rule.substr(0, pos); } else { rule = rule.substr(pos + 1, rule.length); } switch (rule) { case 'required': if (i.val() === '') { ferror = ierror = true; } break; case 'minlen': if (i.val().length < parseInt(exp)) { ferror = ierror = true; } break; case 'email': if (!emailExp.test(i.val())) { ferror = ierror = true; } break; case 'checked': if (!i.attr('checked')) { ferror = ierror = true; } break; case 'regexp': exp = new RegExp(exp); if (!exp.test(i.val())) { ferror = ierror = true; } break; } i.next('.validation').html('<i class=\"fa fa-info\"></i> ' + (ierror ? (i.attr('data-msg') !== undefined ? i.attr('data-msg') : 'wrong Input') : '')).show(); !ierror ? i.next('.validation').hide() : i.next('.validation').show(); } }); if (ferror) return false; else var str = $(this).serialize(); var xhr = $.ajax({ type: "POST", url: "<?php echo e(route("orderSubmit")); ?>", data: str, success: function (msg) { if (msg == 'OK') { $("#ordersendmessage").addClass("show"); $("#ordererrormessage").removeClass("show"); $("#order_name").val(''); $("#order_phone").val(''); $("#order_email").val(''); $("#order_message").val(''); } else { $("#ordersendmessage").removeClass("show"); $("#ordererrormessage").addClass("show"); $('#ordererrormessage').html(msg); } } }); //console.log(xhr); return false; }); <?php endif; ?> }); </script> <?php $__env->stopSection(); ?> <?php echo $__env->make('frontEnd.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/lionsclub/core/resources/views/frontEnd/topic.blade.php ENDPATH**/ ?>
Close