[ 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 ('modules/Reports/Reports.php'); 12 require_once ('include/logging.php'); 13 require_once ('include/database/PearDatabase.php'); 14 15 global $adb; 16 17 $local_log =& LoggerManager::getLogger('index'); 18 19 $primarymodule_req = $_REQUEST["primarymodule"]; 20 $sec_module_name = $_REQUEST["primarymodule"]."relatedmodule"; 21 if(isset($_REQUEST[$sec_module_name])) $secondarymodule_req = $_REQUEST[$sec_module_name]; 22 23 if(count($secondarymodule_req)>0) 24 { 25 $secondarymodule_req = implode(":",$secondarymodule_req); 26 } 27 if(isset($_REQUEST['return_module']) && $_REQUEST['return_module'] != "") $return_module = $_REQUEST['return_module']; 28 else $return_module = "Reports"; 29 if(isset($_REQUEST['return_action']) && $_REQUEST['return_action'] != "") $return_action = $_REQUEST['return_action']; 30 else $return_action = "index"; 31 32 if($primarymodule_req!="") 33 { 34 header("Location: index.php?action=NewReport1&module=Reports&primarymodule=$primarymodule_req&secondarymodule=$secondarymodule_req"); 35 } 36 ?>
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 |