-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcms.php
More file actions
60 lines (58 loc) · 1.74 KB
/
cms.php
File metadata and controls
60 lines (58 loc) · 1.74 KB
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
54
55
56
57
58
59
60
<?php
session_start();
if ($_SESSION['log'] == "admin") {
?>
<!DOCTYPE html>
<html>
<head>
<title>C.M.S | R.E.X</title>
<?php include 'components/head.php'; ?>
</head>
<body>
<?php
include 'components/navHead.php';
include 'actions/detecter.php';
include 'components/modals/image.html';
include 'components/modals/files/confirm.html';
include 'components/modals/tables/confirm.html';
include 'components/modals/files/replace.html';
include 'components/admin/modals/clients/changePicture.html';
include 'components/admin/modals/cms-rename.html';
include 'components/database.php';
?>
<br>
<div class="container" id="cms">
<div class="alert alert-success text-center fade in">
<a class="close" data-dismiss="alert" aria-label="close">×</a>
<label>Welcome to C.M.S Panel <?php echo $_SESSION['fname']; ?>! </label>
</div>
<ul class="nav nav-tabs nav-justified">
<li class="active"><a data-toggle="tab" href="#fs_prop">Property Images</a></li>
<li><a data-toggle="tab" href="#fs_client">Client Images</a></li>
<li><a data-toggle="tab" href="#fs_admin">Admin Images</a></li>
<li><a data-toggle="tab" href="#db_prop">Property Images Table</a></li>
</ul>
<div class="tab-content">
<?php
include 'components/admin/cms/prop-images.php';
$type = "client";
include 'components/admin/cms/user-images.php';
$type = "admin";
include 'components/admin/cms/user-images.php';
include 'components/admin/cms/prop-images-table.php';
?>
</div>
</div>
<?php
include 'components/footer.html';
?>
<script type="text/javascript" src="js/cms.js"></script>
<script type="text/javascript" src="js/active.js"></script>
<script type="text/javascript" src="js/common.js"></script>
</body>
</html>
<?php
} else {
header("Location: /");
}
?>