GNU/skin/latest/_ALICE_CARD/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="AliceCard">
    <? for ($i=0; $i<$list_count; $i++) { ?>
        <?php
        $gallery_width = "180";
        $gallery_height = "300";
        $filename = $list[$i]['file'][0]['file']; // 서버 저장 파일명
        $filepath = G5_DATA_PATH.'/file/'.$bo_table; // 데이터 디렉토리 경로
        $filesrc = G5_DATA_URL.'/file/'.$bo_table.'/'.$filename; // 이미지 주소
        $thumb = thumbnail($filename, $filepath , $filepath , $gallery_width, $gallery_height, false, true); // 섬네일 이미지 파일명
        $thumbsrc = G5_DATA_URL.'/file/'.$bo_table.'/'.$thumb; // 섬네일 주소
        ?>
        <ul class="Card" onclick="location.href='<?=$list[$i]['href'] ;?>'">
            <li>
                <p class="S" style="width:<?=$gallery_width;?>px;"><label><?=$list[$i]['wr_subject'];?></label><label><?=$list[$i]['ca_name'];?></label></p>
                <?
                $list[$i]['bj_Price'] = $list[$i]['bj_Price']/10; //BGC
                $list[$i]['bj_Price'] = $list[$i]['bj_Price']/10 //GBJC
                ?>
                <p class="G" style="width:<?=$gallery_width;?>px;"><?=number_format($list[$i]['bj_Price']);?></p>
            </li>
            <img src="<?=$thumbsrc;?>">
        </ul>
    <? } ?>
    <? if ($list_count == 0) { echo "<li class='CoinNo'>게시물이 없습니다</li>"; } ?>
</section>