?php global $adforest_theme; $sb_sigID; $user_pic = adforest_get_user_dp($user_info->ID); $sb_packages_page = apply_filters('adforest_language_page_id', $adforest_theme['sb_packages_page']); $logo = isset($adforest_theme['sb_dashboard_logo']['url']) ? $adforest_theme['sb_dashboard_logo']['url'] : ADFOREST_IMAGE_PATH . "/logo.png"; $sb_post_ad_page = isset($adforest_theme['sb_post_ad_page']) ? $adforest_theme['sb_post_ad_page'] : ""; $sb_post_ad_page = apply_filters('adforest_ad_post_verified_id', $sb_post_ad_page); ?> month . '", '; $data .= $month->cnt . ','; } } else { for ($i = 6; $i >= 1; $i--) { $months[] = date("Y-m%", strtotime(date('Y-m-01') . " -$i months")); $labels .= '"' . date("Y-m", strtotime(date('Y-m-01') . " -$i months")) . '", '; $data .= 0 . ","; } } $scrtpt = ''; $current_page = isset($_GET['page_type']) ? $_GET['page_type'] : ""; if ($current_page != "events") { ?>