최근게시물스킨자료에서 추가하고 싶은게 있습니다.[제목노출] > 그누4 질문답변

그누4 질문답변

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

최근게시물스킨자료에서 추가하고 싶은게 있습니다.[제목노출] 정보

최근게시물스킨자료에서 추가하고 싶은게 있습니다.[제목노출]

본문

http://sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=142693&sca=%EC%B5%9C%EC%8B%A0%EA%B8%80&sfl=wr_subject%7C%7Cwr_content&stx=%EB%B6%88%EB%8B%B9

해당스킨의 주소 입니다.


이 스킨에서 뉴스형으로 최근게시물을 노출시킬때 사진과 함께 나오는 첫번째 게시물도
내용위에 제목이 함께 나오게 하고 싶은데
어찌해야할지 잘 모르겠습니다.
 
도움좀 부탁드립니다. (__)

원제작자님의 소스수정이기에 문제가 된다면 자삭하겠습니다.~

댓글 전체

일부러 제목글은 좀 돋보이게 <b> 속성을 줬습니다.

<?php } else if ($options_value[0] == 'news') { //뉴스형 최신글 ?>
  <?php for ($j = 0; $j < count($list); $j++) {
    $noimg = $latest_skin_path."/img/_noimg.gif";
    $thumb = $thumb_path.'/'.$list[$i][wr_id];
    $file = $list[$j][file][0][path] .'/'. $list[$j][file][0][file];
    if ($list[$j][wr_id]) {
        $thumb = thumbnail($file, $n4_news_width, $n4_news_height, 0, 1, $thumb_quality, 0, "",  $filter, $noimg);
    } 
    if ($edit_img = $list[$j]['wr_content']) {
        if (eregi("data/cheditor4[^<>]*\.(gif|jp[e]?g|png|bmp)", $edit_img, $tmp)) {
            $file = $g4[path].'/' . $tmp[0]; //파일명
            $thumb = thumbnail($file, $n4_news_height, $n4_news_height, 0, 1, $thumb_quality, 0, "",  $filter, $noimg);
    }
    $content = cut_str(strip_tags($list[$j][wr_content]), $options_value[6], '');
  } 
  ?>
  <?php if ($j == 0) { ?>
  <div class="<?php echo $bo_table; ?>_n4_news_wrap">
    <div class="<?php echo $bo_table; ?>_n4_news_view"><a href="<?php echo $list[$j][href]; ?>"><img src="<?php echo $thumb; ?>" width="<?php echo $n4_news_height; ?>" height="<?php echo $n4_news_height; ?>" border="0" alt="" title="" align="left" style="margin-right:10px"></a>
      <a href="<?php echo $list[$j][href]; ?>"><b><?php echo $list[$j][wr_subject]; ?></b></br><?php echo $content; ?></a>
    </div>
  </div>
  <?php } ?>
  <?php } ?>
  <ul style="padding:0 0 5px 0">
    <?php for ($i = 1; $i < count($list); $i++) { ?>
    <li class="n4_list">
    <?php
        echo "<a href='{$list[$i]['href']}'>{$list[$i]['subject']}</a>";
    if ($list[$i]['comment_cnt']) 
        echo "<a href=\"{$list[$i]['comment_href']}\"><span class=\"n4_list_cmt\">{$list[$i]['comment_cnt']}</span></a>";
    if ($list[$i]['icon_new'])
        echo "<span class=\"n4_new\"><img src='{$latest_skin_path}/img/none.gif' width='11' height='18' alt='' title=''></span>";
    if ($options_value[3] == 'on')
        echo "<span class=\"n4_date\">{$list[$i][datetime2]}</span>";
    if ($options_value[1] == 'on') {
        if ($options_value[2] == 'on')
            echo "<span class=\"n4_writer\">{$list[$i][name]}</span>";
        else
            echo "<span class=\"n4_writer\">{$list[$i][wr_name]}</span>";
    }
    ?>
    </li>
    <?php } ?>
  </ul>
전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT