Go to the source code of this file.
Functions | |
visitor_week () | |
Variables | |
$aDataX = array() | |
$aDataY = array() | |
$dTimeTo = strtotime( oxConfig::getParameter( "time_to")) | |
$sTime_to = date( "Y-m-d H:i:s", $dTimeTo) | |
$dTimeFrom = mktime( 23, 59, 59, date( "m", $dTimeTo)-12, date( "d", $dTimeTo), date( "Y", $dTimeTo)) | |
$sTime_from = date( "Y-m-d H:i:s", $dTimeFrom) | |
$sSQL = "select oxtime, count(*) as nrof from oxlogs where oxtime >= '$sTime_from' and oxtime <= '$sTime_to' group by oxsessid" | |
$aTemp = array() | |
$rs = oxDb::getDb()->execute( $sSQL) | |
$graph = new Graph(800, 600) | |
$aDataFinalX = array() | |
$bplot = new BarPlot( $aDataFinalX) | |
$aDataFinalX2 = array() | |
$bplot2 = new BarPlot( $aDataFinalX2) | |
$aDataFinalX3 = array() | |
$bplot3 = new BarPlot( $aDataFinalX3) | |
$gbplot = new groupBarPlot (array($bplot, $bplot2, $bplot3)) |
visitor_week | ( | ) |
Collects and renders visitor/week report data
Definition at line 149 of file report_visitor_absolute.php.
$aDataFinalX = array() |
Definition at line 111 of file report_visitor_absolute.php.
$aDataFinalX2 = array() |
Definition at line 119 of file report_visitor_absolute.php.
$aDataFinalX3 = array() |
Definition at line 127 of file report_visitor_absolute.php.
$aDataX = array() |
Definition at line 25 of file report_visitor_absolute.php.
$aDataY = array() |
Definition at line 26 of file report_visitor_absolute.php.
$aTemp = array() |
Definition at line 34 of file report_visitor_absolute.php.
$bplot = new BarPlot( $aDataFinalX) |
Definition at line 115 of file report_visitor_absolute.php.
$bplot2 = new BarPlot( $aDataFinalX2) |
Definition at line 123 of file report_visitor_absolute.php.
$bplot3 = new BarPlot( $aDataFinalX3) |
Definition at line 131 of file report_visitor_absolute.php.
$dTimeFrom = mktime( 23, 59, 59, date( "m", $dTimeTo)-12, date( "d", $dTimeTo), date( "Y", $dTimeTo)) |
Definition at line 30 of file report_visitor_absolute.php.
$dTimeTo = strtotime( oxConfig::getParameter( "time_to")) |
Definition at line 28 of file report_visitor_absolute.php.
$gbplot = new groupBarPlot (array($bplot, $bplot2, $bplot3)) |
Definition at line 136 of file report_visitor_absolute.php.
$graph = new Graph(800, 600) |
Definition at line 87 of file report_visitor_absolute.php.
$rs = oxDb::getDb()->execute( $sSQL) |
Definition at line 38 of file report_visitor_absolute.php.
$sSQL = "select oxtime, count(*) as nrof from oxlogs where oxtime >= '$sTime_from' and oxtime <= '$sTime_to' group by oxsessid" |
Definition at line 33 of file report_visitor_absolute.php.
$sTime_from = date( "Y-m-d H:i:s", $dTimeFrom) |
Definition at line 31 of file report_visitor_absolute.php.
$sTime_to = date( "Y-m-d H:i:s", $dTimeTo) |
Definition at line 29 of file report_visitor_absolute.php.