| | tournevis | Posté le 16/09/2004 @ 13:00 | Petit astucien
20 Messages
| Salut à tous les pros de Macromédia MX...
Voilà mon petit problème, j'ai créé un site d'annonces et je désire afficher les annonces publiées en VIP dans un tableau de 760x77 pixels.
Je souhaite que chaque annonce publiée soit visible environ 5 secondes et ensuite que ça passe à la suivante ou qu'elle défilent dans un menu défilant...
Quelqu'un pourait'il me dire si c'est possible... Merci
Mon script :
<?php require_once('../Connections/waoo.php'); ?>
<?php
mysql_select_db($database_waoo, $waoo);
$query_rs3 = "SELECT * FROM `annonces_publications` WHERE `annonces_publications`.code like 'Annonce VIP%' ";
$rs3 = mysql_query($query_rs3, $waoo) or die(mysql_error());
$row_rs3 = mysql_fetch_assoc($rs3);
$totalRows_rs3 = mysql_num_rows($rs3);
?>
<html>
<head>
<title>Les Annonces VIP de Waoo.ch</title>
</head>
<body>
<table width="760" height="77" border="0" align="center" cellpadding="0" cellspacing="0" background="images/banniere_vip.jpg">
<tr>
<td width="90" height="33"> </td>
<td> </td>
<td width="87"> </td>
</tr>
<tr>
<td> </td>
<td align="center" valign="top"> <div align="left">
<?php do { ?>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="5%"><font color="#FFFFFF" size="1" face="Arial, Helvetica, sans-serif"><a href="libelle_complet.php?id_rubrique=<?php echo $row_rs3['id_rubrique']; ?>&id_article=<?php echo $row_rs3['id_article']; ?>"><img src="<?php echo $row_rs3['prioritaire']; ?>" width="19" height="18" border="0"></a></font></td>
<td width="43%" align="left" valign="middle"><font size="2" face="Tahoma, Verdana, sans-serif"><a href="libelle_complet.php?id_rubrique=<?php echo $row_rs3['id_rubrique']; ?>&id_article=<?php echo $row_rs3['id_article']; ?>"><?php echo $row_rs3['designation']; ?></a></font>
<div align="center"><font size="2" face="Tahoma, Verdana, sans-serif"></font></div></td>
<td width="26%"><div align="center"><font size="2" face="Tahoma, Verdana, sans-serif"><?php echo $row_rs3['localisation']; ?></font></div></td>
<td width="26%"><div align="center"><font size="2" face="Tahoma, Verdana, sans-serif"><?php echo $row_rs3['debut']; ?></font></div></td>
</tr>
<tr>
<td height="0" colspan="4"><img src="images/transparent.gif" width="1" height="1"></td>
</tr>
</table>
<?php } while ($row_rs3 = mysql_fetch_assoc($rs3)); ?>
</div></td>
<td> </td>
</tr>
</table>
</body>
</html>
<?php
mysql_free_result($rs3);
?>
| | |
| |
| Publicité |
|
| | Buzzz | Posté le 16/09/2004 à 18:04 | Astucien
2215 Messages
| Euuuuhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh !
C'est pas plutôt aux pros du PHP que tu t'adresses ?
Ou aux pros du flash peut-être ?
Modifié par Buzzz le 16/09/2004 18:05 | | | |
| | Haut de la page |
| | Inscrivez-vous ! |
- Posez vos questions
- Résolvez vos problèmes
- Aidez les autres
- Participez et créez vos discussions
- Dialoguez en privé avec d'autres membres
- Suivez vos sujets préférés
- Affichez les signatures des membres
|
|