| [ PHPXref.com ] | [ Generated: Sun Jul 20 18:27:23 2008 ] | [ Legal Case 0.6.4b ] |
| [ Index ] [ Variables ] [ Functions ] [ Classes ] [ Constants ] [ Statistics ] | ||
[Summary view] [Print] [Text view]
1 <?php 2 3 /* 4 This file is part of the Legal Case Management System (LCM). 5 (C) 2004-2005 Free Software Foundation, Inc. 6 7 This program is free software; you can redistribute it and/or modify it 8 under the terms of the GNU General Public License as published by the 9 Free Software Foundation; either version 2 of the License, or (at your 10 option) any later version. 11 12 This program is distributed in the hope that it will be useful, but 13 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 14 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 15 for more details. 16 17 You should have received a copy of the GNU General Public License along 18 with this program; if not, write to the Free Software Foundation, Inc., 19 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA 20 21 $Id: add_rep_filter.php,v 1.2 2004/12/11 11:18:29 antzi Exp $ 22 */ 23 24 include ('inc/inc.php'); 25 include_lcm('inc_lang'); 26 27 // Clean the POST values 28 $rep = intval($_POST['rep']); 29 $filter = intval($_POST['filter']); 30 31 if (($rep>0) && ($filter)) { 32 // Add new filter 33 $q = "INSERT INTO lcm_rep_filters 34 SET id_report=$rep,id_filter=$filter"; 35 $result = lcm_query($q); 36 } 37 38 header("Location: " . $GLOBALS['HTTP_REFERER']); 39 40 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| [ Powered by PHPXref - Served by Debian GNU/Linux ] |