Changeset 6764
- Timestamp:
- 09/17/08 11:29:39 (3 months ago)
- Files:
-
- freepbx/branches/2.5/amp_conf/bin/retrieve_conf (modified) (1 diff)
- freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/about.php (modified) (1 diff)
- freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/call-comp.php (modified) (2 diffs)
- freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/call-daily-load.php (modified) (4 diffs)
- freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/call-last-month.php (modified) (2 diffs)
- freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/call-log.php (modified) (5 diffs)
- freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/cdr.php (modified) (1 diff)
- freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/css (deleted)
- freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/images/clear.gif (added)
- freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/images/corner-bl.png (copied) (copied from freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/css/images/corner-bl.png)
- freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/images/corner-br.png (copied) (copied from freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/css/images/corner-br.png)
- freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/images/corner-tl.png (copied) (copied from freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/css/images/corner-tl.png)
- freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/images/corner-tr.png (copied) (copied from freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/css/images/corner-tr.png)
- freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/lib/defines.php (modified) (2 diffs)
- freepbx/branches/2.5/amp_conf/htdocs/admin/common/content.css (copied) (copied from freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/css/content.css)
- freepbx/branches/2.5/amp_conf/htdocs/admin/common/docbook.css (copied) (copied from freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/css/docbook.css)
- freepbx/branches/2.5/amp_conf/htdocs/admin/common/encrypt.js (moved) (moved from freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/encrypt.js)
- freepbx/branches/2.5/amp_conf/htdocs/admin/common/graph_hourdetail.php (moved) (moved from freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/graph_hourdetail.php) (1 diff)
- freepbx/branches/2.5/amp_conf/htdocs/admin/common/graph_pie.php (moved) (moved from freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/graph_pie.php) (1 diff)
- freepbx/branches/2.5/amp_conf/htdocs/admin/common/graph_stat.php (moved) (moved from freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/graph_stat.php) (1 diff)
- freepbx/branches/2.5/amp_conf/htdocs/admin/common/graph_statbar.php (moved) (moved from freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/graph_statbar.php) (1 diff)
- freepbx/branches/2.5/amp_conf/htdocs/admin/common/layout.css (copied) (copied from freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/css/layout.css)
- freepbx/branches/2.5/amp_conf/htdocs/admin/common/print.css (moved) (moved from freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/images/print.css)
- freepbx/branches/2.5/amp_conf/htdocs/admin/config.php (modified) (1 diff)
- freepbx/branches/2.5/amp_conf/htdocs/admin/views/reports.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/branches/2.5/amp_conf/bin/retrieve_conf
r6601 r6764 345 345 } 346 346 } 347 // Now also make sure to symlink the CDR images which is not a proper module 348 // 349 symlink_subdirs( $amp_conf['AMPWEBROOT'].'/admin/cdr/'); 347 350 348 351 // create an object of the extensions class freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/about.php
r3052 r6764 35 35 <title>Asterisk CDR</title> 36 36 <meta http-equiv="Content-Type" content="text/html"> 37 <link rel="stylesheet" type="text/css" media="print" href=" /css/print.css">38 <SCRIPT LANGUAGE="JavaScript" SRC=" ./encrypt.js"></SCRIPT>37 <link rel="stylesheet" type="text/css" media="print" href="common/print.css"> 38 <SCRIPT LANGUAGE="JavaScript" SRC="common/encrypt.js"></SCRIPT> 39 39 <style type="text/css" media="screen"> 40 @import url("c ss/layout.css");41 @import url("c ss/content.css");42 @import url("c ss/docbook.css");40 @import url("common/layout.css"); 41 @import url("common/content.css"); 42 @import url("common/docbook.css"); 43 43 </style> 44 44 <meta name="MSSmartTagsPreventParsing" content="TRUE"> freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/call-comp.php
r6491 r6764 257 257 <!-- ** ** ** ** ** Part for the research ** ** ** ** ** --> 258 258 <center> 259 <FORM METHOD=POST ACTION="<?php echo $_SERVER['PHP_SELF']?>? s=<?php echo $s?>&t=<?php echo $t?>&order=<?php echo $order?>&sens=<?php echo $sens?>¤t_page=<?php echo $current_page?>">259 <FORM METHOD=POST ACTION="<?php echo $_SERVER['PHP_SELF']?>?handler=cdr&s=<?php echo $s?>&t=<?php echo $t?>&order=<?php echo $order?>&sens=<?php echo $sens?>¤t_page=<?php echo $current_page?>"> 260 260 <INPUT TYPE="hidden" NAME="posted" value=1> 261 261 <table class="bar-status" width="75%" border="0" cellspacing="1" cellpadding="2" align="center"> … … 522 522 </td></tr></tbody></table> 523 523 <br> 524 <IMG SRC=" graph_stat.php?min_call=<?php echo $min_call?>&fromstatsday_sday=<?php echo $fromstatsday_sday?>&days_compare=<?php echo $days_compare?>&fromstatsmonth_sday=<?php echo $fromstatsmonth_sday?>&dsttype=<?php echo $dsttype?>&srctype=<?php echo $srctype?>&clidtype=<?php echo $clidtype?>&channel=<?php echo $channel?>&resulttype=<?php echo $resulttype?>&dst=<?php echo $dst?>&src=<?php echo $src?>&clid=<?php echo $clid?>&userfieldtype=<?php echo $userfieldtype?>&userfield=<?php echo $userfield?>&accountcodetype=<?php echo $accountcodetype?>&accountcode=<?php echo $accountcode?>" ALT="Stat Graph">524 <IMG SRC="common/graph_stat.php?min_call=<?php echo $min_call?>&fromstatsday_sday=<?php echo $fromstatsday_sday?>&days_compare=<?php echo $days_compare?>&fromstatsmonth_sday=<?php echo $fromstatsmonth_sday?>&dsttype=<?php echo $dsttype?>&srctype=<?php echo $srctype?>&clidtype=<?php echo $clidtype?>&channel=<?php echo $channel?>&resulttype=<?php echo $resulttype?>&dst=<?php echo $dst?>&src=<?php echo $src?>&clid=<?php echo $clid?>&userfieldtype=<?php echo $userfieldtype?>&userfield=<?php echo $userfield?>&accountcodetype=<?php echo $accountcodetype?>&accountcode=<?php echo $accountcode?>" ALT="Stat Graph"> 525 525 526 526 <?php }else{ ?> freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/call-daily-load.php
r6491 r6764 230 230 <!-- ** ** ** ** ** Part for the research ** ** ** ** ** --> 231 231 <center> 232 <FORM METHOD=POST ACTION="<?php echo $_SERVER['PHP_SELF']?>? s=<?php echo $s?>&t=<?php echo $t?>&order=<?php echo $order?>&sens=<?php echo $sens?>¤t_page=<?php echo $current_page?>">232 <FORM METHOD=POST ACTION="<?php echo $_SERVER['PHP_SELF']?>?handler=cdr&s=<?php echo $s?>&t=<?php echo $t?>&order=<?php echo $order?>&sens=<?php echo $sens?>¤t_page=<?php echo $current_page?>"> 233 233 <INPUT TYPE="hidden" NAME="posted" value=1> 234 234 <table class="bar-status" width="75%" border="0" cellspacing="1" cellpadding="2" align="center"> … … 482 482 </td></tr></tbody></table> 483 483 <br> 484 <IMG SRC=" graph_statbar.php?min_call=<?php echo $min_call?>&fromstatsday_sday=<?php echo $fromstatsday_sday?>&days_compare=<?php echo $days_compare?>&fromstatsmonth_sday=<?php echo $fromstatsmonth_sday?>&dsttype=<?php echo $dsttype?>&srctype=<?php echo $srctype?>&clidtype=<?php echo $clidtype?>&channel=<?php echo $channel?>&resulttype=<?php echo $resulttype?>&dst=<?php echo $dst?>&src=<?php echo $src?>&clid=<?php echo $clid?>&userfieldtype=<?php echo $userfieldtype?>&userfield=<?php echo $userfield?>&accountcodetype=<?php echo $accountcodetype?>&accountcode=<?php echo $accountcode?>" ALT="Stat Graph">484 <IMG SRC="common/graph_statbar.php?min_call=<?php echo $min_call?>&fromstatsday_sday=<?php echo $fromstatsday_sday?>&days_compare=<?php echo $days_compare?>&fromstatsmonth_sday=<?php echo $fromstatsmonth_sday?>&dsttype=<?php echo $dsttype?>&srctype=<?php echo $srctype?>&clidtype=<?php echo $clidtype?>&channel=<?php echo $channel?>&resulttype=<?php echo $resulttype?>&dst=<?php echo $dst?>&src=<?php echo $src?>&clid=<?php echo $clid?>&userfieldtype=<?php echo $userfieldtype?>&userfield=<?php echo $userfield?>&accountcodetype=<?php echo $accountcodetype?>&accountcode=<?php echo $accountcode?>" ALT="Stat Graph"> 485 485 486 486 … … 490 490 <br/> 491 491 <center>Select the hour interval to see the details 492 <FORM METHOD=POST ACTION=" graph_hourdetail.php?posted=<?php echo $posted?>&min_call=<?php echo $min_call?>&fromstatsday_sday=<?php echo $fromstatsday_sday?>&days_compare=<?php echo $days_compare?>&fromstatsmonth_sday=<?php echo $fromstatsmonth_sday?>&dsttype=<?php echo $dsttype?>&srctype=<?php echo $srctype?>&clidtype=<?php echo $clidtype?>&channel=<?php echo $channel?>&resulttype=<?php echo $resulttype?>&dst=<?php echo $dst?>&src=<?php echo $src?>&clid=<?php echo $clid?>&userfieldtype=<?php echo $userfieldtype?>&userfield=<?php echo $userfield?>&accountcodetype=<?php echo $accountcodetype?>&accountcode=<?php echo $accountcode?>" target="superframe">492 <FORM METHOD=POST ACTION="common/graph_hourdetail.php?posted=<?php echo $posted?>&min_call=<?php echo $min_call?>&fromstatsday_sday=<?php echo $fromstatsday_sday?>&days_compare=<?php echo $days_compare?>&fromstatsmonth_sday=<?php echo $fromstatsmonth_sday?>&dsttype=<?php echo $dsttype?>&srctype=<?php echo $srctype?>&clidtype=<?php echo $clidtype?>&channel=<?php echo $channel?>&resulttype=<?php echo $resulttype?>&dst=<?php echo $dst?>&src=<?php echo $src?>&clid=<?php echo $clid?>&userfieldtype=<?php echo $userfieldtype?>&userfield=<?php echo $userfield?>&accountcodetype=<?php echo $accountcodetype?>&accountcode=<?php echo $accountcode?>" target="superframe"> 493 493 <!-- ** ** ** ** ** HOURLY LOAD ** ** ** ** ** --> 494 494 <table class="bar-status" width="60%" border="0" cellspacing="1" cellpadding="2" align="center"> … … 539 539 <br> 540 540 <center> 541 <iframe name="superframe" src=" graph_hourdetail.php?posted=<?php echo $posted?>&min_call=<?php echo $min_call?>&fromstatsday_sday=<?php echo $fromstatsday_sday?>&days_compare=<?php echo $days_compare?>&fromstatsmonth_sday=<?php echo $fromstatsmonth_sday?>&dsttype=<?php echo $dsttype?>&srctype=<?php echo $srctype?>&clidtype=<?php echo $clidtype?>&channel=<?php echo $channel?>&resulttype=<?php echo $resulttype?>&dst=<?php echo $dst?>&src=<?php echo $src?>&clid=<?php echo $clid?>&userfieldtype=<?php echo $userfieldtype?>&userfield=<?php echo $userfield?>&accountcodetype=<?php echo $accountcodetype?>&accountcode=<?php echo $accountcode?>" BGCOLOR=white width=770 height=800 marginWidth=0 marginHeight=0 frameBorder=0 scrolling=yes>541 <iframe name="superframe" src="common/graph_hourdetail.php?posted=<?php echo $posted?>&min_call=<?php echo $min_call?>&fromstatsday_sday=<?php echo $fromstatsday_sday?>&days_compare=<?php echo $days_compare?>&fromstatsmonth_sday=<?php echo $fromstatsmonth_sday?>&dsttype=<?php echo $dsttype?>&srctype=<?php echo $srctype?>&clidtype=<?php echo $clidtype?>&channel=<?php echo $channel?>&resulttype=<?php echo $resulttype?>&dst=<?php echo $dst?>&src=<?php echo $src?>&clid=<?php echo $clid?>&userfieldtype=<?php echo $userfieldtype?>&userfield=<?php echo $userfield?>&accountcodetype=<?php echo $accountcodetype?>&accountcode=<?php echo $accountcode?>" BGCOLOR=white width=770 height=800 marginWidth=0 marginHeight=0 frameBorder=0 scrolling=yes> 542 542 543 543 </iframe> freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/call-last-month.php
r6491 r6764 236 236 <!-- ** ** ** ** ** Part for the research ** ** ** ** ** --> 237 237 <center> 238 <FORM METHOD=POST ACTION="<?php echo $_SERVER['PHP_SELF']?>? s=<?php echo $s?>&t=<?php echo $t?>&order=<?php echo $order?>&sens=<?php echo $sens?>¤t_page=<?php echo $current_page?>">238 <FORM METHOD=POST ACTION="<?php echo $_SERVER['PHP_SELF']?>?handler=cdr&s=<?php echo $s?>&t=<?php echo $t?>&order=<?php echo $order?>&sens=<?php echo $sens?>¤t_page=<?php echo $current_page?>"> 239 239 <INPUT TYPE="hidden" NAME="posted" value=1> 240 240 <table class="bar-status" width="75%" border="0" cellspacing="1" cellpadding="2" align="center"> … … 498 498 <?php if ($posted==1){ ?> 499 499 <center> 500 <IMG SRC=" graph_pie.php?min_call=<?php echo $min_call?>&fromstatsday_sday=<?php echo $fromstatsday_sday?>&months_compare=<?php echo $months_compare?>&fromstatsmonth_sday=<?php echo $fromstatsmonth_sday?>&dsttype=<?php echo $dsttype?>&srctype=<?php echo $srctype?>&clidtype=<?php echo $clidtype?>&channel=<?php echo $channel?>&resulttype=<?php echo $resulttype?>&dst=<?php echo $dst?>&src=<?php echo $src?>&clid=<?php echo $clid?>&userfieldtype=<?php echo $userfieldtype?>&userfield=<?php echo $userfield?>&accountcodetype=<?php echo $accountcodetype?>&accountcode=<?php echo $accountcode?>" ALT="Stat Graph">500 <IMG SRC="common/graph_pie.php?min_call=<?php echo $min_call?>&fromstatsday_sday=<?php echo $fromstatsday_sday?>&months_compare=<?php echo $months_compare?>&fromstatsmonth_sday=<?php echo $fromstatsmonth_sday?>&dsttype=<?php echo $dsttype?>&srctype=<?php echo $srctype?>&clidtype=<?php echo $clidtype?>&channel=<?php echo $channel?>&resulttype=<?php echo $resulttype?>&dst=<?php echo $dst?>&src=<?php echo $src?>&clid=<?php echo $clid?>&userfieldtype=<?php echo $userfieldtype?>&userfield=<?php echo $userfield?>&accountcodetype=<?php echo $accountcodetype?>&accountcode=<?php echo $accountcode?>" ALT="Stat Graph"> 501 501 </center> 502 502 <?php } ?> freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/call-log.php
r6491 r6764 337 337 <!-- ** ** ** ** ** Part for the research ** ** ** ** ** --> 338 338 <center> 339 <FORM METHOD=POST ACTION="<?php echo $_SERVER['PHP_SELF']?>? s=<?php echo $s?>&t=<?php echo $t?>&order=<?php echo $order?>&sens=<?php echo $sens?>¤t_page=<?php echo $current_page?>">339 <FORM METHOD=POST ACTION="<?php echo $_SERVER['PHP_SELF']?>?handler=cdr&s=<?php echo $s?>&t=<?php echo $t?>&order=<?php echo $order?>&sens=<?php echo $sens?>¤t_page=<?php echo $current_page?>"> 340 340 <INPUT TYPE="hidden" NAME="posted" value=1> 341 341 <INPUT TYPE="hidden" NAME="current_page" value=0> … … 601 601 <center><strong> 602 602 <?php if (strtoupper($FG_TABLE_COL[$i][4])=="SORT"){?> 603 <a href="<?php echo $_SERVER['PHP_SELF']."? s=1&t=$t&stitle=$stitle&atmenu=$atmenu¤t_page=$current_page&order=".$FG_TABLE_COL[$i][1]."&sens="; if ($sens=="ASC"){echo"DESC";}else{echo"ASC";}603 <a href="<?php echo $_SERVER['PHP_SELF']."?handler=cdr&s=1&t=$t&stitle=$stitle&atmenu=$atmenu¤t_page=$current_page&order=".$FG_TABLE_COL[$i][1]."&sens="; if ($sens=="ASC"){echo"DESC";}else{echo"ASC";} 604 604 echo "&posted=$posted&Period=$Period&frommonth=$frommonth&fromstatsmonth=$fromstatsmonth&tomonth=$tomonth&tostatsmonth=$tostatsmonth&fromday=$fromday&fromstatsday_sday=$fromstatsday_sday&fromstatsmonth_sday=$fromstatsmonth_sday&today=$today&tostatsday_sday=$tostatsday_sday&tostatsmonth_sday=$tostatsmonth_sday&dsttype=$dsttype&srctype=$srctype&clidtype=$clidtype&channel=$channel&resulttype=$resulttype&dst=$dst&src=$src&clid=$clid";?>"> 605 605 <span class="liens"><?php } ?> … … 727 727 <TD align="right"><SPAN style="COLOR: #ffffff; FONT-SIZE: 11px"><B> 728 728 <?php if ($current_page>0){?> 729 <img src="images/fleche-g.gif" width="5" height="10"> <a href="<?php echo $_SERVER['PHP_SELF']?>? s=1&t=<?php echo $t?>&order=<?php echo $order?>&sens=<?php echo $sens?>¤t_page=<?php echo ($current_page-1)?><?php if (!is_null($letter) && ($letter!="")){ echo "&letter=$letter";}729 <img src="images/fleche-g.gif" width="5" height="10"> <a href="<?php echo $_SERVER['PHP_SELF']?>?handler=cdr&s=1&t=<?php echo $t?>&order=<?php echo $order?>&sens=<?php echo $sens?>¤t_page=<?php echo ($current_page-1)?><?php if (!is_null($letter) && ($letter!="")){ echo "&letter=$letter";} 730 730 echo "&posted=$posted&Period=$Period&frommonth=$frommonth&fromstatsmonth=$fromstatsmonth&tomonth=$tomonth&tostatsmonth=$tostatsmonth&fromday=$fromday&fromstatsday_sday=$fromstatsday_sday&fromstatsmonth_sday=$fromstatsmonth_sday&today=$today&tostatsday_sday=$tostatsday_sday&tostatsmonth_sday=$tostatsmonth_sday&dsttype=$dsttype&srctype=$srctype&clidtype=$clidtype&channel=$channel&resulttype=$resulttype&dst=$dst&src=$src&clid=$clid&channel=$channel&resulttype=$resulttype&dst=$dst&src=$src&clid=$clid&userfieldtype=$userfieldtype&userfield=$userfield&accountcodetype=$accountcodetype&accountcode=$accountcode&duration1=$duration1&duration1type=$duration1type&duration2=$duration2&duration2type=$duration2type";?>"> 731 731 Previous </a> - … … 733 733 <?php echo ($current_page+1);?> / <?php echo $nb_record_max;?> 734 734 <?php if ($current_page<$nb_record_max-1){?> 735 - <a href="<?php echo $_SERVER['PHP_SELF']?>? s=1&t=<?php echo $t?>&order=<?php echo $order?>&sens=<?php echo $sens?>¤t_page=<?php echo ($current_page+1)?><?php if (!is_null($letter) && ($letter!="")){ echo "&letter=$letter";}735 - <a href="<?php echo $_SERVER['PHP_SELF']?>?handler=cdr&s=1&t=<?php echo $t?>&order=<?php echo $order?>&sens=<?php echo $sens?>¤t_page=<?php echo ($current_page+1)?><?php if (!is_null($letter) && ($letter!="")){ echo "&letter=$letter";} 736 736 echo "&posted=$posted&Period=$Period&frommonth=$frommonth&fromstatsmonth=$fromstatsmonth&tomonth=$tomonth&tostatsmonth=$tostatsmonth&fromday=$fromday&fromstatsday_sday=$fromstatsday_sday&fromstatsmonth_sday=$fromstatsmonth_sday&today=$today&tostatsday_sday=$tostatsday_sday&tostatsmonth_sday=$tostatsmonth_sday&dsttype=$dsttype&srctype=$srctype&clidtype=$clidtype&channel=$channel&resulttype=$resulttype&dst=$dst&src=$src&clid=$clid&channel=$channel&resulttype=$resulttype&dst=$dst&src=$src&clid=$clid&userfieldtype=$userfieldtype&userfield=$userfield&accountcodetype=$accountcodetype&accountcode=$accountcode&duration1=$duration1&duration1type=$duration1type&duration2=$duration2&duration2type=$duration2type";?>"> 737 737 Next </a> <img src="images/fleche-d.gif" width="5" height="10"> … … 882 882 <br/> 883 883 <table width="60%"><tr><td> 884 <a href=" export_pdf.php" target="_blank"><img src="./images/pdf.png " border="0"/></a> <a href="export_pdf.php" target="_blank">Export PDF file</a>884 <a href="config.php?handler=cdr_export_pdf" target="_blank"><img src="./images/pdf.png " border="0"/></a> <a href="config.php?handler=cdr_export_pdf" target="_blank">Export PDF file</a> 885 885 </td> 886 886 <td> 887 <a href=" export_csv.php" target="_blank" ><img src="./images/excel.png" border="0"/></a> <a href="export_csv.php" target="_blank">Export CSV file</a>887 <a href="config.php?handler=cdr_export_csv" target="_blank" ><img src="./images/excel.png" border="0"/></a> <a href="config.php?handler=cdr_export_csv" target="_blank">Export CSV file</a> 888 888 </td></tr></table> 889 889 freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/cdr.php
r4993 r6764 50 50 <title>Asterisk CDR</title> 51 51 <meta http-equiv="Content-Type" content="text/html"> 52 <link rel="stylesheet" type="text/css" media="print" href=" /css/print.css">53 <SCRIPT LANGUAGE="JavaScript" SRC=" ./encrypt.js"></SCRIPT>52 <link rel="stylesheet" type="text/css" media="print" href="common/print.css"> 53 <SCRIPT LANGUAGE="JavaScript" SRC="common/encrypt.js"></SCRIPT> 54 54 <style type="text/css" media="screen"> 55 @import url("c ss/layout.css");56 @import url("c ss/content.css");57 @import url("c ss/docbook.css");55 @import url("common/layout.css"); 56 @import url("common/content.css"); 57 @import url("common/docbook.css"); 58 58 </style> 59 59 <meta name="MSSmartTagsPreventParsing" content="TRUE"> freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/lib/defines.php
r6504 r6764 3 3 require_once('DB.php'); // PEAR 4 4 5 if (!function_exists('parse_amportal_conf')) { 5 6 function parse_amportal_conf($filename) { 6 7 $file = file($filename); … … 11 12 } 12 13 return $conf; 14 } 13 15 } 14 16 freepbx/branches/2.5/amp_conf/htdocs/admin/common/graph_hourdetail.php
r5360 r6764 1 1 <?php /* $Id$ */ 2 include_once(dirname(__FILE__) . "/ lib/defines.php");3 include_once(dirname(__FILE__) . "/ lib/Class.Table.php");4 include_once(dirname(__FILE__) . "/ jpgraph_lib/jpgraph.php");5 include_once(dirname(__FILE__) . "/ jpgraph_lib/jpgraph_line.php");6 include_once(dirname(__FILE__) . "/ jpgraph_lib/jpgraph_bar.php");2 include_once(dirname(__FILE__) . "/../cdr/lib/defines.php"); 3 include_once(dirname(__FILE__) . "/../cdr/lib/Class.Table.php"); 4 include_once(dirname(__FILE__) . "/../cdr/jpgraph_lib/jpgraph.php"); 5 include_once(dirname(__FILE__) . "/../cdr/jpgraph_lib/jpgraph_line.php"); 6 include_once(dirname(__FILE__) . "/../cdr/jpgraph_lib/jpgraph_bar.php"); 7 7 8 8 freepbx/branches/2.5/amp_conf/htdocs/admin/common/graph_pie.php
r6272 r6764 1 1 <?php /* $Id$ */ 2 include_once(dirname(__FILE__) . "/ lib/defines.php");3 include_once(dirname(__FILE__) . "/ lib/Class.Table.php");4 include_once(dirname(__FILE__) . "/ jpgraph_lib/jpgraph.php");5 include_once(dirname(__FILE__) . "/ jpgraph_lib/jpgraph_pie.php");6 include_once(dirname(__FILE__) . "/ jpgraph_lib/jpgraph_pie3d.php");2 include_once(dirname(__FILE__) . "/../cdr/lib/defines.php"); 3 include_once(dirname(__FILE__) . "/../cdr/lib/Class.Table.php"); 4 include_once(dirname(__FILE__) . "/../cdr/jpgraph_lib/jpgraph.php"); 5 include_once(dirname(__FILE__) . "/../cdr/jpgraph_lib/jpgraph_pie.php"); 6 include_once(dirname(__FILE__) . "/../cdr/jpgraph_lib/jpgraph_pie3d.php"); 7 7 8 8 freepbx/branches/2.5/amp_conf/htdocs/admin/common/graph_stat.php
r5360 r6764 1 1 <?php 2 include_once(dirname(__FILE__) . "/ lib/defines.php");3 include_once(dirname(__FILE__) . "/ lib/Class.Table.php");4 include_once(dirname(__FILE__) . "/ jpgraph_lib/jpgraph.php");5 include_once(dirname(__FILE__) . "/ jpgraph_lib/jpgraph_line.php");2 include_once(dirname(__FILE__) . "/../cdr/lib/defines.php"); 3 include_once(dirname(__FILE__) . "/../cdr/lib/Class.Table.php"); 4 include_once(dirname(__FILE__) . "/../cdr/jpgraph_lib/jpgraph.php"); 5 include_once(dirname(__FILE__) . "/../cdr/jpgraph_lib/jpgraph_line.php"); 6 6 7 7 // this variable specifie the debug type (0 => nothing, 1 => sql result, 2 => boucle checking, 3 other value checking) freepbx/branches/2.5/amp_conf/htdocs/admin/common/graph_statbar.php
r5360 r6764 1 1 <?php /* $Id$ */ 2 include_once(dirname(__FILE__) . "/ lib/defines.php");3 include_once(dirname(__FILE__) . "/ lib/Class.Table.php");4 include_once(dirname(__FILE__) . "/ jpgraph_lib/jpgraph.php");5 include_once(dirname(__FILE__) . "/ jpgraph_lib/jpgraph_bar.php");2 include_once(dirname(__FILE__) . "/../cdr/lib/defines.php"); 3 include_once(dirname(__FILE__) . "/../cdr/lib/Class.Table.php"); 4 include_once(dirname(__FILE__) . "/../cdr/jpgraph_lib/jpgraph.php"); 5 include_once(dirname(__FILE__) . "/../cdr/jpgraph_lib/jpgraph_bar.php"); 6 6 7 7 // this variable specifie the debug type (0 => nothing, 1 => sql result, 2 => boucle checking, 3 other value checking) freepbx/branches/2.5/amp_conf/htdocs/admin/config.php
r6551 r6764 42 42 if (isset($_REQUEST['handler'])) { 43 43 switch ($_REQUEST['handler']) { 44 case 'cdr': 45 include('cdr/cdr.php'); 46 break; 47 case 'cdr_export_csv': 48 include('cdr/export_csv.php'); 49 break; 50 case 'cdr_export_pdf': 51 include('cdr/export_pdf.php'); 52 break; 44 53 case 'reload': 45 54 /** AJAX handler for reload event freepbx/branches/2.5/amp_conf/htdocs/admin/views/reports.php
r5361 r6764 14 14 $template['content'] .= 15 15 '<div id="reportframe">'. 16 '<iframe width="97%" height="2000" frameborder="0" align="top" scrolling="auto" src="c dr/cdr.php?s='.$display.($display=='1' ? '&posted=1' : '').'"></iframe>'.16 '<iframe width="97%" height="2000" frameborder="0" align="top" scrolling="auto" src="config.php?handler=cdr&s='.$display.($display=='1' ? '&posted=1' : '').'"></iframe>'. 17 17 '</div>'; 18 18
