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

최신글 이미지 출력이요~ 채택완료

버지니아 10년 전 조회 3,602

기존 g4게시판을 g5로 변경했는데요.

스킨 받아서 g4에서 사용할때는 별 이상없이 잘나왔었거든요;;

g5로 바꾸고 언어셋도 utf-8로 바꿨는데... ㅠㅠ

최신글 이미지가 나오지 않내요..ㅠㅠ

엑박만 뜨구요;;

 

latest.skin.php파일은 

 

   $file = $list[$i][file][0][PATH] .'/'. $list[$i][file][0][file];    //echo "

";    echo "";   if($i=='2' ||$i=='5'){    echo "";   } }

?>

 

 

이렇게 되어 있는데요.

 

include_once(G5_LIB_PAHT.'/thumbnail.php'); 이소스 추가 했어요

 

 

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

답변 2개

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

그누5에서 스킨을 받아서 사용하시는 것이 편할것 같습니다만....^^

 

그나저나 그누5로 전환하고 나서, 파일도 제대로 옮기셨나요?

data/file/게시판 파일......

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

답변에 대한 댓글 3개

버지니아
10년 전
다행히 내용이 크게 없어서요;;
g5용 스킨으로 하니깐.. 가로로 안나오고 세로로만 출력이 되더라구요;;
그래서 g4에서 사용하던걸 사용해볼려고 끙끙싸매고 있어요;;

저는 초보니깐요..T_T
둘째삼식
10년 전
가로로 나오는 스킨이 있어요..
저도 초보인데.....ㅎㅎ
버지니아
10년 전
최신글에서는 가로로 나오던데..ㅠㅠ
소스를 넣어보니 전부다 세로로 나오더라구요..
어데 손을 잘못 된건지 T_T
기본 basic을 사용하면 이미지는 안나오는건가요??

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

10년 전

저도 같은 작업을 하고 있는데요.

skin>latest>basic>latest.skin.php 를 아래와 같이 수정하니 이미지가 출력되네요.

 

</span></p><p> </p><p><span style="color: rgb(0, 0, 0); font-family: dotum; font-size: 9pt; line-height: 18px; background-color: rgb(255, 255, 255);"><?php for ($i=0; $i<count($list); $i++) {  ?></span></p><p style="color: rgb(102, 102, 102); font-family: dotum; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);"><span style="font-size: 9pt; color: rgb(0, 0, 0);">        <li></span></p><p style="color: rgb(102, 102, 102); font-family: dotum; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);"><span style="font-size: 9pt; color: rgb(0, 0, 0);">            <?php</span></p><p style="color: rgb(102, 102, 102); font-family: dotum; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);"><span style="font-size: 9pt; color: rgb(0, 0, 0);">            //echo $list[$i]['icon_reply']." ";</span></p><p style="color: rgb(102, 102, 102); font-family: dotum; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);"><span style="font-size: 9pt; color: rgb(0, 0, 0);">            echo "<a href=\"".$list[$i]['href']."\">";</span></p><p style="color: rgb(102, 102, 102); font-family: dotum; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);"><span style="font-size: 9pt; color: rgb(0, 0, 0);">            if ($list[$i]['is_notice'])</span></p><p style="color: rgb(102, 102, 102); font-family: dotum; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);"><span style="font-size: 9pt; color: rgb(0, 0, 0);">                echo "<strong>".$list[$i]['subject']."</strong>";</span></p><p style="color: rgb(102, 102, 102); font-family: dotum; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);"><span style="font-size: 9pt; color: rgb(0, 0, 0);">            else</span></p><p style="color: rgb(102, 102, 102); font-family: dotum; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);"><span style="font-size: 9pt; color: rgb(0, 0, 0);">                echo $list[$i]['subject'];</span></p><p style="color: rgb(102, 102, 102); font-family: dotum; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);"> </p><p style="color: rgb(102, 102, 102); font-family: dotum; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);"><span style="font-size: 9pt; color: rgb(0, 0, 0);">            if ($list[$i]['comment_cnt'])</span></p><p style="color: rgb(102, 102, 102); font-family: dotum; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);"><span style="font-size: 9pt; color: rgb(0, 0, 0);">                echo $list[$i]['comment_cnt'];</span></p><p style="color: rgb(102, 102, 102); font-family: dotum; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);"> </p><p style="color: rgb(102, 102, 102); font-family: dotum; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);"><span style="color: rgb(255, 108, 0); font-size: 9pt;"></span>            <span style="color: rgb(255, 108, 0); font-size: 9pt;">​</span><span style="color: rgb(255, 108, 0); font-size: 9pt;">//아래 코드를 추가하면 이미지가 출력됩니다.</span></p><p style="color: rgb(102, 102, 102); font-family: dotum; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);"><span style="font-size: 9pt; line-height: 1.5; color: rgb(255, 108, 0);"></span>            <span style="font-size: 9pt; line-height: 1.5; color: rgb(255, 108, 0);">​$filee = get_file($bo_table, $list[$i]['wr_id']);</span><span class="Apple-tab-span" style="font-size: 9pt; line-height: 1.5; white-space: pre; color: rgb(255, 108, 0);">			</span></p><p style="color: rgb(102, 102, 102); font-family: dotum; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);"><span style="font-size: 9pt; color: rgb(255, 108, 0);"></span>            <span style="font-size: 9pt; color: rgb(255, 108, 0);">​echo "<img src='".$filee['0']['path']."/".$filee['0']['file']."'>"</span><span style="font-size: 9pt; color: rgb(255, 108, 0);">;</span></p><p style="color: rgb(102, 102, 102); font-family: dotum; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);"> </p><p style="color: rgb(102, 102, 102); font-family: dotum; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);"><span style="font-size: 9pt; color: rgb(0, 0, 0);">            echo "</a>";</span></p><p style="color: rgb(102, 102, 102); font-family: dotum; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);"> </p><p style="color: rgb(102, 102, 102); font-family: dotum; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);"><span style="font-size: 9pt; color: rgb(0, 0, 0);">            // if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }</span></p><p style="color: rgb(102, 102, 102); font-family: dotum; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);"><span style="font-size: 9pt; color: rgb(0, 0, 0);">            // if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }</span></p><p style="color: rgb(102, 102, 102); font-family: dotum; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);"> </p><p style="color: rgb(102, 102, 102); font-family: dotum; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);"><span style="font-size: 9pt; color: rgb(0, 0, 0);">            if (isset($list[$i]['icon_new'])) echo " " . $list[$i]['icon_new'];</span></p><p style="color: rgb(102, 102, 102); font-family: dotum; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);"><span style="font-size: 9pt; color: rgb(0, 0, 0);">            if (isset($list[$i]['icon_hot'])) echo " " . $list[$i]['icon_hot'];</span></p><p style="color: rgb(102, 102, 102); font-family: dotum; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);"><span style="font-size: 9pt; color: rgb(0, 0, 0);">            if (isset($list[$i]['icon_file'])) echo " " . $list[$i]['icon_file'];</span></p><p style="color: rgb(102, 102, 102); font-family: dotum; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);"><span style="font-size: 9pt; color: rgb(0, 0, 0);">            if (isset($list[$i]['icon_link'])) echo " " . $list[$i]['icon_link'];</span></p><p style="color: rgb(102, 102, 102); font-family: dotum; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);"><span style="font-size: 9pt; color: rgb(0, 0, 0);">            if (isset($list[$i]['icon_secret'])) echo " " . $list[$i]['icon_secret'];</span></p><p style="color: rgb(102, 102, 102); font-family: dotum; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);"><span style="font-size: 9pt; color: rgb(0, 0, 0);">             ?></span></p><p style="color: rgb(102, 102, 102); font-family: dotum; font-size: 12px; line-height: 18px; background-color: rgb(255, 255, 255);"><span style="font-size: 9pt; color: rgb(0, 0, 0);">        </li></span></p><p><span style="color: rgb(0, 0, 0); font-family: dotum; font-size: 9pt; line-height: 18px; background-color: rgb(255, 255, 255);">    <?php }  ?></span> </p><p> </p><p><span style="font-size: 9pt; color: rgb(0, 0, 0);">

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

답변에 대한 댓글 1개

버지니아
10년 전
이제 확인했내욧~ ㅠㅠ
전 작성자하고 삭제하니 제대로 되었습니ㅏㄷ.

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

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

로그인