Go to the source code of this file.
Functions | |
graph1 () | |
Variables | |
$aDataY = array() | |
$oSmarty = oxUtilsView::getInstance()->getSmarty() | |
$sTime_from = date( "Y-m-d H:i:s", strtotime( $oSmarty->_tpl_vars['time_from'] ) ) | |
$sTime_to = date( "Y-m-d H:i:s", strtotime( $oSmarty->_tpl_vars['time_to'] ) ) | |
$sSQL = "select count(*) as nrof, oxparameter from oxlogs where oxclass = 'search' and oxtime >= '$sTime_from' and oxtime <= '$sTime_to' group by oxparameter order by nrof desc" | |
$rs = oxDb::getDb()->execute( $sSQL) | |
$iMax = 0 | |
$aPoints = array() | |
$aPoints ["0"] = 0 | |
$aAligns ["0"] = 'report_searchstrings_scale_aligns_left"' | |
$iTenth = strlen($iMax) - 1 | |
$aAligns ["".(round(($iMax/2))).""] = 'report_searchstrings_scale_aligns_center" width="'.(720/3).'"' | |
$aPoints ["".$iMax.""] = $iMax | |
$aAligns ["".$iMax.""] = 'report_searchstrings_scale_aligns_right" width="'.(720/3).'"' |
graph1 | ( | ) |
Current week top search strings report
Definition at line 92 of file report_searchstrings.php.
$aAligns["".$iMax.""] = 'report_searchstrings_scale_aligns_right" width="'.(720/3).'"' |
Definition at line 56 of file report_searchstrings.php.
$aAligns["".(round(($iMax/2))).""] = 'report_searchstrings_scale_aligns_center" width="'.(720/3).'"' |
Definition at line 54 of file report_searchstrings.php.
$aAligns["0"] = 'report_searchstrings_scale_aligns_left"' |
Definition at line 49 of file report_searchstrings.php.
$aDataY = array() |
Definition at line 24 of file report_searchstrings.php.
$aPoints["".$iMax.""] = $iMax |
Definition at line 55 of file report_searchstrings.php.
$aPoints["0"] = 0 |
Definition at line 48 of file report_searchstrings.php.
$aPoints = array() |
Definition at line 47 of file report_searchstrings.php.
$iMax = 0 |
Definition at line 41 of file report_searchstrings.php.
$iTenth = strlen($iMax) - 1 |
Definition at line 50 of file report_searchstrings.php.
$oSmarty = oxUtilsView::getInstance()->getSmarty() |
Definition at line 26 of file report_searchstrings.php.
$rs = oxDb::getDb()->execute( $sSQL) |
Definition at line 31 of file report_searchstrings.php.
$sSQL = "select count(*) as nrof, oxparameter from oxlogs where oxclass = 'search' and oxtime >= '$sTime_from' and oxtime <= '$sTime_to' group by oxparameter order by nrof desc" |
Definition at line 30 of file report_searchstrings.php.
$sTime_from = date( "Y-m-d H:i:s", strtotime( $oSmarty->_tpl_vars['time_from'] ) ) |
Definition at line 27 of file report_searchstrings.php.
$sTime_to = date( "Y-m-d H:i:s", strtotime( $oSmarty->_tpl_vars['time_to'] ) ) |
Definition at line 28 of file report_searchstrings.php.