".$msg["selfservice_admin_update"].""; print " $message

".$msg["selfservice_admin_pret"]."

".$msg["selfservice_param_tab"]." ".$msg["selfservice_param_action"]." ".$msg["selfservice_param_message"]."
".$msg["selfservice_admin_pret_carte_invalide"]."
".$msg["selfservice_admin_pret_pret_interdit"]."
".$msg["selfservice_admin_pret_deja_prete"]."
".$msg["selfservice_admin_pret_deja_reserve"]."
".$msg["selfservice_admin_pret_quota_bloc"]."
".$msg["selfservice_admin_pret_non_pretable"]."
".$msg["selfservice_admin_pret_expl_inconnu"]."
".$msg["selfservice_param_prolong"]."
".$msg["selfservice_admin_pret_prolonge_non"]."
"; } function memo_param() { global $selfservice_pret_carte_invalide_msg, $pret_carte_invalide_msg; global $selfservice_pret_pret_interdit_msg, $pret_pret_interdit_msg; global $selfservice_pret_deja_prete_msg, $pret_deja_prete_msg; global $selfservice_pret_deja_reserve_msg, $pret_deja_reserve_msg; global $selfservice_pret_quota_bloc_msg, $pret_quota_bloc_msg; global $selfservice_pret_non_pretable_msg, $pret_non_pretable_msg; global $selfservice_pret_expl_inconnu_msg, $pret_expl_inconnu_msg; global $selfservice_pret_prolonge_non_msg, $pret_prolonge_non_msg; $rqt = "UPDATE parametres SET valeur_param ='$pret_carte_invalide_msg' where type_param= 'selfservice' and sstype_param='pret_carte_invalide_msg' "; $selfservice_pret_carte_invalide_msg=stripslashes($pret_carte_invalide_msg); mysql_query($rqt); $rqt = "UPDATE parametres SET valeur_param ='$pret_pret_interdit_msg' where type_param= 'selfservice' and sstype_param='pret_pret_interdit_msg' "; $selfservice_pret_pret_interdit_msg=stripslashes($pret_pret_interdit_msg); mysql_query($rqt); $rqt = "UPDATE parametres SET valeur_param ='$pret_deja_prete_msg' where type_param= 'selfservice' and sstype_param='pret_deja_prete_msg' "; $selfservice_pret_deja_prete_msg=stripslashes($pret_deja_prete_msg); mysql_query($rqt); $rqt = "UPDATE parametres SET valeur_param ='$pret_deja_reserve_msg' where type_param= 'selfservice' and sstype_param='pret_deja_reserve_msg' "; $selfservice_pret_deja_reserve_msg=stripslashes($pret_deja_reserve_msg); mysql_query($rqt); $rqt = "UPDATE parametres SET valeur_param ='$pret_quota_bloc_msg' where type_param= 'selfservice' and sstype_param='pret_quota_bloc_msg' "; $selfservice_pret_quota_bloc_msg=stripslashes($pret_quota_bloc_msg); mysql_query($rqt); $rqt = "UPDATE parametres SET valeur_param ='$pret_non_pretable_msg' where type_param= 'selfservice' and sstype_param='pret_non_pretable_msg' "; $selfservice_pret_non_pretable_msg=stripslashes($pret_non_pretable_msg); mysql_query($rqt); $rqt = "UPDATE parametres SET valeur_param ='$pret_expl_inconnu_msg' where type_param= 'selfservice' and sstype_param='pret_expl_inconnu_msg' "; $selfservice_pret_expl_inconnu_msg=stripslashes($pret_expl_inconnu_msg); mysql_query($rqt); $rqt = "UPDATE parametres SET valeur_param ='$pret_prolonge_non_msg' where type_param= 'selfservice' and sstype_param='pret_prolonge_non_msg' "; $selfservice_pret_prolonge_non_msg=stripslashes($pret_prolonge_non_msg); mysql_query($rqt); } switch($action) { case 'update': if($form_actif) memo_param(); show_param($action); break; default: show_param(); break; }