Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 28 lines (24 sloc) 0.92 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";
08dc4b6 Centralize common variables
jakubvrana authored
22 } else {
d58858c Simpler index.php structure
jakubvrana authored
23 include "./db.inc.php";
b95f24e Editor: User friendly data editor
jakubvrana authored
24 }
25
26 // each page calls its own page_header(), if the footer should not be called then the page exits
27 page_footer();
Something went wrong with that request. Please try again.