에거 힘드러랑.ㅡ.ㅡ > 질문답변

본문 바로가기

사이트 내 전체검색

뒤로가기 질문답변

에거 힘드러랑.ㅡ.ㅡ

본문

banner 스킨의

list_skin.php 파일 입니다.

어누부분까지 고쳐야 하는지 잘 모르겠습니다.ㅡ.ㅡ

주석좀 달아주시면 감사하겠습니다.ㅡ.ㅡ;;
추천0

댓글목록 6

제로님의 댓글

제로쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일

^^&
웹진형 스킨을 하는거 아닌가요??
이파일이 아닌데요..
배너 스킨 말고 html2스킨입니다..
스킨 다시 다운 받으시면 됩니다 .^^

맙소사님의 댓글

맙소사쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일

웹진형 스킨은 해결되었습니다.^^

메인배너게시판에 플레시 이미지 파일을 올리려고 하는데요.ㅡ.ㅡ;

정상사이즈로 나오지 않습니다.ㅡ.ㅡ;;

제로님의 댓글의 댓글

제로쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일

잠시만요..제가 질문..^^&
배너는 게시판 리스트의
width=396, height=550 이것만 바꿔주시면 리스트에 보입니다..
그러나 게시판에서 메인에 출력하고자 하면
게시판이 아니라
skin/latest/banner_main/latest.php에서 width=396, height=550를 수정해야 하는데..
지금 혼동하신 거 아니신가요??

맙소사님의 댓글

맙소사쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일

일단..

홈페이지 메인 화면에.. 나타나는

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'>&nbsp;&nbsp;";
}
    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>&nbsp;&nbsp;";
}
   
?>

이렇게 수정하니까 되네요.^^

감사합니다.^^

제로님의 댓글의 댓글

제로쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일

width='645' height='330'
이걸 전부 입력해야 합니다&^^

전체 1,640건 6 페이지
게시물 검색
Copyright (c) 株式会社YHPLUS. All rights reserved.

사이트 정보

株式会社YHPLUS / 대표 : ZERO
〒171-0014 東京都豊島区池袋2-41-5 アーバン154 8F
050-5539-7787
오픈카카오톡 (YHPLUS) :
https://open.kakao.com/o/slfDj15d

PC 버전으로 보기