Problème affichage variable
analog101
Messages postés
173
Date d'inscription
Statut
Membre
Dernière intervention
-
analog101 Messages postés 173 Date d'inscription Statut Membre Dernière intervention -
analog101 Messages postés 173 Date d'inscription Statut Membre Dernière intervention -
Bonjour,
Je n'arrive pas a faire afficher le prix en dessous de l'image du slideshow
Cela me donne:
Proch. offre : -
Avez-vous une idée ?
merci
<div id="slideshow">
<?
$select_condition = "WHERE hpfeat=1 AND active=1 AND approved=1 AND closed=0 AND creation_in_progress=0 AND deleted=0 AND list_in!='store'";
$feat_details = $db->random_rows('auctions', 'auction_id, name, start_price, fb_current_bid, max_bid, currency, end_time', $select_condition, 20);
$counter = 0;
for ($j=0; $j<20; $j++) {
if (!empty($feat_details[$counter]['name'])) {
$image = $db->get_sql_field("SELECT media_url FROM " . DB_PREFIX . "auction_media WHERE
auction_id='" . $feat_details[$counter]['auction_id'] . "' AND media_type=1 AND upload_in_progress=0 ORDER BY media_id ASC LIMIT 0,1", 'media_url');
$auction_link = process_link('auction_details', array('name' => $feat_details[$counter]['name'], 'auction_id' => $feat_details[$counter]['auction_id']));
$current_price = max($feat_details[$counter]['start_price'], $feat_details[$counter]['max_bid']);
?>
<div<? if ($counter == 0) echo ' class="active"';?>>
<p><a href="<?=$auction_link;?>"><img class="r" src="<? echo ((!empty($image)) ? 'thumbnail.php?pic=' . $image . '&w=150&sq=Y' : 'themes/' . $setts['default_theme'] . '/img/system/noimg.gif');?>" border="0" alt="<?=$feat_details[$counter]['name'];?>"></a></p>
<p><b>
<?=Prix actuel;?>
:</b> <? echo $fees->display_amount($item->min_bid_amount($item_details[$counter]), $item_details[$counter][' euros']);?> <br></p>
</div>
<?
$counter=$counter+2;
}
}
?>
Je n'arrive pas a faire afficher le prix en dessous de l'image du slideshow
Cela me donne:
Proch. offre : -
Avez-vous une idée ?
merci
<div id="slideshow">
<?
$select_condition = "WHERE hpfeat=1 AND active=1 AND approved=1 AND closed=0 AND creation_in_progress=0 AND deleted=0 AND list_in!='store'";
$feat_details = $db->random_rows('auctions', 'auction_id, name, start_price, fb_current_bid, max_bid, currency, end_time', $select_condition, 20);
$counter = 0;
for ($j=0; $j<20; $j++) {
if (!empty($feat_details[$counter]['name'])) {
$image = $db->get_sql_field("SELECT media_url FROM " . DB_PREFIX . "auction_media WHERE
auction_id='" . $feat_details[$counter]['auction_id'] . "' AND media_type=1 AND upload_in_progress=0 ORDER BY media_id ASC LIMIT 0,1", 'media_url');
$auction_link = process_link('auction_details', array('name' => $feat_details[$counter]['name'], 'auction_id' => $feat_details[$counter]['auction_id']));
$current_price = max($feat_details[$counter]['start_price'], $feat_details[$counter]['max_bid']);
?>
<div<? if ($counter == 0) echo ' class="active"';?>>
<p><a href="<?=$auction_link;?>"><img class="r" src="<? echo ((!empty($image)) ? 'thumbnail.php?pic=' . $image . '&w=150&sq=Y' : 'themes/' . $setts['default_theme'] . '/img/system/noimg.gif');?>" border="0" alt="<?=$feat_details[$counter]['name'];?>"></a></p>
<p><b>
<?=Prix actuel;?>
:</b> <? echo $fees->display_amount($item->min_bid_amount($item_details[$counter]), $item_details[$counter][' euros']);?> <br></p>
</div>
<?
$counter=$counter+2;
}
}
?>
A voir également:
- Problème affichage variable
- Affichage double ecran - Guide
- Problème affichage fenêtre windows 10 - Guide
- Windows 11 affichage classique - Guide
- Problème affichage facebook ✓ - Forum Facebook
- Problème affichage photo messenger - Forum Mail