ZenCart_Documentation  1.5.0
http://www.collinsharper.com
C:/xampp/htdocs/zen-cart/admin/includes/graphs/banner_monthly.php File Reference

Go to the source code of this file.

Namespaces

namespace  admin

Variables

 if (!defined('IS_ADMIN_FLAG'))
 $year = (($_GET['year']) ? zen_db_input($_GET['year']) : date('Y'))
 $stats = array()
for($i=1;$i< 13;$i++) $banner_stats = $db->Execute("select month(banners_history_date) as banner_month, sum(banners_shown) as value, sum(banners_clicked) as dvalue from " . TABLE_BANNERS_HISTORY . " where banners_id = '" . (int)$banner_id . "' and year(banners_history_date) = '" . $year . "' group by banner_month")
while(!$banner_stats->EOF) $graph = new PHPlot(600, 350, 'images/graphs/banner_monthly-' . $banner_id . '.' . $banner_extension)

Variable Documentation

for ($i=1;$i< 13;$i++) $banner_stats = $db->Execute("select month(banners_history_date) as banner_month, sum(banners_shown) as value, sum(banners_clicked) as dvalue from " . TABLE_BANNERS_HISTORY . " where banners_id = '" . (int)$banner_id . "' and year(banners_history_date) = '" . $year . "' group by banner_month")

Definition at line 22 of file banner_monthly.php.

while (!$banner_stats->EOF) $graph = new PHPlot(600, 350, 'images/graphs/banner_monthly-' . $banner_id . '.' . $banner_extension)

Definition at line 28 of file banner_monthly.php.

$stats = array()

Definition at line 17 of file banner_monthly.php.

$year = (($_GET['year']) ? zen_db_input($_GET['year']) : date('Y'))

Definition at line 15 of file banner_monthly.php.

if(!defined('IS_ADMIN_FLAG'))

Definition at line 9 of file banner_monthly.php.

 All Data Structures Namespaces Files Functions Variables Enumerations