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) | |
$blData = false | |
$aDataX2 = array() | |
$aDataX3 = array() | |
$graph = new Graph(800, 600, "auto") | |
$aDataFinalX = array() | |
$l2plot = new LinePlot($aDataFinalX) | |
$aDataFinalX2 = array() | |
$l3plot = new LinePlot($aDataFinalX2) | |
$l1datay = array() | |
else | $l1datay [] = 0 |
$l1plot = new LinePlot($l1datay) |
visitor_week | ( | ) |
Collects and renders visitor/week report data
Definition at line 167 of file report_conversion_rate.php.
$aDataFinalX = array() |
Definition at line 104 of file report_conversion_rate.php.
$aDataFinalX2 = array() |
Definition at line 119 of file report_conversion_rate.php.
$aDataX = array() |
Definition at line 25 of file report_conversion_rate.php.
$aDataX2 = array() |
Definition at line 49 of file report_conversion_rate.php.
$aDataX3 = array() |
Definition at line 50 of file report_conversion_rate.php.
$aDataY = array() |
Definition at line 26 of file report_conversion_rate.php.
$aTemp = array() |
Definition at line 35 of file report_conversion_rate.php.
$blData = false |
Definition at line 40 of file report_conversion_rate.php.
$dTimeFrom = mktime( 23, 59, 59, date( "m", $dTimeTo)-12, date( "d", $dTimeTo), date( "Y", $dTimeTo)) |
Definition at line 30 of file report_conversion_rate.php.
$dTimeTo = strtotime( oxConfig::getParameter( "time_to")) |
Definition at line 28 of file report_conversion_rate.php.
$graph = new Graph(800, 600, "auto") |
Definition at line 78 of file report_conversion_rate.php.
else $l1datay[] = 0 |
Definition at line 140 of file report_conversion_rate.php.
$l1datay = array() |
Definition at line 135 of file report_conversion_rate.php.
$l1plot = new LinePlot($l1datay) |
Definition at line 143 of file report_conversion_rate.php.
$l2plot = new LinePlot($aDataFinalX) |
Definition at line 109 of file report_conversion_rate.php.
$l3plot = new LinePlot($aDataFinalX2) |
Definition at line 124 of file report_conversion_rate.php.
$rs = oxDb::getDb()->execute( $sSQL) |
Definition at line 39 of file report_conversion_rate.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_conversion_rate.php.
$sTime_from = date( "Y-m-d H:i:s", $dTimeFrom) |
Definition at line 31 of file report_conversion_rate.php.
$sTime_to = date( "Y-m-d H:i:s", $dTimeTo) |
Definition at line 29 of file report_conversion_rate.php.