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() | |
$aTempExecOrders = array() | |
$aTempExecOrdersSessions = array() | |
$aTempPayment = array() | |
$aTempPaymentSessions = array() | |
$aTempUser = array() | |
$aTempUserSessions = array() | |
$aTempBasket = array() | |
$graph = new Graph(800, 600) | |
$aDataFinalX2 = array() | |
$bplot2 = new BarPlot( $aDataFinalX2) | |
$aDataFinalX3 = array() | |
$bplot3 = new BarPlot( $aDataFinalX3) | |
$aDataFinalX4 = array() | |
$bplot4 = new BarPlot( $aDataFinalX4) | |
$aDataFinalX6 = array() | |
$bplot6 = new BarPlot( $aDataFinalX6) | |
$aDataFinalX5 = array() | |
$bplot5 = new BarPlot( $aDataFinalX5) | |
$gbplot = new groupBarPlot (array($bplot4, $bplot3, $bplot2, $bplot6, $bplot5)) |
visitor_week | ( | ) |
Collects and renders visitor/week report data
$aDataFinalX2 = array() |
$aDataFinalX3 = array() |
$aDataFinalX4 = array() |
$aDataFinalX5 = array() |
$aDataFinalX6 = array() |
$aDataX = array() |
$aDataX2 = array() |
$aDataX3 = array() |
$aDataY = array() |
$aTemp = array() |
$aTempBasket = array() |
$aTempExecOrders = array() |
$aTempExecOrdersSessions = array() |
$aTempPayment = array() |
$aTempPaymentSessions = array() |
$aTempUser = array() |
$aTempUserSessions = array() |
$blData = false |
$bplot2 = new BarPlot( $aDataFinalX2) |
$bplot3 = new BarPlot( $aDataFinalX3) |
$bplot4 = new BarPlot( $aDataFinalX4) |
$bplot5 = new BarPlot( $aDataFinalX5) |
$bplot6 = new BarPlot( $aDataFinalX6) |
$dTimeFrom = mktime( 23, 59, 59, date( "m", $dTimeTo)-12, date( "d", $dTimeTo), date( "Y", $dTimeTo)) |
$dTimeTo = strtotime( oxConfig::getParameter( "time_to")) |
$gbplot = new groupBarPlot (array($bplot4, $bplot3, $bplot2, $bplot6, $bplot5)) |
$graph = new Graph(800, 600) |
$rs = oxDb::getDb()->execute( $sSQL) |
$sSQL = "select oxtime, count(*) as nrof from oxlogs where oxtime >= '$sTime_from' and oxtime <= '$sTime_to' group by oxsessid" |
$sTime_from = date( "Y-m-d H:i:s", $dTimeFrom) |
$sTime_to = date( "Y-m-d H:i:s", $dTimeTo) |