32 <!-- To ensure proper rendering and touch zooming
on phones and tablets -->
33 <meta charset=
"utf-8">
34 <meta http-equiv=
"X-UA-Compatible" content=
"IE=edge">
35 <meta
name=
"viewport" content=
"width=device-width, initial-scale=1">
36 <!--
import meta tags -->
37 <meta
name=
"author" content=
"<?php echo YAWK\settings::getSetting($db, "siteauthor
"); ?>">
38 <meta
name=
"keywords" content=
"<?php echo YAWK\settings::getSetting($db, "globalmetakeywords
"); ?>">
39 <meta
name=
"description" content=
"<?php echo YAWK\settings::getSetting($db, "globalmetatext
"); ?>">
41 <link rel=
"apple-touch-icon" sizes=
"180x180" href=
"/apple-touch-icon.png">
42 <link rel=
"icon" type=
"image/png" sizes=
"32x32" href=
"/favicon-32x32.png">
43 <link rel=
"icon" type=
"image/png" sizes=
"16x16" href=
"/favicon-16x16.png">
44 <link rel=
"manifest" href=
"/site.webmanifest">
45 <meta
name=
"msapplication-TileColor" content=
"#ffffff">
46 <meta
name=
"theme-color" content=
"#ffffff">
51 \YAWK\sys::includeHeader(
$db,
$host);
59 $template->loadActiveAssets(
$db, $template->id,
$host,
'css');
62 <!-- SETTINGS.MIN.CSS YaWK
template settings: Bootstrap core CSS
override -->
63 <link rel=
"stylesheet" type=
"text/css" href=
"system/templates/<?php echo $template->name; ?>/css/settings.min.css">
64 <!-- CUSTOM.MIN.CSS User defined CSS Rules -->
65 <link rel=
"stylesheet" type=
"text/css" href=
"system/templates/<?php echo $template->name; ?>/css/custom.min.css">
68 <script src=
"system/engines/jquery/html5shiv.min.js"></script>
69 <script src=
"system/engines/jquery/1.3.0-respond.min.js"></script>
72 <!--
import yawk app: custom js -->
73 <script src=
"system/templates/<?php echo $template->name; ?>/js/custom.min.js"></script>
76 <body style=
"<?php echo YAWK\template::getActiveBodyFont($db); ?>" ondragstart=
"return false" id=
"home">
84 <div
class=
"container-fluid">
96 <!-- <div
class=
"col-md-2 posbox" id=
"pos_outerLeft" style=
"height: 630px; margin-bottom:5px; text-align: center;">«outerLeft»</div> -->
98 if (
$positions[
'pos-outerLeft-enabled'] ===
"1" && (
$positions[
'pos-outerRight-enabled'] ===
"1"))
102 else if (
$positions[
'pos-outerLeft-enabled'] ===
"0" && (
$positions[
'pos-outerRight-enabled'] ===
"1")
103 || (
$positions[
'pos-outerLeft-enabled'] ===
"1" && (
$positions[
'pos-outerRight-enabled'] ===
"0")))
112 <div
class=
"<?php echo $col; ?>">
130 <!-- <div
class=
"col-md-2 posbox" id=
"pos_outerLeft" style=
"height: 630px; margin-bottom:5px; text-align: center;">«outerLeft»</div> -->
132 if (
$positions[
'pos-leftMenu-enabled'] ===
"1" && (
$positions[
'pos-rightMenu-enabled'] ===
"1"))
136 else if (
$positions[
'pos-leftMenu-enabled'] ===
"0" && (
$positions[
'pos-rightMenu-enabled'] ===
"1")
137 || (
$positions[
'pos-leftMenu-enabled'] ===
"1" && (
$positions[
'pos-rightMenu-enabled'] ===
"0")))
146 <div
class=
"<?php echo $col; ?>">
147 <!-- <div
class=
"col-md-2 posbox" id=
"pos_leftMenu" style=
"height: 410px; margin-bottom:5px; text-align: center;">«leftMenu»</div> -->
148 <!-- <div
class=
"col-md-8" style=
"height: auto; margin-bottom:5px; text-align: center;"> -->
154 <!-- <div
class=
"col-md-12 posbox" id=
"pos_mainTop" style=
"height: auto; margin-bottom:5px; text-align: center;">«mainTop»</div> -->
158 if (
$positions[
'pos-mainTopLeft-enabled'] ===
"1" && (
$positions[
'pos-mainTopCenter-enabled'] ===
"1") && (
$positions[
'pos-mainTopRight-enabled'] ===
"1"))
167 else if (
$positions[
'pos-mainTopLeft-enabled'] ===
"1" && (
$positions[
'pos-mainTopCenter-enabled'] ===
"0") && (
$positions[
'pos-mainTopRight-enabled'] ===
"0"))
172 else if (
$positions[
'pos-mainTopLeft-enabled'] ===
"0" && (
$positions[
'pos-mainTopCenter-enabled'] ===
"1") && (
$positions[
'pos-mainTopRight-enabled'] ===
"0"))
177 else if (
$positions[
'pos-mainTopLeft-enabled'] ===
"0" && (
$positions[
'pos-mainTopCenter-enabled'] ===
"0") && (
$positions[
'pos-mainTopRight-enabled'] ===
"1"))
182 else if (
$positions[
'pos-mainTopLeft-enabled'] ===
"1" && (
$positions[
'pos-mainTopCenter-enabled'] ===
"1") && (
$positions[
'pos-mainTopRight-enabled'] ===
"0"))
189 else if (
$positions[
'pos-mainTopLeft-enabled'] ===
"0" && (
$positions[
'pos-mainTopCenter-enabled'] ===
"1") && (
$positions[
'pos-mainTopRight-enabled'] ===
"1"))
196 else if (
$positions[
'pos-mainTopLeft-enabled'] ===
"1" && (
$positions[
'pos-mainTopCenter-enabled'] ===
"0") && (
$positions[
'pos-mainTopRight-enabled'] ===
"1"))
262 if (
$positions[
'pos-mainBottomLeft-enabled'] ===
"1" && (
$positions[
'pos-mainBottomCenter-enabled'] ===
"1") && (
$positions[
'pos-mainBottomRight-enabled'] ===
"1"))
271 else if (
$positions[
'pos-mainBottomLeft-enabled'] ===
"1" && (
$positions[
'pos-mainBottomCenter-enabled'] ===
"0") && (
$positions[
'pos-mainBottomRight-enabled'] ===
"0"))
276 else if (
$positions[
'pos-mainBottomLeft-enabled'] ===
"0" && (
$positions[
'pos-mainBottomCenter-enabled'] ===
"1") && (
$positions[
'pos-mainBottomRight-enabled'] ===
"0"))
281 else if (
$positions[
'pos-mainBottomLeft-enabled'] ===
"0" && (
$positions[
'pos-mainBottomCenter-enabled'] ===
"0") && (
$positions[
'pos-mainBottomRight-enabled'] ===
"1"))
286 else if (
$positions[
'pos-mainBottomLeft-enabled'] ===
"1" && (
$positions[
'pos-mainBottomCenter-enabled'] ===
"1") && (
$positions[
'pos-mainBottomRight-enabled'] ===
"0"))
293 else if (
$positions[
'pos-mainBottomLeft-enabled'] ===
"0" && (
$positions[
'pos-mainBottomCenter-enabled'] ===
"1") && (
$positions[
'pos-mainBottomRight-enabled'] ===
"1"))
300 else if (
$positions[
'pos-mainBottomLeft-enabled'] ===
"1" && (
$positions[
'pos-mainBottomCenter-enabled'] ===
"0") && (
$positions[
'pos-mainBottomRight-enabled'] ===
"1"))
317 if (
$positions[
'pos-mainFooterLeft-enabled'] ===
"1" && (
$positions[
'pos-mainFooterCenter-enabled'] ===
"1") && (
$positions[
'pos-mainFooterRight-enabled'] ===
"1"))
326 else if (
$positions[
'pos-mainFooterLeft-enabled'] ===
"1" && (
$positions[
'pos-mainFooterCenter-enabled'] ===
"0") && (
$positions[
'pos-mainFooterRight-enabled'] ===
"0"))
331 else if (
$positions[
'pos-mainFooterLeft-enabled'] ===
"0" && (
$positions[
'pos-mainFooterCenter-enabled'] ===
"1") && (
$positions[
'pos-mainFooterRight-enabled'] ===
"0"))
336 else if (
$positions[
'pos-mainFooterLeft-enabled'] ===
"0" && (
$positions[
'pos-mainFooterCenter-enabled'] ===
"0") && (
$positions[
'pos-mainFooterRight-enabled'] ===
"1"))
341 else if (
$positions[
'pos-mainFooterLeft-enabled'] ===
"1" && (
$positions[
'pos-mainFooterCenter-enabled'] ===
"1") && (
$positions[
'pos-mainFooterRight-enabled'] ===
"0"))
348 else if (
$positions[
'pos-mainFooterLeft-enabled'] ===
"0" && (
$positions[
'pos-mainFooterCenter-enabled'] ===
"1") && (
$positions[
'pos-mainFooterRight-enabled'] ===
"1"))
355 else if (
$positions[
'pos-mainFooterLeft-enabled'] ===
"1" && (
$positions[
'pos-mainFooterCenter-enabled'] ===
"0") && (
$positions[
'pos-mainFooterRight-enabled'] ===
"1"))
369 <!-- <div
class=
"col-md-2 posbox" id=
"pos_rightMenu" style=
"height: 410px; margin-bottom:5px; text-align: center;">«rightMenu»</div> -->
399 <!-- <div
class=
"navbar-fixed-bottom"> -->
448 $template->loadActiveAssets(
$db, $template->id,
$host,
'js'); ?>
449 <!--
import yawk app: custom js -->
450 <script src=
"<?php echo $host; ?>system/templates/<?php echo $template->name; ?>/js/custom.min.js"></script>
print $lang['FILEMAN_UPLOAD']
static addTrailingSlash($url)
sometimes it is necessary to add a slash to a url.
static getPositionIndicatorStatusArray($db, $templateID)
get the position indicators. This is used on index.php to mark indicated positions
static getPositionStatesArray($db, $templateID)
get the position states of all templates. This is used on index.php to render only templates that are...
static loadGoogleFonts($db)
get settings for heading, menu and text font and output html to load font
static getPositionDivBox($db, $lang, $position, $row, $bootstrapGrid, $positions, $indicators, $user, $template)
return div box with postition settings
This class serves methods to create backup from files.