쇼핑몰 하단에 최신글을 탭형식으로 보여주고 싶은데
최신글 상단에 라인이 보기 싫어서 없애려니까 되지를 않습니다.
소스를 첨부합니다. 확인 좀 부탁드려요.

<최신글 소스>
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="'.$latest_skin_url.'/style.css">', 0);
?>
add_stylesheet('<link rel="stylesheet" href="'.$latest_skin_url.'/style.css">', 0);
?>
<div class="lat">
<ul>
<?php for ($i=0; $i<count($list); $i++) { ?>
<li>
<?php
//echo $list[$i]['icon_reply']." ";
echo "<a href=\"".$list[$i]['href']."\">";
if ($list[$i]['is_notice'])
echo "<strong>".$list[$i]['subject']."</strong>";
else
echo $list[$i]['subject'];
<ul>
<?php for ($i=0; $i<count($list); $i++) { ?>
<li>
<?php
//echo $list[$i]['icon_reply']." ";
echo "<a href=\"".$list[$i]['href']."\">";
if ($list[$i]['is_notice'])
echo "<strong>".$list[$i]['subject']."</strong>";
else
echo $list[$i]['subject'];
if ($list[$i]['comment_cnt'])
echo $list[$i]['comment_cnt'];
echo $list[$i]['comment_cnt'];
echo "</a>";
// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }
if (isset($list[$i]['icon_new'])) echo " " . $list[$i]['icon_new'];
if (isset($list[$i]['icon_hot'])) echo " " . $list[$i]['icon_hot'];
if (isset($list[$i]['icon_file'])) echo " " . $list[$i]['icon_file'];
if (isset($list[$i]['icon_link'])) echo " " . $list[$i]['icon_link'];
if (isset($list[$i]['icon_secret'])) echo " " . $list[$i]['icon_secret'];
?>
</li>
<?php } ?>
<?php if (count($list) == 0) { //게시물이 없을 때 ?>
<li>게시물이 없습니다.</li>
<?php } ?>
</ul>
<div class="lat_more"></div>
</div>
if (isset($list[$i]['icon_hot'])) echo " " . $list[$i]['icon_hot'];
if (isset($list[$i]['icon_file'])) echo " " . $list[$i]['icon_file'];
if (isset($list[$i]['icon_link'])) echo " " . $list[$i]['icon_link'];
if (isset($list[$i]['icon_secret'])) echo " " . $list[$i]['icon_secret'];
?>
</li>
<?php } ?>
<?php if (count($list) == 0) { //게시물이 없을 때 ?>
<li>게시물이 없습니다.</li>
<?php } ?>
</ul>
<div class="lat_more"></div>
</div>
<최신글 style.css 소스>
/* 새글 스킨 (latest) */
.lat {position:relative;margin-bottom:20px;padding-bottom:10px;border-bottom:0px }
.lat ul {margin:0 0 10px;padding:0;list-style:none}
.lat li {padding:3px 0}
.lat_title {display:block;padding:10px 0 0px}
.lat_more {position:absolute;top:10px;right:0}
.lat {position:relative;margin-bottom:20px;padding-bottom:10px;border-bottom:0px }
.lat ul {margin:0 0 10px;padding:0;list-style:none}
.lat li {padding:3px 0}
.lat_title {display:block;padding:10px 0 0px}
.lat_more {position:absolute;top:10px;right:0}
답변 1개 / 댓글 8개
채택된 답변
+20 포인트
크게 수정을 안하셨다면... 'css/default_shop.css'에 라인이 규정되어 있습니다.
Copy
/* 공지사항 및 커뮤니티 새글 */
#sidx_lat {padding:15px 0 0;border-top:1px solid #ddd}
#sidx_lat h2 {text-align:center}
아랫쪽 라인은 'skin/latest/shop_basic/style.css'에 있구요.
답변에 대한 댓글 8개
갑자기 인덱스에 최신글이 보이지 않습니다.
원인이 무언지를 모르겠네요. 한번 살펴봐 주셨으면 합니다.
http://euromarking.co.kr/shop/index.php 에는 나오고
http://euromarking.co.kr/ 에는 안나오네요.
어찌된 일인가요?
원인이 무언지를 모르겠네요. 한번 살펴봐 주셨으면 합니다.
http://euromarking.co.kr/shop/index.php 에는 나오고
http://euromarking.co.kr/ 에는 안나오네요.
어찌된 일인가요?
답변을 작성하려면 로그인이 필요합니다.
갤러리 최신글에는 라인이 없어요.
http://euromarking.co.kr/
참 기가 막히네요. ㅎㅎ