From 6f165543cc5604a8acc809f5b7a85465dd1ab870 Mon Sep 17 00:00:00 2001
From: neoraider <devnull@localhost>
Date: Sun, 22 Jan 2006 13:11:01 +0000
Subject: Seiten-Neu-Funktion ?berarbeitet.

---
 config/neon.sql | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

(limited to 'config/neon.sql')

diff --git a/config/neon.sql b/config/neon.sql
index 2651a38..b405fa9 100644
--- a/config/neon.sql
+++ b/config/neon.sql
@@ -3,7 +3,7 @@
 -- http://www.phpmyadmin.net
 -- 
 -- Host: localhost
--- Erstellungszeit: 19. Januar 2006 um 23:31
+-- Erstellungszeit: 22. Januar 2006 um 14:09
 -- Server Version: 4.1.15
 -- PHP-Version: 5.0.5-3
 -- 
@@ -117,7 +117,7 @@ CREATE TABLE `pages` (
   `type` enum('c','n') NOT NULL default 'c',
   PRIMARY KEY  (`id`),
   UNIQUE KEY `name` (`name`,`type`)
-) TYPE=MyISAM AUTO_INCREMENT=17 ;
+) TYPE=MyISAM AUTO_INCREMENT=18 ;
 
 -- 
 -- Daten für Tabelle `pages`
@@ -130,12 +130,11 @@ INSERT INTO `pages` VALUES (4, 'Test:LoremIpsum', 'default', 3, 'title=Lorem+Ips
 INSERT INTO `pages` VALUES (5, 'Logout', 'phpexec', 2, 'code=%3C%3FPHP%0D%0A++include%28%27config%2Fconfig.inc.php%27%29%3B%0D%0A++%0D%0A++include%28%27code%2Fuser.inc.php%27%29%3B%0D%0A++include%28%27code%2Flinks.inc.php%27%29%3B%0D%0A++%0D%0A++%24GLOBALS%5B%27user%27%5D-%3ELogout%28%29%3B%0D%0A++%0D%0A++header%28%27Location%3A+%27+.+%24GLOBALS%5B%27links%27%5D-%3EGetNeonLink%28%24GLOBALS%5B%27config%27%5D%5B%27home%27%5D%29%29%3B%0D%0A++%0D%0A++exit%28%29%3B%0D%0A%3F%3E%0D%0A', 'c');
 INSERT INTO `pages` VALUES (6, 'Login', 'phpexec', 1, 'code=%3C%3FPHP%0D%0A++if%28%21%24GLOBALS%5B%27user%27%5D-%3EGetUid%28%29%29+%7B%0D%0A++++include%28%27code%2Fuser.inc.php%27%29%3B%0D%0A++++include%28%27code%2Flinks.inc.php%27%29%3B%0D%0A++++%0D%0A++++echo+%27%3Cform+action%3D%22%27%3B%0D%0A++++echo+%24GLOBALS%5B%27links%27%5D-%3EGetNeonLink%28%27Login%27%29%3B%0D%0A++++echo+%27%22+method%3D%22post%22%3E%27%3B%0D%0A++%3F%3E%0D%0A++%3Cdiv+class%3D%22login%22%3E%0D%0A++++User%3A%3Cbr+%2F%3E%0D%0A++++%3Cinput+type%3D%22text%22+name%3D%22name%22+%2F%3E%3Cbr+%2F%3E%0D%0A++++Passwort%3A%3Cbr+%2F%3E%0D%0A++++%3Cinput+type%3D%22password%22+name%3D%22password%22+%2F%3E%3Cbr+%2F%3E%0D%0A++++%3Cinput+type%3D%22hidden%22+name%3D%22page%22+value%3D%22%3C%3FPHP%0D%0A++++++if%28%24_POST%5B%27page%27%5D%29+echo+%24_POST%5B%27page%27%5D%3B%0D%0A++++++else+echo+%24GLOBALS%5B%27page%27%5D%3B%0D%0A++++%3F%3E%22+%2F%3E%0D%0A++++%3Cdiv+class%3D%22login_submit%22%3E%0D%0A++++++%3Cinput+type%3D%22submit%22+value%3D%22Login%22+%2F%3E%0D%0A%0D%0A++++%3C%2Fdiv%3E%0D%0A++%3C%2Fdiv%3E%0D%0A%3C%2Fform%3E%0D%0A%3C%3FPHP%0D%0A++%7D%0D%0A%3F%3E%0D%0A', 'n');
 INSERT INTO `pages` VALUES (7, 'Pages', 'phpexec', 0, 'code=%3C%3FPHP%0D%0A++include%28%27code%2Fdb.inc.php%27%29%3B%0D%0A++include%28%27code%2Flinks.inc.php%27%29%3B%0D%0A++%0D%0A++%24title+%3D+%27Seiten%27%3B%0D%0A++%0D%0A++echo+%27%3Ch2%3ESeiten%3C%2Fh2%3E%27%3B%0D%0A++%0D%0A++%24res+%3D+DBQuery%28%27SELECT+id%2C+name+FROM+pages+WHERE+type+%3D+%5C%27c%5C%27+ORDER+BY+name%27%29%3B%0D%0A++%0D%0A++echo+%27%3Cform+method%3D%22post%22+action%3D%22%27+.+%24GLOBALS%5B%27links%27%5D-%3EGetNeonLink%28%27Pages%3AHandle%27%29+.+%27%22%3E%27%3B%0D%0A++echo+%27%3Cselect+name%3D%22id%22+size%3D%2215%22+class%3D%22pagelist%22%3E%27%3B%0D%0A++%0D%0A++while%28%24row+%3D+%24res-%3EFetchRow%28%29%29+%7B%0D%0A++++echo+%27%3Coption+value%3D%22%27+.+%24row%5B0%5D+.+%27%22%3E%27+.+%24row%5B1%5D+.+%27%3C%2Foption%3E%27%3B%0D%0A++%7D%0D%0A++%0D%0A++echo+%27%3C%2Fselect%3E%27%3B%0D%0A++echo+%27%3Cbr+%2F%3E%27%3B%0D%0A++echo+%27%3Cinput+type%3D%22submit%22+class%3D%22submit%22+name%3D%22new%22+value%3D%22Neu%22+%2F%3E+%27%3B%0D%0A++echo+%27%3Cinput+type%3D%22submit%22+class%3D%22submit%22+name%3D%22edit%22+value%3D%22Bearbeiten%22+%2F%3E+%27%3B%0D%0A++echo+%27%3Cinput+type%3D%22submit%22+class%3D%22submit%22+name%3D%22copy%22+value%3D%22Kopieren%22+%2F%3E+%27%3B%0D%0A++echo+%27%3Cinput+type%3D%22submit%22+class%3D%22submit%22+name%3D%22rename%22+value%3D%22Umbenennen%22+%2F%3E+%27%3B%0D%0A++echo+%27%3Cinput+type%3D%22submit%22+class%3D%22submit%22+name%3D%22delete%22+value%3D%22L%C3%B6schen%22+%2F%3E%27%3B%0D%0A++echo+%27%3C%2Fform%3E%27%3B%0D%0A%3F%3E%0D%0A', 'c');
-INSERT INTO `pages` VALUES (8, 'Pages:Handle', 'phpexec', 0, 'code=%3C%3FPHP%0D%0A++include%28%27code%2Fdb.inc.php%27%29%3B%0D%0A++include%28%27code%2Fpages.inc.php%27%29%3B%0D%0A++%0D%0A++if%28isset%28%24_POST%5B%27new%27%5D%29%29+%7B%0D%0A++++%24title+%3D+%27Neue+Seite%27%3B%0D%0A++++%0D%0A++++echo+%27%3Ch2%3ENeue+Seite%3C%2Fh2%3E%27%3B%0D%0A++++%0D%0A++++echo+%27%3Cform+method%3D%22post%22+action%3D%22%27+.+%24GLOBALS%5B%27links%27%5D-%3EGetNeonLink%28%27Pages%3ANew%27%29+.+%27%22%3E%27%3B%0D%0A++++echo+%27Handler%3A+%27%3B%0D%0A++++echo+%27%3Cselect+type%3D%22text%22+name%3D%22handler%22+size%3D%221%22+%2F%3E%27%3B%0D%0A++++foreach%28array_keys%28%24GLOBALS%5B%27handlers%27%5D%29+as+%24key%29%0D%0A++++++echo+%27%3Coption%3E%27+.+%24key+.+%27%3C%2Foption%3E%27%3B%0D%0A++++echo+%27%3C%2Fselect%3E%3Cbr+%2F%3E%27%3B%0D%0A++++echo+%27%3Cinput+type%3D%22submit%22+class%3D%22submit%22+value%3D%22Neu%22+%2F%3E+%27%3B%0D%0A++++echo+%27%3Cinput+type%3D%22submit%22+class%3D%22submit%22+name%3D%22back%22+value%3D%22Zur%C3%BCck%22+%2F%3E%27%3B%0D%0A++++echo+%27%3C%2Fform%3E%27%3B%0D%0A++%7D%0D%0A++elseif%28isset%28%24_POST%5B%27edit%27%5D%29%29+%7B%0D%0A++++if%28%24_POST%5B%27id%27%5D%29+%7B%0D%0A++++++%24res+%3D+DBQuery%28%27SELECT+%2A+FROM+pages+WHERE+id+%3D+%3F%27%2C+%24_POST%5B%27id%27%5D%29%3B%0D%0A++++++%0D%0A++++++if%28%24res-%3ERecordCount%28%29%29+%7B%0D%0A++++++++%24data+%3D+%24GLOBALS%5B%27pages%27%5D-%3EEdit%28%24res-%3Efields%5B1%5D%2C+%27c%27%29%3B%0D%0A++++++++%0D%0A++++++++%24title+%3D+%24data%5B%27title%27%5D%3B%0D%0A++++++++%0D%0A++++++++echo+%27%3Ch2%3E%27+.+%24title+.+%27%3C%2Fh2%3E%27%3B%0D%0A++++++++echo+%24data%5B%27content%27%5D%3B%0D%0A++++++%7D%0D%0A++++%7D%0D%0A++%7D%0D%0A++elseif%28isset%28%24_POST%5B%27copy%27%5D%29%29+%7B%0D%0A++++if%28%24_POST%5B%27id%27%5D%29+%7B%0D%0A++++++%24res+%3D+DBQuery%28%27SELECT+%2A+FROM+pages+WHERE+id+%3D+%3F%27%2C+%24_POST%5B%27id%27%5D%29%3B%0D%0A++++++%0D%0A++++++if%28%24res-%3ERecordCount%28%29%29+%7B%0D%0A++++++++%24title+%3D+%27%5C%27%27+.+%24res-%3Efields%5B1%5D+.+%27%5C%27+kopieren%27%3B%0D%0A++++++++%0D%0A++++++++echo+%27%3Ch2%3E%5C%27%27+.+%24res-%3Efields%5B1%5D+.+%27%5C%27+kopieren%3C%2Fh2%3E%27%3B%0D%0A++++++++%0D%0A++++++++echo+%27%3Cform+method%3D%22post%22+action%3D%22%27+.+%24GLOBALS%5B%27links%27%5D-%3EGetNeonLink%28%27Pages%3ACopy%27%29+.+%27%22%3E%27%3B%0D%0A++++++++echo+%27%3Cinput+type%3D%22hidden%22+name%3D%22id%22+value%3D%22%27+.+%24_POST%5B%27id%27%5D+.+%27%22+%2F%3E%27%3B%0D%0A++++++++echo+%27Neuer+Name%3A+%27%3B%0D%0A++++++++echo+%27%3Cinput+type%3D%22text%22+name%3D%22name%22+value%3D%22%27%3B%0D%0A++++++++echo+strtr%28%24res-%3Efields%5B1%5D%2C+array%28%27%3C%27+%3D%3E+%27%26lt%3B%27%2C+%27%3E%27+%3D%3E+%27%26gt%3B%27%2C+%27%26%27+%3D%3E+%27%26amp%3B%27%2C+%27%22%27+%3D%3E+%27%26quot%3B%27%29%29%3B%0D%0A++++++++echo+%27%22+size%3D%2270%22+%2F%3E%3Cbr+%2F%3E%27%3B%0D%0A++++++++echo+%27%3Cinput+type%3D%22submit%22+class%3D%22submit%22+value%3D%22Kopieren%22+%2F%3E+%27%3B%0D%0A++++++++echo+%27%3Cinput+type%3D%22submit%22+class%3D%22submit%22+name%3D%22back%22+value%3D%22Zur%C3%BCck%22+%2F%3E%27%3B%0D%0A++++++++echo+%27%3C%2Fform%3E%27%3B%0D%0A++++++%7D%0D%0A++++%7D%0D%0A++%7D%0D%0A++elseif%28isset%28%24_POST%5B%27rename%27%5D%29%29+%7B%0D%0A++++if%28%24_POST%5B%27id%27%5D%29+%7B%0D%0A++++++%24res+%3D+DBQuery%28%27SELECT+%2A+FROM+pages+WHERE+id+%3D+%3F%27%2C+%24_POST%5B%27id%27%5D%29%3B%0D%0A++++++%0D%0A++++++if%28%24res-%3ERecordCount%28%29%29+%7B%0D%0A++++++++%24title+%3D+%27%5C%27%27+.+%24res-%3Efields%5B1%5D+.+%27%5C%27+umbenennen%27%3B%0D%0A++++++++%0D%0A++++++++echo+%27%3Ch2%3E%5C%27%27+.+%24res-%3Efields%5B1%5D+.+%27%5C%27+umbenennen%3C%2Fh2%3E%27%3B%0D%0A++++++++%0D%0A++++++++echo+%27%3Cform+method%3D%22post%22+action%3D%22%27+.+%24GLOBALS%5B%27links%27%5D-%3EGetNeonLink%28%27Pages%3ARename%27%29+.+%27%22%3E%27%3B%0D%0A++++++++echo+%27%3Cinput+type%3D%22hidden%22+name%3D%22id%22+value%3D%22%27+.+%24_POST%5B%27id%27%5D+.+%27%22+%2F%3E%27%3B%0D%0A++++++++echo+%27Neuer+Name%3A+%27%3B%0D%0A++++++++echo+%27%3Cinput+type%3D%22text%22+id%3D%22pagename%22+name%3D%22name%22+value%3D%22%27%3B%0D%0A++++++++echo+strtr%28%24res-%3Efields%5B1%5D%2C+array%28%27%3C%27+%3D%3E+%27%26lt%3B%27%2C+%27%3E%27+%3D%3E+%27%26gt%3B%27%2C+%27%26%27+%3D%3E+%27%26amp%3B%27%2C+%27%22%27+%3D%3E+%27%26quot%3B%27%29%29%3B%0D%0A++++++++echo+%27%22+size%3D%2270%22+%2F%3E%3Cbr+%2F%3E%27%3B%0D%0A++++++++echo+%27%3Cinput+type%3D%22submit%22+class%3D%22submit%22+value%3D%22Umbenennen%22+%2F%3E+%27%3B%0D%0A++++++++echo+%27%3Cinput+type%3D%22submit%22+class%3D%22submit%22+name%3D%22back%22+value%3D%22Zur%C3%BCck%22+%2F%3E%27%3B%0D%0A++++++++echo+%27%3C%2Fform%3E%27%3B%0D%0A++++++%7D%0D%0A++++%7D%0D%0A++%7D%0D%0A++elseif%28isset%28%24_POST%5B%27delete%27%5D%29%29+%7B%0D%0A++++if%28%24_POST%5B%27id%27%5D%29+%7B%0D%0A++++++%24res+%3D+DBQuery%28%27SELECT+%2A+FROM+pages+WHERE+id+%3D+%3F%27%2C+%24_POST%5B%27id%27%5D%29%3B%0D%0A++++++%0D%0A++++++if%28%24res-%3ERecordCount%28%29%29+%7B%0D%0A++++++++%24title+%3D+%27%5C%27%27+.+%24res-%3Efields%5B1%5D+.+%27%5C%27+l%C3%B6schen%27%3B%0D%0A++++++++%0D%0A++++++++echo+%27%3Ch2%3E%5C%27%27+.+%24res-%3Efields%5B1%5D+.+%27%5C%27+l%C3%B6schen%3C%2Fh2%3E%27%3B%0D%0A++++++++%0D%0A++++++++echo+%27%3Cform+method%3D%22post%22+action%3D%22%27+.+%24GLOBALS%5B%27links%27%5D-%3EGetNeonLink%28%27Pages%3ADelete%27%29+.+%27%22%3E%27%3B%0D%0A++++++++echo+%27%3Cinput+type%3D%22hidden%22+name%3D%22id%22+value%3D%22%27+.+%24_POST%5B%27id%27%5D+.+%27%22+%2F%3E%27%3B%0D%0A++++++++echo+%27Wollen+Sie+die+Seite+%5C%27%27%3B%0D%0A++++++++echo+strtr%28%24res-%3Efields%5B1%5D%2C+array%28%27%3C%27+%3D%3E+%27%26lt%3B%27%2C+%27%3E%27+%3D%3E+%27%26gt%3B%27%2C+%27%26%27+%3D%3E+%27%26amp%3B%27%2C+%27%22%27+%3D%3E+%27%26quot%3B%27%29%29%3B%0D%0A++++++++echo+%27%5C%27+wirklich+l%C3%B6schen%3F%3Cbr+%2F%3E%27%3B%0D%0A++++++++echo+%27%3Cinput+type%3D%22submit%22+class%3D%22submit%22+value%3D%22L%C3%B6schen%22+%2F%3E+%27%3B%0D%0A++++++++echo+%27%3Cinput+type%3D%22submit%22+class%3D%22submit%22+name%3D%22back%22+value%3D%22Zur%C3%BCck%22+%2F%3E%27%3B%0D%0A++++++++echo+%27%3C%2Fform%3E%27%3B%0D%0A++++++%7D%0D%0A++++%7D%0D%0A++%7D%0D%0A%3F%3E%0D%0A', 'c');
+INSERT INTO `pages` VALUES (8, 'Pages:Handle', 'phpexec', 0, 'code=%3C%3FPHP%0D%0A++include%28%27code%2Fdb.inc.php%27%29%3B%0D%0A++include%28%27code%2Fpages.inc.php%27%29%3B%0D%0A++%0D%0A++if%28isset%28%24_POST%5B%27new%27%5D%29%29+%7B%0D%0A++++%24title+%3D+%27Neue+Seite%27%3B%0D%0A++++%0D%0A++++echo+%27%3Ch2%3ENeue+Seite%3C%2Fh2%3E%27%3B%0D%0A++++%0D%0A++++echo+%27%3Cform+method%3D%22post%22+action%3D%22%27+.+%24GLOBALS%5B%27links%27%5D-%3EGetNeonLink%28%27Pages%3ANew%27%29+.+%27%22%3E%27%3B%0D%0A++++echo+%27Name%3A+%27%3B%0D%0A++++echo+%27%3Cinput+type%3D%22text%22+id%3D%22pagename%22+name%3D%22name%22+size%3D%2270%22+%2F%3E%3Cbr+%2F%3E%27%3B%0D%0A++++echo+%27Handler%3A+%27%3B%0D%0A++++echo+%27%3Cselect+type%3D%22text%22+name%3D%22handler%22+size%3D%221%22+%2F%3E%27%3B%0D%0A++++foreach%28array_keys%28%24GLOBALS%5B%27handlers%27%5D%29+as+%24key%29%0D%0A++++++echo+%27%3Coption%3E%27+.+%24key+.+%27%3C%2Foption%3E%27%3B%0D%0A++++echo+%27%3C%2Fselect%3E%3Cbr+%2F%3E%27%3B%0D%0A++++echo+%27%3Cinput+type%3D%22submit%22+class%3D%22submit%22+value%3D%22Neu%22+%2F%3E+%27%3B%0D%0A++++echo+%27%3Cinput+type%3D%22submit%22+class%3D%22submit%22+name%3D%22back%22+value%3D%22Zur%C3%BCck%22+%2F%3E%27%3B%0D%0A++++echo+%27%3C%2Fform%3E%27%3B%0D%0A++%7D%0D%0A++elseif%28isset%28%24_POST%5B%27edit%27%5D%29%29+%7B%0D%0A++++if%28%24_POST%5B%27id%27%5D%29+%7B%0D%0A++++++%24res+%3D+DBQuery%28%27SELECT+%2A+FROM+pages+WHERE+id+%3D+%3F%27%2C+%24_POST%5B%27id%27%5D%29%3B%0D%0A++++++%0D%0A++++++if%28%24res-%3ERecordCount%28%29%29+%7B%0D%0A++++++++%24data+%3D+%24GLOBALS%5B%27pages%27%5D-%3EEdit%28%24res-%3Efields%5B1%5D%2C+%27c%27%29%3B%0D%0A++++++++%0D%0A++++++++%24title+%3D+%24data%5B%27title%27%5D%3B%0D%0A++++++++%0D%0A++++++++echo+%27%3Ch2%3E%27+.+%24title+.+%27%3C%2Fh2%3E%27%3B%0D%0A++++++++echo+%24data%5B%27content%27%5D%3B%0D%0A++++++%7D%0D%0A++++%7D%0D%0A++%7D%0D%0A++elseif%28isset%28%24_POST%5B%27copy%27%5D%29%29+%7B%0D%0A++++if%28%24_POST%5B%27id%27%5D%29+%7B%0D%0A++++++%24res+%3D+DBQuery%28%27SELECT+%2A+FROM+pages+WHERE+id+%3D+%3F%27%2C+%24_POST%5B%27id%27%5D%29%3B%0D%0A++++++%0D%0A++++++if%28%24res-%3ERecordCount%28%29%29+%7B%0D%0A++++++++%24title+%3D+%27%5C%27%27+.+%24res-%3Efields%5B1%5D+.+%27%5C%27+kopieren%27%3B%0D%0A++++++++%0D%0A++++++++echo+%27%3Ch2%3E%5C%27%27+.+%24res-%3Efields%5B1%5D+.+%27%5C%27+kopieren%3C%2Fh2%3E%27%3B%0D%0A++++++++%0D%0A++++++++echo+%27%3Cform+method%3D%22post%22+action%3D%22%27+.+%24GLOBALS%5B%27links%27%5D-%3EGetNeonLink%28%27Pages%3ACopy%27%29+.+%27%22%3E%27%3B%0D%0A++++++++echo+%27%3Cinput+type%3D%22hidden%22+name%3D%22id%22+value%3D%22%27+.+%24_POST%5B%27id%27%5D+.+%27%22+%2F%3E%27%3B%0D%0A++++++++echo+%27Neuer+Name%3A+%27%3B%0D%0A++++++++echo+%27%3Cinput+type%3D%22text%22+name%3D%22name%22+value%3D%22%27%3B%0D%0A++++++++echo+strtr%28%24res-%3Efields%5B1%5D%2C+array%28%27%3C%27+%3D%3E+%27%26lt%3B%27%2C+%27%3E%27+%3D%3E+%27%26gt%3B%27%2C+%27%26%27+%3D%3E+%27%26amp%3B%27%2C+%27%22%27+%3D%3E+%27%26quot%3B%27%29%29%3B%0D%0A++++++++echo+%27%22+size%3D%2270%22+%2F%3E%3Cbr+%2F%3E%27%3B%0D%0A++++++++echo+%27%3Cinput+type%3D%22submit%22+class%3D%22submit%22+value%3D%22Kopieren%22+%2F%3E+%27%3B%0D%0A++++++++echo+%27%3Cinput+type%3D%22submit%22+class%3D%22submit%22+name%3D%22back%22+value%3D%22Zur%C3%BCck%22+%2F%3E%27%3B%0D%0A++++++++echo+%27%3C%2Fform%3E%27%3B%0D%0A++++++%7D%0D%0A++++%7D%0D%0A++%7D%0D%0A++elseif%28isset%28%24_POST%5B%27rename%27%5D%29%29+%7B%0D%0A++++if%28%24_POST%5B%27id%27%5D%29+%7B%0D%0A++++++%24res+%3D+DBQuery%28%27SELECT+%2A+FROM+pages+WHERE+id+%3D+%3F%27%2C+%24_POST%5B%27id%27%5D%29%3B%0D%0A++++++%0D%0A++++++if%28%24res-%3ERecordCount%28%29%29+%7B%0D%0A++++++++%24title+%3D+%27%5C%27%27+.+%24res-%3Efields%5B1%5D+.+%27%5C%27+umbenennen%27%3B%0D%0A++++++++%0D%0A++++++++echo+%27%3Ch2%3E%5C%27%27+.+%24res-%3Efields%5B1%5D+.+%27%5C%27+umbenennen%3C%2Fh2%3E%27%3B%0D%0A++++++++%0D%0A++++++++echo+%27%3Cform+method%3D%22post%22+action%3D%22%27+.+%24GLOBALS%5B%27links%27%5D-%3EGetNeonLink%28%27Pages%3ARename%27%29+.+%27%22%3E%27%3B%0D%0A++++++++echo+%27%3Cinput+type%3D%22hidden%22+name%3D%22id%22+value%3D%22%27+.+%24_POST%5B%27id%27%5D+.+%27%22+%2F%3E%27%3B%0D%0A++++++++echo+%27Neuer+Name%3A+%27%3B%0D%0A++++++++echo+%27%3Cinput+type%3D%22text%22+id%3D%22pagename%22+name%3D%22name%22+value%3D%22%27%3B%0D%0A++++++++echo+strtr%28%24res-%3Efields%5B1%5D%2C+array%28%27%3C%27+%3D%3E+%27%26lt%3B%27%2C+%27%3E%27+%3D%3E+%27%26gt%3B%27%2C+%27%26%27+%3D%3E+%27%26amp%3B%27%2C+%27%22%27+%3D%3E+%27%26quot%3B%27%29%29%3B%0D%0A++++++++echo+%27%22+size%3D%2270%22+%2F%3E%3Cbr+%2F%3E%27%3B%0D%0A++++++++echo+%27%3Cinput+type%3D%22submit%22+class%3D%22submit%22+value%3D%22Umbenennen%22+%2F%3E+%27%3B%0D%0A++++++++echo+%27%3Cinput+type%3D%22submit%22+class%3D%22submit%22+name%3D%22back%22+value%3D%22Zur%C3%BCck%22+%2F%3E%27%3B%0D%0A++++++++echo+%27%3C%2Fform%3E%27%3B%0D%0A++++++%7D%0D%0A++++%7D%0D%0A++%7D%0D%0A++elseif%28isset%28%24_POST%5B%27delete%27%5D%29%29+%7B%0D%0A++++if%28%24_POST%5B%27id%27%5D%29+%7B%0D%0A++++++%24res+%3D+DBQuery%28%27SELECT+%2A+FROM+pages+WHERE+id+%3D+%3F%27%2C+%24_POST%5B%27id%27%5D%29%3B%0D%0A++++++%0D%0A++++++if%28%24res-%3ERecordCount%28%29%29+%7B%0D%0A++++++++%24title+%3D+%27%5C%27%27+.+%24res-%3Efields%5B1%5D+.+%27%5C%27+l%C3%B6schen%27%3B%0D%0A++++++++%0D%0A++++++++echo+%27%3Ch2%3E%5C%27%27+.+%24res-%3Efields%5B1%5D+.+%27%5C%27+l%C3%B6schen%3C%2Fh2%3E%27%3B%0D%0A++++++++%0D%0A++++++++echo+%27%3Cform+method%3D%22post%22+action%3D%22%27+.+%24GLOBALS%5B%27links%27%5D-%3EGetNeonLink%28%27Pages%3ADelete%27%29+.+%27%22%3E%27%3B%0D%0A++++++++echo+%27%3Cinput+type%3D%22hidden%22+name%3D%22id%22+value%3D%22%27+.+%24_POST%5B%27id%27%5D+.+%27%22+%2F%3E%27%3B%0D%0A++++++++echo+%27Wollen+Sie+die+Seite+%5C%27%27%3B%0D%0A++++++++echo+strtr%28%24res-%3Efields%5B1%5D%2C+array%28%27%3C%27+%3D%3E+%27%26lt%3B%27%2C+%27%3E%27+%3D%3E+%27%26gt%3B%27%2C+%27%26%27+%3D%3E+%27%26amp%3B%27%2C+%27%22%27+%3D%3E+%27%26quot%3B%27%29%29%3B%0D%0A++++++++echo+%27%5C%27+wirklich+l%C3%B6schen%3F%3Cbr+%2F%3E%27%3B%0D%0A++++++++echo+%27%3Cinput+type%3D%22submit%22+class%3D%22submit%22+value%3D%22L%C3%B6schen%22+%2F%3E+%27%3B%0D%0A++++++++echo+%27%3Cinput+type%3D%22submit%22+class%3D%22submit%22+name%3D%22back%22+value%3D%22Zur%C3%BCck%22+%2F%3E%27%3B%0D%0A++++++++echo+%27%3C%2Fform%3E%27%3B%0D%0A++++++%7D%0D%0A++++%7D%0D%0A++%7D%0D%0A%3F%3E%0D%0A', 'c');
 INSERT INTO `pages` VALUES (10, 'Pages:Copy', 'phpexec', 0, 'code=%3C%3FPHP%0D%0A++include%28%27code%2Fdb.inc.php%27%29%3B%0D%0A++include%28%27code%2Flinks.inc.php%27%29%3B%0D%0A++%0D%0A++if%28%24_POST%5B%27back%27%5D%29+%7B%0D%0A++++header%28%27Location%3A+%27+.+%24GLOBALS%5B%27links%27%5D-%3EGetNeonLink%28%27Pages%27%29%29%3B%0D%0A++++exit%28%29%3B%0D%0A++%7D%0D%0A++%0D%0A++if%28%21%24_POST%5B%27id%27%5D+%7C%7C+%21%24_POST%5B%27name%27%5D%29+exit%28%29%3B%0D%0A++%0D%0A++%24res1+%3D+DBQuery%28%27SELECT+%2A+FROM+pages+WHERE+id+%3D+%3F%27%2C+array%28%24_POST%5B%27id%27%5D%29%29%3B%0D%0A++%0D%0A++if%28%21%24res1-%3ERecordCount%28%29%29+exit%28%29%3B%0D%0A++%0D%0A++%24res2+%3D+DBQuery%28%27SELECT+id+FROM+pages+WHERE+name+%3D+%3F+AND+type+%3D+%5C%27c%5C%27%27%2C+array%28%24_POST%5B%27name%27%5D%29%29%3B%0D%0A++%0D%0A++if%28%24res2-%3ERecordCount%28%29%29+exit%28%29%3B%0D%0A++%0D%0A++DBQuery%28%27INSERT+INTO+pages+%28name%2C+handler%2C+access%2C+data%2C+type%29+VALUES+%28%3F%2C+%3F%2C+0%2C+%3F%2C+%5C%27c%5C%27%29%27%2C+array%28%24_POST%5B%27name%27%5D%2C+%24res1-%3Efields%5B2%5D%2C+%24res1-%3Efields%5B4%5D%29%29%3B%0D%0A++%0D%0A++header%28%27Location%3A+%27+.+%24GLOBALS%5B%27links%27%5D-%3EGetNeonLink%28%27Pages%27%29%29%3B%0D%0A++exit%28%29%3B%0D%0A%3F%3E%0D%0A', 'c');
 INSERT INTO `pages` VALUES (11, 'Pages:Rename', 'phpexec', 0, 'code=%3C%3FPHP%0D%0A++include%28%27code%2Fdb.inc.php%27%29%3B%0D%0A++include%28%27code%2Flinks.inc.php%27%29%3B%0D%0A++%0D%0A++if%28%24_POST%5B%27back%27%5D%29+%7B%0D%0A++++header%28%27Location%3A+%27+.+%24GLOBALS%5B%27links%27%5D-%3EGetNeonLink%28%27Pages%27%29%29%3B%0D%0A++++exit%28%29%3B%0D%0A++%7D%0D%0A++%0D%0A++if%28%21%24_POST%5B%27id%27%5D+%7C%7C+%21%24_POST%5B%27name%27%5D%29+exit%28%29%3B%0D%0A++%0D%0A++%24res1+%3D+DBQuery%28%27SELECT+%2A+FROM+pages+WHERE+id+%3D+%3F%27%2C+array%28%24_POST%5B%27id%27%5D%29%29%3B%0D%0A++%0D%0A++if%28%21%24res1-%3ERecordCount%28%29%29+exit%28%29%3B%0D%0A++%0D%0A++%24res2+%3D+DBQuery%28%27SELECT+id+FROM+pages+WHERE+name+%3D+%3F+AND+type+%3D+%5C%27c%5C%27%27%2C+array%28%24_POST%5B%27name%27%5D%29%29%3B%0D%0A++%0D%0A++if%28%24res2-%3ERecordCount%28%29%29+exit%28%29%3B%0D%0A++%0D%0A++DBQuery%28%27UPDATE+pages+SET+name+%3D+%3F+WHERE+id+%3D+%3F%27%2C+array%28%24_POST%5B%27name%27%5D%2C+%24_POST%5B%27id%27%5D%29%29%3B%0D%0A++%0D%0A++header%28%27Location%3A+%27+.+%24GLOBALS%5B%27links%27%5D-%3EGetNeonLink%28%27Pages%27%29%29%3B%0D%0A++exit%28%29%3B%0D%0A%3F%3E%0D%0A', 'c');
 INSERT INTO `pages` VALUES (12, 'Pages:Edit', 'phpexec', 0, 'code=%3C%3FPHP%0D%0A++include%28%27code%2Fdb.inc.php%27%29%3B%0D%0A++include%28%27code%2Flinks.inc.php%27%29%3B%0D%0A++%0D%0A++if%28%24_POST%5B%27back%27%5D%29+%7B%0D%0A++++header%28%27Location%3A+%27+.+%24GLOBALS%5B%27links%27%5D-%3EGetNeonLink%28%27Pages%27%29%29%3B%0D%0A++++exit%28%29%3B%0D%0A++%7D%0D%0A++%0D%0A++if%28%21%24_POST%5B%27id%27%5D%29+exit%28%29%3B%0D%0A++%0D%0A++%24data+%3D+%27%27%3B%0D%0A++%0D%0A++foreach%28%24_POST+as+%24key+%3D%3E+%24val%29+%7B%0D%0A++++if%28%24key+%3D%3D+%27id%27%29+continue%3B%0D%0A++++%0D%0A++++%24data+.%3D+urlencode%28%24key%29+.+%27%3D%27+.+urlencode%28stripslashes%28%24val%29%29+.+%27%26%27%3B%0D%0A++%7D%0D%0A++%0D%0A++DBQuery%28%27UPDATE+pages+SET+data+%3D+%3F+WHERE+id+%3D+%3F%27%2C+array%28substr%28%24data%2C+0%2C+-1%29%2C+%24_POST%5B%27id%27%5D%29%29%3B%0D%0A++%0D%0A++header%28%27Location%3A+%27+.+%24GLOBALS%5B%27links%27%5D-%3EGetNeonLink%28%27Pages%27%29%29%3B%0D%0A++exit%28%29%3B%0D%0A%3F%3E%0D%0A', 'c');
-INSERT INTO `pages` VALUES (13, 'Pages:Add', 'phpexec', 0, 'code=%3C%3FPHP%0D%0A++include%28%27code%2Fdb.inc.php%27%29%3B%0D%0A++include%28%27code%2Flinks.inc.php%27%29%3B%0D%0A++%0D%0A++if%28%24_POST%5B%27back%27%5D%29+%7B%0D%0A++++header%28%27Location%3A+%27+.+%24GLOBALS%5B%27links%27%5D-%3EGetNeonLink%28%27Pages%3ANew%27%29%29%3B%0D%0A++++exit%28%29%3B%0D%0A++%7D%0D%0A++%0D%0A++if%28%21%24_POST%5B%27name%27%5D+%7C%7C+%21%24_POST%5B%27handler%27%5D%29+exit%28%29%3B%0D%0A++%0D%0A++%24data+%3D+%27%27%3B%0D%0A++%0D%0A++foreach%28%24_POST+as+%24key+%3D%3E+%24val%29+%7B%0D%0A++++if%28%24key+%3D%3D+%27name%27+%7C%7C+%24key+%3D%3D+%27handler%27%29+continue%3B%0D%0A++++%0D%0A++++%24data+.%3D+urlencode%28%24key%29+.+%27%3D%27+.+urlencode%28stripslashes%28%24val%29%29+.+%27%26%27%3B%0D%0A++%7D%0D%0A++%0D%0A++DBQuery%28%27INSERT+INTO+pages+%28name%2C+handler%2C+access%2C+data%2C+type%29+VALUES+%28%3F%2C+%3F%2C+0%2C+%3F%2C+%5C%27c%5C%27%29%27%2C+array%28%24_POST%5B%27name%27%5D%2C+%24_POST%5B%27handler%27%5D%2C+substr%28%24data%2C+0%2C+-1%29%29%29%3B%0D%0A++%0D%0A++header%28%27Location%3A+%27+.+%24GLOBALS%5B%27links%27%5D-%3EGetNeonLink%28%27Pages%27%29%29%3B%0D%0A++exit%28%29%3B%0D%0A%3F%3E%0D%0A', 'c');
-INSERT INTO `pages` VALUES (14, 'Pages:New', 'phpexec', 0, 'code=%3C%3FPHP%0D%0A++include%28%27code%2Fdb.inc.php%27%29%3B%0D%0A++include%28%27code%2Fpages.inc.php%27%29%3B%0D%0A++%0D%0A++if%28%24_POST%5B%27back%27%5D%29+%7B%0D%0A++++header%28%27Location%3A+%27+.+%24GLOBALS%5B%27links%27%5D-%3EGetNeonLink%28%27Pages%27%29%29%3B%0D%0A++++exit%28%29%3B%0D%0A++%7D%0D%0A++%0D%0A++if%28%21%24_POST%5B%27handler%27%5D%29+exit%28%29%3B%0D%0A++%0D%0A++%24data+%3D+%24GLOBALS%5B%27handlers%27%5D%5B%24_POST%5B%27handler%27%5D%5D-%3EAdd%28%29%3B%0D%0A++++%0D%0A++%24title+%3D+%24data%5B%27title%27%5D%3B%0D%0A++++%0D%0A++echo+%27%3Ch2%3E%27+.+%24title+.+%27%3C%2Fh2%3E%27%3B%0D%0A++echo+%24data%5B%27content%27%5D%3B%0D%0A%3F%3E%0D%0A', 'c');
+INSERT INTO `pages` VALUES (14, 'Pages:New', 'phpexec', 0, 'code=%3C%3FPHP%0D%0A++include%28%27code%2Fdb.inc.php%27%29%3B%0D%0A++include%28%27code%2Fpages.inc.php%27%29%3B%0D%0A++%0D%0A++if%28%24_POST%5B%27back%27%5D%29+%7B%0D%0A++++header%28%27Location%3A+%27+.+%24GLOBALS%5B%27links%27%5D-%3EGetNeonLink%28%27Pages%27%29%29%3B%0D%0A++++exit%28%29%3B%0D%0A++%7D%0D%0A++%0D%0A++if%28%21%24_POST%5B%27name%27%5D+%7C%7C+%21%24_POST%5B%27handler%27%5D%29+exit%28%29%3B%0D%0A++%0D%0A++DBQuery%28%27INSERT+INTO+pages+%28name%2C+handler%2C+access%2C+data%2C+type%29+VALUES+%28%3F%2C+%3F%2C+0%2C+%5C%27%5C%27%2C+%5C%27c%5C%27%29%27%2C+array%28%24_POST%5B%27name%27%5D%2C+%24_POST%5B%27handler%27%5D%29%29%3B%0D%0A++%0D%0A++header%28%27Location%3A+%27+.+%24GLOBALS%5B%27links%27%5D-%3EGetNeonLink%28%27Pages%27%29%29%3B%0D%0A++exit%28%29%3B%0D%0A%3F%3E%0D%0A', 'c');
 INSERT INTO `pages` VALUES (16, 'Pages:Delete', 'phpexec', 0, 'code=%3C%3FPHP%0D%0A++include%28%27code%2Fdb.inc.php%27%29%3B%0D%0A++include%28%27code%2Flinks.inc.php%27%29%3B%0D%0A++%0D%0A++if%28%24_POST%5B%27back%27%5D%29+%7B%0D%0A++++header%28%27Location%3A+%27+.+%24GLOBALS%5B%27links%27%5D-%3EGetNeonLink%28%27Pages%27%29%29%3B%0D%0A++++exit%28%29%3B%0D%0A++%7D%0D%0A++%0D%0A++if%28%21%24_POST%5B%27id%27%5D%29+exit%28%29%3B%0D%0A++%0D%0A++DBQuery%28%27DELETE+FROM+pages+WHERE+id+%3D+%3F%27%2C+%24_POST%5B%27id%27%5D%29%3B%0D%0A++%0D%0A++header%28%27Location%3A+%27+.+%24GLOBALS%5B%27links%27%5D-%3EGetNeonLink%28%27Pages%27%29%29%3B%0D%0A++exit%28%29%3B%0D%0A%3F%3E%0D%0A', 'c');
 
 -- --------------------------------------------------------
@@ -159,4 +158,4 @@ CREATE TABLE `users` (
 -- Daten für Tabelle `users`
 -- 
 
-INSERT INTO `users` VALUES (1, '', 0, 'NeoRaider', 'gamezock', '2006-01-19 23:31:18');
+INSERT INTO `users` VALUES (1, '', 0, 'NeoRaider', 'gamezock', '2006-01-21 00:56:56');
-- 
cgit v1.2.3

