에거 힘드러랑.ㅡ.ㅡ
본문
list_skin.php 파일 입니다.
어누부분까지 고쳐야 하는지 잘 모르겠습니다.ㅡ.ㅡ
주석좀 달아주시면 감사하겠습니다.ㅡ.ㅡ;;
댓글목록 6
맙소사님의 댓글
맙소사쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일
                                        일단..
홈페이지 메인 화면에.. 나타나는
mainbanner 게시판에서. 플레시파일을 올렸습니다. 물론 645 로 작업했구요.
그래서 활성화에 체크, 순서에 1 이렇게 입력을 하였습니다.
그리고 나서 말씀하신 skin/latest/banner_main/latest.php을 확인하여 보았으나
 <?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table width="80%" cellpadding=0 cellspacing=0 border=0><tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<!-- <tr><td height=10></td></tr> -->
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td align="center">
        <?               
echo "<a href='{$list[$i][wr_1]}'  target='{$list[$i][wr_2]}'>";
            $image = urlencode($list[$i][file][0][file]); // 첫번째 파일이 이미지라면
            if (preg_match("/\.(gif|jpg|png)$/i", $image)) { ?>
<img src='<?=$g4[path]?>/data/file/<?=$bo_table?>/<?=$image?>' width='645' border='0'></a><br>
  <?}
else if(preg_match("/\.(swf|wmv|asf)$/i", $image))
{ echo"<embed src='$g4[path]/data/file/$bo_table/$image' width='645' wmode='transparent'></embed>";}
else{
echo"<img src='$latest_skin_path/img/noimage.gif' width='645' border='0'></a><br>";
  }?>           
</td>
</tr>
<tr><td height=7></td></tr>
<? } ?>
</table>
</td></tr></table>
정상적으로 되어 있습니다.ㅡ.ㅡ;;                
맙소사님의 댓글
맙소사쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일
                                        하핫
라테스트 파일에
<? 
    $image = urlencode($list[$i][file][0][file]); // 첫번째 파일이 이미지라면 
            if (preg_match("/\.(gif|jpg|png)$/i", $image) && file_exists("$g4[path]/data/file/$bo_table/$image")) { 
                echo "<img src='$g4[path]/data/file/$bo_table/$image' width='150' height='150' border='0'>  "; 
} 
    else if (file_exists($list[$i][file_image1])) { $gznews_img = "width=150 height=150 border=0)'><br>"; } 
    
      else if (preg_match("/\.(swf|wma|asf)$/i", $image) && file_exists("$g4[path]/data/file/$bo_table/$image")) { 
                echo "<embed src='$g4[path]/data/file/$bo_table/$image' width='645' height='330' border='0' wmode='transparent'></embed>  "; 
} 
    
?> 
이렇게 수정하니까 되네요.^^
감사합니다.^^                




 
 
제로님의 댓글
제로쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일^^&
웹진형 스킨을 하는거 아닌가요??
이파일이 아닌데요..
배너 스킨 말고 html2스킨입니다..
스킨 다시 다운 받으시면 됩니다 .^^