Пример #1
0
img/p4l_logo_print.png" /></div>						
				<?php 
    // In-Store All Store
    if ($strReport == 'reports_general_in_store_all.php') {
        $report->showReportGeneralInStoreAllStores($intYearMonth);
    } elseif ($strReport == 'reports_general_departments.php') {
        $report->showReportGeneralDepartments($intYearMonth);
    } elseif ($strReport == 'reports_booking_by_supplier.php') {
        $report->showReportBookingBySupplier($intSupplierID, $intYearMonth);
    } elseif ($strReport == 'reports_general_in_store_single_by_year.php') {
        $report->showReportGeneralInStoreByYear($intStoreID, $intYear);
    } elseif ($strReport == 'reports_general_in_store_single.php') {
        $report->showReportGeneralInStoreSingleStores($intStoreID, $intYearMonth);
    } elseif ($strReport == 'reports_general_catalogue.php') {
        if ($_REQUEST['frm_report_by'] == 'supplier') {
            $report->showReportGeneralCatalogueBySupplier($intYearMonth);
        } elseif ($_REQUEST['frm_report_by'] == 'product') {
            $report->showReportGeneralCatalogueByProduct($intYearMonth);
        } else {
            $report->showReportGeneralCatalogueByActivity($intYearMonth);
        }
    } elseif ($strReport == 'reports_general_newspaper.php') {
        if ($_REQUEST['frm_report_by'] == 'supplier') {
            $report->showReportGeneralNewspaperBySupplier($intYearMonth);
        } elseif ($_REQUEST['frm_report_by'] == 'product') {
            $report->showReportGeneralNewspaperByProduct($intYearMonth);
        } else {
            $report->showReportGeneralNewspaperByActivity($intYearMonth);
        }
    } elseif ($strReport == 'reports_general_email.php') {
        if ($_REQUEST['frm_report_by'] == 'supplier') {