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 150 of file report_visitor_absolute.php.
$aDataFinalX = array() |
Definition at line 112 of file report_visitor_absolute.php.
$aDataFinalX2 = array() |
Definition at line 120 of file report_visitor_absolute.php.
$aDataFinalX3 = array() |
Definition at line 128 of file report_visitor_absolute.php.
$aDataX = array() |
Definition at line 26 of file report_visitor_absolute.php.
$aDataY = array() |
Definition at line 27 of file report_visitor_absolute.php.
$aTemp = array() |
Definition at line 35 of file report_visitor_absolute.php.
$bplot = new BarPlot( $aDataFinalX) |
Definition at line 116 of file report_visitor_absolute.php.
$bplot2 = new BarPlot( $aDataFinalX2) |
Definition at line 124 of file report_visitor_absolute.php.
$bplot3 = new BarPlot( $aDataFinalX3) |
Definition at line 132 of file report_visitor_absolute.php.
$dTimeFrom = mktime( 23, 59, 59, date( "m", $dTimeTo)-12, date( "d", $dTimeTo), date( "Y", $dTimeTo)) |
Definition at line 31 of file report_visitor_absolute.php.
$dTimeTo = strtotime( oxConfig::getParameter( "time_to")) |
Definition at line 29 of file report_visitor_absolute.php.
$gbplot = new groupBarPlot (array($bplot, $bplot2, $bplot3)) |
Definition at line 137 of file report_visitor_absolute.php.
$graph = new Graph(800, 600) |
Definition at line 88 of file report_visitor_absolute.php.
$rs = oxDb::getDb()->execute( $sSQL) |
Definition at line 39 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 34 of file report_visitor_absolute.php.
$sTime_from = date( "Y-m-d H:i:s", $dTimeFrom) |
Definition at line 32 of file report_visitor_absolute.php.
$sTime_to = date( "Y-m-d H:i:s", $dTimeTo) |
Definition at line 30 of file report_visitor_absolute.php.