사용자: 갤러리스킨 1차 완료

This commit is contained in:
whitedot
2013-03-07 14:58:47 +09:00
parent 3b93c7e385
commit a64c7b6fee
2 changed files with 43 additions and 24 deletions

View File

@ -481,17 +481,26 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
/* 갤러리 목록 */
#bo_img h2 {margin:0;padding:0;font-size:0;line-height:0;overflow:hidden}
#bo_img_list {margin:0;padding:0;list-style:none;zoom:1}
#bo_img_list {margin:10px 0 0;padding:0;list-style:none;zoom:1}
#bo_img_list:after {display:block;visibility:hidden;clear:both;content:""}
.bo_img_list_li {float:left;margin:0 10px 30px 0}
.bo_img_con {margin:0;padding:0;list-style:none}
.bo_img_con li {}
.bo_img_href:link,
.bo_img_href:focus,
.bo_img_href:hover {text-decoration:none}
.bo_img_con li {margin:0 0 4px}
.bo_img_con span {display:inline-block;width:50px}
.bo_img_now .bo_img_text_href a {color:#ff3061}
.bo_img_href a:link,
.bo_img_href a:focus,
.bo_img_href a:hover {text-decoration:none}
.bo_img_href strong {display:block;width:174px;height:124px;background:#f7f7f7;text-align:center;line-height:10em}
.bo_img_text_href {margin:10px 0 !important}
.bo_img_text_href a {font-weight:bold}
.bo_img_text_href span {display:inline !important}
.bo_img_text_href img {margin:0 0 0 4px}
/* 목록 공통 */
.bo_fx {margin-bottom:5px;zoom:1}
.bo_fx:after {display:block;visibility:hidden;clear:both;content:""}

View File

@ -5,6 +5,20 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
<? if (!$wr_id) {?><h1 id="bo_list_title"><?=$g4['title']?></h1><?}?>
<div class="ad72890">
<script type="text/javascript"><!--
google_ad_client = "ca-pub-9955166939194057";
/* 써글728-1 */
google_ad_slot = "9632665464";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<!-- 게시판 목록 시작 -->
<div id="bo_img" style="width:<?=$width;?>">
@ -54,7 +68,7 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
$k += 1;
if ($k % $board['bo_gallery_cols'] == 0) $style .= "margin:0 !important;";
?>
<li class="bo_img_list_li <? // 현재 읽고 있는 글이면, ?>bo_img_now" style="<?=$style?>">
<li class="bo_img_list_li <? if ($wr_id == $list[$i]['wr_id']) { ?>bo_img_now<? } ?>" style="<?=$style?>">
<? if ($is_checkbox) { ?><input type="checkbox" name="chk_wr_id[]" value="<?=$list[$i]['wr_id']?>" title="<?=$list[$i]['subject']?> 선택"><? } ?>
<span class="sound_only">
<?
@ -65,9 +79,10 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
?>
</span>
<ul class="bo_img_con">
<li>
<a href="<?=$list[$i]['href']?>" class="bo_img_href">
<? if ($list[$i]['is_notice']) { // 공지사항 ?><strong>공지</strong>
<li class="bo_img_href">
<a href="<?=$list[$i]['href']?>">
<? if ($list[$i]['is_notice']) { // 공지사항 ?>
<strong>공지</strong>
<? } else { ?>
<?
$file = get_list_file($bo_table, $list[$i]['wr_id']);
@ -79,13 +94,12 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
} else {
$imgsrc = $board_skin_url.'/img/noimg.jpg';
}
$imgalt = $file['bf_content'] ? get_text($file['bf_content']) : "";
?>
<img src="<?=$imgsrc?>" alt="<?=$imgalt?>" width="<?=$board['bo_9']?>" height="<?=$board['bo_10']?>">
<img src="<?=$imgsrc?>" alt="<?=get_text($file['bf_content'])?>" width="<?=$board['bo_9']?>" height="<?=$board['bo_10']?>">
<? } ?>
</a>
</li>
<li>
<li class="bo_img_text_href">
<?
// echo $list[$i]['icon_reply']; 갤러리는 reply 를 사용 안 할 것 같습니다. - 지운아빠 2013-03-04
if ($is_category && $list[$i]['ca_name']) {
@ -102,20 +116,16 @@ include_once(G4_LIB_PATH.'/thumbnail.lib.php');
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'];
//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>
<li><span class="sound_only">작성자 </span><?=$list[$i]['name']?></li>
<li><span class="sound_only">작성일 </span><?=$list[$i]['datetime2']?></li>
<li><span class="sound_only">조회 </span><?=$list[$i]['wr_hit']?></li>
<? if ($is_good || $is_nogood) {?>
<li>
<? if ($is_good) {?><span>추천<strong><?=$list[$i]['wr_good']?></strong></span><? } ?>
<? if ($is_nogood) {?><span>비추천<strong><?=$list[$i]['wr_nogood']?></strong></span><? } ?>
</li>
<? } ?>
<li><span>작성자 </span><?=$list[$i]['name']?></li>
<li><span>작성일 </span><?=$list[$i]['datetime2']?></li>
<li><span>조회 </span><?=$list[$i]['wr_hit']?></li>
<? if ($is_good) {?><li><span>추천</span><strong><?=$list[$i]['wr_good']?></strong></li><? } ?>
<? if ($is_nogood) {?><li><span>비추천</span><strong><?=$list[$i]['wr_nogood']?></strong></li><? } ?>
</ul>
</li>
<? } ?>