diff options
-rw-r--r-- | config/neon.sql | 162 | ||||
-rw-r--r-- | handlers/default.inc.php | 26 | ||||
-rw-r--r-- | handlers/phpexec.inc.php | 24 | ||||
-rw-r--r-- | styles/GreenGrid/style.css | 13 |
4 files changed, 211 insertions, 14 deletions
diff --git a/config/neon.sql b/config/neon.sql new file mode 100644 index 0000000..2651a38 --- /dev/null +++ b/config/neon.sql @@ -0,0 +1,162 @@ +-- phpMyAdmin SQL Dump +-- version 2.7.0-pl2-Debian-1 +-- http://www.phpmyadmin.net +-- +-- Host: localhost +-- Erstellungszeit: 19. Januar 2006 um 23:31 +-- Server Version: 4.1.15 +-- PHP-Version: 5.0.5-3 +-- +-- Datenbank: `gamezock-2` +-- + +-- -------------------------------------------------------- + +-- +-- Tabellenstruktur für Tabelle `counters` +-- + +CREATE TABLE `counters` ( + `id` bigint(20) NOT NULL, + `name` tinytext NOT NULL, + `exp` tinytext NOT NULL, + `count` bigint(20) NOT NULL default '0', + PRIMARY KEY (`id`) +) TYPE=MyISAM AUTO_INCREMENT=2 ; + +-- +-- Daten für Tabelle `counters` +-- + +INSERT INTO `counters` VALUES (1, 'Home', '^Home:', 32); + +-- -------------------------------------------------------- + +-- +-- Tabellenstruktur für Tabelle `group` +-- + +CREATE TABLE `group` ( + `id` smallint(6) NOT NULL, + `name` varchar(100) NOT NULL default '', + PRIMARY KEY (`id`), + UNIQUE KEY `name` (`name`) +) TYPE=MyISAM AUTO_INCREMENT=2 ; + +-- +-- Daten für Tabelle `group` +-- + +INSERT INTO `group` VALUES (0, 'Administratoren'); + +-- -------------------------------------------------------- + +-- +-- Tabellenstruktur für Tabelle `images` +-- + +CREATE TABLE `images` ( + `id` bigint(20) NOT NULL, + `name` varchar(255) NOT NULL default '', + `type` varchar(10) NOT NULL default '', + `access` bigint(20) unsigned NOT NULL default '0', + PRIMARY KEY (`id`), + UNIQUE KEY `name` (`name`) +) TYPE=MyISAM AUTO_INCREMENT=3 ; + +-- +-- Daten für Tabelle `images` +-- + +INSERT INTO `images` VALUES (1, 'Logo', 'png', 3); +INSERT INTO `images` VALUES (2, 'Logo_IE', 'gif', 3); + +-- -------------------------------------------------------- + +-- +-- Tabellenstruktur für Tabelle `nav` +-- + +CREATE TABLE `nav` ( + `id` bigint(20) NOT NULL, + `parent` bigint(20) NOT NULL default '0', + `text` tinytext NOT NULL, + `link` tinytext NOT NULL, + PRIMARY KEY (`id`) +) TYPE=MyISAM AUTO_INCREMENT=13 ; + +-- +-- Daten für Tabelle `nav` +-- + +INSERT INTO `nav` VALUES (2, 1, 'Startseite', ':Home:Startseite'); +INSERT INTO `nav` VALUES (3, 1, 'Mail', '@info@gamezock.de'); +INSERT INTO `nav` VALUES (4, 7, 'Login', '!Login'); +INSERT INTO `nav` VALUES (5, 9, 'Logout', ':Logout'); +INSERT INTO `nav` VALUES (6, 8, 'Counter', ':Admin:Counter'); +INSERT INTO `nav` VALUES (1, 0, 'Home', ''); +INSERT INTO `nav` VALUES (7, 0, 'Login', ''); +INSERT INTO `nav` VALUES (8, 0, 'Administration', ''); +INSERT INTO `nav` VALUES (9, 0, 'Mitglieder', ''); +INSERT INTO `nav` VALUES (10, 0, 'Test', ''); +INSERT INTO `nav` VALUES (11, 10, 'Lorem Ipsum', ':Test:LoremIpsum'); +INSERT INTO `nav` VALUES (12, 8, 'Seiten', ':Pages'); + +-- -------------------------------------------------------- + +-- +-- Tabellenstruktur für Tabelle `pages` +-- + +CREATE TABLE `pages` ( + `id` bigint(20) NOT NULL, + `name` varchar(255) NOT NULL default '', + `handler` varchar(255) NOT NULL default '', + `access` bigint(20) unsigned NOT NULL default '0', + `data` longtext NOT NULL, + `type` enum('c','n') NOT NULL default 'c', + PRIMARY KEY (`id`), + UNIQUE KEY `name` (`name`,`type`) +) TYPE=MyISAM AUTO_INCREMENT=17 ; + +-- +-- Daten für Tabelle `pages` +-- + +INSERT INTO `pages` VALUES (1, 'Home:Startseite', 'default', 3, 'title=Startseite&content=Welcome+to+Neon', 'c'); +INSERT INTO `pages` VALUES (2, 'Login', 'phpexec', 1, 'code=%3C%3FPHP%0D%0A++if%28%24_POST%5B%27name%27%5D+%26%26+%24_POST%5B%27password%27%5D+%26%26+%24_POST%5B%27page%27%5D%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++++include%28%27code%2Fmessage.inc.php%27%29%3B%0D%0A++++%0D%0A++++if%28%24GLOBALS%5B%27user%27%5D-%3ELogin%28%24_POST%5B%27name%27%5D%2C+%24_POST%5B%27password%27%5D%29%29+%7B%0D%0A++++++header%28%27Location%3A+%27+.+%24GLOBALS%5B%27links%27%5D-%3EGetNeonLink%28%24_POST%5B%27page%27%5D%29%29%3B%0D%0A++++++exit%28%29%3B%0D%0A++++%7D%0D%0A++%7D%0D%0A++%0D%0A++%24title+%3D+Message%28%27Error%27%29%3B%0D%0A++%0D%0A++echo+%27%3Cspan+class%3D%22error%22%3E%27+.+Message%28%27LoginError%27%29+.+%27%3C%2Fspan%3E%27%3B%0D%0A%3F%3E%0D%0A', 'c'); +INSERT INTO `pages` VALUES (3, 'Admin:Counter', 'default', 2, '', 'c'); +INSERT INTO `pages` VALUES (4, 'Test:LoremIpsum', 'default', 3, 'title=Lorem+Ipsum&content=Lorem+ipsum+dolor+sit+amet%2C+consectetuer+adipiscing+elit.+Ut+a+sapien.+Aliquam+aliquet+purus+molestie+dolor.+Integer+quis+eros+ut+erat+posuere+dictum.+Curabitur+dignissim.+Integer+orci.+Fusce+vulputate+lacus+at+ipsum.+Quisque+in+libero+nec+mi+laoreet+volutpat.+Aliquam+eros+pede%2C+scelerisque+quis%2C+tristique+cursus%2C+placerat+convallis%2C+velit.+Nam+condimentum.+Nulla+ut+mauris.+Curabitur+adipiscing%2C+mauris+non+dictum+aliquam%2C+arcu+risus+dapibus+diam%2C+nec+sollicitudin+quam+erat+quis+ligula.+Aenean+massa+nulla%2C+volutpat+eu%2C+accumsan+et%2C+fringilla+eget%2C+odio.+Nulla+placerat+porta+justo.+Nulla+vitae+turpis.+Praesent+lacus.%0D%0AVestibulum+ante+ipsum+primis+in+faucibus+orci+luctus+et+ultrices+posuere+cubilia+Curae%3B+Aliquam+ultricies+lacus+eu+dui.+Duis+viverra+risus+et+eros.+Aenean+odio+dolor%2C+tristique+quis%2C+commodo+id%2C+posuere+sit+amet%2C+dui.+Pellentesque+velit.+Aliquam+erat+volutpat.+Duis+sagittis+nibh+sed+justo.+Sed+ultrices+nisl+sed+pede.+Sed+tempor+lorem+in+leo.+Integer+gravida+tincidunt+nunc.+Vivamus+ut+quam+vel+ligula+tristique+condimentum.+Proin+facilisis.+Aliquam+sagittis+lacinia+mi.+Donec+sagittis+luctus+dui.+Maecenas+quam+ante%2C+vestibulum+auctor%2C+blandit+in%2C+iaculis+in%2C+velit.+Aliquam+at+ligula.+Nam+a+tellus.+Aliquam+eu+nulla+at+turpis+vulputate+hendrerit.+Proin+at+diam.+Curabitur+euismod.%0D%0ALorem+ipsum+dolor+sit+amet%2C+consectetuer+adipiscing+elit.+Pellentesque+habitant+morbi+tristique+senectus+et+netus+et+malesuada+fames+ac+turpis+egestas.+Quisque+vel+erat+eget+diam+consectetuer+iaculis.+Cras+ante+velit%2C+suscipit+et%2C+porta+tempus%2C+dignissim+quis%2C+magna.+Vivamus+viverra%2C+turpis+nec+rhoncus+ultricies%2C+diam+turpis+eleifend+nisl%2C+a+eleifend+ante+felis+ac+sapien.+Integer+bibendum.+Suspendisse+in+mi+non+neque+bibendum+convallis.+Suspendisse+potenti.+Sed+sit+amet+purus+at+felis+adipiscing+aliquam.+Vivamus+et+nisl+sit+amet+mauris+aliquet+molestie.+Integer+tortor+massa%2C+aliquam+a%2C+lacinia+nonummy%2C+sagittis+nec%2C+eros.+Nunc+non+mauris+id+eros+venenatis+adipiscing.+Cras+et+lectus+ut+nisl+pharetra+ornare.+Proin+leo+risus%2C+elementum+eget%2C+ultrices+vitae%2C+molestie+sed%2C+erat.+Curabitur+et+lectus+in+tellus+egestas+hendrerit.+Sed+dapibus+ipsum.+Quisque+sit+amet+ligula.+Suspendisse+odio+dolor%2C+semper+id%2C+feugiat+quis%2C+sodales+id%2C+mauris.+Curabitur+id+ligula+ac+libero+malesuada+pharetra.%0D%0ASuspendisse+potenti.+Cras+ut+mi+sit+amet+quam+consequat+consequat.+Aenean+ut+lectus.+Cum+sociis+natoque+penatibus+et+magnis+dis+parturient+montes%2C+nascetur+ridiculus+mus.+Suspendisse+vel+sapien.+Nullam+non+turpis.+Pellentesque+elementum+pharetra+ligula.+In+rhoncus.+Aliquam+vel+enim+consequat+sem+aliquet+hendrerit.+Lorem+ipsum+dolor+sit+amet%2C+consectetuer+adipiscing+elit.+Nam+felis.%0D%0ACum+sociis+natoque+penatibus+et+magnis+dis+parturient+montes%2C+nascetur+ridiculus+mus.+Maecenas+tortor+metus%2C+pellentesque+nec%2C+vehicula+vitae%2C+suscipit+sed%2C+quam.+Aenean+scelerisque+sodales+tortor.+Sed+purus.+Curabitur+turpis+est%2C+bibendum+tristique%2C+porttitor+tempor%2C+pulvinar+vitae%2C+tortor.+Nullam+malesuada+dapibus+orci.+Vivamus+aliquet+tempus+velit.+Curabitur+interdum+posuere+risus.+Duis+egestas%2C+ipsum+sit+amet+molestie+tincidunt%2C+ligula+libero+pretium+risus%2C+non+faucibus+tellus+felis+mattis+sapien.+Ut+eu+velit+at+massa+auctor+mattis.+Nam+tristique+velit+quis+nisl.%0D%0AVivamus+neque+velit%2C+ornare+vitae%2C+tempor+vel%2C+ultrices+et%2C+wisi.+Cras+pede.+Phasellus+nunc+turpis%2C+cursus+non%2C+rhoncus+vitae%2C+sollicitudin+vel%2C+velit.+Vivamus+suscipit+lorem+sed+felis.+Vestibulum+vestibulum+ultrices+turpis.+Lorem+ipsum+dolor+sit+amet%2C+consectetuer+adipiscing+elit.+Praesent+ornare+nulla+nec+justo.+Sed+nec+risus+ac+risus+fermentum+vestibulum.+Etiam+viverra+viverra+sem.+Etiam+molestie+mi+quis+metus+hendrerit+tristique.%0D%0AQuisque+lobortis+euismod+metus.+Nam+ante.+Nulla+fermentum%2C+risus+non+pulvinar+porttitor%2C+enim+pede+egestas+nibh%2C+sit+amet+posuere+metus+tortor+id+enim.+Donec+at+sem.+Vestibulum+in+lectus+ut+diam+lacinia+lacinia.+Maecenas+sit+amet+nulla.+Suspendisse+vel+dolor.+Nunc+hendrerit+elit+vitae+quam.+In+nonummy+velit+nec+lorem.+Etiam+rhoncus+felis+a+turpis.+Aliquam+vel+nulla.+Ut+nonummy%2C+nisl+non+sodales+iaculis%2C+mi+tellus+viverra+diam%2C+eget+euismod+dui+turpis+at+mi.+Class+aptent+taciti+sociosqu+ad+litora+torquent+per+conubia+nostra%2C+per+inceptos+hymenaeos.+Vestibulum+nec+quam+ac+lectus+sagittis+tincidunt.%0D%0ANulla+facilisi.+Nam+varius+ante+dignissim+arcu.+Suspendisse+molestie+dignissim+neque.+Suspendisse+leo+ipsum%2C+rutrum+cursus%2C+malesuada+id%2C+dapibus+sed%2C+urna.+Fusce+sollicitudin+laoreet+diam.+Mauris+eu+quam+eget+nulla+fermentum+adipiscing.+In+hac+habitasse+platea+dictumst.+Morbi+ut+odio+vitae+eros+luctus+luctus.+Ut+diam.+Phasellus+ullamcorper+arcu+vitae+wisi.+Pellentesque+urna+odio%2C+varius+eget%2C+dignissim+quis%2C+vehicula+placerat%2C+nunc.+Ut+nec+metus+quis+nulla+posuere+eleifend.%0D%0ASuspendisse+nibh.+Nunc+vulputate+leo+id+urna.+Donec+dictum.+Lorem+ipsum+dolor+sit+amet%2C+consectetuer+adipiscing+elit.+Lorem+ipsum+dolor+sit+amet%2C+consectetuer+adipiscing+elit.+Suspendisse+dictum%2C+magna+consectetuer+hendrerit+volutpat%2C+sapien+felis+faucibus+justo%2C+ac+dictum+lacus+pede+in+metus.+Nam+commodo.+Sed+consequat%2C+leo+pretium+sagittis+congue%2C+ante+nunc+laoreet+nisl%2C+ac+aliquam+risus+tellus+commodo+elit.+Cras+at+elit.+Pellentesque+suscipit+erat+vitae+mauris.+Sed+iaculis+eros+vitae+mauris.+Vestibulum+ante+ipsum+primis+in+faucibus+orci+luctus+et+ultrices+posuere+cubilia+Curae%3B+Suspendisse+id+ante+et+elit+accumsan+semper.+Sed+et+nibh+eget+purus+scelerisque+volutpat.+Sed+mi.+Proin+tellus+felis%2C+tincidunt+eget%2C+dictum+et%2C+adipiscing+et%2C+urna.+Cras+accumsan+diam+sed+turpis.+Etiam+sollicitudin+lacus.%0D%0ANam+iaculis+blandit+purus.+Mauris+odio+nibh%2C+hendrerit+id%2C+cursus+vel%2C+sagittis+a%2C+dolor.+Nullam+turpis+lacus%2C+ultrices+vel%2C+sagittis+vitae%2C+dapibus+vel%2C+elit.+Suspendisse+auctor%2C+sapien+et+suscipit+tempor%2C+turpis+enim+consequat+sem%2C+eu+dictum+nunc+lorem+at+massa.+Pellentesque+scelerisque+purus.+Etiam+sed+enim.+Maecenas+sed+tortor+id+turpis+consequat+consequat.+Curabitur+fringilla.+Sed+risus+wisi%2C+dictum+a%2C+sagittis+nec%2C+luctus+ac%2C+neque.+Lorem+ipsum+dolor+sit+amet%2C+consectetuer+adipiscing+elit.+Sed+nibh+neque%2C+aliquam+ut%2C+sagittis+id%2C+gravida+et%2C+est.+Aenean+consectetuer+pretium+enim.+Aenean+tellus+quam%2C+condimentum+a%2C+adipiscing+et%2C+lacinia+vel%2C+ante.+Praesent+faucibus+dignissim+enim.+Aliquam+tincidunt.+Mauris+leo+ante%2C+condimentum+eget%2C+vestibulum+sit+amet%2C+fringilla+eget%2C+diam.+Nam+ultricies+ullamcorper+nibh.+Etiam+neque.+Ut+posuere+laoreet+pede.', 'c'); +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 (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 (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'); + +-- -------------------------------------------------------- + +-- +-- Tabellenstruktur für Tabelle `users` +-- + +CREATE TABLE `users` ( + `id` bigint(20) NOT NULL, + `sid` varchar(32) NOT NULL default '', + `gid` smallint(6) NOT NULL default '0', + `user` varchar(32) NOT NULL default '', + `password` varchar(32) NOT NULL default '', + `lastaccess` timestamp NOT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `user` (`user`) +) TYPE=MyISAM AUTO_INCREMENT=2 ; + +-- +-- Daten für Tabelle `users` +-- + +INSERT INTO `users` VALUES (1, '', 0, 'NeoRaider', 'gamezock', '2006-01-19 23:31:18'); diff --git a/handlers/default.inc.php b/handlers/default.inc.php index f273fdb..6a08d77 100644 --- a/handlers/default.inc.php +++ b/handlers/default.inc.php @@ -13,20 +13,38 @@ return array('title' => $title, 'content' => $content); } + function Add() { + $title = 'Add page'; + + $content = '<form method="post" action="' . $GLOBALS['links']->GetNeonLink('Pages:Add') . '">'; + $content .= '<input type="hidden" name="handler" value="' . $_POST['handler'] . '" />'; + $content .= 'Name: '; + $content .= '<input type="text" name="name" size="70" /><br />'; + $content .= 'Titel: '; + $content .= '<input type="text" name="title" size="70" /><br />'; + $content .= '<textarea name="content" class="pageedit pageedit_input" rows="25" cols="70">'; + $content .= '</textarea><br />'; + $content .= '<input type="submit" class="submit" value="Hinzufügen" /> '; + $content .= '<input type="submit" name="back" class="submit" value="Zurück" />'; + $content .= '</form>'; + + return array('title' => 'Neue Seite', 'content' => $content); + } + function Edit($data) { $title = 'Edit \'' . $data['_page'] . '\''; - $content = '<form method="post" action="' . $GLOBALS['links']->GetNeonLink('Pages:Do') . '">'; - $content .= '<input type="hidden" name="do" value="edit" />'; + $content = '<form method="post" action="' . $GLOBALS['links']->GetNeonLink('Pages:Edit') . '">'; $content .= '<input type="hidden" name="id" value="' . $_POST['id'] . '" />'; $content .= 'Titel: '; $content .= '<input type="text" name="title" value="'; $content .= strtr($data['title'], array('<' => '<', '>' => '>', '&' => '&', '"' => '"')); $content .= '" size="70" /><br />'; - $content .= '<textarea name="content" class="pageedit" rows="25" cols="70">'; + $content .= '<textarea name="content" class="pageedit pageedit_input" rows="25" cols="70">'; $content .= strtr($data['content'], array('<' => '<', '>' => '>', '&' => '&', '"' => '"')); $content .= '</textarea><br />'; - $content .= '<input type="submit" value="Änderungen übernehmen" />'; + $content .= '<input type="submit" class="submit" value="Änderungen übernehmen" /> '; + $content .= '<input type="submit" name="back" class="submit" value="Zurück" />'; $content .= '</form>'; return array('title' => $title, 'content' => $content); diff --git a/handlers/phpexec.inc.php b/handlers/phpexec.inc.php index 3754fd4..2c1f7b4 100644 --- a/handlers/phpexec.inc.php +++ b/handlers/phpexec.inc.php @@ -19,16 +19,32 @@ return array('title' => $title, 'content' => $content); } + function Add() { + $title = 'Add page'; + + $content = '<form method="post" action="' . $GLOBALS['links']->GetNeonLink('Pages:Add') . '">'; + $content .= '<input type="hidden" name="handler" value="' . $_POST['handler'] . '" />'; + $content .= 'Name: '; + $content .= '<input type="text" name="name" size="70" /><br />'; + $content .= '<textarea name="code" class="pageedit pageedit_input" rows="25" cols="70">'; + $content .= '</textarea><br />'; + $content .= '<input type="submit" class="submit" value="Hinzufügen" /> '; + $content .= '<input type="submit" name="back" class="submit" value="Zurück" />'; + $content .= '</form>'; + + return array('title' => $title, 'content' => $content); + } + function Edit($data) { $title = 'Edit \'' . $data['_page'] . '\''; - $content = '<form method="post" action="' . $GLOBALS['links']->GetNeonLink('Pages:Do') . '">'; - $content .= '<input type="hidden" name="do" value="edit" />'; + $content = '<form method="post" action="' . $GLOBALS['links']->GetNeonLink('Pages:Edit') . '">'; $content .= '<input type="hidden" name="id" value="' . $_POST['id'] . '" />'; - $content .= '<textarea name="code" class="pageedit_phpexec" rows="25" cols="70">'; + $content .= '<textarea name="code" class="pageedit pageedit_input" rows="25" cols="70">'; $content .= strtr($data['code'], array('<' => '<', '>' => '>', '&' => '&', '"' => '"')); $content .= '</textarea><br />'; - $content .= '<input type="submit" value="Änderungen übernehmen" />'; + $content .= '<input type="submit" class="submit" value="Änderungen übernehmen" /> '; + $content .= '<input type="submit" name="back" class="submit" value="Zurück" />'; $content .= '</form>'; return array('title' => $title, 'content' => $content); diff --git a/styles/GreenGrid/style.css b/styles/GreenGrid/style.css index 4cb9f78..155ab8f 100644 --- a/styles/GreenGrid/style.css +++ b/styles/GreenGrid/style.css @@ -28,19 +28,20 @@ input, textarea, select { font-family:Larabiefont, Westminster, Courier, monospace; } +input.submit { + margin-top:0.8em; +} + select.pagelist { - width:50%; - margin-bottom:0.8em; + width:35em; } textarea.pageedit { width:100%; - margin:0.8em 0; } -textarea.pageedit_phpexec { - width:100%; - margin-bottom:0.8em; +textarea.pageedit_input { + margin-top:0.8em; } div#content { |