<?php // $Id$ // Benutzerübersicht require_once I_PATH . "auth.class.php"; require_once I_PATH . "press_user.class.php"; $PU = new press_user(&$SQL, &$DBG, new auth()); // $SQL has to be a valid MySQL-Object //$PU->set_prefix( $VAR['db']['tableprefix'] ); $sites_list = $PU->show_list("editu"); //get clickable list to aim-site $html['content'] = " \r\n\t\t\t<table summary=\"form table (as layout)\" width=\"100%\">\r\n\t\t\t\t<tr>\r\n\t\t\t\t\t<td width=\"180\" class=\"heading\" colspan=\"3\">Bitte wählen Sie den Benutzer, den Sie editieren wollen.</td>\r\n\t\t\t\t</tr>\r\n\t\t\t\t<tr>\r\n\t\t\t\t\t<td id=\"tc4\" width=\"20\" valign=\"top\">\r\n\t\t\t\t \t\t" . $sites_list . "\r\n\t\t\t\t\t</td>\r\n\t\t\t\t</tr>\r\n </table>\r\n </div>\r\n \r\n <div class=\"tablelayer\"> \r\n\t\t\t<table summary=\"form table new button\" width=\"100%\">\r\n\t\t\t\t<tr>\r\n\t\t\t\t\t<td width=\"180\"colspan=\"3\" class=\"heading\">\r\n\t\t\t\t\t\toder <a href=\"?menu=editu&id=0\" accesskey=\"n\">erstellen Sie einen <u><i>n</i></u>euen Benutzer</a>\t\r\n\t\t\t\t\t</td>\r\n\t\t\t\t</tr>\r\n </table>"; // Fill into Template require_once I_PATH . "template2.class.php"; $T = new template(&$DBG); $T->add_title("Benutzer Ändern"); $T->add_js("js/sitelist.js"); $T->add_css("css/nentry.css"); $T->add_menu($menu_links); $T->add_content($html['content']); $T->show(); ?>