Example #1
0
function cout_sql_res($SIDU, $res)
{
    $SIDU['col'] = $res[5];
    $SIDU['data'] = $res[6];
    @init_pg_col_align($SIDU['data'], $SIDU['col']);
    if ($_GET['chart']) {
        @cout_sql_chart($SIDU);
    }
    @init_col_width($SIDU);
    @cout_data($SIDU, $link, $conn, 1);
}
Example #2
0
function main()
{
    global $SIDU;
    $conn = $SIDU['conn'][$SIDU[0]];
    $link = @explode(',', $_GET['id']);
    @tab_tool();
    if ($_GET['desc']) {
        @main_desc($SIDU, $link, $conn);
    } else {
        @cout_data($SIDU, $link, $conn);
    }
}