Show reports.php syntax highlighted
<?php
$template['title'] = $title;
$template['content'] = '';
$template['content'] .= "<div id=\"reportnav\" ><ul>";
foreach ($menu as $key=>$value) {
$template['content'] .= "<li><nobr><a id=\"".(($display==$key) ? 'current':'')."\" href=\"reports.php?display=".$key."\">".$value."</a><nobr></li>";
}
$template['content'] .= "</ul></div>";
$template['content'] .=
'<div id="reportframe">'.
'<iframe width="97%" height="2000" frameborder="0" align="top" scrolling="auto" src="cdr/cdr.php?s='.$display.($display=='1' ? '&posted=1' : '').'"></iframe>'.
'</div>';
showview('freepbx', $template);
?>
See more files for this project here