Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 30 lines (26 sloc) 0.985 kb
b95f24ea »
2009-07-03 Editor: User friendly data editor
1 <?php
3f5b6834 »
2010-04-21 Reintegrate sqlite branch
2 /** Adminer Editor - Compact database editor
b95f24ea »
2009-07-03 Editor: User friendly data editor
3 * @link http://www.adminer.org/
43f936a0 »
2010-10-29 Links
4 * @author Jakub Vrana, http://www.vrana.cz/
b95f24ea »
2009-07-03 Editor: User friendly data editor
5 * @copyright 2009 Jakub Vrana
6 * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
8aac3b6e »
2010-11-09 Dual licensing: Apache or GPL
7 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 (one or other)
b95f24ea »
2009-07-03 Editor: User friendly data editor
8 */
9
10 include "../adminer/include/bootstrap.inc.php";
3f5b6834 »
2010-04-21 Reintegrate sqlite branch
11 $drivers[DRIVER] = lang('Login');
b95f24ea »
2009-07-03 Editor: User friendly data editor
12
d58858c1 »
2009-08-29 Simpler index.php structure
13 if (isset($_GET["select"]) && ($_POST["edit"] || $_POST["clone"]) && !$_POST["save"]) {
14 $_GET["edit"] = $_GET["select"];
15 }
b95f24ea »
2009-07-03 Editor: User friendly data editor
16 if (isset($_GET["download"])) {
17 include "../adminer/download.inc.php";
d58858c1 »
2009-08-29 Simpler index.php structure
18 } elseif (isset($_GET["edit"])) {
19 include "../adminer/edit.inc.php";
20 } elseif (isset($_GET["select"])) {
21 include "../adminer/select.inc.php";
6b4ee48a »
2011-05-04 Autocomplete for big foreign keys
22 } elseif (isset($_GET["script"])) {
23 include "./script.inc.php";
08dc4b65 »
2009-07-16 Centralize common variables
24 } else {
d58858c1 »
2009-08-29 Simpler index.php structure
25 include "./db.inc.php";
b95f24ea »
2009-07-03 Editor: User friendly data editor
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.