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) | |
| $graph = new Graph(800, 600) | |
| $aDataFinalX = array() | |
| $bplot = new BarPlot( $aDataFinalX) | |
| $aDataFinalX2 = array() | |
| $bplot2 = new BarPlot( $aDataFinalX2) | |
| $aDataFinalX3 = array() | |
| $bplot3 = new BarPlot( $aDataFinalX3) | |
| $gbplot = new groupBarPlot (array($bplot, $bplot2, $bplot3)) | |
| visitor_week | ( | ) |
Collects and renders visitor/week report data
Definition at line 178 of file report_visitor_absolute.php.
| $aDataFinalX = array() |
Definition at line 140 of file report_visitor_absolute.php.
| $aDataFinalX2 = array() |
Definition at line 148 of file report_visitor_absolute.php.
| $aDataFinalX3 = array() |
Definition at line 156 of file report_visitor_absolute.php.
| $aDataX = array() |
Definition at line 54 of file report_visitor_absolute.php.
| $aDataY = array() |
Definition at line 55 of file report_visitor_absolute.php.
| $aTemp = array() |
Definition at line 63 of file report_visitor_absolute.php.
| $bplot = new BarPlot( $aDataFinalX) |
Definition at line 144 of file report_visitor_absolute.php.
| $bplot2 = new BarPlot( $aDataFinalX2) |
Definition at line 152 of file report_visitor_absolute.php.
| $bplot3 = new BarPlot( $aDataFinalX3) |
Definition at line 160 of file report_visitor_absolute.php.
| $dTimeFrom = mktime( 23, 59, 59, date( "m", $dTimeTo)-12, date( "d", $dTimeTo), date( "Y", $dTimeTo)) |
Definition at line 59 of file report_visitor_absolute.php.
| $dTimeTo = strtotime( oxConfig::getParameter( "time_to")) |
Definition at line 57 of file report_visitor_absolute.php.
| $gbplot = new groupBarPlot (array($bplot, $bplot2, $bplot3)) |
Definition at line 165 of file report_visitor_absolute.php.
| $graph = new Graph(800, 600) |
Definition at line 116 of file report_visitor_absolute.php.
| $oDb = oxDb::getDb() |
Definition at line 52 of file report_visitor_absolute.php.
| $oSmarty = $this->getSmarty() |
Definition at line 25 of file report_visitor_absolute.php.
| $rs = $oDb->execute( $sSQL) |
Definition at line 67 of file report_visitor_absolute.php.
| $sSQL = "select oxtime, count(*) as nrof from oxlogs where oxtime >= $sTime_from and oxtime <= $sTime_to group by oxsessid" |
Definition at line 62 of file report_visitor_absolute.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_visitor_absolute.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_visitor_absolute.php.
1.5.5