Skip to content
Newer
Older
100644 80 lines (74 sloc) 2.42 KB
667bfec Decomposition
jakubvrana authored Jul 2, 2007
1 <?php
3f5b683 Reintegrate sqlite branch
jakubvrana authored Apr 21, 2010
2 /** Adminer - Compact database management
a01b2ef @vrana Change links to HTTPS
authored Sep 8, 2015
3 * @link https://www.adminer.org/
43f936a @vrana Links
authored Oct 29, 2010
4 * @author Jakub Vrana, http://www.vrana.cz/
9f230bb phpDocumentor header
jakubvrana authored Aug 6, 2007
5 * @copyright 2007 Jakub Vrana
6 * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
8aac3b6 @vrana Dual licensing: Apache or GPL
authored Nov 9, 2010
7 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
9f230bb phpDocumentor header
jakubvrana authored Aug 6, 2007
8 */
1fb9063 Copyright
jakubvrana authored Jul 5, 2007
9
ab48976 Separate bootstrap
jakubvrana authored Jul 3, 2009
10 include "./include/bootstrap.inc.php";
601cdd4 @vrana Constraint memory used in TAR export
authored May 1, 2013
11 include "./include/tmpfile.inc.php";
667bfec Decomposition
jakubvrana authored Jul 2, 2007
12
8670cfc @vrana Fix enum types in routines (bug #391)
authored Mar 15, 2014
13 $enum_length = "'(?:''|[^'\\\\]|\\\\.)*'";
55e2b75 @vrana Save bytes
authored Jul 11, 2011
14 $inout = "IN|OUT|INOUT";
481e838 Simplify includes
jakubvrana authored Jun 18, 2009
15
d58858c Simpler index.php structure
jakubvrana authored Aug 29, 2009
16 if (isset($_GET["select"]) && ($_POST["edit"] || $_POST["clone"]) && !$_POST["save"]) {
17 $_GET["edit"] = $_GET["select"];
18 }
19 if (isset($_GET["callf"])) {
20 $_GET["call"] = $_GET["callf"];
21 }
22 if (isset($_GET["function"])) {
23 $_GET["procedure"] = $_GET["function"];
24 }
9c78b3b @vrana Add empty lines to source code
authored May 1, 2013
25
80bc4b3 Prepare customizable export
jakubvrana authored Jun 20, 2008
26 if (isset($_GET["download"])) {
430034c Cottage homework
jakubvrana authored Jul 9, 2007
27 include "./download.inc.php";
481e838 Simplify includes
jakubvrana authored Jun 18, 2009
28 } elseif (isset($_GET["table"])) {
29 include "./table.inc.php";
30 } elseif (isset($_GET["schema"])) {
31 include "./schema.inc.php";
32 } elseif (isset($_GET["dump"])) {
33 include "./dump.inc.php";
34 } elseif (isset($_GET["privileges"])) {
35 include "./privileges.inc.php";
d58858c Simpler index.php structure
jakubvrana authored Aug 29, 2009
36 } elseif (isset($_GET["sql"])) {
37 include "./sql.inc.php";
38 } elseif (isset($_GET["edit"])) {
39 include "./edit.inc.php";
40 } elseif (isset($_GET["create"])) {
41 include "./create.inc.php";
42 } elseif (isset($_GET["indexes"])) {
43 include "./indexes.inc.php";
44 } elseif (isset($_GET["database"])) {
45 include "./database.inc.php";
6420c58 Schema support for PostgreSQL
jakubvrana authored May 5, 2010
46 } elseif (isset($_GET["scheme"])) {
47 include "./scheme.inc.php";
d58858c Simpler index.php structure
jakubvrana authored Aug 29, 2009
48 } elseif (isset($_GET["call"])) {
49 include "./call.inc.php";
50 } elseif (isset($_GET["foreign"])) {
51 include "./foreign.inc.php";
52 } elseif (isset($_GET["view"])) {
53 include "./view.inc.php";
54 } elseif (isset($_GET["event"])) {
55 include "./event.inc.php";
56 } elseif (isset($_GET["procedure"])) {
57 include "./procedure.inc.php";
f2d21d2 @vrana Sequences
authored May 5, 2010
58 } elseif (isset($_GET["sequence"])) {
59 include "./sequence.inc.php";
3308856 @vrana User types support for PostgreSQL
authored May 21, 2010
60 } elseif (isset($_GET["type"])) {
61 include "./type.inc.php";
d58858c Simpler index.php structure
jakubvrana authored Aug 29, 2009
62 } elseif (isset($_GET["trigger"])) {
63 include "./trigger.inc.php";
64 } elseif (isset($_GET["user"])) {
65 include "./user.inc.php";
66 } elseif (isset($_GET["processlist"])) {
67 include "./processlist.inc.php";
68 } elseif (isset($_GET["select"])) {
69 include "./select.inc.php";
70 } elseif (isset($_GET["variables"])) {
71 include "./variables.inc.php";
e98c995 @vrana Separate JavaScript to not wait with Firebug
authored Oct 15, 2010
72 } elseif (isset($_GET["script"])) {
73 include "./script.inc.php";
08dc4b6 Centralize common variables
jakubvrana authored Jul 16, 2009
74 } else {
d58858c Simpler index.php structure
jakubvrana authored Aug 29, 2009
75 include "./db.inc.php";
667bfec Decomposition
jakubvrana authored Jul 2, 2007
76 }
4ad7180 Disable filter.default
jakubvrana authored Jun 26, 2009
77
64ba924 Comments
jakubvrana authored Jun 21, 2009
78 // each page calls its own page_header(), if the footer should not be called then the page exits
481e838 Simplify includes
jakubvrana authored Jun 18, 2009
79 page_footer();
Something went wrong with that request. Please try again.