OLDBOY/skin/latest/_COIN/latest.skin.php
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
echo "<link rel='stylesheet' href='{$latest_skin_url}/style.css'>";
$list_count = (is_array($list) && $list) ? count($list) : 0;
//-------------------------------------------------------------------------------------------------
?>


<section class="LatestCoin">
    <? 
    if ($list[0]['x2_cor_fir_proceeds'] > 0) $sign = "+"; else $sign = "";
    if ($bo_table == "stock" || $bo_table == "upbit") $list[0]['x2_cor_fir_proceeds'] = $list[0]['x2_cor_fir_proceeds']/$list[0]['x2_exchange_kr']; else $list[0]['x2_cor_fir_proceeds'] = $list[0]['x2_cor_fir_proceeds'];
    ?>
    <li><?=$sign.number_format($list[0]['x2_cor_fir_proceeds'],2);?></li>
    <? 
    for ($i=0; $i<$list_count; $i++) {
        if ($bo_table == "stock" || $bo_table == "upbit") $list[$i]['subject'] = $list[$i]['subject']/$list[$i]['x2_exchange_kr']; else $list[$i]['subject'] = $list[$i]['subject'];
    ?>
        <li onclick="location.href='<?=get_pretty_url($bo_table, $list[$i]['wr_id']);?>&p=page_asset'"><?=number_format($list[$i]['subject'],2);?></li>
        <? } ?>
    <? if ($list_count == 0) { echo "<li class='CoinNo'>게시물이 없습니다</li>"; } ?>
</section>