function afficher_script_statut($id, $type, $n, $img, $statut, $titre, $act='') { $i = http_wrapper($img); $h = generer_action_auteur("instituer_$type","$id-$statut"); $h = "javascript:selec_statut('$id', '$type', $n, '$i', '$h');"; $t = supprimer_tags($titre); $inf = getimagesize($i); return "<a href=\"$h\"\ntitle=\"$t\"$act><img src='$i' $inf[3] alt=' '/></a>"; }
function http_style_background($img, $att='') { return " style='background: url(\"".http_wrapper($img)."\")" . ($att ? (' ' . $att) : '') . ";'"; }