\n"; $count = 0; if($this->data->MACRO['TITLE']) echo "".$this->data->MACRO['TITLE']."

\n"; if($this->data->MACRO['COMMENT']) echo $this->data->MACRO['COMMENT']."

\n"; foreach($this->data->STRUCT as $key=>$value){ if($value['LEVEL'] == 0 ){ echo "".$value['TIMERANGE']['title']. " " .$value['TIMERANGE']['f_start']. " - " . $value['TIMERANGE']['f_end']. "\n"; $count = 0; } echo "

"; echo "\n"; echo "\n"; echo "\n"; echo "
"; echo Kohana::lang('common.datasource',$value['ds_name']).""; echo pnp::zoom_icon_special($this->tpl, $value['TIMERANGE']['start'], $value['TIMERANGE']['end'], $value['SOURCE'], $value['VIEW'], $value['GRAPH_WIDTH'], $value['GRAPH_HEIGHT'])."
\n"; echo "
\n"; echo "
\n"; $path = pnp::addToUri( array('tpl' => $this->tpl, 'view' => NULL ) ); echo "\n"; $path = pnp::addToUri( array('tpl' => $this->tpl, 'view' => $value['VIEW'], 'source' => $value['SOURCE'], 'start' => $value['TIMERANGE']['start'], 'end' => $value['TIMERANGE']['end']), FALSE ); echo "\n"; echo "

\n"; } echo "\n"; ?>