-
Notifications
You must be signed in to change notification settings - Fork 0
/
_layout.php
39 lines (38 loc) · 1.37 KB
/
_layout.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
if(isset($_GET['page'])){
$page = $_GET['page'];
}else{
$page ="";
}
?>
<?php include ("partials/_header-base-mobile.php"); ?>
<!-- begin:: Root -->
<div class="kt-grid kt-grid--hor kt-grid--root">
<!-- begin:: Page -->
<div class="kt-grid__item kt-grid__item--fluid kt-grid kt-grid--ver kt-page">
<?php include("partials/_aside-base.php"); ?>
<!-- begin:: Wrapper -->
<div class="kt-grid__item kt-grid__item--fluid kt-grid kt-grid--hor kt-wrapper" id="kt_wrapper">
<?php include ("partials/_header-base.php" ); ?>
<div class="kt-content kt-grid__item kt-grid__item--fluid kt-grid kt-grid--hor" id="kt_content">
<?php
if(file_exists($page)){
include_once ($page);
}else{
include_once ("pages/dashboard.php" );
}
?>
</div>
<?php include ("partials/_footer-base.php" ); ?>
</div>
<!-- end:: Wrapper -->
</div>
<!-- end:: Page -->
</div>
<!-- end:: Root -->
<!-- begin:: Topbar Offcanvas Panels -->
<?php include ("partials/_offcanvas-quick-actions.php" ); ?>
<!-- end:: Topbar Offcanvas Panels -->
<?php include("partials/_layout-quick-panel.php" ); ?>
<?php include("partials/_layout-scrolltop.php" ); ?>
<?php include("partials/_layout-demo-panel.php" ); ?>