-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
executable file
·41 lines (34 loc) · 993 Bytes
/
index.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
<?php
require "admin/template/inc/header.php";
?>
<div id="bottomContainer">
<?php
if(!$one){
$file = basename($_SERVER['PHP_SELF']);
$page_class = pathinfo($file, PATHINFO_FILENAME);
$page->page_name=$page_class;
require "admin/template/page_recall.php";
}else{
foreach($page_order as $page_req){
if($page_req!="login"){
$page->page_name=$page_req;
if($page_req=="contact"){
require "admin/inc/contact_form.php";
}else if($page_req=="index"){
require "admin/template/page_recall.php";
}else{
?>
<div id="<?=$page_req?>">
<?php
require "admin/template/page_recall.php";
?>
</div>
<?php
}
}
}
}
?>
</div>
<?php
require "admin/template/inc/footer.php";