{
    echo "jaz sem funkcija";
    $dal = new DAL();
    $age_min = 18;
    $age_max = 36;
    $unitarray = array(75, 77, 78);
    $disorderarray = array(1, 2, 3, 4, 5);
    $cat = $dal->get_count_dissorder_age_persons_by_unit($unit_in, 0, 11, $age_min, $age_max, $disorder);
    $cat = $cat[0];
    $table = str_replace("##DISORDER{$disorder}##", $cat->sestevek, $table);
    echo $table;
    return $table;
}
foreach ($unitarray as $unit_in) {
    $table .= $row;
    $enota = $dal->get_unit_by_persons_unit($unit_in);
    $enota = $enota[0];
    $table = str_replace("##UNIT##", $enota->name, $table);
    // for ($i=0; $i<6; $i++){
    $query1;
    echo "ne dela";
    $table = query1($i);
    //}
}
/*
foreach ($unitarray as $unit_in) {

    $table.=$row;

    $enota = $dal->get_unit_by_persons_unit($unit_in);
    $enota = $enota[0];