#CACHE{0} #HTTP_HEADER{Content-Type: text/html} "") $frm[type] = "auteur" ; elseif ($frm[id_article] <> "") $frm[type] = "article" ; if ($auteur_session) { switch ($frm["actionweb"]) { case "supp" : $sql = "DELETE FROM ehtno_blocnote WHERE id_note = '#ENV{id_note}' " ; $result=mysql_query($sql); if(!$result):echo("

".$str_queryError."
".$sql."
".mysql_error()."

");@mysql_free_result($result);exit();endif; ?> " ; break ; case "enr_note" : $sql = "UPDATE ehtno_blocnote SET note= '".$frm[note]."', date = NOW() WHERE id_note = '".$frm[id_note]."' " ; $result=mysql_query($sql); if(!$result):echo("

".$str_queryError."
".$sql."
".mysql_error()."

");@mysql_free_result($result);exit();endif; echo "Note mise à jour !

" ; echo stripslashes($frm[note]) ; echo "
Modifié le ".$frm[date]."" ; break ; } } ?> " ; $contenu .= "" ; $contenu .= "" ; $contenu .= "" ; $contenu .= "
" ; $contenu .= "" ; $contenu .= "" ; echo $contenu ; } ?>