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 168 of file report_conversion_rate.php.
$aDataFinalX = array() |
Definition at line 105 of file report_conversion_rate.php.
$aDataFinalX2 = array() |
Definition at line 120 of file report_conversion_rate.php.
$aDataX = array() |
Definition at line 26 of file report_conversion_rate.php.
$aDataX2 = array() |
Definition at line 50 of file report_conversion_rate.php.
$aDataX3 = array() |
Definition at line 51 of file report_conversion_rate.php.
$aDataY = array() |
Definition at line 27 of file report_conversion_rate.php.
$aTemp = array() |
Definition at line 36 of file report_conversion_rate.php.
$blData = false |
Definition at line 41 of file report_conversion_rate.php.
$dTimeFrom = mktime( 23, 59, 59, date( "m", $dTimeTo)-12, date( "d", $dTimeTo), date( "Y", $dTimeTo)) |
Definition at line 31 of file report_conversion_rate.php.
$dTimeTo = strtotime( oxConfig::getParameter( "time_to")) |
Definition at line 29 of file report_conversion_rate.php.
$graph = new Graph(800, 600, "auto") |
Definition at line 79 of file report_conversion_rate.php.
else $l1datay[] = 0 |
Definition at line 141 of file report_conversion_rate.php.
$l1datay = array() |
Definition at line 136 of file report_conversion_rate.php.
$l1plot = new LinePlot($l1datay) |
Definition at line 144 of file report_conversion_rate.php.
$l2plot = new LinePlot($aDataFinalX) |
Definition at line 110 of file report_conversion_rate.php.
$l3plot = new LinePlot($aDataFinalX2) |
Definition at line 125 of file report_conversion_rate.php.
$rs = oxDb::getDb()->execute( $sSQL) |
Definition at line 40 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 35 of file report_conversion_rate.php.
$sTime_from = date( "Y-m-d H:i:s", $dTimeFrom) |
Definition at line 32 of file report_conversion_rate.php.
$sTime_to = date( "Y-m-d H:i:s", $dTimeTo) |
Definition at line 30 of file report_conversion_rate.php.