| [ 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 ('include/logging.php'); 12 require_once ('include/database/PearDatabase.php'); 13 14 global $adb; 15 16 $local_log =& LoggerManager::getLogger('index'); 17 $rfid = $_REQUEST['record']; 18 if($rfid != "") 19 { 20 $sql .= "delete from vtiger_reportfolder where folderid=".$rfid; 21 $result = $adb->query($sql); 22 if($result!=false) 23 { 24 header("Location: index.php?action=ReportsAjax&mode=ajax&file=ListView&module=Reports"); 25 }else 26 { 27 include('themes/'.$theme.'/header.php'); 28 $errormessage = "<font color='red'><B>Error Message<ul> 29 <li><font color='red'>Error while deleting the record</font> 30 </ul></B></font> <br>" ; 31 echo $errormessage; 32 } 33 } 34 35 36 37 ?>
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 |