-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.inc.php
260 lines (254 loc) · 13.4 KB
/
header.inc.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
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en">
<!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
<!--<meta http-equiv="Cache-control" content="public">-->
<meta charset="utf-8" />
<title><?php echo $GLOBALS['SITETITLE']; ?></title>
<base href="<?php echo $GLOBALS['BASEURL']; ?>" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1" name="viewport" />
<meta content="" name="description" />
<meta content="" name="author" />
<!-- BEGIN GLOBAL MANDATORY STYLES -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700&subset=all" rel="stylesheet" type="text/css" />
<link href="assets/global/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
<link href="assets/global/plugins/simple-line-icons/simple-line-icons.min.css" rel="stylesheet" type="text/css" />
<link href="assets/global/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="assets/global/plugins/bootstrap-switch/css/bootstrap-switch.min.css" rel="stylesheet" type="text/css" />
<!-- END GLOBAL MANDATORY STYLES -->
<!-- BEGIN PAGE LEVEL PLUGINS -->
<?php
switch(pathinfo($_SERVER['PHP_SELF'])['filename']){
case 'index2': ?>
<?php if(dirname($_SERVER['PHP_SELF']) == $GLOBALS['BASEURL'].'workspace'){ ?>
<link href="assets/pages/css/jquery.dataTables.min.css" rel="stylesheet" type="text/css" />
<link href="assets/pages/css/treeTable.dataTables.css" rel="stylesheet" type="text/css" />
<link href="assets/global/plugins/datatables/plugins/bootstrap/datatables.bootstrap.css" rel="stylesheet" type="text/css" />
<link href="assets/global/plugins/bootstrap-toastr/toastr.min.css" rel="stylesheet" type="text/css" />
<?php } elseif(dirname($_SERVER['PHP_SELF']) == $GLOBALS['BASEURL'].'home'){ ?>
<link href="assets/global/plugins/cubeportfolio/css/cubeportfolio.css" rel="stylesheet" type="text/css" />
<?php } else { ?>
<link href="assets/global/plugins/select2/css/select2.min.css" rel="stylesheet" type="text/css" />
<link href="assets/global/plugins/select2/css/select2-bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="assets/pages/css/jquery.dataTables.min.css" rel="stylesheet" type="text/css" />
<?php } break;
case 'index': ?>
<?php if(dirname($_SERVER['PHP_SELF']) == $GLOBALS['BASEURL'].'workspace'){ ?>
<link href="assets/pages/css/jquery.dataTables.min.css" rel="stylesheet" type="text/css" />
<link href="assets/pages/css/treeTable.dataTables.css" rel="stylesheet" type="text/css" />
<link href="assets/global/plugins/datatables/plugins/bootstrap/datatables.bootstrap.css" rel="stylesheet" type="text/css" />
<link href="assets/global/plugins/bootstrap-toastr/toastr.min.css" rel="stylesheet" type="text/css" />
<link href="assets/global/plugins/select2/css/select2.min.css" rel="stylesheet" type="text/css" />
<link href="assets/global/plugins/select2/css/select2-bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="assets/global/plugins/progress-tracker/progress-tracker.css" rel="stylesheet" type="text/css" />
<?php } elseif(dirname($_SERVER['PHP_SELF']) == $GLOBALS['BASEURL'].'launch'){ ?>
<link href="assets/pages/css/jquery.dataTables.min.css" rel="stylesheet" type="text/css" />
<link href="assets/global/plugins/datatables/plugins/bootstrap/datatables.bootstrap.css" rel="stylesheet" type="text/css" />
<link href="assets/global/plugins/select2/css/select2.min.css" rel="stylesheet" type="text/css" />
<link href="assets/global/plugins/select2/css/select2-bootstrap.min.css" rel="stylesheet" type="text/css" />
<?php } elseif((dirname($_SERVER['PHP_SELF']) == $GLOBALS['BASEURL'].'home') || (dirname($_SERVER['PHP_SELF']) == $GLOBALS['BASEURL'].'publicsite')){ ?>
<link href="assets/global/plugins/cubeportfolio/css/cubeportfolio.css" rel="stylesheet" type="text/css" />
<?php } else { ?>
<link href="assets/global/plugins/select2/css/select2.min.css" rel="stylesheet" type="text/css" />
<link href="assets/global/plugins/select2/css/select2-bootstrap.min.css" rel="stylesheet" type="text/css" />
<?php } ?>
<?php break;
case 'usrProfile': ?>
<link href="assets/global/plugins/bootstrap-fileinput/bootstrap-fileinput.css" rel="stylesheet" type="text/css" />
<?php break;
case 'dataFromID': ?>
<link href="assets/global/plugins/typeahead/typeahead.css" rel="stylesheet" type="text/css" />
<?php break;
case 'listOfProjects': ?>
<link href="assets/pages/css/jquery.dataTables.min.css" rel="stylesheet" type="text/css" />
<link href="assets/pages/css/treeTable.dataTables.css" rel="stylesheet" type="text/css" />
<link href="assets/global/plugins/datatables/plugins/bootstrap/datatables.bootstrap.css" rel="stylesheet" type="text/css" />
<link href="assets/global/plugins/select2/css/select2.min.css" rel="stylesheet" type="text/css" />
<link href="assets/global/plugins/select2/css/select2-bootstrap.min.css" rel="stylesheet" type="text/css" />
<?php break;
case 'uploadForm': ?>
<link href="assets/global/plugins/dropzone/dropzone.min.css" rel="stylesheet" type="text/css" />
<link href="assets/global/plugins/dropzone/basic.min.css" rel="stylesheet" type="text/css" />
<?php break;
case 'uploadForm2':
case 'editFile':
case 'editFile2': ?>
<link href="assets/global/plugins/select2/css/select2.min.css" rel="stylesheet" type="text/css" />
<link href="assets/global/plugins/select2/css/select2-bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="assets/global/plugins/typeahead/typeahead.css" rel="stylesheet" type="text/css" />
<?php break;
case 'adminUsers':
case 'adminTools':
case 'adminJobs':
case 'myNewTools':
case 'dashboard':
case 'repositoryList':
case 'bignasimList':
case 'logs': ?>
<link href="assets/global/plugins/bootstrap-fileinput/bootstrap-fileinput.css" rel="stylesheet" type="text/css" />
<link href="assets/global/plugins/datatables/datatables.min.css" rel="stylesheet" type="text/css" />
<link href="assets/global/plugins/datatables/plugins/bootstrap/datatables.bootstrap.css" rel="stylesheet" type="text/css" />
<?php break;
case 'help':
case 'method':
case 'inputs':
case 'outputs':
case 'results':
case 'tutorials':
case 'references':?>
<link href="assets/global/plugins/markdown/bootstrap-markdown-editor.css" rel="stylesheet" type="text/css" />
<?php break;
case 'output': ?>
<?php if(dirname($_SERVER['PHP_SELF']) == $GLOBALS['BASEURL'].'tools/pydockdna' || dirname($_SERVER['PHP_SELF']) == $GLOBALS['BASEURL'].'tools/pydock'){ ?>
<link href="assets/global/plugins/datatables/datatables.min.css" rel="stylesheet" type="text/css" />
<link href="assets/global/plugins/datatables/plugins/bootstrap/datatables.bootstrap.css" rel="stylesheet" type="text/css" />
<?php } elseif (dirname($_SERVER['PHP_SELF']) == $GLOBALS['BASEURL'].'tools/naflex'){ ?>
<link href="tools/naflex/css/styles.css" rel="stylesheet" type="text/css" />
<?php } elseif (dirname($_SERVER['PHP_SELF']) == $GLOBALS['BASEURL'].'tools/nucldynwf'){ ?>
<link href="assets/pages/css/jquery.dataTables.min.css" rel="stylesheet" type="text/css" />
<link href="assets/global/plugins/datatables/plugins/fixedColumns/fixedColumns.dataTables.min.css" rel="stylesheet" type="text/css" />
<link href="assets/global/plugins/datatables/plugins/bootstrap/datatables.bootstrap.css" rel="stylesheet" type="text/css" />
<?php } elseif (dirname($_SERVER['PHP_SELF']) == $GLOBALS['BASEURL'].'tools/nucldynwf_pmes'){ ?>
<link href="assets/pages/css/jquery.dataTables.min.css" rel="stylesheet" type="text/css" />
<link href="assets/global/plugins/datatables/plugins/fixedColumns/fixedColumns.dataTables.min.css" rel="stylesheet" type="text/css" />
<link href="assets/global/plugins/datatables/plugins/bootstrap/datatables.bootstrap.css" rel="stylesheet" type="text/css" />
<?php } ?>
<?php break;
case 'input': ?>
<link href="assets/global/plugins/select2/css/select2.min.css" rel="stylesheet" type="text/css" />
<link href="assets/global/plugins/select2/css/select2-bootstrap.min.css" rel="stylesheet" type="text/css" />
<link href="assets/global/plugins/datatables/datatables.min.css" rel="stylesheet" type="text/css" />
<link href="assets/global/plugins/datatables/plugins/bootstrap/datatables.bootstrap.css" rel="stylesheet" type="text/css" />
<link href="assets/global/plugins/typeahead/typeahead.css" rel="stylesheet" type="text/css" />
<?php break;
case 'jsonTestValidator':
case 'jsonSpecValidator': ?>
<link href="assets/global/plugins/codemirror/lib/codemirror.css" rel="stylesheet" type="text/css" />
<link href="assets/global/plugins/codemirror/addon/lint/lint.css" rel="stylesheet" type="text/css" />
<?php break;
case 'editUser': ?>
<link href="assets/global/plugins/select2/css/select2.min.css" rel="stylesheet" type="text/css" />
<link href="assets/global/plugins/select2/css/select2-bootstrap.min.css" rel="stylesheet" type="text/css" />
<?php break;
case 'createTest': ?>
<link href="assets/global/plugins/select2/css/select2.min.css" rel="stylesheet" type="text/css" />
<link href="assets/global/plugins/select2/css/select2-bootstrap.min.css" rel="stylesheet" type="text/css" />
<?php break;
case 'tools':
case 'visualizers': ?>
<link href="assets/global/plugins/cubeportfolio/css/cubeportfolio.css" rel="stylesheet" type="text/css" />
<?php break ?>;
<?php } ?>
<!-- END PAGE LEVEL PLUGINS -->
<!-- BEGIN THEME GLOBAL STYLES -->
<link href="assets/global/css/components.min.css" rel="stylesheet" id="style_components" type="text/css" />
<link href="assets/global/css/plugins.min.css" rel="stylesheet" type="text/css" />
<!-- END THEME GLOBAL STYLES -->
<!-- BEGIN PAGE LEVEL STYLES -->
<?php
switch(pathinfo($_SERVER['PHP_SELF'])['filename']){
case 'index2': ?>
<?php if(dirname($_SERVER['PHP_SELF']) == $GLOBALS['BASEURL'].'workspace'){ ?>
<?php } elseif(dirname($_SERVER['PHP_SELF']) == $GLOBALS['BASEURL'].'home'){ ?>
<link href="assets/pages/css/portfolio.min.css" rel="stylesheet" type="text/css" />
<?php } else { ?>
<link href="assets/pages/css/login.min.css" rel="stylesheet" type="text/css" />
<?php } ?>
<?php break;
case 'resetPassword':
case 'index': ?>
<?php if(dirname($_SERVER['PHP_SELF']) == $GLOBALS['BASEURL'].'workspace'){ ?>
<?php } elseif((dirname($_SERVER['PHP_SELF']) == $GLOBALS['BASEURL'].'home') || (dirname($_SERVER['PHP_SELF']) == $GLOBALS['BASEURL'].'publicsite')){ ?>
<link href="assets/pages/css/portfolio.min.css" rel="stylesheet" type="text/css" />
<?php } else { ?>
<link href="assets/pages/css/login.min.css" rel="stylesheet" type="text/css" />
<?php } ?>
<?php break;
case 'lockScreen': ?>
<link href="assets/pages/css/lock.min.css" rel="stylesheet" type="text/css" />
<?php break;
case 'usrProfile': ?>
<link href="assets/pages/css/profile.min.css" rel="stylesheet" type="text/css" />
<?php break;
case 'input':
case 'output': ?>
<link href="assets/pages/css/customized-tools.css" rel="stylesheet" type="text/css" />
<?php break;
case 'tools':
case 'visualizers': ?>
<link href="assets/pages/css/portfolio.min.css" rel="stylesheet" type="text/css" />
<?php break; ?>
<?php } ?>
<!-- END PAGE LEVEL STYLES -->
<!-- BEGIN THEME LAYOUT STYLES -->
<?php
switch(pathinfo($_SERVER['PHP_SELF'])['filename']){
case 'index2':
case 'index':
case 'home':
case 'usrProfile':
case 'uploadForm':
case 'uploadForm2':
case 'editFile':
case 'editFile2':
case 'adminUsers':
case 'newUser':
case 'newProject':
case 'editProject':
case 'listOfProjects':
case 'editUser':
case 'adminTools':
case 'adminJobs':
case 'myNewTools':
case 'newTool':
case 'vmURL':
case 'createTest':
case 'jsonSpecValidator':
case 'jsonTestValidator':
case 'dashboard':
case 'repositoryList':
case 'bignasimList':
case 'sampleDataList':
case 'data_senescence':
case 'experiment':
case 'dataFromTxt':
case 'dataFromID':
case 'input':
case 'output':
case 'loading_output':
case 'general':
case 'starting':
case 'upload':
case 'ws':
case 'launch':
case 'hdesk':
case 'related':
case 'refs':
case 'ackn':
case 'help':
case 'method':
case 'inputs':
case 'outputs':
case 'results':
case 'tutorials':
case 'references':
case 'tools':
case 'visualizers':
case 'restoreLink':
case 'form':
case 'logs':
?>
<link href="assets/layouts/layout/css/layout.min.css" rel="stylesheet" type="text/css" />
<link href="assets/layouts/layout/css/themes/darkblue.min.css" rel="stylesheet" type="text/css" id="style_color" />
<?php break; ?>
<?php } ?>
<link href="assets/layouts/layout/css/custom.min.css?v=<?php echo rand(); ?>" rel="stylesheet" type="text/css" />
<!-- END THEME LAYOUT STYLES -->
<link rel="icon" href="assets/layouts/layout/img/icon.png" sizes="32x32" />
</head>
<!-- END HEAD -->