Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 27 lines (23 sloc) 0.815 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
7 */
8
9 include "../adminer/include/bootstrap.inc.php";
3f5b683 Reintegrate sqlite branch
jakubvrana authored
10 $drivers[DRIVER] = lang('Login');
b95f24e Editor: User friendly data editor
jakubvrana authored
11
d58858c Simpler index.php structure
jakubvrana authored
12 if (isset($_GET["select"]) && ($_POST["edit"] || $_POST["clone"]) && !$_POST["save"]) {
13 $_GET["edit"] = $_GET["select"];
14 }
b95f24e Editor: User friendly data editor
jakubvrana authored
15 if (isset($_GET["download"])) {
16 include "../adminer/download.inc.php";
d58858c Simpler index.php structure
jakubvrana authored
17 } elseif (isset($_GET["edit"])) {
18 include "../adminer/edit.inc.php";
19 } elseif (isset($_GET["select"])) {
20 include "../adminer/select.inc.php";
08dc4b6 Centralize common variables
jakubvrana authored
21 } else {
d58858c Simpler index.php structure
jakubvrana authored
22 include "./db.inc.php";
b95f24e Editor: User friendly data editor
jakubvrana authored
23 }
24
25 // each page calls its own page_header(), if the footer should not be called then the page exits
26 page_footer();
Something went wrong with that request. Please try again.