Go to the source code of this file.
Functions | |
visitor_week () | |
Variables | |
$oSmarty = $this->getSmarty() | |
$sTime_from = $oDb->quote( date( "Y-m-d H:i:s", strtotime( $oSmarty->_tpl_vars['time_from'] ) ) ) | |
$sTime_to = $oDb->quote( date( "Y-m-d H:i:s", strtotime( $oSmarty->_tpl_vars['time_to'] ) ) ) | |
$oDb = oxDb::getDb() | |
$aDataX = array() | |
$aDataY = array() | |
$dTimeTo = strtotime( oxConfig::getParameter( "time_to")) | |
$dTimeFrom = mktime( 23, 59, 59, date( "m", $dTimeTo )-12, date( "d", $dTimeTo ), date( "Y", $dTimeTo ) ) | |
$sSQL = "select oxtime, count(*) as nrof from oxlogs where oxtime >= $sTime_from and oxtime <= $sTime_to group by oxsessid" | |
$aTemp = array() | |
$rs = $oDb->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
Definition at line 298 of file report_canceled_orders.php.
$aDataFinalX2 = array() |
Definition at line 238 of file report_canceled_orders.php.
$aDataFinalX3 = array() |
Definition at line 248 of file report_canceled_orders.php.
$aDataFinalX4 = array() |
Definition at line 257 of file report_canceled_orders.php.
$aDataFinalX5 = array() |
Definition at line 275 of file report_canceled_orders.php.
$aDataFinalX6 = array() |
Definition at line 266 of file report_canceled_orders.php.
$aDataX = array() |
Definition at line 70 of file report_canceled_orders.php.
$aDataX2 = array() |
Definition at line 94 of file report_canceled_orders.php.
$aDataX3 = array() |
Definition at line 95 of file report_canceled_orders.php.
$aDataY = array() |
Definition at line 71 of file report_canceled_orders.php.
$aTemp = array() |
Definition at line 80 of file report_canceled_orders.php.
$aTempBasket = array() |
Definition at line 180 of file report_canceled_orders.php.
$aTempExecOrders = array() |
Definition at line 120 of file report_canceled_orders.php.
$aTempExecOrdersSessions = array() |
Definition at line 121 of file report_canceled_orders.php.
$aTempPayment = array() |
Definition at line 140 of file report_canceled_orders.php.
$aTempPaymentSessions = array() |
Definition at line 141 of file report_canceled_orders.php.
$aTempUser = array() |
Definition at line 160 of file report_canceled_orders.php.
$aTempUserSessions = array() |
Definition at line 161 of file report_canceled_orders.php.
$blData = false |
Definition at line 85 of file report_canceled_orders.php.
$bplot2 = new BarPlot( $aDataFinalX2) |
Definition at line 243 of file report_canceled_orders.php.
$bplot3 = new BarPlot( $aDataFinalX3) |
Definition at line 253 of file report_canceled_orders.php.
$bplot4 = new BarPlot( $aDataFinalX4) |
Definition at line 262 of file report_canceled_orders.php.
$bplot5 = new BarPlot( $aDataFinalX5) |
Definition at line 280 of file report_canceled_orders.php.
$bplot6 = new BarPlot( $aDataFinalX6) |
Definition at line 271 of file report_canceled_orders.php.
$dTimeFrom = mktime( 23, 59, 59, date( "m", $dTimeTo )-12, date( "d", $dTimeTo ), date( "Y", $dTimeTo ) ) |
Definition at line 75 of file report_canceled_orders.php.
$dTimeTo = strtotime( oxConfig::getParameter( "time_to")) |
Definition at line 73 of file report_canceled_orders.php.
$gbplot = new groupBarPlot (array($bplot4, $bplot3, $bplot2, $bplot6, $bplot5)) |
Definition at line 285 of file report_canceled_orders.php.
$graph = new Graph(800, 600) |
Definition at line 214 of file report_canceled_orders.php.
$oDb = oxDb::getDb() |
Definition at line 68 of file report_canceled_orders.php.
$oSmarty = $this->getSmarty() |
Definition at line 25 of file report_canceled_orders.php.
$rs = $oDb->execute( $sSQL) |
Definition at line 84 of file report_canceled_orders.php.
$sSQL = "select oxtime, count(*) as nrof from oxlogs where oxtime >= $sTime_from and oxtime <= $sTime_to group by oxsessid" |
Definition at line 78 of file report_canceled_orders.php.
$sTime_from = $oDb->quote( date( "Y-m-d H:i:s", strtotime( $oSmarty->_tpl_vars['time_from'] ) ) ) |
Definition at line 26 of file report_canceled_orders.php.
$sTime_to = $oDb->quote( date( "Y-m-d H:i:s", strtotime( $oSmarty->_tpl_vars['time_to'] ) ) ) |
Definition at line 27 of file report_canceled_orders.php.