Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 30 lines (26 sloc) 0.985 kB
b95f24e Editor: User friendly data editor
jakubvrana authored
1 <?php
3f5b683 Reintegrate sqlite branch
jakubvrana authored
2 /** Adminer Editor - Compact database editor
b95f24e Editor: User friendly data editor
jakubvrana authored
3 * @link http://www.adminer.org/
43f936a @vrana Links
authored
4 * @author Jakub Vrana, http://www.vrana.cz/
b95f24e Editor: User friendly data editor
jakubvrana authored
5 * @copyright 2009 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
7 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
b95f24e Editor: User friendly data editor
jakubvrana authored
8 */
9
10 include "../adminer/include/bootstrap.inc.php";
3f5b683 Reintegrate sqlite branch
jakubvrana authored
11 $drivers[DRIVER] = lang('Login');
b95f24e Editor: User friendly data editor
jakubvrana authored
12
d58858c Simpler index.php structure
jakubvrana authored
13 if (isset($_GET["select"]) && ($_POST["edit"] || $_POST["clone"]) && !$_POST["save"]) {
14 $_GET["edit"] = $_GET["select"];
15 }
b95f24e Editor: User friendly data editor
jakubvrana authored
16 if (isset($_GET["download"])) {
17 include "../adminer/download.inc.php";
d58858c Simpler index.php structure
jakubvrana authored
18 } elseif (isset($_GET["edit"])) {
19 include "../adminer/edit.inc.php";
20 } elseif (isset($_GET["select"])) {
21 include "../adminer/select.inc.php";
6b4ee48 @vrana Autocomplete for big foreign keys
authored
22 } elseif (isset($_GET["script"])) {
23 include "./script.inc.php";
08dc4b6 Centralize common variables
jakubvrana authored
24 } else {
d58858c Simpler index.php structure
jakubvrana authored
25 include "./db.inc.php";
b95f24e Editor: User friendly data editor
jakubvrana authored
26 }
27
28 // each page calls its own page_header(), if the footer should not be called then the page exits
29 page_footer();
Something went wrong with that request. Please try again.