사용자: 게시판스킨 댓글 아이콘 완료
This commit is contained in:
@ -371,12 +371,12 @@ a {color:#000;text-decoration:none}
|
||||
.bo_v_com li {float:left;margin-left:5px}
|
||||
|
||||
/* 게시판 댓글 */
|
||||
#bo_vc {padding:10px;border:1px solid #eee;background:#f9f9f9}
|
||||
#bo_vc {padding:10px 20px;border:1px solid #eee;background:#f9f9f9}
|
||||
#bo_vc h2 {margin:0;padding:0;height:0;overflow:hidden}
|
||||
#bo_vc article {margin:0 10px;padding:0 0 20px;border-bottom:1px solid #ddd}
|
||||
#bo_vc article {padding:0 0 20px;border-bottom:1px solid #ddd}
|
||||
#bo_vc header {position:relative;zoom:1}
|
||||
#bo_vc header:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#bo_vc header img {position:absolute;top:0;left:-20px}
|
||||
#bo_vc header img {position:absolute;top:15px;left:-30px}
|
||||
#bo_vc h1 {float:left;margin:15px 0 10px}
|
||||
.bo_vc_info {float:left;margin:15px 0 10px 15px;zoom:1}
|
||||
.bo_vc_info:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
@ -393,7 +393,7 @@ a {color:#000;text-decoration:none}
|
||||
.bo_vc_act {float:right;margin:0;list-style:none;zoom:1}
|
||||
.bo_vc_act:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.bo_vc_act li {float:left;margin-left:5px}
|
||||
#bo_vc_w {position:relative;margin-top:10px;padding:10px}
|
||||
#bo_vc_w {position:relative;padding-top:20px}
|
||||
#bo_vc_w #char_cnt {position:absolute;top:5px;right:10px}
|
||||
#bo_vc_warea {clear:both;position:relative;margin:0 90px 10px 0}
|
||||
#bo_vc_warea textarea {padding:3px;width:100%;height:50px;border:1px solid #ddd;background:#fff;vertical-align:middle}
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 69 B After Width: | Height: | Size: 69 B |
@ -14,7 +14,8 @@ var char_max = parseInt(<?=$comment_max?>); // 최대
|
||||
<?
|
||||
for ($i=0; $i<count($list); $i++) {
|
||||
$comment_id = $list[$i]['wr_id'];
|
||||
$comment_depth = strlen($list[$i]['wr_comment_reply']) * 30;
|
||||
$cmt_depth = ""; // 댓글단계
|
||||
$cmt_depth = strlen($list[$i]['wr_comment_reply']) * 30;
|
||||
if (strstr($list[$i]['wr_option'], "secret")) echo '비밀글';
|
||||
$str = $list[$i]['content'];
|
||||
if (strstr($list[$i]['wr_option'], "secret"))
|
||||
@ -24,10 +25,10 @@ var char_max = parseInt(<?=$comment_max?>); // 최대
|
||||
//$str = preg_replace("/\[\<a\s.*href\=\"(http|https|ftp)\:\/\/([^[:space:]]+)\.(swf)\".*\<\/a\>\]/i", "<script>doc_write(flash_movie('$1://$2.$3'));</script>", $str);
|
||||
$str = preg_replace("/\[\<a\s*href\=\"(http|https|ftp)\:\/\/([^[:space:]]+)\.(gif|png|jpg|jpeg|bmp)\"\s*[^\>]*\>[^\s]*\<\/a\>\]/i", "<img src='$1://$2.$3' id='target_resize_image[]' onclick='image_window(this);'>", $str);
|
||||
?>
|
||||
<article id="c_<?=$comment_id?>" <?if ($comment_depth) {?>style="margin-left:<?=$comment_depth?>px"<?}?>>
|
||||
<article id="c_<?=$comment_id?>" <?if ($cmt_depth) {?>style="margin-left:<?=$cmt_depth?>px"<?}?>>
|
||||
<header>
|
||||
<h1><?=$list[$i]['name']?><span class="sound_only">님의 댓글</span></h1>
|
||||
<? if ($comment_depth) {?><img src="<?=$g4['path']?>/img/icon/icon_re.gif" alt="댓글의 댓글"><? } ?>
|
||||
<? if ($cmt_depth) {?><img src="<?=$g4['path']?>/img/icon/icon_re.gif" alt="댓글의 댓글"><? } ?>
|
||||
<dl class="bo_vc_info">
|
||||
<? if ($is_ip_view) { ?>
|
||||
<dt>아이피</dt>
|
||||
|
||||
Reference in New Issue
Block a user