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

그룹갤러리 최신글스킨에서 wr_1이1 인건만 불러올려고 합니다 ​ 채택완료

ㅐ늑대ㅐ 11년 전 조회 3,489

그룹갤러리 최신글스킨에서 wr_1이1 인건만 불러올려고 합니다 

 

 

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

 

if(!$options) $options=4;

 

$cols  = $options; //  이미지 가로갯수 //  이미지 세로 갯수는 메인에서 지정(총 이미지 수)

$image_h  = 12; // 이미지 상하 간격

 

$col_width = (int)(99 / $cols);

 

$data_path = $g4[path]."/data/file/$bo_table";

$thumb_path = $data_path.'/thumb';

?>

 

 

 

  

for ($i=0; $i

if ($i>0 && $i%$cols==0){ echo "

"; } 

?> 

"; 

}

?> 

  

"; } ?> 

  게시물이 없습니다."; } ?>

  

$image = $list[$i][file][0][file]; //원본

$img=$data_path. "/".$image;  //썸네일이 없을경우 원본출력

$thumb = $thumb_path. "/". $list[$i][wr_id];

 

  if ( file_exists($thumb) )

$img = $thumb;

  

$style = "style='font-family:돋움; font-size:9pt; color:#444444;' ";

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

$style = "style='font-family:돋움; font-size:9pt; color:#444444;' "; }

  $subject = "".$list[$i][subject].""; //제목 글자수 자르기

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

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

//    if ($list[$i]['comment_cnt']) //코

//        $cmt = "({$list[$i]['comment_cnt']})";

 

$bg = "";  //새글? 

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

$bg="la_top_2.gif";

 else

$bg="la_top_1.gif";

 

echo $list[$i][icon_reply] . " ";

?>

  •   

      

    전화번호:

$cnt = ($i%$cols); 

for ($k=$cnt; $k<$cols && $cnt; $k++) { 

echo "

 

  

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

답변 1개

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

이건 latest.lib.php 를 수정해야 합니다. 스킨에서 백날 해봐야 안됩니다.

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

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

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

로그인