00001 <?php 00002 /* 00003 * This file is part of PhpCompta. 00004 * 00005 * PhpCompta is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License as published by 00007 * the Free Software Foundation; either version 2 of the License, or 00008 * (at your option) any later version. 00009 * 00010 * PhpCompta is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License 00016 * along with PhpCompta; if not, write to the Free Software 00017 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00018 */ 00019 /* $Revision: 4281 $ */ 00020 00021 // Copyright Author Dany De Bontridder ddebontridder@yahoo.fr 00022 00023 /*!\file 00024 * \brief this file is used for the follow up of the customer (mail, meeting...) 00025 * - p_action = client 00026 * - sb = detail 00027 * - sc = sv 00028 * - sd = this parameter is used here 00029 * - $cn = database connection 00030 */ 00031 require_once('class_follow_up.php'); 00032 load_all_script(); 00033 00034 /** 00035 *\note problem with ShowActionList, this function is local 00036 * to the file action.inc.php. And this function must different for each 00037 * suivi 00038 */ 00039 $sub_action=(isset($_REQUEST['sa']))?$_REQUEST['sa']:"list"; 00040 $ag_id=(isset($_REQUEST['ag_id']))?$_REQUEST['ag_id']:0; 00041 //$p_action=$_REQUEST['p_action']; 00042 $base="ac=".$_REQUEST['ac']."&sc=sv&sb=detail&f_id=".$_REQUEST['f_id']; 00043 $retour=HtmlInput::button_anchor('Retour','?'.dossier::get().'&'.$base); 00044 $fiche=new Fiche($cn,$_REQUEST['f_id']); 00045 00046 $_GET['qcode']=$fiche->get_quick_code(); 00047 $_REQUEST['qcode']=$fiche->get_quick_code(); 00048 echo '<div class="content">'; 00049 require_once('action.common.inc.php'); 00050 echo '</div>';