���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/rickpfrv/tie.cx/themes/altum/views/l/wrapper.php
���ѧ٧ѧ�
<?php defined('ALTUMCODE') || die() ?> <!DOCTYPE html> <html lang="<?= language()->language_code ?>" class="link-html"> <head> <title><?= !empty($this->link->settings->seo->title) ? $this->link->settings->seo->title : \Altum\Title::get() ?></title> <base href="<?= SITE_URL; ?>"> <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> <?php if(\Altum\Meta::$description): ?> <meta name="description" content="<?= \Altum\Meta::$description ?>" /> <?php endif ?> <?php if(\Altum\Meta::$open_graph['url']): ?> <!-- Open Graph / Facebook / Twitter --> <?php foreach(\Altum\Meta::$open_graph as $key => $value): ?> <?php if($value): ?> <meta property="og:<?= $key ?>" content="<?= $value ?>" /> <meta property="twitter:<?= $key ?>" content="<?= $value ?>" /> <?php endif ?> <?php endforeach ?> <?php endif ?> <?php if($this->link->settings->seo->block): ?> <meta name="robots" content="noindex"> <?php endif ?> <?php if(!empty(settings()->favicon)): ?> <link href="<?= SITE_URL . UPLOADS_URL_PATH . 'favicon/' . settings()->favicon ?>" rel="shortcut icon" /> <?php endif ?> <?php if(!$this->link->settings->font): ?> <link rel="stylesheet" href="https://rsms.me/inter/inter.css" /> <?php endif ?> <?php foreach(['bootstrap.min.css', 'custom.css', 'link-custom.css', 'animate.min.css'] as $file): ?> <link href="<?= SITE_URL . ASSETS_URL_PATH . 'css/' . $file . '?v=' . PRODUCT_CODE ?>" rel="stylesheet" media="screen"> <?php endforeach ?> <?php if($this->link->settings->font): ?> <?php $biolink_fonts = require APP_PATH . 'includes/biolink_fonts.php' ?> <link href="https://fonts.googleapis.com/css?family=<?= $biolink_fonts[$this->link->settings->font]['font-family'] ?>&display=swap" rel="stylesheet"> <style> body { font-family: '<?= $biolink_fonts[$this->link->settings->font]['name'] ?>', sans-serif !important; } </style> <?php endif ?> <?= \Altum\Event::get_content('head') ?> <?php if(!empty(settings()->custom->head_js)): ?> <?= settings()->custom->head_js ?> <?php endif ?> <link rel="canonical" href="<?= $this->link->full_url ?>" /> </head> <style> body { -webkit-transition: opacity 500ms ease; opacity: 1; transition: opacity 500ms ease; } .lds-ripple { display: inline-block; position: relative; width: 188px; height: 188px; -webkit-transition: opacity 2s ease; transition: opacity 2s ease; border-radius: 50%; overflow: hidden; } .lds-ripple div { position: absolute; border: 4px solid #523deb; opacity: 1; border-radius: 50%; overflow: hidden; animation: lds-ripple 2s cubic-bezier(0, 0.2, 0.8, 1) infinite; } .lds-ripple div:nth-child(2) { animation-delay: 1s; } @keyframes lds-ripple { 0% { top: 90px; left: 90px; width: 0; height: 0; opacity: 1; } 100% { top: 0px; left: 0px; width: 180px; height: 180px; opacity: 0; } } </style> <div id="preLoaderMain" style="width: 100%; height: 100%; position: absolute; top: 0; display: flex; z-index: 10000; background: #fff; align-items: center; justify-content: center;"> <div class="lds-ripple"><div></div><div></div></div> </div> <?= $this->views['content'] ?> <?php require THEME_PATH . 'views/partials/js_global_variables.php' ?> <?php foreach(['libraries/jquery.min.js', 'libraries/popper.min.js', 'libraries/bootstrap.min.js', 'main.js', 'functions.js', 'libraries/fontawesome.min.js'] as $file): ?> <script src="<?= SITE_URL . ASSETS_URL_PATH ?>js/<?= $file ?>?v=<?= PRODUCT_CODE ?>"></script> <?php endforeach ?> <?= \Altum\Event::get_content('javascript') ?> <script> //var loadingOverlay = document.createElement("div"); /* loadingOverlay.innerHTML = ` <style> body { -webkit-transition: opacity 500ms ease; opacity: 1; transition: opacity 500ms ease; } .lds-ripple { display: inline-block; position: relative; width: 188px; height: 188px; -webkit-transition: opacity 2s ease; transition: opacity 2s ease; border-radius: 50%; overflow: hidden; } .lds-ripple div { position: absolute; border: 4px solid #523deb; opacity: 1; border-radius: 50%; overflow: hidden; animation: lds-ripple 2s cubic-bezier(0, 0.2, 0.8, 1) infinite; } .lds-ripple div:nth-child(2) { animation-delay: 1s; } @keyframes lds-ripple { 0% { top: 90px; left: 90px; width: 0; height: 0; opacity: 1; } 100% { top: 0px; left: 0px; width: 180px; height: 180px; opacity: 0; } } </style> <div id="preLoaderMain" style="width: 100%; height: 100%; position: absolute; top: 0; display: flex; z-index: 10000; background: #fff; align-items: center; justify-content: center;"> <div class="lds-ripple"><div></div><div></div></div> </div> `; */ // document.body.appendChild(loadingOverlay); document.body.style.overflow = "hidden" var loadingCore = 0; var requiredLoad = 2; var imgs = document.images, len = imgs.length, counter = 0; if (len > 0) { [].forEach.call( imgs, function( img ) { if(img.complete) incrementCounter(); else img.addEventListener( 'load', incrementCounter, false ); } ); function incrementCounter() { counter++; if ( counter === len ) { loadingCore = loadingCore + 1; if (loadingCore === requiredLoad) { console.log("images done"); loadOpenPage(); } } } } else { loadingCore = loadingCore + 1; if (loadingCore === requiredLoad) { console.log("images done"); loadOpenPage(); } }; document.fonts.ready.then(function() { loadingCore = loadingCore + 1; if (loadingCore === requiredLoad) { console.log("fonts done"); loadOpenPage(); } }) function loadOpenPage() { document.body.style.opacity = "0" var timerFade = setInterval(fadeInFnc, 500); function fadeInFnc() { document.body.style.opacity = "0" document.body.style.overflow = "unset" document.getElementById("preLoaderMain").style.display = "none" document.body.style.opacity = "1" }; console.log("page done"); } </script> </html>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0.4 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�