-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlayout.php
53 lines (37 loc) · 1.31 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?php
if(isset($_GET['page'])){
$page = $_GET['page'];
}else{
$page ="";
}
?>
<?php include_once("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_once("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_once("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_once("partials/_footer/base.php"); ?>
</div>
<!-- end:: Wrapper -->
<?php include_once("partials/_aside-secondary/base.php"); ?>
</div>
<!-- end:: Page -->
</div>
<!-- end:: Root -->
<!-- begin:: Topbar Offcanvas Panels -->
<?php include_once("partials/_topbar/offcanvas/user.php"); ?>
<!-- end:: Topbar Offcanvas Panels -->
<?php include_once("partials/_scrolltop.php"); ?>