질문드려요

매출이 오르면 내리는 수수료! 지금 수수료센터에서 전자결제(PG)수수료 비교견적 신청해 보세요!
질문드려요

QA

질문드려요

본문

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; ?> 최신글 끝 -->

============================================================

조언 좀 해주시면 감사하겠어요~

 

좋은 하루 되세요

 

안녕히 계세요

3554178435_1576769207.0048.png

 

이 질문에 댓글 쓰기 :

답변을 작성하시기 전에 로그인 해주세요.
전체 14
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT