불량감자님의 메모장 스킨 질문입니다~ > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

불량감자님의 메모장 스킨 질문입니다~ 정보

불량감자님의 메모장 스킨 질문입니다~

본문

제가 원하는 스킨 발견하고 바로 적용해서 쓰고 있는데
한 페이지에 20개의 글을 넣으니 가독성이 좀 떨어지네용 ㅠㅠ
최대한 간격들을 줄여서 가독성을 높였으면 하는데요
이리저리 수정해보는데 도저히 모르겠어서ㅠㅠ 질문드립니다

1. 글쓴 날짜와 삭제 수정 버튼이 본문 바로 뒤에 붙게 하고 싶습니다
2. 본문과 댓글 사이의 간격 없이 바로 댓글로 이어지게 하고 싶습니다
3. commnet (숫자) 이건 대체 어떻게 없애는 건가요T_T
4. 댓글 이름과 본문 사이에 줄이 있는데 이부분을 지우고 싶습니다
5. 댓글과 댓글 사이에도 간격이 존재하는데 이 부분도 없애고 싶어요
+ 혹시 대댓글도 가능한지...

첨부한 파일 보시고 확인 부탁드려요T_T

혹시 몰라서 list.skin 같이 올립니다


<?
if (!defined("_GNUBOARD_")) exit; // Restraining for direct page

$img_width = $board[bo_image_width];

$colist = array();

$colspan = 2;

//if ($is_category) $colspan++;
if ($is_checkbox) $colspan++;
if ($is_good) $colspan++;
if ($is_nogood) $colspan++;

// if Subject Error ex)two line subject
// <nobr style='display:block; overflow:hidden; width:000px;'>Subject</nobr>

if($is_admin)set_session("ss_delete_token", $token = uniqid(time()));
?>
<style type="text/css">
.info_name a:link { font:normal 12px 굴림, Dotum; color:#4444;font-weight:bold; }
.info_datetime { font:normal 10px tahoma; color:#a8a8a8; }
.info_del a:link { font:normal 11px Tahoma; color:#888888; }
.info_del a:visited { font:normal 11px Tahoma; color:#888888; }
.board_button { clear:both; margin:10px 0 0 0; }
.board_page { clear:both; text-align:center; margin:10px 0 0 0;}
.board_page a:link { color:#404040; }
.board_search { text-align:center; margin:8px 0 10px 0; }
.board_search .stx { height:21px; border:1px solid #9A9A9A; border-right:1px solid #D8D8D8; border-bottom:1px solid #D8D8D8; }

.c_name { font:normal 11px 돋움, Dotum; color:#4444;font-weight:bold; border-bottom:1px #e1e1e1 solid; padding:0 0 5px; }
</style>

<?
include ("$board_skin_path/_write.skin.php");
?>

<script type="text/javascript" src="<?=$board_skin_path?>/highslide/highslide-with-gallery.js"></script>
<script type="text/javascript">
hs.graphicsDir = '<?=$board_skin_path?>/highslide/graphics/';
hs.align = 'center';
hs.transitions = ['expand', 'crossfade'];
hs.wrapperClassName = 'dark borderless floating-caption';
hs.fadeInOut = true;
hs.dimmingOpacity = .80;

// Add the controlbar
if (hs.addSlideshow) hs.addSlideshow({
//slideshowGroup: 'group1',
interval: 5000,
repeat: false,
useControls: true,
fixedControls: 'fit',
overlayOptions: {
opacity: .8,
position: 'bottom center',
hideOnMouseOut: true
}
});
</script>
<link rel="stylesheet" type="text/css" href="<?=$board_skin_path?>/highslide/highslide.css" />



<table width="<?=$width?>" align="center" cellpadding="0" cellspacing="0"><tr><td>

    <table border="0" cellspacing="0" cellpadding="0" width="100%">
    <? if ($is_checkbox) { ?><col width="25" /><? } ?>
    <col />
    <?
    for ($i=0; $i<count($list); $i++) {
   
$wr_id= $list[$i][wr_id];

        $write = sql_fetch(" select * from $write_table where wr_id = '$wr_id' ");
        $view = get_view($write, $board, $board_skin_path, 255);
        if (strstr($sfl, "subject"))
                $view[subject] = search_font($stx, $view[subject]);

        $html = 0;
        if (strstr($view[wr_option], "html1"))
                $html = 1;
        else if (strstr($view[wr_option], "html2"))
                $html = 2;

        $view[content] = conv_content($view[wr_content], $html);
        if (strstr($sfl, "content"))
                $view[content] = search_font($stx, $view[content]);
        $view[content] = preg_replace("/(\<img )([^\>]*)(\>)/i", "\\1 name='target_resize_image[]' onclick='image_window(this)' style='cursor:pointer;' \\2 \\3", $view[content]);

        $view[rich_content] = preg_replace("/{이미지\:([0-9]+)[:]?([^}]*)}/ie", "view_image(\$view, '\\1', '\\2')", $view[content]);     
?>


<tr>
        <? if ($is_checkbox) { ?><td valign="top"><input type=checkbox name=chk_wr_id[] value="<?=$list[$i][wr_id]?>"></td><? } ?>
        <td valign="top">
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<col width="50" />
<col width="10" />
<col width="17" />
<col />
<tr>
<td valign="top" align="center">
<div style="width:70px; border:0px solid #eeeeee;padding-top:21px;">
<span class="info_name"><b><?=$list[$i][wr_name]?></b></span>
</div>
<div style="height:3px; line-height:1px; font-size:1px;">&nbsp;</div>
</td>
<td></td>
<td valign="top" style="background:url(<?=$board_skin_path?>/img/box_arrow_bg.gif);"><img src="<?=$board_skin_path?>/img/box_arrow.gif" /></td>
<td style="border-top:3px solid #eeeeee; border-right:3px solid #eeeeee; border-bottom:3px solid #eeeeee; padding:15px; background-color:#fafafa;">
<div style="margin:0 0 0 0;">
<div style="clear:both; font:normal 11px 돋움, Dotum; color:#2f3743; padding-bottom:7px;">
<span class="info_datetime"><?=$list[$i][wr_datetime]?></span>
    <span class="info_del">
<? if (($member[mb_id] && ($member[mb_id] == $list[$i][mb_id])) || $is_admin) { ?>
    &nbsp;&nbsp;<a href="javascript:if (confirm('이 게시물을 삭제하시겠습니까?')) { location='./delete.php?w=d&bo_table=<?=$bo_table?>&wr_id=<?=$list[$i][wr_id]?>&sca=<?=$sca?><? echo $is_admin?'&token='.$token:'';?>';}" title="삭제"><img src="<?=$board_skin_path?>/img/btn_comment_delete.gif" width="27" height="19" border="0" align="absmiddle"></a> <a href="<?=$write_href?>&w=u&wr_id=<?=$list[$i][wr_id]?>&page=<?=$page?>" title="수정"><img src="<?=$board_skin_path?>/img/btn_comment_modify.gif" width="27" height="19" border="0"  align="absmiddle"></a>
    <? } ?>
</span>
</div>

<?
$image = urlencode($list[$i][file][0][file]);
if (preg_match("/\.(gif|jpg|png)$/i", $image) && file_exists("$g4[path]/data/file/$bo_table/$image")) {
echo "<br><a href='{$g4[path]}/data/file/$bo_table/$image' class='highslide' onclick='return hs.expand(this)'><img src='$g4[path]/data/file/$bo_table/$image' border='0' width='{$img_width}'></a><p>";
}
?>

<div style="clear:both; color:#222222; line-height:21px; word-wrap:break-word; word-break:break-all;border-bottom:1px #e1e1e1 solid;padding:0 0 30px 0;">
<?=nl2br(strip_tags($list[$i][wr_content]))?>

</div>
        <div style="float:left; font-family:Tahoma, Geneva, sans-serif; font-size:11px; padding-top:4px;">
<? if ($is_guest) { ?>
<? if ($list[$i][comment_cnt]) {
echo "<font color=#ff6600>comment ";
echo "",$list[$i][comment_cnt];
echo "</font>";
} else {
echo "<font color=#8badb0>comment</font>";
}
?>
<? } else { ?>
<? if ($list[$i][comment_cnt]) {
echo "<font color=#ff6600>comment ";
echo "",$list[$i][comment_cnt];
echo "</font>";
} else {
echo "<font color=#8badb0>comment</font>";
}
?>
<? } ?>
    </div>
    </div>

       
<div style="clear:both;" id="commentContents">


<?
$comment_id = $colist[$ii][wr_id];
?>
<a name="c_<?=$comment_id?>"></a>

<!-- 코멘트 리스트 -->
<?
$cosql = " select * from $write_table where wr_parent = '$wr_id' and wr_is_comment = 1 order by wr_comment, wr_comment_reply ";
$coresult = sql_query($cosql);

for ($ii=0; $corow=sql_fetch_array($coresult); $ii++)
{
    $colist[$ii] = $corow;

    $cotmp_name = get_text(cut_str($corow[wr_name], $config[cf_cut_name])); // 설정된 자리수 만큼만 이름 출력
    if ($board[bo_use_sideview])
        $colist[$ii][name] = get_sideview($corow[mb_id], $cotmp_name, $corow[wr_email], $corow[wr_homepage]);
    else
        $colist[$ii][name] = "<span class='".($corow[mb_id]?'member':'guest')."'>$cotmp_name</span>";



    // 공백없이 연속 입력한 문자 자르기 (way 보드 참고. way.co.kr)
    $c_secret_f= 1;
    $colist[$ii][content] = $colist[$ii][content1]= "Secret is";
    if (!strstr($corow[wr_option], "secret") ||
      $is_admin ||
      ($write[mb_id]==$member[mb_id] && $member[mb_id]) ||
      ($corow[mb_id]==$member[mb_id] && $member[mb_id])) {
$c_secret_f= 0;
        $colist[$ii][content1] = $corow[wr_content];
        $colist[$ii][content] = conv_content($corow[wr_content], 0, 'wr_content');
        $colist[$ii][content] = search_font($stx, $colist[$ii][content]);
    }

    $colist[$ii][trackback] = url_auto_link($corow[wr_trackback]);
    $colist[$ii][datetime] = substr($corow[wr_datetime],0,16);

    // 관리자가 아니라면 중간 IP 주소를 감춘후 보여줍니다.
    $colist[$ii][ip] = $corow[wr_ip];
    if (!$is_admin)
        $colist[$ii][ip] = preg_replace("/([0-9]+).([0-9]+).([0-9]+).([0-9]+)/", "\\1.♡.\\3.\\4", $corow[wr_ip]);

    $colist[$ii][is_reply] = false;
    $colist[$ii][is_edit] = false;
    $colist[$ii][is_del]  = false;
   

if ($is_comment_write || $is_admin)
    {
        if ($member[mb_id])
        {
            if ($corow[mb_id] == $member[mb_id] || $is_admin)
            {
                $colist[$ii][del_link]  = "./delete_comment.php?bo_table=$bo_table&comment_id=$corow[wr_id]&cwin=$cwin&page=$page".$qstr;
                $colist[$ii][is_edit]  = true;
                $colist[$ii][is_del]    = true;
            }
        }
        else
        {
            if (!$corow[mb_id]) {
                $colist[$ii][del_link] = "./password.php?w=x&bo_table=$bo_table&comment_id=$corow[wr_id]&cwin=$cwin&page=$page".$qstr;
                $colist[$ii][is_del]  = true;
            }
        }

        if (strlen($corow[wr_comment_reply]) < 5)
            $colist[$ii][is_reply] = true;
    }

    // 05.05.22
    // 답변있는 코멘트는 수정, 삭제 불가
    if ($ii > 0 && !$is_admin)
    {
        if ($corow[wr_comment_reply])
        {
            $tmp_comment_reply = substr($corow[wr_comment_reply], 0, strlen($corow[wr_comment_reply]) - 1);
            if ($tmp_comment_reply == $colist[$ii-1][wr_comment_reply])
            {
                $colist[$ii-1][is_edit] = false;
                $colist[$ii-1][is_del] = false;
            }
        }
    }


    $t_name= $colist[$ii][wr_name];
    $t_content = nl2br(strip_tags($colist[$ii][content]));
    $t_date= $colist[$ii][datetime];
    $t_id= $colist[$ii][wr_id];

    for ($tc= 0; $tc< strlen($colist[$ii][wr_comment_reply]); $tc++) echo "";

if ($corow[mb_id] == $member[mb_id] || $is_admin)
    {
        $colist[$ii][del_link]  = "./delete_comment.php?bo_table=$bo_table&comment_id=$corow[wr_id]&cwin=$cwin&page=$page".$qstr;
        $colist[$ii][is_edit]  = true;
        $colist[$ii][is_del]    = true;

    echo "<div class='c_name' style='padding-top:6px;'><img src='$board_skin_path/img/icon_list.gif' border=0 align=absmiddle>&nbsp;<b>$t_name</b>&nbsp;&nbsp;<span class='info_datetime'>$t_date</span>";

  // if ($colist[$ii][is_del])
echo "&nbsp;<a href=\"javascript:comment_delete('{$colist[$ii][del_link]}');\" class='info_datetime'><img src='$board_skin_path/img/co_btn_delete.gif' border=0 align=absmiddle alt='삭제'></a>";
  // if ($colist[$ii][is_edit])
echo "&nbsp;<a href=\"{$list[$i][href]}#topTitle\" title='수정' /><img src='$board_skin_path/img/co_btn_modify.gif' border=0 align=absmiddle alt='수정'></a>";
echo "</div>";
        echo "<div style='padding:8px 0 15px 0;'>$t_content</div>";
 
  } else {

    echo "<div class='c_name' style='padding-top:6px;'><img src='$board_skin_path/img/icon_list.gif' border=0 align=absmiddle>&nbsp;<b>$t_name</b>&nbsp;&nbsp;<span class='info_datetime'>$t_date</span>";

    if ($colist[$ii][is_del])
echo "&nbsp;<a href=\"javascript:comment_delete('{$colist[$ii][del_link]}');\" class='info_datetime'><img src='$board_skin_path/img/co_btn_delete.gif' border=0 align=absmiddle alt='삭제'></a>";
    if ($colist[$ii][is_edit])
echo "&nbsp;<a href=\"{$list[$i][href]}#topTitle\" title='수정' /><img src='$board_skin_path/img/co_btn_modify.gif' border=0 align=absmiddle alt='수정'></a>";
echo "</div>";
        echo "<div style='padding:8px 0 15px 0;'>$t_content</div>";
  }
}

?>
<!-- 코멘트 리스트 끝 -->
</div>

<div>
  <span id='edit_<?=$comment_id?>' style='display:none;'></span><!-- 수정 -->
  <input type=hidden id='secret_comment_<?=$comment_id?>' value="<?=strstr($list[$i][wr_option],"secret")?>">
  <textarea id='save_comment_<?=$comment_id?>' style='display:none;'><?=get_text($list[$i][content1], 0)?></textarea>
</div>


<div style="clear:both;">
<!-- 댓글쓰기 양식 -->
<span id=list_write style='display:inline; width:100%;'>
<form name="fwrite" method="post" action="./write_comment_update.php" onsubmit="return fwrite_check(this);" autocomplete="off">
<input type=hidden name=w          value="c" id="list_w">
<input type=hidden name=bo_table  value="<?=$bo_table?>">
<input type=hidden name=wr_id      value="<?=$wr_id?>" id="list_id">
<input type=hidden name=page      value="<?=$page?>">
<input type=hidden name=wr_subject value="<?=$subject?>">
<input type=hidden name=comment_id  id='comment_id' value=''>
<input type=hidden name=sca        value='<?=$sca?>' >
<input type=hidden name=sfl        value='<?=$sfl?>' >
<input type=hidden name=stx        value='<?=$stx?>'>
<input type=hidden name=spt        value='<?=$spt?>'>
<input type=hidden name=cwin        value='<?=$cwin?>'>
<input type=hidden name=is_good    value=''>

<table width="<?=$width?>" align="center" cellpadding="5" cellspacing="0"><tr><td align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">

<tr>
<td colspan="2">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td style="padding-right:3px; ">
<?
if (!$is_member) {
    $c_click = "onclick='noMember();'";
    $c_msg = "로그인 후 이용해주세요.";
} else {
    $c_click = "";
}
?>

<textarea class="tx" id="list_content" name="wr_content" <?=$c_click?> onMouseOver="if(!this.value || this.value == '로그인 후 이용해주세요.')this.value='';" itemname="내용"  required style="width:100%; height:50px;padding:6px;"><?=$c_msg?></textarea>
</td>
<td width="60px" valign="bottom" height="100%">
<input type="submit" value="댓글" style="border:0;width:60px;height:100%;background-color:#E1E1E1;color:#000;font-weight:bold;" accesskey='s'>
</td></tr>
</table>
</td>
</tr>

</table>
</td></tr></table>
</form>
</span>
<!-- 댓글쓰기 양식 끝 -->
</div>


<script type="text/javascript">
function noMember()
{
    if (confirm(" 먼저 로그인하셔야 합니다.\n\n 로그인 페이지로 이동하시겠습니까?")) {
        document.location.href = "<?=$g4['bbs_path']?>/login.php?url=<?=$urlencode?>";
    }
}
</script>

</td>
</tr>
</table>
        </td>
    </tr>
<tr><td height="10"></td></tr>
<?} // end?>

    <? if (count($list) == 0) { echo "<tr><td colspan='$colspan' height=100 align=center>게시글이 없습니다.</td></tr>"; } ?>
    </table>
    </form>
</td></tr>
<tr><td height="15"></td></tr>
<tr><td height="1" bgcolor="#dfe2e5"></td></tr>
</table>



<!-- 페이지 -->
<div class="board_page">
    <?=$write_pages?>
</div>

<table width="<?=$width?>" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
    <div class="board_button">
        <div style="float:right;">
        <? if ($list_href) { ?>
        <a href="<?=$list_href?>"><img src="<?=$board_skin_path?>/img/btn_list.gif" align="absmiddle" border='0'></a>
        <? } ?>
        <? if ($is_checkbox) { ?>
        <a href="javascript:select_delete();"><img src="<?=$board_skin_path?>/img/btn_select_delete.gif" align="absmiddle" border='0' /></a>
<a href="javascript:select_copy('copy');"><img src="<?=$board_skin_path?>/img/btn_select_copy.gif" align="absmiddle" border='0' /></a>
<a href="javascript:select_copy('move');"><img src="<?=$board_skin_path?>/img/btn_select_move.gif" align="absmiddle" border='0' /></a>
<a href="<?=$admin_href?>"><img src="<?=$board_skin_path?>/img/btn_admin.gif" border='0' title="admin" align="absmiddle" /></a><?}?>
        </div>
    </div>
</td>
</tr>
</table>

<div style="height:10px; line-height:1px; font-size:1px;">&nbsp;</div>

<table width="366" align="center" cellpadding="0" cellspacing="0" align="center" style="background:url(/images/search_bg.gif) no-repeat 0 0;">
<tr>
  <td height="39">
    <div class="board_search">
<table border="0" cellspacing="0" cellpadding="0" width="310" align="center">
<col width="72" />
<col />
<col width="50" />
<col width="44" />
<tr>
  <td>
  <!--
        <form name="fsearch" method="get">
        <input type="hidden" name="bo_table" value="<?=$bo_table?>">
        <input type="hidden" name="sca"      value="<?=$sca?>">
        <select name="sfl" style="width:70px;">
            <option value="wr_subject">제목</option>
            <option value="wr_content">내용</option>
            <option value="wr_subject||wr_content">제목+내용</option>
            <option value="mb_id,1">회원아이디</option>
            <option value="wr_name,1">글쓴이</option>
        </select></td>
  <td valign="middle"><input name="stx" maxlength="15" style="width:100%; background-color:#FFFFFF;" itemname="검색어" required value='<?=$stx?>'></td>
  <td align="right" valign="middle">
<select name=sop>
            <option value=and>and</option>
            <option value=or>or</option>
        </select></td>
  <td align="right"><input type="image" src="<?=$board_skin_path?>/img/btn_search.gif" style='vertical-align:bottom;' border='0'></td>
</tr>
</form>
-->
</table>
    </div>
  </td>
</tr>
</table>

<div style="height:25px; line-height:1px; font-size:1px;">&nbsp;</div>


<script language="JavaScript">
if ('<?=$sca?>') document.fcategory.sca.value = '<?=$sca?>';
if ('<?=$stx?>') {
    document.fsearch.sfl.value = '<?=$sfl?>';

    if ('<?=$sop?>' == 'and')
        document.fsearch.sop[0].checked = true;

    if ('<?=$sop?>' == 'or')
        document.fsearch.sop[1].checked = true;
} else {
    document.fsearch.sop[0].checked = true;
}
</script>

<? if ($is_checkbox) { ?>
<script language="JavaScript">
function all_checked(sw) {
    var f = document.fboardlist;

    for (var i=0; i<f.length; i++) {
        if (f.elements[i].name == "chk_wr_id[]")
            f.elements[i].checked = sw;
    }
}

function check_confirm(str) {
    var f = document.fboardlist;
    var chk_count = 0;

    for (var i=0; i<f.length; i++) {
        if (f.elements[i].name == "chk_wr_id[]" && f.elements[i].checked)
            chk_count++;
    }

    if (!chk_count) {
        alert(str + "At least 1 or more selected");
        return false;
    }
    return true;
}

// Selected data Delete
function select_delete() {
    var f = document.fboardlist;

    str = "Delete";
    if (!check_confirm(str))
        return;

    if (!confirm("Selected data "+str+"...?\n\nCan not recover "+str+"data"))
        return;

    f.action = "./delete_all.php";
    f.submit();
}

// Selected data copy and move
function select_copy(sw) {
    var f = document.fboardlist;

    if (sw == "copy")
        str = "copy";
    else
        str = "move";
                     
    if (!check_confirm(str))
        return;

    var sub_win = window.open("", "move", "left=50, top=50, width=500, height=550, scrollbars=1");

    f.sw.value = sw;
    f.target = "move";
    f.action = "./move.php";
    f.submit();
}
</script>

<? } ?>

<!-- End board list -->


<script type="text/javascript"> var md5_norobot_key = ''; </script>
<script type="text/javascript">
function imageClick() {
    var url = "<?=$g4[bbs_path]?>/kcaptcha_session.php";
    var para = "";
    var myAjax = new Ajax.Request(
        url,
        {
            method: 'post',
            asynchronous: true,
            parameters: para,
            onComplete: imageClickResult
        });
}

function imageClickResult(req) {
    var result = req.responseText;
    var img = document.createElement("IMG");
    img.setAttribute("src", "<?=$g4[bbs_path]?>/kcaptcha_image.php?t=" + (new Date).getTime());
    document.getElementById('kcaptcha_image').src = img.getAttribute('src');

    md5_norobot_key = result;
}

<? if (!$member[mb_id]) { ?>Event.observe(window, "load", imageClick);<? } ?>

function fwrite_check(f)
{
    var s = "";
<?if(!$member[mb_id]){ ?>   
if (!f.wr_name.value){
    f.wr_name.focus();
    alert("이름이 입력되지 않았습니다.")
    return;
}
<? } ?>   
if (!f.wr_content.value){
    f.wr_content.focus();
    alert("you're trying to say someting with a blank?")
    return;
}

if (s = word_filter_check(f.wr_content.value)) {
            alert("prohbited word:"+s+" included");
            return;
}
<?if(!$member[mb_id]){ ?>
    if (typeof(f.wr_key) != "undefined") {
        if (hex_md5(f.wr_key.value) != md5_norobot_key) {
            alert("put the letters in CAPTCHA image to the right field of the image");
            f.wr_key.focus();
            return;
        }
    }
<? } ?>
    f.action = "./write_comment_update.php";

    return true;
}

var old_id, new_id;
var save_html = document.getElementById('list_write').innerHTML;

function list_box(list_id, work)
{
imageClick();

if (list_id){
        if (work == 'r')
            new_id = 'reply_' + list_id;
        else
            new_id = 'edit_' + list_id;
}
else
        new_id = 'list_write';

if (old_id == new_id) {
var mode = document.getElementById(new_id).style.display;
if (mode == 'inline') {
document.getElementById(new_id).style.display = 'none';
}
else {
document.getElementById(new_id).style.display = 'inline';
}
}
else {
        if (old_id){
            document.getElementById(old_id).style.display = 'none';
        document.getElementById(old_id).innerHTML = '';
        }

        document.getElementById(new_id).style.display = 'inline';
document.getElementById(new_id).innerHTML = save_html;

        if (work == 'u'){
document.getElementById('list_content').value = document.getElementById('save_content_' + list_id).value;
            var commentObj = eval("document.getElementById('comment_" + list_id + "')");

            if(commentObj != null)
if(commentObj.style.display == 'none')  commentObj.style.display = 'inline';

        else
commentObj.style.display = 'none';
        }

        document.getElementById('list_id').value = list_id;
        document.getElementById('list_w').value = 'c';
old_id = new_id;
}
}

list_box('', '');
new_id = 'list_write';
document.getElementById(new_id).style.display = 'none';

function comment_delete(url)
{
    if (confirm("이 코멘트를 삭제하시겠습니까?")) location.href = url;
}

</script>
<? // } // end?>

<?
if (!$member[mb_id])
    echo "<script language='javascript' src='$g4[path]/js/md5.js'></script>\n";

echo "<script language='javascript'> var g4_cf_filter = '$config[cf_filter], '; </script>\n";
echo "<script language='javascript' src='$g4[path]/js/filter.js'></script>\n";
?>
  • 복사

댓글 전체

© SIRSOFT
현재 페이지 제일 처음으로