} elseif ($_REQUEST['activity_id']) { //-- Products if ($_REQUEST['report_sort_by'] == 'products') { $report->showReportActivityToBookingProduct($_REQUEST['activity_id'], $_REQUEST['booking_product_id']); } elseif ($_REQUEST['report_sort_by'] == 'supplier') { $report->showReportActivityToSupplier($_REQUEST['activity_id'], $_REQUEST['supplier_id']); } elseif ($_REQUEST['report_sort_by'] == 'spots') { $report->showReportActivityToSize($_REQUEST['activity_id'], $_REQUEST['size_id']); } elseif ($_REQUEST['report_sort_by'] == 'dollars') { $report->showReportActivityToDollar($_REQUEST['activity_id'], $_REQUEST['dollar_id']); } elseif ($_REQUEST['report_sort_by'] == 'month') { $report->showReportActivityToMonth($_REQUEST['activity_id'], $_REQUEST['month']); } elseif ($_REQUEST['report_sort_by'] == 'availability-by-month') { $report->showReportActivityToAvailabilityByMonth($_REQUEST['activity_id'], $_REQUEST['availability_by_month']); } elseif ($_REQUEST['report_sort_by'] == 'availability-by-year') { $report->showReportActivityToAvailabilityByYear($_REQUEST['activity_id'], $_REQUEST['availability_by_year']); } } ?> <div><a class="btn" href="#content"><i class="icon-arrow-up"></i> Back to top</a></div> </div> <!-- end #box --> </div> <!-- end #content --> </div> <!-- end #content-wrapper --> <?php include 'inc/footer.php'; ?>