[제나플러스] 제나 우측 배너에 top과 bottom 버튼 및 플래시 배너 코드 추가 > 팁앤테크

본문 바로가기
사이트 내 전체검색

팁앤테크

[제나플러스] 제나 우측 배너에 top과 bottom 버튼 및 플래시 배너 코드 추가

페이지 정보

본문

제나의 오른쪽 배너 기능에다 추가하여
위링크 주소의 오른쪽 배너처럼 top과 bottom 그리고 필요시 제나 배너 위나 아래쪽 공간에다
플래시 배너를 별도로 추가시킬 수 있도록 했습니다.
플래시 배너를 사용하실 경우 플래시 패치 java 파일을 별도로 링크시킨 상태에서 사용하십시오.


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

//if (!$board[bo_8]) alert("해당 게시판 설정 : 여분 필드 8 에 목록에서 보여질 이미지의 가로 크기를 설정하십시오.");
//if (!$board[bo_9]) alert("해당 게시판 설정 : 여분 필드 9 에 목록에서 보여질 이미지의 세로 크기를 설정하십시오.");
//if (!$board[bo_10]) alert("해당 게시판 설정 : 여분 필드 10 에 목록에서 보여질 한 줄당 가로 이미지 수를 설정하십시오.");
//$cols  = $board[bo_10]; //  이미지 가로갯수 //  이미지 세로 갯수는 메인에서 지정(총 이미지 수)
//$col_width = (int)(99 / $cols);
//$img_w  = $board[bo_8]; // 이미지 가로
//$img_h  = $board[bo_9]; // 이미지 세로
$img_w  = 75; // 이미지 가로
$img_h  = 100; // 이미지 세로
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">

<tr><td align='center'><a href='#g4_head' title="맨위로"><img src='<?=$latest_skin_path?>/img/top.gif' border=0 width='30' height='9'></a></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?>' border='0' align='absmiddle'></a>
  <?}
else if(preg_match("/\.(swf|wmv|asf)$/i", $image))
{ echo"<script>doc_write(flash_movie('$g4[path]/data/file/$bo_table/$image', 'flash$i', '$img_w', '$img_h', 'transparent'));</script>";}
?>          
</td>
</tr>
<? } ?>
<!-- 플래시 삽입시 추가--
<tr><td width='100' height='5' align='center'></td></tr>
<tr><td align='center'><script language="javascript">flashGo('<?=$latest_skin_path?>/quick.swf',75,250,'index','#FFFFFF','transparent')</script></td></tr>
<tr><td width='100' height='5' align='center'></td></tr>-->
<tr><td align='center'><a href='#g4_tail' title="아래로"><img src='<?=$latest_skin_path?>/img/bottom.gif' border=0 width='45' height='9' onclick="document.body.scrollTop=document.body.scrollHeight" style="cursor:hand" onFocus=blur()></a></td></tr>
</table>
추천0

첨부파일

댓글목록

등록된 댓글이 없습니다.

Total 825건 38 페이지
  • RSS
팁앤테크 목록
번호 제목 글쓴이 조회 추천 날짜
게시물이 없습니다.

검색

회원로그인

회원가입

사이트 정보

株式会社YHPLUS / 대표 : ZERO
〒140-0011 東京都品川区東大井2-5-9-203
050-5539-7787
오픈카카오톡 (YHPLUS) :
https://open.kakao.com/o/slfDj15d

접속자집계

오늘
5,314
어제
5,850
최대
7,259
전체
1,216,266
Copyright (c) 株式会社YHPLUS. All rights reserved.