zetmiko:
Code:
<?
if ( !defined('INCLUDED') ) { die("Access Denied"); }
$browse_auctions_content .= '<table class="li" r="2" cellspacing="0">'.
'<tbody>'.
'<tr>'.
' <td class="pic p140 lt c0' . $background . '">'.
' <a href="' . $auction_link . '" class="img">'.
'<img style="border:1px solid #ccc ;" class="img" src="thumbnail.php?pic=' . $auction_image . '&w=' . $setts['browse_thumb_size'] . '&sq=Y" border="0" width="' . $setts['browse_thumb_size'] . '" alt="' . $item_details['name'] . '"></a>'.
' </td>'.
' <td class="dtl c0' . $background . '">'.
' <div class="ttl">'.
' <a href="' . $auction_link . '" class="vip">' . $item_details['name'] . '</a>'.
' </div>'.
' <div class="dyn dynS">'.
' <div class="s1 empty">'.
' <div class="mWSpc">'.
' </div>'.
' '.
' </div>'.
' </div>'.
' <div class="anchors">'.
' <div class="g-nav group">'.
' <div class="mi-l">'.
' </div>'.
' </div>'.
' </div>'.
' </td>'.
' <td class="trs c0' . $background . '">'.
' </td>'.
' <td class="pay c0' . $background . '">'.
' </td>'.
' <td class="bids bin1 c0' . $background . '">'.
'' . $item_details['nb_bids'] . ' ' . MSG_NR_BIDS . ''.
' </td>'.
' <td class="prc c0' . $background . '">'.
' <div class="g-b">'.
'' . $fees->display_amount($item_details['start_price'], $item_details['currency'] . ''.
' </div>'.
'<span class="ship fee">';
if ($item_details['postage_amount'] <= 0)
{
$browse_auctions_content .= '<b>' . GMSG_FREE_SHIPPING . '</b>';
} else {
$browse_auctions_content .= '+ '.$fees->display_amount($postage_amount, $item_details['currency']).' ';
}
$browse_auctions_content .= ' </span>'.
' <div style="padding-top: 5px;">'.
' <span><img src="img/Paypal_Icon.png" alt="PayPal Accepted"/></span>'.
' </div>'.
' <div style="padding-top: 5px;">';
if ($item_details['start_price']==$item_details['buyout_price'] && $item_details['discount']>0){
if (strtotime("now")>$item_details['discount_start_date'] && strtotime("now")<$item_details['discount_end_date']){
$browse_auctions_content .='<font color="red"><del>'.$fees->display_amount($buyout_price, $item_details['currency']).'</del></font><br><font color="green">'.$item_details['buyout_price']=$fees->display_amount(get_percent($item_details['buyout_price'], $item_details['discount']), $item_details['currency']).'</font>';
} else {
$browse_auctions_content .=$fees->display_amount($buyout_price, $item_details['currency']);
}
} else {
$browse_auctions_content .=$fees->display_amount($current_price, $item_details['currency']);
}
$browse_auctions_content .= ' </div>'.
' <div style="padding-top: 5px;">'.
' <a href="/buy_out.php?auction_id=26488" class="hprl hprs"><span>Buy Out</span></a>'.
' </div>'.
' </td>'.
' <td class="tme rt c0' . $background . '">'.
' <b class="hidlb">Waktu Tersisa:</b><span>' .
(($src_details['order_fld'] == 'order_recently_listed') ?
'' . time_left(CURRENT_TIME, $item_details['start_time'], true) . '' :
'' . time_left($item_details['end_time'], CURRENT_TIME, true) . '</span>').
' </td>'.
'</tr>'.
'</tbody>'.
'</table>';
?>
zetmiko:
Udah ketemu sob, hanya kurang tutup kurung satu!
tapi bikin cenut-cenut kepala!!!