function doBodyJobs()
    {
        global $SYSTEM_INFO;
        $frame_01 = new uiFrame("advancedFrame", "", "mgmtFrame");
        $text_header = new uiText("text01", "<span class=\"cHeading\">:: advanced</span>");
        $text_welcome = new uiText("textWelcome", 'Inside of this category, you can for example backup and restore your database and do other advanced tasks of maintenance. Before using the Update feature of 29o3, please see the <a href="' . mksyslink("?mgmt;Help;chapter=Update29o3") . '">respective chapter of the documentation</a>.
<br/><br/>
<strong>Currently under development. Stay tuned.</strong>
');
        $og_backup = new uiOptionGroup("og_backup", "Database Backup", "background-color: rgb(166, 220, 113);");
        $text_backup = new uiText("", "\n29o3 offers several options to back up the database.<br/>\nHave in mind that in either way, the output is not encrypted.\nNow, please choose the respective option below.");
        $form_backup = new uiForm("dbbackupform", "POST", mksyslink("?mgmt;DatabaseBackup;"));
        $rad_method = array();
        array_push($rad_method, new uiFormElement("method", "radio", "Upload to FTP server", "ftp"));
        array_push($rad_method, new uiFormElement("method", "radio", "Send via eMail", "mail"));
        array_push($rad_method, new uiFormElement("method", "radio", "Save to local file", "localfile"));
        array_push($rad_method, new uiFormElement("method", "radio", "Download", "downloadfile"));
        $og_backup->attach($text_backup);
        $og_backup->attach($form_backup);
        $form_backup->attach($rad_method);
        $frame_01->attach($text_header);
        $frame_01->attach($text_welcome);
        $frame_01->attach($og_backup);
        $this->pdo->insertIntoBodyBuffer($frame_01->__toString());
    }
 function doBodyJobs()
 {
     global $SYSTEM_INFO;
     $frame_01 = new uiFrame("overviewFrame", "", "mgmtFrame");
     $text_header = new uiText("text01", "<span class=\"cHeading\">:: management console overview</span>");
     $text_welcome = new uiText("textWelcome", "<strong>Welcome to the management console of the 29o3 content management system.</strong><br/><br/>\nIf this is your first visit, let me explain shortly how easy it is to publish content with 29o3:<br/><br/>\nWhen you look to the left, you see the categories of the management console. If you click on <strong>Preferences</strong>, you are able to tune different system-wide settings of your system.<br/><br/>\nThe category <strong>Appearance</strong> lets you set up how your pages should look. Finally, through the category <strong>Structure</strong> you are able to give structure to your website and add content.<br/><br/>\nIf you want to give media files (videos, images, etc.) into the management of 29o3, choose <strong>Media</strong>. For adding other files, go to <strong>Files</strong>.<br/><br/>\nFor managing multiple users/groups editing your websites with different permissions, have a look at <strong>Accounts</strong><br/><br/>\nMore advanced topics, like database backup and recovery, can be found under <strong>Advanced</strong>.\n<br/><br/>\nTo find out about the people behind 29o3, please <a href=\"" . mksyslink("?mgmt;Help;chapter=About") . "\">click here</a>.<br/><br/>\n");
     $text_sysinfo = new uiText("sysInfo", "29o3 is currently running on " . php_uname("s") . "/" . php_uname("m") . " " . php_uname("r") . " with " . $_SERVER["SERVER_SOFTWARE"] . " as webserver. You are running 29o3 " . $SYSTEM_INFO["SystemVersion"] . " Codename " . $SYSTEM_INFO["SystemCodename"] . ".");
     $frame_01->attach($text_header);
     $frame_01->attach($text_welcome);
     $frame_01->attach($text_sysinfo);
     $this->pdo->insertIntoBodyBuffer($frame_01->__toString());
 }
 function doBodyJobs()
 {
     global $SYSTEM_INFO;
     $frame_01 = new uiFrame("accountsFrame", "", "mgmtFrame");
     $text_header = new uiText("text01", "<span class=\"cHeading\">:: accounts</span>");
     $text_welcome = new uiText("textAccounts", "With <strong>Accounts</strong> you can setup multiple users and groups and manage their particular permissions. If you want to change the permissions or details of a certain user or group, click the respective &quot;Modify&quot; link.<br/><br/>\n");
     $text_usermenu = new uiText("", '<a href="' . mksyslink("?mgmt;CreateUser;") . '">Create new user</a>');
     /* users option group */
     $og_users = new uiOptionGroup("og_users", "Users", "background-color: rgb(166, 220, 113);");
     $text_users = new uiText("", "Modify or create users.");
     $og_users->attach($text_users);
     $this->db->executeQuery("SELECT * FROM " . mktablename("users") . " ORDER BY uid ASC");
     $i = 0;
     while ($user = $this->db->fetchArray()) {
         $ugo = new uiMgmtUserGroup($i, "", "user", "uiMgmtUser", implode(":::", $user));
         $og_users->attach($ugo);
         $i++;
     }
     $text_usermenu = new uiText("", '<small><a href="' . mksyslink("?mgmt;CreateUser;") . '">Create new user</a></small>');
     $og_users->attach($text_usermenu);
     /* group option group */
     $og_groups = new uiOptionGroup("og_groups", "Groups", "background-color: rgb(229, 136, 46);");
     $text_groups = new uiText("", "Create new groups or modify existing ones.");
     $og_groups->attach($text_groups);
     $this->db->executeQuery("SELECT * FROM " . mktablename("groups") . " ORDER BY gid ASC");
     $i = 0;
     while ($group = $this->db->fetchArray()) {
         $ugo = new uiMgmtUserGroup($i, "", "group", "uiMgmtGroup", implode(":::", $group));
         $og_groups->attach($ugo);
         $i++;
     }
     $text_groupmenu = new uiText("", '<small><a href="' . mksyslink("?mgmt;CreateGroup;") . '">Create new group</a></small>');
     $og_groups->attach($text_groupmenu);
     $frame_01->attach($text_header);
     $frame_01->attach($text_welcome);
     $frame_01->attach($og_users);
     $frame_01->attach($og_groups);
     $this->pdo->insertIntoBodyBuffer($frame_01->__toString());
 }