forked from causefx/Organizr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
260 lines (257 loc) · 14.9 KB
/
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
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
<?php
include 'api/functions.php';
$Organizr = new Organizr(true);
?>
<!DOCTYPE html>
<html lang="en" ontouchmove>
<head>
<meta charset="utf-8">
<meta content="IE=edge" http-equiv="X-UA-Compatible">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"
name="viewport">
<meta content="<?php echo $Organizr->config['description']; ?>" name="description">
<meta content="CauseFX" name="author">
<?php echo $Organizr->favIcons(); ?>
<title><?php echo $Organizr->config['title']; ?></title>
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="application-name" content="<?php echo $Organizr->config['title']; ?>">
<meta name="apple-mobile-web-app-title" content="<?php echo $Organizr->config['title']; ?>">
<link href="bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="plugins/bower_components/sidebar-nav/dist/sidebar-nav.min.css" rel="stylesheet">
<link href="plugins/bower_components/jquery-wizard-master/css/wizard.css" rel="stylesheet">
<link href="plugins/bower_components/datatables/jquery.dataTables.min.css" rel="stylesheet" type="text/css"/>
<link href="plugins/bower_components/jquery-wizard-master/libs/formvalidation/formValidation.min.css"
rel="stylesheet">
<link href="plugins/bower_components/Magnific-Popup-master/dist/magnific-popup.css" rel="stylesheet">
<link href="plugins/bower_components/switchery/dist/switchery.min.css" rel="stylesheet"/>
<link href="plugins/bower_components/dropzone-master/dist/dropzone.css" rel="stylesheet" type="text/css"/>
<link href="plugins/bower_components/css-chart/css-chart.css" rel="stylesheet">
<link href="plugins/bower_components/calendar/dist/fullcalendar.min.css" rel="stylesheet"/>
<link href="plugins/bower_components/custom-select/custom-select.css" rel="stylesheet" type="text/css"/>
<link href="plugins/bower_components/bootstrap-colorpicker-sliders/bootstrap.colorpickersliders.min.css"
rel="stylesheet" type="text/css"/>
<link href="plugins/bower_components/bootstrap-select/bootstrap-select.min.css" rel="stylesheet"/>
<link href="plugins/bower_components/multiselect/css/multi-select.css" rel="stylesheet" type="text/css"/>
<link href="plugins/bower_components/owl.carousel/owl.carousel.min.css" rel="stylesheet" type="text/css"/>
<link href="plugins/bower_components/owl.carousel/owl.theme.default.css" rel="stylesheet" type="text/css"/>
<link href="plugins/bower_components/hover/hover-min.css" rel="stylesheet" type="text/css"/>
<link href="plugins/bower_components/jsgrid/dist/jsgrid.min.css" rel="stylesheet" type="text/css"/>
<link href="plugins/bower_components/jsgrid/dist/jsgrid-theme.min.css" rel="stylesheet" type="text/css"/>
<link href="plugins/bower_components/gallery/css/animated-masonry-gallery.css" rel="stylesheet" type="text/css"/>
<link href="css/animate.css" rel="stylesheet">
<link href="plugins/bower_components/overlayScrollbars/OverlayScrollbars.min.css" rel="stylesheet">
<link href="plugins/bower_components/custombox/dist/custombox.min.css" rel="stylesheet">
<link href="css/plyr.css" rel="stylesheet">
<link id="style" href="css/dark.min.css?v=<?php echo $Organizr->fileHash; ?>" rel="stylesheet">
<link href="css/organizr.min.css?v=<?php echo $Organizr->fileHash; ?>" rel="stylesheet">
<?php echo $Organizr->pluginFiles('css'); ?>
<?php echo $Organizr->setTheme(); ?>
<style id="user-appearance"></style>
<style id="custom-theme-css"></style>
<style id="custom-css"></style>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"
integrity="sha384-0s5Pv64cNZJieYFkXYOTId2HMA2Lfb6q2nAcx2n0RTLUnCAoTTsS0nKEO27XyKcY"
crossorigin="anonymous"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"
integrity="sha384-ZoaMbDF+4LeFxg6WdScQ9nnR1QC2MIRxA1O9KWEXQwns1G8UNyIEZIQidzb0T1fo"
crossorigin="anonymous"></script>
<![endif]-->
</head>
<body class="fix-header" data-active-tab="" tabIndex=0>
<!-- ============================================================== -->
<!-- Preloader -->
<!-- ============================================================== -->
<div id="preloader" class="preloader">
<svg class="circular" viewbox="25 25 50 50">
<circle class="path" cx="50" cy="50" fill="none" r="20" stroke-miterlimit="10" stroke-width="10"></circle>
</svg>
</div>
<!-- ============================================================== -->
<!-- Wrapper -->
<!-- ============================================================== -->
<div id="wrapper">
<!-- ============================================================== -->
<!-- Topbar header - style you can find in pages.scss -->
<!-- ============================================================== -->
<nav class="navbar navbar-default navbar-static-top m-b-0 animated slideInDown">
<div class="navbar-header">
<div class="top-left-part hidden-xs p-r-10">
<?php echo $Organizr->showTopBarHamburger(); ?>
<!-- Logo -->
<a class="logo" href="javascript:void(0)">
<!-- Logo text image you can use text also -->
<span class="hidden-xs elip" id="main-logo"></span>
</a>
</div>
<!-- /Logo -->
<!-- Search input and Toggle icon -->
<ul class="nav navbar-top-links navbar-left">
<li><a class="open-close waves-effect waves-light visible-xs" href="javascript:void(0)"><i
class="ti-close ti-menu fa-fw"></i></a></li>
<li class=""><a class="dropdown-toggle waves-effect waves-light" onclick="reloadCurrentTab();"> <i
class="ti-reload"></i></a></li>
<li class=""><a class="dropdown-toggle waves-effect waves-light" onclick="closeCurrentTab(event);"> <i
class="ti-close"></i></a></li>
<li class=""><a class="dropdown-toggle waves-effect waves-light hidden" onclick="splashMenu();"> <i
class="ti-layout-grid2"></i></a></li>
</ul>
<ul class="nav navbar-top-links navbar-right pull-right"></ul>
</div>
<!-- /.navbar-header -->
<!-- /.navbar-top-links -->
<!-- /.navbar-static-side -->
<div class="dropdown-menu animated bounceInDown bg-danger text-white" id="main-org-error-container">
<div class="mega-dropdown-menu row">
<div class="col-lg-12 mb-4">
<h3 class="mb-3 pull-left"><i class="fa fa-close text-white"></i> <span lang="en">An Error Occurred</span>
</h3>
<h3 class="mb-3 pull-right mouse" onclick="closeOrgError();"><i
class="fa fa-check text-success"></i>
<span lang="en">Close Error</span>
</h3>
<br/>
<br/>
<div class="m-t-20" id="main-org-error"></div>
</div>
</div>
</div>
</nav>
<!-- End Top Navigation -->
<!-- ============================================================== -->
<!-- Left Sidebar - style you can find in sidebar.scss -->
<!-- ============================================================== -->
<div class="navbar-default sidebar nav-bar-rtl" role="navigation">
<div class="sidebar-nav">
<div class="sidebar-head">
<h3>
<span class="open-close m-r-5">
<?php echo $Organizr->showSideBarHamburger(); ?>
<i class="ti-close visible-xs"></i>
</span>
<?php echo $Organizr->showSideBarText(); ?>
<span class="hide-menu hidden-sm hidden-md hidden-lg" id="side-logo"></span>
</h3>
</div>
<ul class="nav" id="side-menu"></ul>
</div>
</div>
<!-- ============================================================== -->
<!-- End Left Sidebar -->
<!-- ============================================================== -->
<!-- ============================================================== -->
<!-- Page Content -->
<!-- ============================================================== -->
<div class="error-page bg-org"></div>
<div class="login-area hidden"></div>
<div class="p-0" id="page-wrapper">
<div class="organizr-area hidden"></div>
<div class="plugin-listing p-0 hidden"></div>
<div class="internal-listing p-0 hidden"></div>
<div class="iFrame-listing p-0 hidden"></div>
</div>
<div class="splitRight hidden" id="page-wrapper-right">
<div class="organizr-area-right"></div>
<div class="plugin-listing-right p-0 hidden"></div>
<div class="internal-listing-right p-0 hidden"></div>
<div class="iFrame-listing-right p-0 hidden"></div>
</div>
<!-- help modal content -->
<div class="modal fade help-modal-lg" tabindex="-1" role="dialog" aria-labelledby="help-modal-lg" aria-hidden="true"
style="display: none;">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title" id="help-modal-title" lang="en">Large modal</h4></div>
<div class="modal-body" id="help-modal-body"></div>
</div>
<!-- /.modal-content -->
</div>
<!-- /.modal-dialog -->
</div>
<!-- /.modal -->
<!-- ============================================================== -->
<!-- End Page Content -->
<!-- ============================================================== -->
<a href="#" id="scroll" style="display: none;"><span></span></a>
<button id="internal-clipboard" class="hidden"></button>
<?php echo $Organizr->inconspicuous(); ?>
</div>
<!-- /#wrapper -->
<!-- jQuery -->
<!--<script src="plugins/bower_components/jquery/dist/jquery.min.js"></script>-->
<?php echo '<script>languageList = ' . $Organizr->languagePacks(true) . ";</script>\n"; ?>
<?php //echo $Organizr->loadDefaultJavascriptFiles() . "\n"; ?>
<script src="js/jquery-2.2.4.min.js"></script>
<!--<script src="js/jquery-migrate-3.3.0.js"></script>-->
<script src="bootstrap/dist/js/bootstrap.min.js"></script>
<script src="plugins/bower_components/sidebar-nav/dist/sidebar-nav.min.js"></script>
<script src="js/jquery.slimscroll.js"></script>
<script src="js/waves.js"></script>
<script src="plugins/bower_components/styleswitcher/jQuery.style.switcher.js"></script>
<script src="plugins/bower_components/moment/moment.js"></script>
<script src="plugins/bower_components/moment/moment-timezone.js"></script>
<script src="plugins/bower_components/jquery-wizard-master/dist/jquery-wizard.min.js"></script>
<script src="plugins/bower_components/jquery-wizard-master/libs/formvalidation/formValidation.min.js"></script>
<script src="plugins/bower_components/jquery-wizard-master/libs/formvalidation/bootstrap.min.js"></script>
<script src="js/bowser.min.js"></script>
<script src="js/jasny-bootstrap.js"></script>
<script src="js/js.cookie.js"></script>
<script src="js/jquery-lang.min.js"></script>
<script src="js/jquery-ui.min.js"></script>
<script src="js/jquery.serializeToJSON.js"></script>
<script src="js/lazyload.min2.js"></script>
<script src="js/clipboard.js"></script>
<script src="js/emulatetab.joelpurra.js"></script>
<script src="plugins/bower_components/ace/ace.js"></script>
<script src="plugins/bower_components/ace/mode-css.js"></script>
<script src="plugins/bower_components/ace/mode-html.js"></script>
<script src="plugins/bower_components/ace/mode-javascript.js"></script>
<script src="plugins/bower_components/ace/theme-idle_fingers.js"></script>
<script src="plugins/bower_components/blockUI/jquery.blockUI.min.js"></script>
<script src="plugins/bower_components/datatables/jquery.dataTables.min.js"></script>
<script src="plugins/bower_components/datatables-plugins/sorting/datetime-moment.js"></script>
<script src="plugins/bower_components/Magnific-Popup-master/dist/jquery.magnific-popup.min.js"></script>
<script src="plugins/bower_components/sweetalert/sweetalert.min.js?v=<?php echo $Organizr->fileHash; ?>"></script>
<script src="plugins/bower_components/switchery/dist/switchery.min.js"></script>
<script src="js/tinycolor.min.js"></script>
<script src="plugins/bower_components/bootstrap-colorpicker-sliders/bootstrap.colorpickersliders.min.js"></script>
<script src="plugins/bower_components/dropzone-master/dist/dropzone.min.js"></script>
<script src="plugins/bower_components/owl.carousel/owl.carousel.min.js"></script>
<script src="plugins/bower_components/calendar/dist/fullcalendar.min.js"></script>
<script src="plugins/bower_components/custom-select/custom-select.min.js?v=<?php echo $Organizr->fileHash; ?>"></script>
<script src="plugins/bower_components/bootstrap-select/bootstrap-select.min.js"></script>
<script src="plugins/bower_components/tinymce/tinymce.min.js"></script>
<script src="plugins/bower_components/multiselect/js/jquery.multi-select.js"></script>
<script src="plugins/bower_components/mousetrap/mousetrap.min.js"></script>
<script src="plugins/bower_components/bootstrap-treeview-master/dist/bootstrap-treeview.min.js"></script>
<script src="plugins/bower_components/jquery.easy-pie-chart/dist/jquery.easypiechart.min.js"></script>
<script src="plugins/bower_components/jsgrid/dist/jsgrid.min.js"></script>
<script src="plugins/bower_components/animatedModal/animatedModal.min.js"></script>
<script src="plugins/bower_components/gallery/js/animated-masonry-gallery.js"></script>
<script src="plugins/bower_components/gallery/js/jquery.isotope.min.js"></script>
<script src="js/gauge.min.js"></script>
<script src="js/jquery.mousewheel.min.js"></script>
<script src="js/ua-parser.min.js"></script>
<script src="js/plyr.js"></script>
<script src='plugins/bower_components/overlayScrollbars/jquery.overlayScrollbars.min.js'></script>
<script src='plugins/bower_components/custombox/dist/custombox.min.js'></script>
<script src="js/arrive.min.js"></script>
<script src="js/functions.js?v=<?php echo $Organizr->fileHash; ?>"></script>
<script src="js/custom.min.js?v=<?php echo $Organizr->fileHash; ?>"></script>
<script id="custom-theme-javascript"></script>
<script id="custom-javascript"></script>
<script src="https://js.pusher.com/4.1/pusher.min.js"
integrity="sha384-e9MoFh6Cw/uluf+NZ6MJwfJ1Dm7UOvJf9oTBxxCYDyStJeeAF0q53ztnEbLLDSQP"
crossorigin="anonymous"></script>
<?php
echo $Organizr->googleTracking();
echo $Organizr->pluginFiles('js');
echo $Organizr->formKey();
echo $Organizr->loadCalendarJS();
echo $Organizr->CBPFWTabs();
?>
</body>
</html>