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() | |
| $aDataX2 = array() | |
| $aDataX3 = array() | |
| $aDataX4 = array() | |
| $aDataX5 = array() | |
| $aDataX6 = 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) | |
| $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 299 of file report_canceled_orders.php.
| $aDataFinalX2 = array() | 
Definition at line 239 of file report_canceled_orders.php.
| $aDataFinalX3 = array() | 
Definition at line 249 of file report_canceled_orders.php.
| $aDataFinalX4 = array() | 
Definition at line 258 of file report_canceled_orders.php.
| $aDataFinalX5 = array() | 
Definition at line 276 of file report_canceled_orders.php.
| $aDataFinalX6 = array() | 
Definition at line 267 of file report_canceled_orders.php.
| $aDataX = array() | 
Definition at line 70 of file report_canceled_orders.php.
| $aDataX2 = array() | 
Definition at line 71 of file report_canceled_orders.php.
| $aDataX3 = array() | 
Definition at line 72 of file report_canceled_orders.php.
| $aDataX4 = array() | 
Definition at line 73 of file report_canceled_orders.php.
| $aDataX5 = array() | 
Definition at line 74 of file report_canceled_orders.php.
| $aDataX6 = array() | 
Definition at line 75 of file report_canceled_orders.php.
| $aDataY = array() | 
Definition at line 76 of file report_canceled_orders.php.
| $aTemp = array() | 
Definition at line 85 of file report_canceled_orders.php.
| $aTempBasket = array() | 
Definition at line 181 of file report_canceled_orders.php.
| $aTempExecOrders = array() | 
Definition at line 121 of file report_canceled_orders.php.
| $aTempExecOrdersSessions = array() | 
Definition at line 122 of file report_canceled_orders.php.
| $aTempPayment = array() | 
Definition at line 141 of file report_canceled_orders.php.
| $aTempPaymentSessions = array() | 
Definition at line 142 of file report_canceled_orders.php.
| $aTempUser = array() | 
Definition at line 161 of file report_canceled_orders.php.
| $aTempUserSessions = array() | 
Definition at line 162 of file report_canceled_orders.php.
| $bplot2 = new BarPlot( $aDataFinalX2) | 
Definition at line 244 of file report_canceled_orders.php.
| $bplot3 = new BarPlot( $aDataFinalX3) | 
Definition at line 254 of file report_canceled_orders.php.
| $bplot4 = new BarPlot( $aDataFinalX4) | 
Definition at line 263 of file report_canceled_orders.php.
| $bplot5 = new BarPlot( $aDataFinalX5) | 
Definition at line 281 of file report_canceled_orders.php.
| $bplot6 = new BarPlot( $aDataFinalX6) | 
Definition at line 272 of file report_canceled_orders.php.
| $dTimeFrom = mktime( 23, 59, 59, date( "m", $dTimeTo )-12, date( "d", $dTimeTo ), date( "Y", $dTimeTo ) ) | 
Definition at line 80 of file report_canceled_orders.php.
| $dTimeTo = strtotime( oxConfig::getParameter( "time_to")) | 
Definition at line 78 of file report_canceled_orders.php.
| $gbplot = new groupBarPlot (array($bplot4, $bplot3, $bplot2, $bplot6, $bplot5)) | 
Definition at line 286 of file report_canceled_orders.php.
| $graph = new Graph(800, 600) | 
Definition at line 215 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 89 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 83 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.
 1.5.5