-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.php
64 lines (48 loc) · 1.38 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
<?php
// include nubuilder funcions, classes and constants
require_once('nubuilder-include.php');
// setup session, database and validate input
nuInitialization();
switch ( $_SESSION[NU_NUBUILDER_SESSION_DATA][NU_ACTION] ) {
case NU_REQUEST_TYPE_LOGOUT;
$responseArry = nuLogoutResponse();
break;
case NU_REQUEST_TYPE_PMA;
$responseArry = nuPmaLoginResponse();
break;
case NU_REQUEST_TYPE_API;
$responseArry = nuApiResponse();
break;
case NU_REQUEST_TYPE_PDF;
$responseArry = nuPdfResponse();
break;
case NU_REQUEST_TYPE_PHP;
$responseArry = nuPhpResponse();
break;
case NU_REQUEST_TYPE_HTML;
$responseArry = nuPrintBrowseHtmlResponse();
break;
case NU_REQUEST_TYPE_SELECT;
$responseArry = nuSelectResponse();
break;
case NU_REQUEST_TYPE_ACE;
$responseArry = nuAceResponse();
break;
case NU_REQUEST_TYPE_CALL;
$responseArry = nuCallResponse();
break;
case NU_REQUEST_TYPE_SYSTEM_UPDATE;
$responseArry = nuSystemUpdateResponse();
break;
case NU_REQUEST_TYPE_REPORT_DESIGNER;
$responseArry = nuReportDesignerResponse();
break;
case NU_REQUEST_ILLEGAL;
$responseArry = nuIllegalResponse();
break;
default;
$responseArry = nuIndexContentResponse();
break;
}
nuRouteResponse($responseArry);
?>