summaryrefslogtreecommitdiffstats
path: root/config/SQL/nav_inserts.sql
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2006-12-10 19:00:04 +0100
committerneoraider <devnull@localhost>2006-12-10 19:00:04 +0100
commit93e1133ee88b03e7cae7318cb19761e698e57b86 (patch)
tree825b0ca10c5b32f3ad03430ec8b427f99d3dc855 /config/SQL/nav_inserts.sql
parent7be63518bdb86fb747dda20918ef6eab3d30e40c (diff)
downloadneon-93e1133ee88b03e7cae7318cb19761e698e57b86.tar
neon-93e1133ee88b03e7cae7318cb19761e698e57b86.zip
SQL-Daten tabellenweise aufgeteilt;
config-Daten jetzt mit urlencode kodiert.
Diffstat (limited to 'config/SQL/nav_inserts.sql')
-rw-r--r--config/SQL/nav_inserts.sql17
1 files changed, 17 insertions, 0 deletions
diff --git a/config/SQL/nav_inserts.sql b/config/SQL/nav_inserts.sql
new file mode 100644
index 0000000..6c0949d
--- /dev/null
+++ b/config/SQL/nav_inserts.sql
@@ -0,0 +1,17 @@
+--
+-- Tabellenstruktur für Tabelle `nav_inserts`
+--
+
+CREATE TABLE `nav_inserts` (
+ `id` bigint(20) NOT NULL auto_increment,
+ `name` varchar(255) NOT NULL,
+ `code` longtext NOT NULL,
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `name` (`name`)
+) TYPE=MyISAM AUTO_INCREMENT=2 ;
+
+--
+-- Daten für Tabelle `nav_inserts`
+--
+
+INSERT INTO `nav_inserts` (`id`, `name`, `code`) VALUES (1, 'login', '<?PHP\r\n Uses(''links'', ''util'');\r\n \r\n echo ''<form action="'';\r\n echo $GLOBALS[''links'']->GetNeonLink(''Login'');\r\n echo ''" method="post">'';\r\n?>\r\n <div class="login">\r\n User:<br />\r\n <input type="text" name="name" /><br />\r\n Passwort:<br />\r\n <input type="password" name="password" /><br />\r\n <input type="hidden" name="page" value="<?PHP\r\n if($_POST[''page'']) echo Unquote($_POST[''page'']);\r\n else echo $GLOBALS[''page''];\r\n ?>" />\r\n <div class="login_submit">\r\n <input type="submit" value="Login" />\r\n </div>\r\n </div>\r\n</form>\r\n');