| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
$template['title'] = $title; |
|---|
| 4 |
$template['content'] = ''; |
|---|
| 5 |
|
|---|
| 6 |
$template['content'] .= "<div id=\"reportnav\" ><ul>"; |
|---|
| 7 |
foreach ($menu as $key=>$value) { |
|---|
| 8 |
$template['content'] .= "<li><nobr><a id=\"".(($display==$key) ? 'current':'')."\" href=\"reports.php?display=".$key."\">".$value."</a><nobr></li>"; |
|---|
| 9 |
} |
|---|
| 10 |
$template['content'] .= "</ul></div>"; |
|---|
| 11 |
|
|---|
| 12 |
$template['content'] .= |
|---|
| 13 |
'<div>'. |
|---|
| 14 |
'<iframe width="97%" height="2000" frameborder="0" align="top" scrolling="auto" src="cdr/cdr.php?s='.$display.($display=='1' ? '&posted=1' : '').'"></iframe>'. |
|---|
| 15 |
'</div>'; |
|---|
| 16 |
showview('freepbx', $template); |
|---|
| 17 |
|
|---|
| 18 |
?> |
|---|