44 require_once(
'include/material_add.inc.php');
45 $html=ob_get_contents();
51 case 'save_new_material':
54 require_once(
'include/material_new.inc.php');
55 $html=ob_get_contents();
58 case 'display_modify':
60 require_once(
'include/material_modify.inc.php');
61 $html=ob_get_contents();
67 echo
'<span id="result" style="float:left;background:red;color:white">Sauvé</span>';
69 require_once(
'include/material_save.inc.php');
70 $f=
$cn->get_value(
"select f_id from fiche join fiche_detail using (f_id) where ad_id=23 and ad_value=$1",array($_POST[
'p_card']));
71 require_once(
'include/material_modify.inc.php');
72 $html=ob_get_contents();
77 require_once(
'include/material_delete.inc.php');
78 $html=ob_get_contents();
88 header(
'Content-type: text/xml; charset=UTF-8');
89 echo
'<?xml version="1.0" encoding="UTF-8"?>';
91 echo
'<ctl>'.$ctl.
'</ctl>';
92 echo
'<code>'.$xml.
'</code>';
93 echo
'<extra>'.$extra.
'</extra>';
if($oPeriode->is_closed()==1) $op