[ Index ] |
|
Code source de vtiger CRM 5.0.2 |
1 <?php 2 /********************************************************************************* 3 ** The contents of this file are subject to the vtiger CRM Public License Version 1.0 4 * ("License"); You may not use this file except in compliance with the License 5 * The Original Code is: vtiger CRM Open Source 6 * The Initial Developer of the Original Code is vtiger. 7 * Portions created by vtiger are Copyright (C) vtiger. 8 * All Rights Reserved. 9 * 10 ********************************************************************************/ 11 require_once ("data/Tracker.php"); 12 require_once ('Smarty_setup.php'); 13 require_once('themes/'.$theme.'/layout_utils.php'); 14 require_once ('include/logging.php'); 15 require_once ('include/utils/utils.php'); 16 require_once ('modules/Reports/Reports.php'); 17 require_once ('include/database/PearDatabase.php'); 18 19 global $app_strings; 20 global $app_list_strings; 21 global $mod_strings; 22 $current_module_strings = return_module_language($current_language, 'Reports'); 23 24 global $list_max_entries_per_page; 25 global $urlPrefix; 26 27 $log = LoggerManager::getLogger('report_type'); 28 29 global $currentModule; 30 global $image_path; 31 global $theme; 32 $report_column_tot=new vtigerCRM_Smarty; 33 $report_column_tot->assign("MOD", $mod_strings); 34 $report_column_tot->assign("APP", $app_strings); 35 $report_column_tot->assign("IMAGE_PATH",$image_path); 36 37 if(isset($_REQUEST["record"])) 38 { 39 $recordid = $_REQUEST["record"]; 40 $oReport = new Reports($recordid); 41 $BLOCK1 = $oReport->sgetColumntoTotalSelected($oReport->primodule,$oReport->secmodule,$recordid); 42 $report_column_tot->assign("BLOCK1",$BLOCK1); 43 }else 44 { 45 $primarymodule = $_REQUEST["primarymodule"]; 46 $secondarymodule = $_REQUEST["secondarymodule"]; 47 $oReport = new Reports(); 48 $BLOCK1 = $oReport->sgetColumntoTotal($primarymodule,$secondarymodule); 49 $report_column_tot->assign("BLOCK1",$BLOCK1); 50 } 51 $report_column_tot->display('ReportColumnsTotal.tpl'); 52 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 10:22:19 2007 | par Balluche grâce à PHPXref 0.7 |