질문드려요
본문
URL : http://carfriends.godohosting.com
(정식 도메인이 검색되는것을 원하지 않아서 2차 도메인으로 표기하였어요
진단하실때는 정식도메인으로 접속하셔요~)
그누보드5 버전 : Version 5.3.1.2
테마적용 여부 : 적용안함
---------------------------------------------------------------------------------------------------------------
질문내용>
위 홈페이지에 아랫쪽에
최근 갤러리 있는데요
보통 최근갤러리는 1줄로 되어있는데요
3줄로 할수 있어요 ?
=== 최근갤러리 스킨 latest.skin.php 소스 에요 ========================
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
include_once(G5_LIB_PATH.'/thumbnail.lib.php');
$imgwidth = 240; //표시할 이미지의 가로사이즈
$imgheight = 121; //표시할 이미지의 세로사이즈
?>
<style>
#oneshot { position:relative;margin:0 0 0 -5px;margin-left:6px}
#oneshot .la_title{display: block; font-size: 1.333em;font-weight:bold;margin-left:6px}
#oneshot .img_set{width:<?php echo $imgwidth ?>px; height:<?php echo $imgheight ?>px; background:#fafafa;padding:0;}
#oneshot .subject_set{width:<?php echo $imgwidth - 13 ?>px; height:38px; padding:5px 10px 10px 3px; z-index:1; bottom:0; left:0;}
#oneshot .subject_set .sub_title{display:block;font-size:1.167em;padding:15px 10px 8px;font-weight:bold;text-overflow: ellipsis; overflow: hidden; white-space: nowrap;}
#oneshot .subject_set .sub_content{color:#8c8a8a;height:30px;overflow:hidden;padding:3px 0 0;font-family:NanumGothic,dotum;}
#oneshot ul {list-style:none;clear:both;margin-top:10px;padding:0;}
#oneshot li{float:left;list-style:none;text-decoration:none;padding:0 0 0 60}
/*
.subject_set a:link, a:visited , a:focus, a:active {color:#4a4a4a;text-decoration:none}
.subject_set a:hover {color:#FF00FF;text-decoration:underline}
*/
/* 폰트불러오기 */
@font-face {font-family:'NanumGothicExtraBold';src: url('<?php echo $latest_skin_url ?>/NanumGothicExtraBold.woff');}
@font-face {font-family:'NanumGothicExtraBold.woff';src: url('<?php echo $latest_skin_url ?>/NanumGothicExtraBold.woff');}
</style>
<!-- <?php echo $bo_subject; ?> 최신글 시작 { -->
<div id="oneshot">
<!--제목 타이틀은 안나오게함 <div class="la_title"><a href="<?php echo G5_BBS_URL; ?>/board.php?bo_table=<?php echo $bo_table; ?>&me_code=<?php echo $me_code?>"><?php echo $bo_subject; ?></a></div> -->
<ul>
<?php for ($i=0; $i<count($list); $i++) { ?>
<li>
<div class="img_set">
<a href="<?php echo $list[$i]['href'] ?>">
<?php
$thumb = get_list_thumbnail($bo_table, $list[$i]['wr_id'], $imgwidth, $imgheight, true, true);
if($thumb['src']) {
$img_content = '<img class="img_left" src="'.$thumb['src'].'" alt="'.$list[$i]['subject'].'" width="'.$imgwidth.'" height="'.$imgheight.'">';
} else {
$img_content = 'NO IMAGE';
}
echo $img_content;
?>
</a>
</div>
<div style="text-align:center;margin-top:10px"><?php echo $list[$i]['subject'] ?></div>
</li>
<?php } ?>
</ul>
</div>
<!-- } <?php echo $bo_subject; ?> 최신글 끝 -->
============================================================
조언 좀 해주시면 감사하겠어요~
좋은 하루 되세요
안녕히 계세요