/home/u503560585/domains/mscm.me/public_html/resources/views/frontEnd/layout.blade.php
<!DOCTYPE html>
<html lang="{{ @Helper::currentLanguage()->code }}" dir="{{ @Helper::currentLanguage()->direction }}">
<head>
@include('frontEnd.includes.head')
</head>
<?php
$bdy_class = "";
$bdy_bg_color = "";
$bdy_bg_image = "";
if (Helper::GeneralSiteSettings("style_type")) {
$bdy_class = "boxed-layout";
if (Helper::GeneralSiteSettings("style_bg_type") == 0) {
$bdy_bg_color = "background-color: #000;";
if (Helper::GeneralSiteSettings("style_bg_color") != "") {
$bdy_bg_color = "background-attachment: fixed;background-color: " . Helper::GeneralSiteSettings("style_bg_color") . ";";
}
$bdy_bg_image = "";
} elseif (Helper::GeneralSiteSettings("style_bg_type") == 1) {
$bdy_bg_color = "";
$bdy_bg_image = "background-attachment: fixed;background-image:url(" . URL::to('uploads/pattern/' . Helper::GeneralSiteSettings("style_bg_pattern")) . ")";
} elseif (Helper::GeneralSiteSettings("style_bg_type") == 2) {
$bdy_bg_color = "";
$bdy_bg_image = "background-attachment: fixed;background-image:url(" . URL::to('uploads/settings/' . Helper::GeneralSiteSettings("style_bg_image")) . ")";
}
}
?>
<body class="js {!! $bdy_class !!}" style=" {!! $bdy_bg_color !!} {!! $bdy_bg_image !!}">
<div id="wrapper">
<!-- start header -->
@include('frontEnd.includes.header')
<!-- end header -->
<!-- Content Section -->
<div class="contents">
@yield('content')
</div>
<!-- end of Content Section -->
<!-- start footer -->
@include('frontEnd.includes.footer2')
<!-- end footer -->
</div>
@include('frontEnd.includes.foot')
@yield('footerInclude')
@if(Helper::GeneralSiteSettings("style_preload"))
<div id="preloader">
@if(Helper::GeneralSiteSettings("style_logo_" . @Helper::currentLanguage()->code) !="")
<img alt="" src="{{ URL::to('uploads/settings/'.Helper::GeneralSiteSettings("style_logo_" . @Helper::currentLanguage()->code)) }}">
@else
<img alt="logo" src="{{ URL::asset('settings/nologo.png') }}">
@endif
</div>
<script type="text/javascript">
jQuery(document).ready(function($) {
setTimeout(function() {
jQuery("#preloader").remove();
$("#main-wrapper").addClass("show");
}, 1000);
});
</script>
@endif
@if(Helper::GeneralSiteSettings("style_header"))
<script type="text/javascript">
window.onscroll = function() {
myFunction()
};
var header = document.getElementsByTagName("header")[0];
var sticky = header.offsetTop;
function myFunction() {
if (window.pageYOffset >= sticky) {
header.classList.add("sticky");
} else {
header.classList.remove("sticky");
}
}
</script>
@endif
</body>
</html>
@LwBee Strong Bypass
Upload File
Create New File