-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathform_settings.php
More file actions
112 lines (93 loc) · 4.56 KB
/
form_settings.php
File metadata and controls
112 lines (93 loc) · 4.56 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<?php
require 'resources/includes/include.global.php';
//check to see if they're logged in
if(!isset($_SESSION['logged_in'])) {
header("Location: form_sign-in.php");
}
$uTool = new UserTools();
//get the user object from the session
$userID = $_SESSION["userID"];
if ($userID == "") {
echo "Lost userID SESSION variable...<br>";
$uTool->logout();
header("Location: form_sign-in.php");
}
$user = $uTool->get($userID);
$toID = "";
$toUser = null;
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Settings</title>
<!-- Bootstrap -->
<link href="libraries/custom/custom-bootstrap.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="resources/css/offcanvas.css" rel="stylesheet">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="row row-offcanvas row-offcanvas-right">
<div class="col-xs-12 col-sm-12">
<div class="col-xs-12 col-sm-9 "><!-- column 1 -->
<p class="pull-right visible-xs">
<button type="button" class="btn btn-warning btn-xs" data-toggle="offcanvas">Toggle nav</button>
</p>
<div class="well">
<p>Page Main Content</p>
</div>
</div><!--============================================================ End column 1 -->
<div class="col-xs-2 col-sm-2 sidebar-offcanvas" id="sidebar"><!-- column 2 -->
<div class="btn-group-vertical"><!-- sidebar menu items -->
<div class="well">
<!-- Main Menu -->
<div class="btn-group">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
Menu <span class="caret"></span>
</button>
<ul class="dropdown-menu dropdown-menu-right" role="menu">
<li><a href="index.php">Home</a></li>
<li><a href="forms.php">Forms</a></li>
<li><a href="reports.php">Reports</a></li>
<li class="divider"></li>
<li><a href="form_settings.php">Settings</a></li>
<li class="divider"></li>
<li><a href="logout.php">Sign-out</a></li>
</ul>
</div>
<!-- Page Label -->
<div class="h3" style="margin-top: 10px;">
<span class="label label-default center-block">Settings</span>
</div>
<div style="padding-top: 10px;"></div>
<!-- Clear all -->
<div class="btn-group">
<button type="button" class="btn btn-warning">Clear All</button>
</div>
<div style="padding-top: 10px;"></div>
<!-- Submit -->
<div class="btn-group">
<button type="button" class="btn btn-success">Submit</button>
</div>
</div><!--======================================================== End sidebar menu items -->
</div><!--========================================================== End well -->
</div><!--============================================================ End column 2 -->
</div><!--============================================================== End Overall Column sizes -->
</div><!--================================================================ End row -->
</div><!--================================================================== End container -->
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="libraries/jquery/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="libraries/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="resources/js/offcanvas.js"></script>
</body>
</html>