is_authorized == FALSE){ ?>
data->STRUCT as $d){ if($d['VIEW'] > $last_view){ # a new header begins if($last_view != -1 ){ # close last div print "
\n"; } printf("
%s
\n", $d['TIMERANGE']['title'] ); printf("
%s\n", $d['ds_name']); printf("
\n", $d['MACRO']['HOSTNAME'], $d['MACRO']['SERVICEDESC'], $d['VIEW'], $d['SOURCE'] ); $last_view++; }else{ printf("
%s
\n", $d['ds_name']); printf("
\n", $d['MACRO']['HOSTNAME'], $d['MACRO']['SERVICEDESC'], $d['VIEW'], $d['SOURCE'] ); } } ?>