댓글 색상을 바꾸고싶은데 아무리 수정해도 안됩니다..ㅠㅠㅠ

댓글 색상을 바꾸고싶은데 아무리 수정해도 안됩니다..ㅠㅠㅠ

QA

댓글 색상을 바꾸고싶은데 아무리 수정해도 안됩니다..ㅠㅠㅠ

답변 1

본문

8caf18ebc2acded4befdb2d783fd95a5_1410059655_5569.png


스킨게시판에 있는 이끌림님께서 편집하신 스킨인데..상단의 캡쳐에 빨간색으로 감싼 리플란의 댓글색과 크기를 조정하거나 저 빨간 색으로 칠해놓은분을 다른색으로 만들고 싶은데 list.skin를 아무리 건드려봐도 반응이 없더라구요ㅠㅠㅠㅠ 혹시 해결할수있는 팁을 알고계신분이 계신지요?ㅠㅠ

 

혹시나해서 밑에 list.skin소스올려봅니다.

 

<? 

// 선택옵션으로 인해 셀합치기가 가변적으로 변함
$colspan = 3;

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

if($is_admin) set_session("ss_delete_token", $token = uniqid(time()));
// 제목이 두줄로 표시되는 경우 이 코드를 사용해 보세요.
// <nobr style='display:block; overflow:hidden; width:000px;'>제목</nobr>
?>
<style>
/* 컬러 */
.color_fff { color:#ffffff; }
.color_ccc { color:#cccccc; }
.color_aaa { color:#aaaaaa; }
.color_999 { color:#000000; }
.color_666 { color:#666666; }
.color_333 { color:#333333; }
.t7 { font-family:Tahoma; font-size:7pt; }
.v7 { font-family:verdana; font-size:7pt; }
.small { font-size:11px; font-family:tahoma; }


.input{background-color:transparent; border:1 solid #eeeeee; border-bottom-width:1; border-left-width:1; border-right-width:0; border-top-width:1; height:21}
.submit {border:0;font-family:tahoma;font-size:7pt;background-color:transparent;height:18px}
.en {font-family:tahoma;font-size:7pt}
.end {font-family:tahoma;font-size:7pt; color=#777777;}


/* 게시판용 */
.notice { color:#99AACC; }
.color_point { color:#868686; }
.font_point { color:#000000; }
.td_color { background-color:#CCD8D7; }
.line { background-color:#eeeeee; }
.span_bg { background-color:#CCCCCC; }
</style>
<table width="<?=$width?>" align="center" cellpadding="0" cellspacing="0">
 <tr><td height="10"></td></tr>
 <? if ($write_href) { ?>
   <tr>
     <td align="center" style="padding:7px 0px 25px 0px;"><? include ("$board_skin_path/write.skin.php"); ?></td>
   </tr>
 <? } ?>
 <tr><td height="1" class="line"></td></tr>
 <tr>
  <td align="center">
   <!-- 게시물 리스트 시작 -->
   <?
    $lists = array();
    for ($i=0; $i<count($list); $i++) {
    $lists[$i] = $list[$i];
    }
   ?>
   <? for ($ii=0; $ii < count($lists); $ii++) {
    $profile = get_member($lists[$ii][mb_id]);
    include "$board_skin_path/inc.list_main.php";

    if ($lists[$ii][wr_1] == "")
     $lists[$ii][wr_1] = "1.gif";
    $lists[$ii][datetime]=substr($lists[$ii][wr_datetime],0,4)."/".substr($lists[$ii][wr_datetime],5,2)."/".substr($lists[$ii][wr_datetime],8,2)." (".substr($lists[$ii][wr_datetime],11,8).")";
    //$lists[$ii][date]=date("Y-m-d H:i:s", $lists[$ii][wr_datetime]) ;
   ?>

   <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
     <td align="center">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <form name="fboardlist" method="post" action="" style="margin:0">
      <input type="hidden" name="bo_table" value="<?=$bo_table?>">
      <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="page"     value="<?=$page?>">
      <input type="hidden" name="sw"       value="">
       <tr>
              <td height="50" style="padding-left:6px;" bgcolor=f8f8f8 class=small>
                     <img src="<?=$board_skin_path?>/img/list.gif" align="absmiddle">
               <?=$lists[$ii][name]?></td>
         <td bgcolor=f8f8f8  class=end align=right>
          <? if($is_admin || $lists[$ii][comment_cnt]) { ?><? if($is_admin) { ?>
          <a href="javascript:comment_wri('comment_write', '<?=$lists[$ii][wr_id]?>');"><? } ?><? if($lists[$ii][comment_cnt]) { ?>reply
         <? } else { ?>reply <? } ?><? if($is_admin) { ?></a><? } ?>
                  <? } ?>
            <? if(($member[mb_id] && ($member[mb_id] == $lists[$ii][mb_id])) || $is_admin) { ?>
              <font color=cccccc class=end>|<font> <a href="<?=$update_href?>">mod </a><font color=cccccc>|<font>
             <a href="<?=$delete_href?>">del    </a>
            <? } else if (!$lists[$ii][mb_id]) { ?>
             <a href="<?=$delete_href?>">del    </a>
            <? } ?>
         </td>
         </tr>
         <tr><td height="1" class="line" colspan=2></td></tr>
       <tr>
        <td style="padding:4px; padding-left:12px;padding-top:12px;" colspan=2>
         <? echo nl2br(url_auto_link($lists[$ii][wr_content])); ?><? echo $secret_msg; ?>
        </td>
       </tr>
       <tr>
           <td height="20" align="right" style="padding-right:4px;" class="en" colspan=2>
                       <span class="color_999"><?=$lists[$ii][datetime]?></span>
           </td>
          </tr>
      </form>
       <tr>
        <td valign="top" align="right" colspan=2>
         <!-- 게시물 내용 보기 끝 -->
       
<?
          $wr_id = $lists[$ii][wr_id];
          include ("$board_skin_path/view_comment.php");
         ?>
        </td>
       </tr>
      </table>
     </td>
    </tr>
    <? if ($ii+1 < count($lists)) { //마지막 라인 생략?>
    <tr><td height="10"></td></tr>
    <tr><td height="1" class="line"></td></tr>
    <? } ?>
   </table>
   <?
   }
   // 필터
   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";

   if (!$member[mb_id]) // 비회원일 경우에만
    echo "<script language='javascript' src='$g4[path]/js/md5.js'></script>\n";
   ?>
    
   <? if (count($lists) == 0) { echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'><tr><td align=center colspan='2' height=100 class='small'>방문 흔적이 없습니다.</td></tr></table>"; } ?>

   <!-- 페이지 -->
   <table width="100%" cellspacing="0" cellpadding="0">
   <tr><td height="1" colspan="2" class="line"></td></tr>
   <tr>
       <td width="40%" height="18" class="v7 color_999">
        <? if ($list_href) { ?> <a href="<?=$list_href?>">list</a><? } ?><? if ($admin_href) { ?><a href="<?=$admin_href?>"> *</a><?}?>
       </td>
       <td width="60%" align="right" valign=bottom height="30">
    <!-- 버튼 링크 -->
    <form name=fsearch method=get style="margin:0px;">
    <input type=hidden name=bo_table value="<?=$bo_table?>">
    <input type=hidden name=sca      value="<?=$sca?>">
               <input type="hidden" name=sfl class=input value='wr_subject||wr_content'><input type="hidden" name=sop value="and">
      <input name=stx maxlength=15  class=input  size=23 itemname="검색어" required value="<?=$stx?>" class="ed"><input type=image src="<?=$board_skin_path?>/img/search.gif" border=0 align=absmiddle></td>
    </form>
   </tr>
   </table>
   <table width=100% cellpadding=0 cellspacing=0>
   <tr>
       <td width="100%" height="30" align="center">
     <? if ($prev_part_href) { echo "<a href='$prev_part_href'><img src='$board_skin_path/img/btn_search_prev.gif' border=0 align=absmiddle title='이전검색'></a>"; } ?>
           <?
           // 기본으로 넘어오는 페이지를 아래와 같이 변환하여 이미지로도 출력할 수 있습니다.
           //echo $write_pages;
           $write_pages = str_replace("처음", "<<", $write_pages);
           $write_pages = str_replace("이전", "Prev", $write_pages);
           $write_pages = str_replace("다음", "Next", $write_pages);
           $write_pages = str_replace("맨끝", ">>", $write_pages);
           $write_pages = preg_replace("/<span>([0-9]*)<\/span>/", "$1", $write_pages);
           $write_pages = preg_replace("/<b>([0-9]*)<\/b>/", "<b><font class=\"color_gold2\">$1</font></b>", $write_pages);
           ?>
           <?=$write_pages?>
           <? if ($next_part_href) { echo "<a href='$next_part_href'><img src='$board_skin_path/img/btn_search_next.gif' border=0 align=absmiddle title='다음검색'></a>"; } ?>
       </td>
   </tr>
   </table>

  </td>
 </tr>
</table>

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

<script language="JavaScript">
// HTML 로 넘어온 <img ... > 태그의 폭이 테이블폭보다 크다면 테이블폭을 적용한다.
function resize_image()
{
    var target = document.getElementsByName('target_resize_image[]');
    var image_width = parseInt('<?=$board[bo_image_width]?>');
    var image_height = 0;

    for(i=0; i<target.length; i++) {
        // 원래 사이즈를 저장해 놓는다
        target[i].tmp_width  = target[i].width;
        target[i].tmp_height = target[i].height;
        // 이미지 폭이 테이블 폭보다 크다면 테이블폭에 맞춘다
        if(target[i].width > image_width) {
            image_height = parseFloat(target[i].width / target[i].height)
            target[i].width = image_width;
            target[i].height = parseInt(image_width / image_height);
        }
    }
}

window.onload = resize_image;
</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 + "할 게시물을 하나 이상 선택하세요.");
        return false;
    }
    return true;
}

// 선택한 게시물 삭제
function select_delete()
{
    var f = document.fboardlist;

    str = "삭제";
    if (!check_confirm(str))
        return;

    if (!confirm("선택한 게시물을 정말 "+str+" 하시겠습니까?\n\n한번 "+str+"한 자료는 복구할 수 없습니다"))
        return;

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

// 선택한 게시물 복사 및 이동
function select_copy(sw)
{
    var f = document.fboardlist;

    if (sw == "copy")
        str = "복사";
    else
        str = "이동";

    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>
<? } ?>

 

이 질문에 댓글 쓰기 :

답변 1

view_comment.skin.php 파일을 수정해 보세요 

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 125,873
© SIRSOFT
현재 페이지 제일 처음으로