Changeset 6765
- Timestamp:
- 09/17/08 11:42:10 (3 months ago)
- Files:
-
- freepbx/branches/2.4 (modified) (1 prop)
- freepbx/branches/2.4/amp_conf/bin/retrieve_conf (modified) (1 diff)
- freepbx/branches/2.4/amp_conf/htdocs/admin/cdr/about.php (modified) (1 diff)
- freepbx/branches/2.4/amp_conf/htdocs/admin/cdr/call-comp.php (modified) (2 diffs)
- freepbx/branches/2.4/amp_conf/htdocs/admin/cdr/call-daily-load.php (modified) (4 diffs)
- freepbx/branches/2.4/amp_conf/htdocs/admin/cdr/call-last-month.php (modified) (2 diffs)
- freepbx/branches/2.4/amp_conf/htdocs/admin/cdr/call-log.php (modified) (5 diffs)
- freepbx/branches/2.4/amp_conf/htdocs/admin/cdr/cdr.php (modified) (1 diff)
- freepbx/branches/2.4/amp_conf/htdocs/admin/cdr/css (deleted)
- freepbx/branches/2.4/amp_conf/htdocs/admin/cdr/encrypt.js (deleted)
- freepbx/branches/2.4/amp_conf/htdocs/admin/cdr/graph_hourdetail.php (deleted)
- freepbx/branches/2.4/amp_conf/htdocs/admin/cdr/graph_pie.php (deleted)
- freepbx/branches/2.4/amp_conf/htdocs/admin/cdr/graph_stat.php (deleted)
- freepbx/branches/2.4/amp_conf/htdocs/admin/cdr/graph_statbar.php (deleted)
- freepbx/branches/2.4/amp_conf/htdocs/admin/cdr/images/clear.gif (copied) (copied from freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/images/clear.gif)
- freepbx/branches/2.4/amp_conf/htdocs/admin/cdr/images/corner-bl.png (copied) (copied from freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/images/corner-bl.png)
- freepbx/branches/2.4/amp_conf/htdocs/admin/cdr/images/corner-br.png (copied) (copied from freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/images/corner-br.png)
- freepbx/branches/2.4/amp_conf/htdocs/admin/cdr/images/corner-tl.png (copied) (copied from freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/images/corner-tl.png)
- freepbx/branches/2.4/amp_conf/htdocs/admin/cdr/images/corner-tr.png (copied) (copied from freepbx/branches/2.5/amp_conf/htdocs/admin/cdr/images/corner-tr.png)
- freepbx/branches/2.4/amp_conf/htdocs/admin/cdr/images/print.css (deleted)
- freepbx/branches/2.4/amp_conf/htdocs/admin/cdr/lib/defines.php (modified) (2 diffs)
- freepbx/branches/2.4/amp_conf/htdocs/admin/common/content.css (copied) (copied from freepbx/branches/2.5/amp_conf/htdocs/admin/common/content.css)
- freepbx/branches/2.4/amp_conf/htdocs/admin/common/docbook.css (copied) (copied from freepbx/branches/2.5/amp_conf/htdocs/admin/common/docbook.css)
- freepbx/branches/2.4/amp_conf/htdocs/admin/common/encrypt.js (copied) (copied from freepbx/branches/2.5/amp_conf/htdocs/admin/common/encrypt.js)
- freepbx/branches/2.4/amp_conf/htdocs/admin/common/graph_hourdetail.php (copied) (copied from freepbx/branches/2.5/amp_conf/htdocs/admin/common/graph_hourdetail.php)
- freepbx/branches/2.4/amp_conf/htdocs/admin/common/graph_pie.php (copied) (copied from freepbx/branches/2.5/amp_conf/htdocs/admin/common/graph_pie.php)
- freepbx/branches/2.4/amp_conf/htdocs/admin/common/graph_stat.php (copied) (copied from freepbx/branches/2.5/amp_conf/htdocs/admin/common/graph_stat.php)
- freepbx/branches/2.4/amp_conf/htdocs/admin/common/graph_statbar.php (copied) (copied from freepbx/branches/2.5/amp_conf/htdocs/admin/common/graph_statbar.php)
- freepbx/branches/2.4/amp_conf/htdocs/admin/common/layout.css (copied) (copied from freepbx/branches/2.5/amp_conf/htdocs/admin/common/layout.css)
- freepbx/branches/2.4/amp_conf/htdocs/admin/common/print.css (copied) (copied from freepbx/branches/2.5/amp_conf/htdocs/admin/common/print.css)
- freepbx/branches/2.4/amp_conf/htdocs/admin/config.php (modified) (1 diff)
- freepbx/branches/2.4/amp_conf/htdocs/admin/views/reports.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/branches/2.4
- Property svnmerge-integrated changed from /freepbx/branches/2.3:1-4129,4131,4133-4134,4136-4995,5088,5135,5140,5194 /freepbx/branches/2.5:1-6424,6563 /freepbx/trunk:1-5453,5736,5739,5748,5750,5758,5760,5765,5771,5773,5779,5782,5819,5827,5836,5838,5965,5974,6045,6056,6144,6215,6220,6226,6321-6322 to /freepbx/branches/2.3:1-4129,4131,4133-4134,4136-4995,5088,5135,5140,5194 /freepbx/branches/2.5:1-6424,6563,6764 /freepbx/trunk:1-5453,5736,5739,5748,5750,5758,5760,5765,5771,5773,5779,5782,5819,5827,5836,5838,5965,5974,6045,6056,6144,6215,6220,6226,6321-6322
freepbx/branches/2.4/amp_conf/bin/retrieve_conf
r6145 r6765 330 330 } 331 331 } 332 // Now also make sure to symlink the CDR images which is not a proper module 333 // 334 symlink_subdirs( $amp_conf['AMPWEBROOT'].'/admin/cdr/'); 332 335 333 336 // create an object of the extensions class freepbx/branches/2.4/amp_conf/htdocs/admin/cdr/about.php
r3052 r6765 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.4/amp_conf/htdocs/admin/cdr/call-comp.php
r5360 r6765 252 252 <!-- ** ** ** ** ** Part for the research ** ** ** ** ** --> 253 253 <center> 254 <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?>">254 <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?>"> 255 255 <INPUT TYPE="hidden" NAME="posted" value=1> 256 256 <table class="bar-status" width="75%" border="0" cellspacing="1" cellpadding="2" align="center"> … … 517 517 </td></tr></tbody></table> 518 518 <br> 519 <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">519 <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"> 520 520 521 521 <?php }else{ ?> freepbx/branches/2.4/amp_conf/htdocs/admin/cdr/call-daily-load.php
r5360 r6765 225 225 <!-- ** ** ** ** ** Part for the research ** ** ** ** ** --> 226 226 <center> 227 <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?>">227 <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?>"> 228 228 <INPUT TYPE="hidden" NAME="posted" value=1> 229 229 <table class="bar-status" width="75%" border="0" cellspacing="1" cellpadding="2" align="center"> … … 477 477 </td></tr></tbody></table> 478 478 <br> 479 <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">479 <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"> 480 480 481 481 … … 485 485 <br/> 486 486 <center>Select the hour interval to see the details 487 <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">487 <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"> 488 488 <!-- ** ** ** ** ** HOURLY LOAD ** ** ** ** ** --> 489 489 <table class="bar-status" width="60%" border="0" cellspacing="1" cellpadding="2" align="center"> … … 534 534 <br> 535 535 <center> 536 <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>536 <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> 537 537 538 538 </iframe> freepbx/branches/2.4/amp_conf/htdocs/admin/cdr/call-last-month.php
r5360 r6765 231 231 <!-- ** ** ** ** ** Part for the research ** ** ** ** ** --> 232 232 <center> 233 <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?>">233 <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?>"> 234 234 <INPUT TYPE="hidden" NAME="posted" value=1> 235 235 <table class="bar-status" width="75%" border="0" cellspacing="1" cellpadding="2" align="center"> … … 493 493 <?php if ($posted==1){ ?> 494 494 <center> 495 <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">495 <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"> 496 496 </center> 497 497 <?php } ?> freepbx/branches/2.4/amp_conf/htdocs/admin/cdr/call-log.php
r5360 r6765 324 324 <!-- ** ** ** ** ** Part for the research ** ** ** ** ** --> 325 325 <center> 326 <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?>">326 <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?>"> 327 327 <INPUT TYPE="hidden" NAME="posted" value=1> 328 328 <INPUT TYPE="hidden" NAME="current_page" value=0> … … 588 588 <center><strong> 589 589 <?php if (strtoupper($FG_TABLE_COL[$i][4])=="SORT"){?> 590 <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";}590 <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";} 591 591 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";?>"> 592 592 <span class="liens"><?php } ?> … … 714 714 <TD align="right"><SPAN style="COLOR: #ffffff; FONT-SIZE: 11px"><B> 715 715 <?php if ($current_page>0){?> 716 <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";}716 <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";} 717 717 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";?>"> 718 718 Previous </a> - … … 720 720 <?php echo ($current_page+1);?> / <?php echo $nb_record_max;?> 721 721 <?php if ($current_page<$nb_record_max-1){?> 722 - <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";}722 - <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";} 723 723 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";?>"> 724 724 Next </a> <img src="images/fleche-d.gif" width="5" height="10"> … … 869 869 <br/> 870 870 <table width="60%"><tr><td> 871 <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>871 <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> 872 872 </td> 873 873 <td> 874 <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>874 <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> 875 875 </td></tr></table> 876 876 freepbx/branches/2.4/amp_conf/htdocs/admin/cdr/cdr.php
r4993 r6765 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.4/amp_conf/htdocs/admin/cdr/lib/defines.php
r2614 r6765 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.4/amp_conf/htdocs/admin/config.php
r5775 r6765 36 36 if (isset($_REQUEST['handler'])) { 37 37 switch ($_REQUEST['handler']) { 38 case 'cdr': 39 include('cdr/cdr.php'); 40 break; 41 case 'cdr_export_csv': 42 include('cdr/export_csv.php'); 43 break; 44 case 'cdr_export_pdf': 45 include('cdr/export_pdf.php'); 46 break; 38 47 case 'reload': 39 48 /** AJAX handler for reload event freepbx/branches/2.4/amp_conf/htdocs/admin/views/reports.php
r5361 r6765 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
