$typepage = "1-0achat_vente";
$titrepage = "Achat/Vente/Echange de magazines";
$sousmenu = "";
$date_creation = "24/02/2004";
include "../_header-navbar.php3";
$db = dbconnect();
$mag_info = mysql_query("SELECT Titre, Determinant, Editeur, ISSN, Code_messagerie, Disparu, Web FROM magazines WHERE ID = ".$id, $db);
$m = mysql_fetch_array($mag_info);
$titremag = titre_mag($m[Titre], $m[Determinant]);
if ($titremag == "") {
echo "
Magazine inexistant ou
aucune transaction possible !
";
include "../_footer-legals.php3";
exit;
}
$collec_info = mysql_query("SELECT *, DATE_FORMAT(Date, '%m/%Y') AS Date_courte FROM exemplaires WHERE Titre = ".$id." AND A_ceder > 0 ORDER BY Date, Numero", $db);
$nb_exemplaires = mysql_num_rows($collec_info);
for ($i = 0; $i < mysql_num_fields($mag_info); $i++)
$m[mysql_field_name($mag_info, $i)] = null2blank($m[mysql_field_name($mag_info, $i)]);
// NEUFS : LIENS VERS PresseFrance, Journaux.fr
// OCCAZ : EXEMPLAIRES SBR + COLLECTIONS
// OCCAZ : LIEN VERS P.A.
?>
ACHAT NEUF, au numéro ou sur abonnement |
if (strstr("O01x?", $m[Disparu][0]) != "") { ?>
Magazine disparu ! |
} else { ?>
if ($m[Web] != "" and $m[Web] != "-" and $m[Web][0] != "[") { ?>
Vente possible sur le site officiel du magazine ?
|