".strpos($form_action,'/circ.php?categ=retour').""; if ($form_action == './circ.php?categ=retour') $cb_tmpl = $expl_cb_retour_tmpl; else { if ($type_form == 'recep') $cb_tmpl = $expl_cb_tmpl_recep; else $cb_tmpl = $expl_cb_tmpl; } if ($check) { $cb_tmpl = str_replace ( "!!script!!", $script2expl, $cb_tmpl ); } else { $cb_tmpl = str_replace ( "!!script!!", $script1expl, $cb_tmpl ); } $cb_tmpl = str_replace('!!expl_cb!!', $form_cb_expl, $cb_tmpl); $cb_tmpl = str_replace ( "!!titre_formulaire!!", $title_form, $cb_tmpl ); $cb_tmpl = str_replace ( "!!form_action!!", $form_action, $cb_tmpl ); if ($title) $cb_tmpl = str_replace ( "

!!title!!

", "

" . $title . "

", $cb_tmpl ); else $cb_tmpl = str_replace ( "

!!title!!

", "", $cb_tmpl ); $cb_tmpl = str_replace ( "!!message!!", $message, $cb_tmpl ); return $cb_tmpl; }