테스트 사이트 - 개발 중인 베타 버전입니다

리스트부분인데 제목 미출력 채택완료

천년만년 4년 전 조회 1,796

리스트 페이지에 제목 부분만 삭제하고싶습니다..... 초보라서

하나하나 삭제하며 확인중인데... 못찾다가.. 이렇게 글 남깁니다 ㅠ

 

list.skin.php

 

 [code]

1  *  * This program is free software; you can redistribute it and/or modify  * it under the terms of the GNU General Public License as published by  * the Free Software Foundation; either version 2 of the License, or  * (at your option) any later version.  *  * This program is distributed in the hope that it will be useful,  * but WITHOUT ANY WARRANTY; without even the implied warranty of  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  * GNU General Public License for more details.  *  * You should have received a copy of the GNU General Public License  * along with this program; if not, write to the Free Software  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA  */

if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가

$mw_is_list = true; $mw_is_view = false; $mw_is_write = false; $mw_is_comment = false;

$list_run_time = get_microtime();

include_once("$board_skin_path/mw.lib/mw.skin.basic.lib.php"); $list_run_time = mw_time_log($list_run_time, "[list] include /mw.lib/mw.skin.basic.lib.php");

if ($board['bo_use_list_view'] && $wr_id) {     include($board_skin_path.'/mw.proc/mw.seo.php');     $list_run_time = mw_time_log($list_run_time, "[list] include /mw.proc/mw.seo.php"); }

if (is_g5()) add_stylesheet("");

mw_bomb(); $list_run_time = mw_time_log($list_run_time, "[list] mw_bomb()");

// 실명인증 & 성인인증 if ($mw_basic[cf_kcb_list] && !is_okname()) {     check_okname();     $list_run_time = mw_time_log($list_run_time, "[list] check_okname()");     return; }

// 컨텐츠샵 멤버쉽 if (function_exists("mw_cash_is_membership")) {     $is_membership = @mw_cash_is_membership($member[mb_id], $bo_table, "mp_list");     if ($is_membership == "no")         ;     else if ($is_membership != "ok")         mw_cash_alert_membership($is_membership);         //alert("$is_membership 회원만 이용 가능합니다.");     $list_run_time = mw_time_log($list_run_time, "[list] mw_cash_is_membership"); }

// 지업로더로 업로드한 파일 // 하루지난 데이터 삭제 (글작성 완료되지 않은..) if ($mw_basic[cf_guploader]) {     $gup_old = date("Y-m-d H:i:s", $g4[server_time] - 86400);     $sql = "select * from $mw[guploader_table] where bf_datetime <= '$gup_old'";     $qry = sql_query($sql, false);     while ($row = sql_fetch_array($qry)) {         @unlink("$g4[path]/data/guploader/$row[bf_file]");     }     sql_query("delete from $mw[guploader_table] where bf_datetime <= '$gup_old'", false);     $list_run_time = mw_time_log($list_run_time, "[list] guploader delete files.."); }

// 카테고리 $is_category = false; if ($board[bo_use_category])  {     $is_category = true;     $category_location = mw_seo_url($bo_table, 0, "&sca=");     $category_option = mw_get_category_option($bo_table); // SELECT OPTION 태그로 넘겨받음

    if ($mw_basic[cf_default_category] && !$sca) $sca = $mw_basic[cf_default_category]; }

// page 변수 중복 제거 $qstr = preg_replace("/&page=([0-9]+)?/", "", $qstr); $qstr = preg_replace("/&page=([0-9]+)?/", "", $qstr); $qstr = preg_replace("/amp;/", "", $qstr); $qstr = preg_replace("/&/", "&", $qstr);

if (is_g5())  {     $page_url = mw_seo_url($bo_table, 0, $qstr);     if (!$qstr)         $page_url.= '?'; } else {     $page_url = mw_seo_url($bo_table, 0, $qstr."&page="); }

$write_pages = get_paging($config[cf_write_pages], $page, $total_page, $page_url);

// 이전,다음 검색시 페이지 번호 제거 $prev_part_href = preg_replace("/(\&page=.*)/", "", $prev_part_href); $next_part_href = preg_replace("/(\&page=.*)/", "", $next_part_href);

// 1:1 게시판 if ($mw_basic[cf_attribute] == "1:1" && !$is_admin) {     require("$board_skin_path/mw.proc/mw.list.1n1.php");     $list_run_time = mw_time_log($list_run_time, "[list] require /mw.proc/mw.list.1n1.php"); }

// 익명 게시판 if ($mw_basic[cf_attribute] == "anonymous") {     if (strstr($sfl, "mb_id") || strstr($sfl, "wr_name")) {         alert("익명게시판에서는 회원아이디 또는 이름으로 검색하실 수 없습니다.");     } }

if ($mw_basic[cf_anonymous]) {     if (strstr($sfl, "mb_id") || strstr($sfl, "wr_name")) {         alert("익명작성이 가능한 게시판에서는 회원아이디 또는 이름으로 검색하실 수 없습니다.");     } }

if ($mw_basic['cf_search_name'] > $member['mb_level']) {     if (strstr($sfl, "mb_id") || strstr($sfl, "wr_name")) {         alert("회원아이디 또는 이름으로 검색하실 수 없습니다.");     } }

// 글쓰기 버튼에 분류저장 if ($sca && $write_href)     $write_href .= "&sca=".urlencode($sca);

// 글쓰기 버튼 공지 if ($write_href && $mw_basic[cf_write_notice]) {     $write_href = "javascript:btn_write_notice('$write_href');"; }

// 선택옵션으로 인해 셀합치기가 가변적으로 변함 $colspan = 5; if ($is_category) $colspan++; if ($is_checkbox) $colspan++; if ($is_good) $colspan++; if ($is_nogood) $colspan++; if ($mw_basic[cf_reward]) $colspan+=3; if ($mw_basic[cf_contents_shop]) $colspan++; if ($mw_basic[cf_type] == "thumb") $colspan++; if ($mw_basic[cf_type] == "gall") $colspan = $board[bo_gallery_cols]; else if ($mw_basic[cf_attribute] == "qna") $colspan += 2;

// 목록 셔플 if ($mw_basic[cf_list_shuffle]) { // 공지사항 제외 처리     $tmp_notice = array();     $tmp_list = array();     for ($i=0, $m=sizeof($list); $i<$m; $i++) {         if ($list[$i][is_notice])             $tmp_notice[] = $list[$i];         else             $tmp_list[] = $list[$i];     }     shuffle($tmp_list);     $list = array_merge($tmp_notice, $tmp_list); }

$list_count = sizeof($list);

$list_id = array(); for ($i=0; $i<$list_count; $i++) { $list_id[] = $list[$i][wr_id]; }

// 설문 아이콘 표시용 $vote_id = array(); if ($mw_basic[cf_vote] && $list_count) {     $sql = "select wr_id, vt_id from $mw[vote_table] where bo_table = '$bo_table' and wr_id in (".implode(',', $list_id).")";     $qry = sql_query($sql);     while ($row = sql_fetch_array($qry)) {         $vote_id[] = $row[wr_id];         // 잘못된 설문 db 보완         $row2 = sql_fetch("select count(*) as cnt from $mw[vote_item_table] where vt_id = '$row[vt_id]'");         if (!$row2[cnt])             sql_query("delete from $mw[vote_table] where vt_id = '$row[vt_id]'");     }     $list_run_time = mw_time_log($list_run_time, "[list] vote icon and db check"); }

// 퀴즈 아이콘 표시용 $quiz_id = array(); if ($mw_basic[cf_quiz] && $mw_quiz && $list_count) {     $sql = "select wr_id, qz_id from $mw_quiz[quiz_table] where bo_table = '$bo_table' and wr_id in (".implode(',', $list_id).")";     $qry = sql_query($sql, false);     while ($row = sql_fetch_array($qry)) {         $quiz_id[] = $row[wr_id];     }     $list_run_time = mw_time_log($list_run_time, "[list] quiz icon "); }

// 자폭 아이콘 표시용 $bomb_id = array(); if ($mw_basic[cf_bomb_level] && $list_count) {     $sql = "select wr_id from $mw[bomb_table] where bo_table = '$bo_table' and wr_id in (".implode(',', $list_id).")";     $qry = sql_query($sql, false);     while ($row = sql_fetch_array($qry)) {         $bomb_id[] = $row[wr_id];     }     $list_run_time = mw_time_log($list_run_time, "[list] bomb icon "); }

$new_time = date("Y-m-d H:i:s", $g4[server_time] - ($board[bo_new] * 3600)); $row = sql_fetch(" select count(*) as cnt from $write_table where wr_is_comment = 0 and wr_datetime >= '$new_time' "); $new_count = $row[cnt]; $list_run_time = mw_time_log($list_run_time, "[list] new_count");

// 제목이 두줄로 표시되는 경우 이 코드를 사용해 보세요. // 제목 if (is_reaction_test()) echo ''; ?>

" type="text/css">                                                                                

if ($mw_basic['cf_bbs_banner']) {     include_once("$bbs_banner_path/list.skin.php"); // 게시판 배너     $list_run_time = mw_time_log($list_run_time, "[list] bbs_banner_path/list.skin.php"); }

include_once("$board_skin_path/mw.proc/mw.list.hot.skin.php"); $list_run_time = mw_time_log($list_run_time, "[list] /mw.proc/mw.list.hot.skin.php"); ?>

       
       
                                                       

           

           

if ($is_category && $mw_basic[cf_category_tab]) {     $category_list = array_map("trim", explode("|", $board[bo_category_list]));     if ($mw_basic['cf_ca_order']) {         sort($category_list);     } ?>

        전체";         ++$i;         ++$m;     }     //for ($m=sizeof($category_list); $i<$m; ++$i) {     foreach ($category_list as $cate) {         echo "";         echo $cate."";

            if ($m>=$p && $i++%$l==0 && $i<=$m) echo "

    ";     }     //$rest = $l-(($i-1)%$l);     $rest = ceil(($i-1)/$l)*$l-($i-1);     if ($rest > 0 and $m >= $p) {         for ($z=0; $z<$rest; ++$z) {             echo "
  •  
  • \n";         }     }     ?>

                                                                             

$list[$i] = mw_list_icon($list[$i]);

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

if ($mw_basic[cf_include_list_main] && is_mw_file($mw_basic[cf_include_list_main])) {     include($mw_basic[cf_include_list_main]); }

mw_basic_move_cate($bo_table, $list[$i][wr_id]); $list_run_time = mw_time_log($list_run_time, "[list] mw_basic_move_cate()");

$reply = $list[$i]['wr_reply'];

$list[$i]['reply'] = ""; if (strlen($reply) > 0) {     for ($k=0; $k

$ca_color = ''; if ($sca && $mw_category) {     $ca_color = $mw_category['ca_color']; } else {     if (!$mw_category_list[$list[$i]['ca_name']])         $mw_category_list[$list[$i]['ca_name']] = mw_category_info($list[$i]['ca_name']);

    $ca_color = $mw_category_list[$list[$i]['ca_name']]['ca_color']; }

$ca_color_style = ''; if ($ca_color)     $ca_color_style = " style='color:#{$ca_color}' ";

// 댓글감춤 if ($list[$i][wr_comment_hide])     $list[$i][comment_cnt] = 0;

// 호칭 $list[$i][name] = get_name_title($list[$i][name], $list[$i][wr_name]); $list[$i][name] = mw_sideview($list[$i][name]);

$list[$i]['subject'] = $list[$i]['wr_subject']; $list[$i]['subject'] = mw_reg_str($list[$i]['subject']); $list[$i]['subject'] = bc_code($list[$i]['subject'], 0); $list[$i]['subject'] = conv_subject($list[$i]['subject'], $board['bo_subject_len'], "…"); if (strstr($sfl, 'subject')) {     $list[$i]['subject'] = search_font($stx, $list[$i]['subject']); }

// 멤버쉽 아이콘 if (function_exists("mw_cash_membership_icon") && $list[$i][mb_id] != $config[cf_admin]) {     if (!in_array($list[$i][mb_id], $mw_membership)) {         $mw_membership[] = $list[$i][mb_id];         $mw_membership_icon[$list[$i][mb_id]] = mw_cash_membership_icon($list[$i][mb_id]);         $list[$i][name] = $mw_membership_icon[$list[$i][mb_id]].$list[$i][name];     }     else {         $list[$i][name] = $mw_membership_icon[$list[$i][mb_id]].$list[$i][name];     }     $list_run_time = mw_time_log($list_run_time, "[list] mw_cash_membership_icon()"); }

// 익명 if ($list[$i][wr_anonymous] or $mw_basic[cf_attribute] == "anonymous") {     $list[$i][name] = "익명";     $list[$i][wr_name] = $list[$i][name]; }

// 공지사항 상단 if ($mw_basic[cf_notice_top] && $mw_basic[cf_type] != 'gall') {     if ($list[$i][is_notice]) continue;     if (in_array($list[$i][wr_id], $notice_list) && !$stx) continue; }

// 리워드 if ($mw_basic[cf_reward]) {     $reward = sql_fetch("select * from $mw[reward_table] where bo_table = '$bo_table' and wr_id = '{$list[$i][wr_id]}'");     if ($reward[re_edate] != "0000-00-00" && $reward[re_edate] < $g4[time_ymd]) { // 날짜 지나면 종료         sql_query("update $mw[reward_table] set re_status = '' where bo_table = '$bo_table' and wr_id = '{$list[$i][wr_id]}'");         $reward[re_status] = '';     }     if ($reward[re_edate] == "0000-00-00")         $reward[edate] = " ";     else         $reward[edate] = substr($reward[re_edate], 5, 5);     $list_run_time = mw_time_log($list_run_time, "[list] reward"); }

// 컨텐츠샵 $mw_price = ""; if ($mw_basic[cf_contents_shop]) {     if ($list[$i][is_notice])         $mw_price = ' ';     elseif (!$list[$i][wr_contents_price])     $mw_price = "무료";     else     $mw_price = number_format($list[$i][wr_contents_price]).$mw_cash[cf_cash_unit]; }

$list[$i] = mw_list_link($list[$i]);

// sns식 날짜표시 if ($mw_basic[cf_sns_datetime]) {     $list[$i][datetime2] = "".mw_basic_sns_date($list[$i][wr_datetime]).""; }

if ($mw_basic['cf_time_list'])     $list[$i]['datetime2'] = mw_get_date($list[$i]['wr_datetime'], $mw_basic['cf_time_list']);

// 공지사항 출력 항목 if ($mw_basic[cf_post_name]) $list[$i][name] = ""; if ($mw_basic[cf_post_date]) $list[$i][datetime2] = ""; if ($mw_basic[cf_post_hit]) $list[$i][wr_hit] = "";

if ($list[$i][is_notice]) {     if ($mw_basic[cf_notice_name]) $list[$i][name] = "";     if ($mw_basic[cf_notice_date]) $list[$i][datetime2] = "";     if ($mw_basic[cf_notice_hit]) $list[$i][wr_hit] = "";     if ($mw_basic[cf_notice_good]) $list[$i][wr_good] = "";     if ($mw_basic[cf_notice_good]) $list[$i][wr_nogood] = ""; }

// 조회수, 추천수, 글번호에 세자리마다 컴마, 사용 if ($mw_basic[cf_comma]) {     $list[$i][num] = @number_format($list[$i][num]);     $list[$i][wr_hit] = @number_format($list[$i][wr_hit]);     $list[$i][wr_good] = @number_format($list[$i][wr_good]);     $list[$i][wr_nogood] = @number_format($list[$i][wr_nogood]); }

// 신고된 게시물 $is_singo = false; if ($list[$i][wr_singo] && $list[$i][wr_singo] >= $mw_basic[cf_singo_number] && $mw_basic[cf_singo_write_block]) {     $list[$i][subject] = "신고가 접수된 게시물입니다.";     $is_singo = true; }

// 보기차단 게시물 if ($list[$i]['wr_view_block']) {     $list[$i][subject] = "보기가 차단된 게시물입니다."; }

// 게시물 아이콘 $write_icon = mw_write_icon($list[$i]);

// 썸네일 $thumb_file = mw_thumb_jpg($thumb_path.'/'.$list[$i]['wr_id']); $thumb2_file = mw_thumb_jpg($thumb2_path.'/'.$list[$i]['wr_id']); $thumb3_file = mw_thumb_jpg($thumb3_path.'/'.$list[$i]['wr_id']); $thumb4_file = mw_thumb_jpg($thumb4_path.'/'.$list[$i]['wr_id']); $thumb5_file = mw_thumb_jpg($thumb5_path.'/'.$list[$i]['wr_id']);

$set_width = $mw_basic[cf_thumb_width]; $set_height = $mw_basic[cf_thumb_height];

if (!$wr_id && !is_mw_file($thumb_file)) {     $is_thumb = mw_make_thumbnail_row($bo_table, $list[$i]['wr_id'], $list[$i]['wr_content']);     $list_run_time = mw_time_log($list_run_time, "[list] mw_make_thumbnail_row");

    if (!is_mw_file($thumb_file)) {         /*         if (preg_match("/youtu/i", $list[$i]['link'][1])) mw_get_youtube_thumb($list[$i]['wr_id'], $list[$i]['link'][1]);         else if (preg_match("/youtu/i", $list[$i]['link'][2])) mw_get_youtube_thumb($list[$i]['wr_id'], $list[$i]['link'][2]);         else if (preg_match("/vimeo/i", $list[$i]['link'][1])) mw_get_vimeo_thumb($list[$i]['wr_id'], $list[$i]['link'][1]);         else if (preg_match("/vimeo/i", $list[$i]['link'][2])) mw_get_vimeo_thumb($list[$i]['wr_id'], $list[$i]['link'][2]);         else {             $pt = mw_youtube_pattern($list[$i]['wr_content']);             if ($pt) {                 preg_match($pt, $list[$i]['wr_content'], $mat);                 mw_get_youtube_thumb($list[$i]['wr_id'], $mat[1]);             }             else {                 $pt = mw_vimeo_pattern($list[$i]['wr_content']);                 if ($pt) {                     preg_match($pt, $list[$i]['wr_content'], $mat);                     mw_get_vimeo_thumb($list[$i]['wr_id'], $mat[1]);                 }             }         }         $list_run_time = mw_time_log($list_run_time, "[list] youtube or vimeo");         */     } } else {     $thumb_size = @getimagesize($thumb_file);

    $set_width = $mw_basic[cf_thumb_width];     $set_height = $mw_basic[cf_thumb_height];

    if ($mw_basic[cf_thumb_keep]) {         //$size = @getimagesize($thumb_file);         $size = mw_thumbnail_keep($thumb_size, $set_width, $set_height);         $set_width = $size[0];         $set_height = $size[1];     }

    if ($thumb_size[0]) {         if ($thumb_size[0] != $set_width || $thumb_size[1] != $set_height) {             thumb_log($thumb_file, 'list-resize');             mw_make_thumbnail($mw_basic[cf_thumb_width], $mw_basic[cf_thumb_height],                 $thumb_file, $thumb_file, $mw_basic[cf_thumb_keep], $list[$i]['wr_datetime']);             $list_run_time = mw_time_log($list_run_time, "[list] resize thumbnail");         }     } }

if ($mw_basic[cf_social_commerce]) {     $a = include("$social_commerce_path/list.skin.php");         if (!$a) continue;     $list_run_time = mw_time_log($list_run_time, "[list] include /social_commerce/list.skin.php"); } else if ($mw_basic[cf_talent_market]) {     $a = include("$talent_market_path/list.skin.php");         if (!$a) continue;     $list_run_time = mw_time_log($list_run_time, "[list] include /talent_marekt/list.skin.php"); } else if ($mw_basic[cf_type] == "gall" && $mw_basic[cf_contents_shop]) {     $a = include("{$mw_cash['path']}/list.skin.php");         if (!$a) continue;     $list_run_time = mw_time_log($list_run_time, "[list] include /cybercash/list.skin.php"); } else if ($mw_basic[cf_type] == "gall" && $mw_basic[cf_reward]) {     $a = include("{$reward_path}/list.skin.php");         if (!$a) continue;     $list_run_time = mw_time_log($list_run_time, "[list] include /reward/list.skin.php"); } else if ($mw_basic[cf_type] == "gall") {     if (!is_g5() and $list[$i][is_notice]) continue;     if (is_g5()) {         include_once(G5_LIB_PATH.'/thumbnail.lib.php');         $thumb = get_list_thumbnail($board['bo_table'], $list[$i]['wr_id'], $board['bo_gallery_width'], $board['bo_gallery_height']);     }

    $is_lock_thumb = false;     if (!is_mw_file($thumb_file)) {         if ($list[$i]['file'][0]['view'])             $thumb_file = $list[$i]['file'][0]['path'].'/'.$list[$i]['file'][0]['file'];         if (!is_mw_file($thumb_file))             $thumb_file = mw_get_noimage();         $thumb_width = "width='$mw_basic[cf_thumb_width]'";         $thumb_height = "height='$mw_basic[cf_thumb_height]'";     }     else if ($list[$i][icon_secret] || $list[$i][is_secret] || $list[$i][wr_view_block] || $list[$i][wr_key_password]) {         $thumb_file = $board_skin_path.'/img/lock.png';         $thumb_width = "width='$mw_basic[cf_thumb_width]'";         $thumb_height = "height='$mw_basic[cf_thumb_height]'";         $is_lock_thumb = true;     }     else {         $thumb_width = "";         $thumb_height = "";     }

    $style = "";     $class = "";     if ($list[$i][is_notice]) $style = " class=mw_basic_list_notice";

    if ($wr_id == $list[$i][wr_id]) { // 현재위치         $style = " class=mw_basic_list_num_select";         $class = " select";     }

    $td_width = (int)(100 / $board[bo_gallery_cols]);

    // 제목스타일     if ($mw_basic[cf_subject_style]) {         $style .= " style='font-family:{$list[$i][wr_subject_font]}; ";         if ($list[$i][wr_subject_color] && $wr_id != $list[$i]['wr_id'])             $style .= " color:{$list[$i][wr_subject_color]}";

        if ($list[$i][wr_subject_bold]) {             $style .= "; font-weight:bold; ";         }         $style .= " '";     }

    $list[$i][subject] = "{$list[$i][subject]}";

    $is_notice_thumb = '';     if (is_notice($list[$i]['wr_id']) && $thumb_file == mw_get_noimage()) {         $thumb_file = $board_skin_path.'/img/notice.png';         $is_notice_thumb = true;     }

    //if (($line_number+1)%$colspan==1) echo "

";     if (!$line_number) echo ""; ?>     "; ?>

>

           

   

           

   

    {$list[$i][ca_name]}";     }     ?>            

   

       

   

       

height=1 class=mw_basic_line_color>
번호분류 글쓴이 이미지 제목충전 마감 상태 글쓴이 상태 포인트 날짜 추천비추천조회
height=1 class=mw_basic_line_color>
height=3 style="background-color:#efefef;">
height=3 style="">
height=10>
"; ?>    

       

               

       

       

                                                                         
                               
                                   
               

                                 

                                   
               

               

                   
"; } ?>                                                                                                                            

                               

                                   
                           

               

                   
               

               

                     

                                                                                                                       

                               

                                   
                                   
               

           

   

        '; ?>     '; ?>     = $list_count) echo "

       

        if ($list[$i]['is_notice']) // 공지사항             echo "";         else if ($wr_id == $list[$i]['wr_id']) // 현재위치             echo "";         else if ($list[$i]['icon_new'])             echo "{$list[$i]['num']}";         else // 일반             echo "{$list[$i]['num']}";         ?>    

"; } ?>

                               

            if (is_notice($list[$i]['wr_id']) && $thumb_file == mw_get_noimage())                 $thumb_file = $board_skin_path.'/img/notice.png';

            echo "

";             if ($list[$i][icon_new])                 echo "
";             echo "
";             echo "
\n";         }         if ($mw_basic[cf_type] == "desc") {             echo "
\n";         }         echo $list[$i][reply];         echo $list[$i][icon_reply];         if ($is_category && $list[$i][ca_name]) {             //echo "[{$list[$i][ca_name]}] ";         }

        if ($mw_basic[cf_read_level] && $list[$i][wr_read_level])             echo "[{$list[$i][wr_read_level]}레벨] ";

        $style = "";         if ($list[$i][is_notice]) $style = " class=mw_basic_list_notice";

        if ($wr_id == $list[$i][wr_id]) // 현재위치             $style = " class=mw_basic_list_num_select";

        //if ($mw_basic[cf_type] == "list") {         echo $write_icon;         //}         if (!$mw_basic[cf_subject_link] || $board[bo_read_level] <= $member[mb_level]) {             if (!$mw_basic[cf_board_member] || ($mw_basic[cf_board_member] && $mw_basic[cf_board_member_view]) || $mw_is_board_member || $is_admin) {                 echo "";             }         }

        // 제목스타일         if ($mw_basic[cf_subject_style]) {             $style .= " style='font-family:{$list[$i][wr_subject_font]}; ";             if ($list[$i][wr_subject_color] && $wr_id != $list[$i]['wr_id'])                 $style .= " color:{$list[$i][wr_subject_color]}";

            if ($list[$i][wr_subject_bold])                 $style .= "; font-weight:bold; ";             $style .= " '";         }

        if ($wr_id == $list[$i]['wr_id'])             $list[$i][subject] = "{$list[$i]['subject']}";

        echo "{$list[$i][subject]}\n";

        if ($list[$i][comment_cnt])             //echo " {$list[$i][comment_cnt]}";             //echo " {$list[$i][comment_cnt]}";             echo " {$list[$i][wr_comment]}";

        echo " " . $list[$i][icon_update];         echo " " . $list[$i][icon_new];         echo " " . $list[$i][icon_file];         echo "

댓글을 작성하려면 로그인이 필요합니다.

답변 2개

채택된 답변
+20 포인트
4년 전

$list[$i][subject] = "{$list[$i][subject]}";

->

$list[$i][subject] = "{$list[$i][subject]}";

$list[$i][subject] = "";

로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

길다... 허허

 

개발자도구 등을 활용해서 페이지소스를 보면서 찾는 연습을 해보세요.

 

실제 페이지를 보지 않아서 모르겠습니다만

 

758줄 근처

<div class="gall_subject" style="width:<?=$mw_basic[cf_thumb_width]?>px;">

    <div><a href="<?=$list[$i][href]?>"><?=$list[$i][subject]?></a></div>

</div></p>

<p>

919줄 근처

echo "<span class='media-list-subject'{$style}>{$list[$i][subject]}</span></a>\n";</p>

<p>

 

확인해 보세요.

로그인 후 평가할 수 있습니다

답변에 대한 댓글 1개

천년만년
4년 전
echo "<span class='media-list-subject'{$style}>{$list[$i][subject]}</span></a>\n"; 이부분맞네요 감사합니다 ㅠㅠ

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인

© 2025 SIRSOFT. All rights reserved.