Beispiel #1
0
            $cmd .= '<tr><td class="membersRow1">' . $roster->locale->act['admin']['status_chmod_unchanged'] . '</td></tr>';
        }
    } else {
        $cmd .= '<tr><td class="membersRow1">' . sprintf('' . $roster->locale->act['admin']['status_chmod_nodir'] . '', $dir) . '</td></tr>';
    }
    $cmd .= '</table>' . border('sgreen', 'end') . '<br>';
    echo $cmd;
}
if ($id == '') {
    $colx = $addon['config']['rg_ipl'];
    $rowx = $addon['config']['rg_lpp'];
    $row = 0;
    $x = 0;
    $html = '';
    if (isset($_GET['c']) != '') {
        $c = $functions->getvars('c');
    }
    if (isset($_GET['edit']) == '') {
        if ($functions->getMessage() != '') {
            print border('sblue', 'start', 'Messages');
            echo $functions->getMessage();
            print border('sblue', 'end');
        }
        if ($c) {
            $query2 = "SELECT * FROM `" . ROSTER_SCREENTABLE . "` WHERE `approve` = 'yes' AND `catagory` = '" . $c . "' ORDER BY `id` DESC";
        } else {
            $query2 = "SELECT * FROM `" . ROSTER_SCREENTABLE . "` WHERE `approve` = 'yes' ORDER BY `id` DESC";
        }
        $result2 = $roster->db->query($query2) or die_quietly($roster->db->error(), 'Database Error', basename(__FILE__), __LINE__, $query2);
        $total = mysql_num_rows($result2);
        $tapproved = $roster->db->num_rows($result2);