Ejemplo n.º 1
0
function show_params($slct, $restrict)
{
    $r = msql_read_prep('system', 'admin_restrictions');
    $h = msql_read('lang', 'admin_restrictions');
    if ($slct && auth(6)) {
        modif_params($slct, $restrict);
    }
    foreach ($r as $k => $v) {
        $rb[$k] = show_params_cat($v, $h);
    }
    if (auth(6)) {
        $bt = msqlink('system', 'admin_restrictions', '', 'imgr');
    }
    return $bt . make_tabs($rb, 'rst');
}
Ejemplo n.º 2
0
function show_params($slct, $restrict)
{
    $r = msql_read_prep('system', 'admin_restrictions');
    $h = msql_read('lang', 'admin_restrictions');
    if ($slct && auth(6)) {
        modif_params($slct, $restrict);
    }
    foreach ($r as $k => $v) {
        $rb[$k] = show_params_cat($v, $h);
    }
    if (auth(6)) {
        $bt = msqlink('system', 'admin_restrictions', '', 'imgr');
    }
    ksort($rb);
    //foreach($rb as $k=>$v)$ret.=bal('h4',$k).divc('nbp',$v).br(); return $bt.$ret;
    return $bt . make_tabs($rb, 'rst');
}