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

메인 겔러리 최신글 보이게 하고싶은데^^ 채택완료

열공대신 9년 전 조회 4,491

이미지 경로에  } 문자가 뒤에 붙어나옵니다 ㅠㅠ 어디서 붙는지 찾기가 힘드네요..

아시는분 좀알려주세요^^



----------------아래 최신글 스킨 소스 입니다 (mw5-gallery)

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

 

$css_name = "gallery-{$bo_table}-{$rows}-{$subject_len}";

 

$css = "{$latest_skin_url}/style.php?bo_table={$bo_table}&rows={$rows}&subject_len={$subject_len}";

add_stylesheet("");

 

if (function_exists("mw_seo_url"))

    $bo_url = mw_seo_url($bo_table);

else 

    $bo_url = G5_BBS_URL."/board.php?bo_table=".$bo_table;

 

// $thumb = get_list_thumbnail($board['bo_table'], $list[$i]['wr_id'], $board['bo_gallery_width'], $board['bo_gallery_height']);

// mw_get_thumb_path

// function mw_get_thumb_path($bo_table, $wr_id, $file=null, $thumb_number=null)

 

global $g4;

?>

   

   

    echo "

    ";

     

        for ($i=0; $i<$rows; $i++) {

     

            $thumb = mw_get_thumb_path($bo_table, $list[$i]['wr_id']);

            $img = '';

     

            if ($member['mb_id']) {

                $list[$i]['subject'] = str_replace("{닉네임}", $member['mb_nick'], $list[$i]['subject']);

                $list[$i]['subject'] = str_replace("{별명}", $member['mb_nick'], $list[$i]['subject']);

            }

            else {

                $list[$i]['subject'] = str_replace("{닉네임}", "회원", $list[$i]['subject']);

                $list[$i]['subject'] = str_replace("{별명}", "회원", $list[$i]['subject']);

            }

     

            $class = '';

            if ($list[$i]['icon_secret'])

                $class.= "secret";

     

            if ($list[$i]['icon_new'])

                $class.= "new";

     

            if (function_exists("mw_seo_url"))

                $href = mw_seo_url($bo_table, $list[$i]['wr_id']);

            else 

                $href = $list[$i]['href'];

     

            echo "

  • ";

            echo "";

            echo '

    ';

            echo '

    '.$list[$i]['subject']."";

                echo "{$list[$i]['comment_cnt']}";

                echo '

    ';

            echo "";

            echo "

  • \n";

        }

        echo "

";

    ?>

 

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

답변 2개

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

mw_get_thumb_path() 함수내에서 찾아서 수정하세요. 

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

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

함수가 어디에 있는지요^^ } 문자 추가되는 이유를 모르겠네요..

스킨 그냥 수정없이 업로드해서 적용했는데..

 

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

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

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

로그인