bludit/bl-kernel/admin/themes/booty/index.php

88 lines
2.0 KiB
PHP
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<title><?php echo $layout['title'] ?></title>
<meta charset="<?php echo CHARSET ?>">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="robots" content="noindex,nofollow">
<!-- Favicon -->
<link rel="shortcut icon" type="image/x-icon" href="<?php echo HTML_PATH_ADMIN_THEME.'img/favicon.png?version='.BLUDIT_VERSION ?>">
<!-- CSS -->
<?php
2018-06-25 23:17:43 +02:00
echo Theme::bootstrapCSS();
echo Bootstrap::css(array(
'jquery-auto-complete.css',
2018-06-25 23:17:43 +02:00
'open-iconic-bootstrap.min.css',
'bludit.css'
));
?>
<!-- Javascript -->
<?php
2018-06-25 23:17:43 +02:00
echo Theme::jquery();
echo Theme::bootstrapJS();
echo Bootstrap::js(array(
2018-06-25 23:17:43 +02:00
'jquery-auto-complete.min.js'
));
?>
2018-05-08 00:15:40 +02:00
<!-- Javascript -->
<?php
echo '<script>';
include(PATH_CORE_JS.'bludit-ajax.php');
echo '</script>';
?>
<!-- Plugins -->
<?php Theme::plugins('adminHead') ?>
</head>
<body>
<!-- Plugins -->
<?php Theme::plugins('adminBodyBegin') ?>
<!-- Javascript variables generated by PHP -->
2018-05-08 00:15:40 +02:00
<?php include(PATH_CORE_JS.'variables.php') ?>
<!-- Alert -->
<?php include('html/alert.php'); ?>
<!-- TOPBAR -->
2018-06-03 21:51:47 +02:00
<?php #include('html/topbar.php'); ?>
<div class="container">
<!-- 25%/75% split on large devices, small, medium devices hide -->
<div class="row">
<!-- LEFT SIDEBAR - Display only on large devices -->
<div class="sidebar col-lg-2 d-none d-lg-block">
<?php include('html/sidebar.php'); ?>
</div>
<!-- RIGHT MAIN -->
<div class="col-lg-10 pt-4">
<?php
if (Sanitize::pathFile(PATH_ADMIN_VIEWS, $layout['view'].'.php')) {
include(PATH_ADMIN_VIEWS.$layout['view'].'.php');
} else {
echo '<h1 class="text-center">'.$L->g('Page not found').'</h1>';
echo '<h2 class="text-center">'.$L->g('Choose a page from the sidebar.').'</h2>';
}
?>
</div>
</div>
</div>
2018-06-24 13:37:45 +02:00
<!-- Check user logged and Internet connection -->
<?php include('html/user-logged.php'); ?>
<!-- Plugins -->
<?php Theme::plugins('adminBodyEnd') ?>
</body>
2018-06-24 13:37:45 +02:00
</html>