갤러리추출메인화면을쓰고있는데요 개수조절하고싶습니다. 채택완료
지금은 한줄에 5개씩나옵니다.
한줄에4개씩나오게하고싶어서요. 인덱스에선 이렇게뽑아냈고 여기서 15를 12로줄여봐야 한줄의나오는양은그대로더라구요.. latest.skin.php 는
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨 add_stylesheet('', 0); $thumb_width = 210; $thumb_height = 150; ?>
-
비밀글 ";
if ($list[$i]['icon_new']) echo "N새글";
if ($list[$i]['icon_hot']) echo "H인기글";
echo " "; if ($list[$i]['is_notice']) echo "".$list[$i]['subject'].""; else echo $list[$i]['subject'];
echo "";
// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; } // if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }
//echo $list[$i]['icon_reply']." "; // if ($list[$i]['icon_file']) echo " " ; //if ($list[$i]['icon_link']) echo " " ;
if ($list[$i]['comment_cnt']) echo " + ".$list[$i]['wr_comment']."";
?>
- 게시물이 없습니다.
if($thumb['src']) {
$img = $thumb['src'];
} else {
$img = G5_IMG_URL.'/no_img.png';
$thumb['alt'] = '이미지가 없습니다.';
}
$img_content = '';
?>
이렇게되있습니다 조언부탁드립니다 ㅜㅜ새해복많이받으실꺼에요
답변 2개
답변을 작성하려면 로그인이 필요합니다.
로그인