You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1667 lines
55 KiB

<?php
21 years ago
include ("inc.php3");
include_ecrire ("inc_logos.php3");
include_ecrire ("inc_mots.php3");
include_ecrire ("inc_documents.php3");
21 years ago
$articles_surtitre = lire_meta("articles_surtitre");
$articles_soustitre = lire_meta("articles_soustitre");
$articles_descriptif = lire_meta("articles_descriptif");
$articles_urlref = lire_meta("articles_urlref");
21 years ago
$articles_chapeau = lire_meta("articles_chapeau");
$articles_ps = lire_meta("articles_ps");
$articles_redac = lire_meta("articles_redac");
$articles_mots = lire_meta("articles_mots");
$articles_versions = lire_meta("articles_versions");
21 years ago
21 years ago
if ($id_article==0) {
if ($new=='oui') {
$id_rubrique = intval($id_rubrique);
if ($titre=='') $titre = _T('info_sans_titre');
$langue_new = '';
$result_lang_rub = spip_query("SELECT lang FROM spip_rubriques WHERE id_rubrique=$id_rubrique");
if ($row = spip_fetch_array($result_lang_rub))
$langue_new = $row["lang"];
if (!$langue_new) $langue_new = lire_meta('langue_site');
$langue_choisie_new = 'non';
21 years ago
$forums_publics = substr(lire_meta('forums_publics'),0,3);
spip_query("INSERT INTO spip_articles (id_rubrique, statut, date, accepter_forum, lang, langue_choisie) VALUES ($id_rubrique, 'prepa', NOW(), '$forums_publics', '$langue_new', '$langue_choisie_new')");
$id_article = spip_insert_id();
21 years ago
spip_query("DELETE FROM spip_auteurs_articles WHERE id_article = $id_article");
spip_query("INSERT INTO spip_auteurs_articles (id_auteur, id_article) VALUES ($connect_id_auteur, $id_article)");
} else {
@header("Location: ./index.php3");
exit;
}
}
$clean_link = new Link("articles.php3?id_article=$id_article");
// Initialiser doublons pour documents (completes par "propre($texte)")
$id_doublons['documents'] = "0";
21 years ago
//////////////////////////////////////////////////////
// Determiner les droits d'edition de l'article
21 years ago
//
$query = "SELECT statut, titre, id_rubrique FROM spip_articles WHERE id_article=$id_article";
$result = spip_query($query);
if ($row = spip_fetch_array($result)) {
$statut_article = $row['statut'];
$titre_article = $row['titre'];
$rubrique_article = $row['id_rubrique'];
21 years ago
}
else {
$statut_article = '';
}
$query = "SELECT * FROM spip_auteurs_articles WHERE id_article=$id_article AND id_auteur=$connect_id_auteur";
$result_auteur = spip_query($query);
21 years ago
$flag_auteur = (spip_num_rows($result_auteur) > 0);
21 years ago
$flag_editable = (acces_rubrique($rubrique_article)
OR ($flag_auteur AND ($statut_article == 'prepa' OR $statut_article == 'prop' OR $statut_article == 'poubelle')));
21 years ago
/// En double avec articles_edit.php3, mais necessite le flag_editable
$modif_document = $GLOBALS['modif_document'];
if ($modif_document == 'oui' AND $flag_editable) {
$titre_document = addslashes(corriger_caracteres($titre_document));
$descriptif_document = addslashes(corriger_caracteres($descriptif_document));
$query = "UPDATE spip_documents SET titre=\"$titre_document\", descriptif=\"$descriptif_document\"";
if ($largeur_document AND $hauteur_document) $query .= ", largeur='$largeur_document', hauteur='$hauteur_document'";
$query .= " WHERE id_document=$id_document";
spip_query($query);
}
//
21 years ago
// Appliquer les modifications
//
$suivi_edito = lire_meta("suivi_edito");
$reindexer = false;
21 years ago
$ok_nouveau_statut = false;
function terminer_changement_statut() {
global $ok_nouveau_statut, $statut_nouv, $statut_ancien, $id_article, $reindexer;
if ($ok_nouveau_statut) {
calculer_rubriques();
if ($statut_nouv == 'publie' AND $statut_ancien != $statut_nouv) {
include_ecrire("inc_mail.php3");
envoyer_mail_publication($id_article);
}
if ($statut_nouv == "prop" AND $statut_ancien != $statut_nouv AND $statut_ancien != 'publie') {
include_ecrire("inc_mail.php3");
envoyer_mail_proposition($id_article);
}
if ($statut_nouv == 'publie' AND $statut_nouv != $statut_ancien) $reindexer = true;
}
if ($reindexer AND (lire_meta('activer_moteur') == 'oui')) {
include_ecrire ("inc_index.php3");
indexer_article($id_article);
}
}
21 years ago
if ($statut_nouv) {
if (acces_rubrique($rubrique_article)) $ok_nouveau_statut = true;
21 years ago
else if ($flag_auteur) {
if ($statut_nouv == 'prop' AND $statut_article == 'prepa')
$ok_nouveau_statut = true;
else if ($statut_nouv == 'prepa' AND $statut_article == 'poubelle')
$ok_nouveau_statut = true;
21 years ago
}
if ($ok_nouveau_statut) {
21 years ago
$query = "UPDATE spip_articles SET statut='$statut_nouv' WHERE id_article=$id_article";
$result = spip_query($query);
21 years ago
if ($statut_nouv == 'publie' AND $statut_nouv != $statut_article)
spip_query("UPDATE spip_articles SET date=NOW() WHERE id_article=$id_article");
$statut_ancien = $statut_article; // message pour les traitements de fond (indexation ; envoi mail)
21 years ago
$statut_article = $statut_nouv;
$flag_editable = (acces_rubrique($rubrique_article)
OR ($flag_auteur AND ($statut_article == 'prepa' OR $statut_article == 'prop')));
if ($methode == 'image') {
spip_log ("statut article $id_article : $statut_article");
header ("Content-Type: image/gif");
readfile ("img_pack/puce-".puce_statut($statut_article).".gif");
terminer_changement_statut();
exit;
}
21 years ago
}
}
if ($jour && $flag_editable) {
if ($annee == "0000") $mois = "00";
if ($mois == "00") $jour = "00";
$query = "UPDATE spip_articles SET date='$annee-$mois-$jour' WHERE id_article=$id_article";
$result = spip_query($query);
calculer_rubriques();
21 years ago
}
if ($jour_redac && $flag_editable) {
if ($annee_redac<>'' AND $annee_redac < 1001) $annee_redac += 9000;
21 years ago
if ($mois_redac == "00") $jour_redac = "00";
if ($avec_redac=="non"){
$annee_redac = '0000';
$mois_redac = '00';
$jour_redac = '00';
}
$query = "UPDATE spip_articles SET date_redac='$annee_redac-$mois_redac-$jour_redac' WHERE id_article=$id_article";
$result = spip_query($query);
21 years ago
}
// Appliquer la modification de langue
if (lire_meta('multi_articles') == 'oui' AND $flag_editable) {
$row = spip_fetch_array(spip_query("SELECT lang FROM spip_rubriques WHERE id_rubrique=$rubrique_article"));
$langue_parent = $row['lang'];
if ($changer_lang) {
if ($changer_lang != "herit")
spip_query("UPDATE spip_articles SET lang='".addslashes($changer_lang)."', langue_choisie='oui' WHERE id_article=$id_article");
else
spip_query("UPDATE spip_articles SET lang='".addslashes($langue_parent)."', langue_choisie='non' WHERE id_article=$id_article");
}
}
// Passer les images/docs en "inclus=non"
$query = "SELECT docs.id_document FROM spip_documents AS docs, spip_documents_articles AS lien WHERE lien.id_article=$id_article AND lien.id_document=docs.id_document";
$result = spip_query($query);
while($row=spip_fetch_array($result)){
$ze_doc[]=$row['id_document'];
}
if (count($ze_doc)>0){
$ze_docs = join($ze_doc,",");
spip_query("UPDATE spip_documents SET inclus='non' WHERE id_document IN ($ze_docs)");
}
//
// Reunit les textes decoupes parce que trop longs
//
21 years ago
$nb_texte = 0;
while ($nb_texte ++ < 100){ // 100 pour eviter une improbable boucle infinie
$varname = "texte$nb_texte";
$texte_plus = $$varname; // double $ pour obtenir $texte1, $texte2...
if ($texte_plus){
$texte_plus = ereg_replace("<!--SPIP-->[\n\r]*","\n\n\n",$texte_plus);
$texte_ajout .= " ".$texte_plus;
21 years ago
} else {
break;
}
}
$texte = $texte_ajout . $texte;
//
// Traiter les fins de lignes
//
if ($post_autobr) {
$chapo = post_autobr($chapo);
$texte = post_autobr($texte);
}
20 years ago
// preparer le virtuel
21 years ago
20 years ago
if ($changer_virtuel && $flag_editable) {
20 years ago
$virtuel = eregi_replace("^http://$", "", trim($virtuel));
if ($virtuel) $chapo = addslashes(corriger_caracteres("=$virtuel"));
else $chapo = "";
20 years ago
$query = "UPDATE spip_articles SET chapo='$chapo' WHERE id_article=$id_article";
21 years ago
$result = spip_query($query);
}
21 years ago
if ($titre && !$ajout_forum && $flag_editable) {
$surtitre = addslashes(corriger_caracteres($surtitre));
$titre = addslashes(corriger_caracteres($titre));
$soustitre = addslashes(corriger_caracteres($soustitre));
$descriptif = addslashes(corriger_caracteres($descriptif));
$nom_site = addslashes(corriger_caracteres($nom_site));
$url_site = addslashes(corriger_caracteres($url_site));
21 years ago
$chapo = addslashes(corriger_caracteres($chapo));
$texte = addslashes(corriger_caracteres($texte));
$ps = addslashes(corriger_caracteres($ps));
// recoller les champs du extra
20 years ago
if ($champs_extra) {
include_ecrire("inc_extra.php3");
$add_extra = ", extra = '".addslashes(extra_recup_saisie("articles", $id_secteur))."'";
20 years ago
} else
$add_extra = '';
21 years ago
// Verifier qu'on envoie bien dans une rubrique autorisee
if ($flag_auteur OR acces_rubrique($id_rubrique)) {
$change_rubrique = "id_rubrique=\"$id_rubrique\",";
} else {
$change_rubrique = "";
}
$query = "UPDATE spip_articles SET surtitre=\"$surtitre\", titre=\"$titre\", soustitre=\"$soustitre\", $change_rubrique descriptif=\"$descriptif\", chapo=\"$chapo\", texte=\"$texte\", ps=\"$ps\", url_site=\"$url_site\", nom_site=\"$nom_site\" $add_extra WHERE id_article=$id_article";
$result = spip_query($query);
21 years ago
calculer_rubriques();
if ($statut_article == 'publie') $reindexer = true;
// -- Experimental --
// Stockage des versions
/*if ($articles_versions != 'non') {
include_ecrire("inc_diff.php3");
ajouter_version($id_article, stripslashes($chapo), stripslashes($texte), stripslashes($ps), '');
}*/
// Changer la langue heritee
if ($id_rubrique != $id_rubrique_old) {
$row = spip_fetch_array(spip_query("SELECT lang, langue_choisie FROM spip_articles WHERE id_article=$id_article"));
$langue_old = $row['lang'];
$langue_choisie_old = $row['langue_choisie'];
if ($langue_choisie_old != "oui") {
$row = spip_fetch_array(spip_query("SELECT lang FROM spip_rubriques WHERE id_rubrique=$id_rubrique"));
$langue_new = $row['lang'];
if ($langue_new != $langue_old) spip_query("UPDATE spip_articles SET lang = '$langue_new' WHERE id_article = $id_article");
}
}
21 years ago
// afficher le nouveau titre dans la barre de fenetre
$titre_article = stripslashes($titre);
// marquer l'article (important pour les articles nouvellement crees)
spip_query("UPDATE spip_articles SET date_modif=NOW(), auteur_modif=$connect_id_auteur WHERE id_article=$id_article");
$id_article_bloque = $id_article; // message pour inc_presentation
21 years ago
}
//
// Suivi forums publics
//
// fonction dupliquee dans inc-forum.php3
function get_forums_publics($id_article=0) {
$forums_publics = lire_meta("forums_publics");
if ($id_article) {
$query = "SELECT accepter_forum FROM spip_articles WHERE id_article=$id_article";
$res = spip_query($query);
if ($obj = spip_fetch_object($res))
$forums_publics = $obj->accepter_forum;
} else { // dans ce contexte, inutile
$forums_publics = substr(lire_meta("forums_publics"),0,3);
}
return $forums_publics;
}
//
// Lire l'article
//
$query = "SELECT * FROM spip_articles WHERE id_article='$id_article'";
$result = spip_query($query);
if ($row = spip_fetch_array($result)) {
$id_article = $row["id_article"];
$surtitre = $row["surtitre"];
$titre = $row["titre"];
$soustitre = $row["soustitre"];
$id_rubrique = $row["id_rubrique"];
$descriptif = $row["descriptif"];
$nom_site = $row["nom_site"];
$url_site = $row["url_site"];
$chapo = $row["chapo"];
$texte = $row["texte"];
$ps = $row["ps"];
$date = $row["date"];
$statut_article = $row["statut"];
$maj = $row["maj"];
$date_redac = $row["date_redac"];
$visites = $row["visites"];
21 years ago
$referers = $row["referers"];
20 years ago
$extra = $row["extra"];
$id_trad = $row["id_trad"];
}
20 years ago
// pour l'affichage du virtuel
unset($virtuel);
if (substr($chapo, 0, 1) == '=') {
$virtuel = substr($chapo, 1);
20 years ago
}
if (ereg("([0-9]{4})-([0-9]{2})-([0-9]{2})", $date_redac, $regs)) {
$mois_redac = $regs[2];
$jour_redac = $regs[3];
$annee_redac = $regs[1];
if ($annee_redac > 4000) $annee_redac -= 9000;
}
if (ereg("([0-9]{4})-([0-9]{2})-([0-9]{2})", $date, $regs)) {
$mois = $regs[2];
$jour = $regs[3];
$annee = $regs[1];
}
debut_page("&laquo; $titre_article &raquo;", "documents", "articles");
debut_grand_cadre();
afficher_parents($id_rubrique);
$parents="~ <img src='img_pack/racine-site-24.gif' width=24 height=24 align='middle'> <A HREF='naviguer.php3?coll=0'><B>"._T('lien_racine_site')."</B></A> ".aide ("rubhier")."<BR>".$parents;
$parents=ereg_replace("~","&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;",$parents);
$parents=ereg_replace("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ","",$parents);
echo "$parents";
fin_grand_cadre();
//////////////////////////////////////////////////////
// Affichage de la colonne de gauche
//
21 years ago
debut_gauche();
debut_boite_info();
echo "<div align='center'>\n";
21 years ago
if ($statut_article == "publie") {
$post_dates = lire_meta("post_dates");
$voir_en_ligne = true;
21 years ago
if ($post_dates == "non") {
$query = "SELECT id_article FROM spip_articles WHERE id_article=$id_article AND date<=NOW()";
$result = spip_query($query);
if (!spip_num_rows($result)) {
$voir_en_ligne = false;
21 years ago
}
}
}
echo "<font face='Verdana,Arial,Sans,sans-serif' size='1'><b>"._T('info_numero_article')."</b></font>\n";
echo "<br><font face='Verdana,Arial,Sans,sans-serif' size='6'><b>$id_article</b></font>\n";
if ($voir_en_ligne) {
icone_horizontale(_T('icone_voir_en_ligne'), "../spip_redirect.php3?id_article=$id_article&recalcul=oui", "racine-24.gif", "rien.gif");
}
if ($connect_statut=='0minirezo' AND acces_rubrique($id_rubrique)) {
$query = "SELECT count(*) AS count FROM spip_forum WHERE id_article=$id_article AND statut IN ('publie', 'off', 'prop')";
if ($row = spip_fetch_array(spip_query($query))) {
$nb_forums = $row['count'];
if ($nb_forums) {
icone_horizontale(_T('icone_suivi_forum', array('nb_forums' => $nb_forums)),
"articles_forum.php3?id_article=$id_article", "suivi-forum-24.gif", "");
}
}
}
21 years ago
$activer_statistiques = lire_meta("activer_statistiques");
if ($connect_statut == "0minirezo" AND $statut_article == 'publie' AND $visites > 0 AND $activer_statistiques != "non" AND $options == "avancees"){
icone_horizontale(_T('icone_evolution_visites', array('visites' => $visites)), "statistiques_visites.php3?id_article=$id_article", "statistiques-24.gif","rien.gif");
21 years ago
}
echo "</div>\n";
fin_boite_info();
21 years ago
// Logos de l'article
$arton = "arton$id_article";
$artoff = "artoff$id_article";
if ($id_article>0 AND $flag_editable)
afficher_boite_logo($arton, $artoff, _T('logo_article').aide ("logoart"), _T('logo_survol'));
//
// Boites de configuration avancee
21 years ago
//
20 years ago
if ($options == "avancees" && $connect_statut=='0minirezo' && $flag_editable) {
echo "<p>";
debut_cadre_relief("forum-interne-24.gif");
$visible = $change_accepter_forum || $change_petition;
echo "<font size='2' FACE='Verdana,Arial,Sans,sans-serif'><center><b>";
if ($visible)
echo bouton_block_visible("forumpetition");
else
echo bouton_block_invisible("forumpetition");
echo _T('bouton_forum_petition');
echo "</b></center></font>";
if ($visible)
echo debut_block_visible("forumpetition");
else
echo debut_block_invisible("forumpetition");
21 years ago
echo "<font face='Verdana,Arial,Sans,sans-serif' size='1'>\n";
21 years ago
// Forums et petitions
$forums_publics = get_forums_publics($id_article);
21 years ago
if ($change_accepter_forum) {
$query_forum = "UPDATE spip_articles SET accepter_forum='$change_accepter_forum' WHERE id_article='$id_article'";
$result_forum = spip_query($query_forum);
$forums_publics = $change_accepter_forum;
if ($change_accepter_forum == 'abo') {
ecrire_meta('accepter_visiteurs', 'oui');
ecrire_metas();
}
21 years ago
}
echo "\n<form action='articles.php3' method='get'>";
echo "\n<input type='hidden' name='id_article' value='$id_article'>";
echo "<br>"._T('info_fonctionnement_forum')."\n";
if ($forums_publics == "pos") {
echo "<br><input type='radio' name='change_accepter_forum' value='pos' id='accepterforumpos' checked>";
echo "<B><label for='accepterforumpos'> "._T('bouton_radio_modere_posteriori')."</label></B>";
} else {
echo "<br><input type='radio' name='change_accepter_forum' value='pos' id='accepterforumpos'>";
echo "<label for='accepterforumpos'> "._T('bouton_radio_modere_posteriori')."</label>";
}
if ($forums_publics == "pri") {
echo "<br><input type='radio' name='change_accepter_forum' value='pri' id='accepterforumpri' checked>";
echo "<B><label for='accepterforumpri'> "._T('bouton_radio_modere_priori')."</label></B>";
} else {
echo "<br><input type='radio' name='change_accepter_forum' value='pri' id='accepterforumpri'>";
echo "<label for='accepterforumpri'> "._T('bouton_radio_modere_priori')."</label>";
}
if ($forums_publics == "abo") {
echo "<br><input type='radio' name='change_accepter_forum' value='abo' id='accepterforumabo' checked>";
echo "<B><label for='accepterforumabo'> "._T('bouton_radio_modere_abonnement')."</label></B>";
} else {
echo "<br><input type='radio' name='change_accepter_forum' value='abo' id='accepterforumabo'>";
echo "<label for='accepterforumabo'> "._T('bouton_radio_modere_abonnement')."</label>";
}
if ($forums_publics == "non") {
echo "<br><input type='radio' name='change_accepter_forum' value='non' id='accepterforumnon' checked>";
echo "<B><label for='accepterforumnon'> "._T('info_pas_de_forum')."</label></B>";
} else {
echo "<br><input type='radio' name='change_accepter_forum' value='non' id='accepterforumnon'>";
echo "<label for='accepterforumnon'> "._T('info_pas_de_forum')."</label>";
21 years ago
}
echo "<div align='right'><input type='submit' name='Changer' class='fondo' value='"._T('bouton_changer')."' STYLE='font-size:10px'></div>\n";
echo "</form>";
21 years ago
echo "<br>";
// Petitions
21 years ago
if ($change_petition) {
if ($change_petition == "on") {
if (!$email_unique) $email_unique = "non";
if (!$site_obli) $site_obli = "non";
if (!$site_unique) $site_unique = "non";
if (!$message) $message = "non";
$texte_petition = addslashes($texte_petition);
$query_pet = "REPLACE spip_petitions (id_article, email_unique, site_obli, site_unique, message, texte) ".
"VALUES ($id_article, '$email_unique', '$site_obli', '$site_unique', '$message', '$texte_petition')";
$result_pet = spip_query($query_pet);
}
else if ($change_petition == "off") {
$query_pet = "DELETE FROM spip_petitions WHERE id_article=$id_article";
$result_pet = spip_query($query_pet);
}
21 years ago
}
$query_petition = "SELECT * FROM spip_petitions WHERE id_article=$id_article";
$result_petition = spip_query($query_petition);
$petition = (spip_num_rows($result_petition) > 0);
21 years ago
while ($row = spip_fetch_array($result_petition)) {
$id_rubrique=$row["id_article"];
$email_unique=$row["email_unique"];
$site_obli=$row["site_obli"];
$site_unique=$row["site_unique"];
$message=$row["message"];
$texte_petition=$row["texte"];
}
echo "\n<FORM ACTION='articles.php3' METHOD='post'>";
echo "\n<INPUT TYPE='hidden' NAME='id_article' VALUE='$id_article'>";
if ($petition){
echo "<input type='radio' name='change_petition' value='on' id='petitionon' checked>";
echo "<B><label for='petitionon'>"._T('bouton_radio_petition_activee')."</label></B>";
$query_signatures = "SELECT COUNT(*) AS nb FROM spip_signatures WHERE id_article=$id_article";
$result = spip_fetch_array(spip_query($query_signatures));
if ($result['nb'] > 0) {
echo "<p><font size=1><a href='controle_petition.php3?id_article=$id_article'>".$result['nb']." "._T('info_signatures')."</a></font>\n";
}
echo "<p>";
if ($email_unique=="oui")
echo "<input type='checkbox' name='email_unique' value='oui' id='emailunique' checked>";
else
echo "<input type='checkbox' name='email_unique' value='oui' id='emailunique'>";
echo " <label for='emailunique'>"._T('bouton_checkbox_signature_unique_email')."</label><BR>";
if ($site_obli=="oui")
echo "<input type='checkbox' name='site_obli' value='oui' id='siteobli' checked>";
else
echo "<input type='checkbox' name='site_obli' value='oui' id='siteobli'>";
echo " <label for='siteobli'>"._T('bouton_checkbox_indiquer_site')."</label><BR>";
if ($site_unique=="oui")
echo "<input type='checkbox' name='site_unique' value='oui' id='siteunique' checked>";
else
echo "<input type='checkbox' name='site_unique' value='oui' id='siteunique'>";
echo " <label for='siteunique'>"._T('bouton_checkbox_signature_unique_site')."</label><BR>";
if ($message=="oui")
echo "<input type='checkbox' name='message' value='oui' id='message' checked>";
else
echo "<input type='checkbox' name='message' value='oui' id='message'>";
echo " <label for='message'>"._T('bouton_checkbox_envoi_message')."</label>";
echo "<P>"._T('texte_descriptif_petition')."&nbsp;:<BR>";
echo "<TEXTAREA NAME='texte_petition' CLASS='forml' ROWS='4' COLS='10' wrap=soft>";
echo $texte_petition;
echo "</TEXTAREA><P>\n";
}
else {
echo "<input type='radio' name='change_petition' value='on' id='petitionon'>";
echo "<label for='petitionon'>"._T('bouton_radio_activer_petition')."</label>";
}
if (!$petition){
echo "<br><input type='radio' name='change_petition' value='off' id='petitionoff' checked>";
echo "<B><label for='petitionoff'>"._T('bouton_radio_pas_petition')."</label></B>";
}else{
echo "<br><input type='radio' name='change_petition' value='off' id='petitionoff'>";
echo "<label for='petitionoff'>"._T('bouton_radio_supprimer_petition')."</label>";
21 years ago
}
echo "<P align='right'><INPUT TYPE='submit' NAME='Changer' CLASS='fondo' VALUE='"._T('bouton_changer')."' STYLE='font-size:10px'>";
echo "</FORM>";
echo "</font>";
echo fin_block();
fin_cadre_relief();
echo "<br>";
// Redirection (article virtuel)
debut_cadre_relief("site-24.gif");
$visible = ($changer_virtuel || $virtuel);
echo "<font size='2' FACE='Verdana,Arial,Sans,sans-serif'><center><b>";
if ($visible)
echo bouton_block_visible("redirection");
else
echo bouton_block_invisible("redirection");
echo _T('bouton_redirection');
21 years ago
echo aide ("artvirt");
echo "</b></center></font>";
if ($visible)
echo debut_block_visible("redirection");