플래쉬가 게시판에보여지질 않아 정보
플래쉬가 게시판에보여지질 않아본문
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/poll.lib.php");
include_once("$g4[path]/lib/visit.lib.php");
include_once("$g4[path]/lib/connect.lib.php");
include_once("$g4[path]/lib/popular.lib.php");
include_once("$g4[path]/lib/groupmenu.lib.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/poll.lib.php");
include_once("$g4[path]/lib/visit.lib.php");
include_once("$g4[path]/lib/connect.lib.php");
include_once("$g4[path]/lib/popular.lib.php");
include_once("$g4[path]/lib/groupmenu.lib.php");
//print_r2(get_defined_constants());
// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.
$table_width = 900;
//print_r2($g4);
//$dir = dirname($HTTP_SERVER_VARS["PHP_SELF"]);
?>
//$dir = dirname($HTTP_SERVER_VARS["PHP_SELF"]);
?>
<body text="#000000" leftmargin="0" topmargin="0">
<table cellpadding="0" cellspacing="0" width="900" align="center">
<tr>
<td width="901">
<table width="900" height="72" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td height="80" align="center">
<table cellpadding="0" cellspacing="0" width="900" align="center">
<tr>
<td height="85">
<table cellpadding="0" cellspacing="0" width="900">
<tr>
<td width="10" height="85" background="<?=$g4[path]?>/img/img2/bar01.gif"></td>
<td width="880" height="85" background="<?=$g4[path]?>/img/img2/bar02.gif">
<table cellpadding="0" cellspacing="0" width="880" align="center">
<tr>
<td width="880" height="50">
<table cellpadding="0" cellspacing="0" width="900" align="center">
<tr>
<td width="180" height="50" valign="center">
<a href="<?=$g4[path]?>" target="_top"><img src="<?=$g4[path]?>/img/img2/logo.jpg" width="180" height="48" border="0"></a></td>
<td width="690" height="50" align="right" style="padding-top:3; padding-right:10;" valign="middle">
<p>
<span style="font-size:9pt;"><b>
<a href="<?=$g4[path]?>" target="_top"><font color="white">Home</font></a><font color="white"> </font>
<a href="<?=$g4[path]?>/bbs/board.php?bo_table=m1_1" target="_self"><font color="white">공지/뉴스</font></a><font color="white"> </font>
<a href="<?=$g4[path]?>/bbs/board.php?bo_table=m1_2" target="_self"><font color="white">자료실</font></a><font color="white"> </font>
<a href="<?=$g4[path]?>/bbs/board.php?bo_table=m1_3" target="_self"><font color="white">갤러리</font></a><font color="white"> </font>
<a href="<?=$g4[path]?>/bbs/board.php?bo_table=m1_4" target="_self"><font color="white">자유게시판</font></span></a></b></p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="880" height="35">
<table cellpadding="0" cellspacing="0" width="614">
<tr>
<td width="169" height="25"><font style='font-family:굴림; font-size:9pt; color:#666666;'><? include_once("$g4[path]/file/day.php"); ?></font></td>
<td width="445" height="25"><!--<?=popular("basic");?>--></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td width="10" height="85" background="<?=$g4[path]?>/img/img2/bar03.gif" align="center"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="135">
<table cellpadding="0" cellspacing="0" width="900">
<tr>
<td width="190" height="135" background="<?=$g4[path]?>/img/img2/login_bg.gif" valign="top">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="180" height="35"></td>
</tr>
<tr>
<td width="180" height="90" align="center" valign="top"><?=outlogin("login_10"); // 외부 로그인 ?></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<tr>
<td width="901">
<table width="900" height="72" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td height="80" align="center">
<table cellpadding="0" cellspacing="0" width="900" align="center">
<tr>
<td height="85">
<table cellpadding="0" cellspacing="0" width="900">
<tr>
<td width="10" height="85" background="<?=$g4[path]?>/img/img2/bar01.gif"></td>
<td width="880" height="85" background="<?=$g4[path]?>/img/img2/bar02.gif">
<table cellpadding="0" cellspacing="0" width="880" align="center">
<tr>
<td width="880" height="50">
<table cellpadding="0" cellspacing="0" width="900" align="center">
<tr>
<td width="180" height="50" valign="center">
<a href="<?=$g4[path]?>" target="_top"><img src="<?=$g4[path]?>/img/img2/logo.jpg" width="180" height="48" border="0"></a></td>
<td width="690" height="50" align="right" style="padding-top:3; padding-right:10;" valign="middle">
<p>
<span style="font-size:9pt;"><b>
<a href="<?=$g4[path]?>" target="_top"><font color="white">Home</font></a><font color="white"> </font>
<a href="<?=$g4[path]?>/bbs/board.php?bo_table=m1_1" target="_self"><font color="white">공지/뉴스</font></a><font color="white"> </font>
<a href="<?=$g4[path]?>/bbs/board.php?bo_table=m1_2" target="_self"><font color="white">자료실</font></a><font color="white"> </font>
<a href="<?=$g4[path]?>/bbs/board.php?bo_table=m1_3" target="_self"><font color="white">갤러리</font></a><font color="white"> </font>
<a href="<?=$g4[path]?>/bbs/board.php?bo_table=m1_4" target="_self"><font color="white">자유게시판</font></span></a></b></p>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="880" height="35">
<table cellpadding="0" cellspacing="0" width="614">
<tr>
<td width="169" height="25"><font style='font-family:굴림; font-size:9pt; color:#666666;'><? include_once("$g4[path]/file/day.php"); ?></font></td>
<td width="445" height="25"><!--<?=popular("basic");?>--></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td width="10" height="85" background="<?=$g4[path]?>/img/img2/bar03.gif" align="center"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="135">
<table cellpadding="0" cellspacing="0" width="900">
<tr>
<td width="190" height="135" background="<?=$g4[path]?>/img/img2/login_bg.gif" valign="top">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="180" height="35"></td>
</tr>
<tr>
<td width="180" height="90" align="center" valign="top"><?=outlogin("login_10"); // 외부 로그인 ?></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="900" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td align="center" width="900" valign="top"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="" width="710" height="135">
<param name="movie" value="img/bar.swf">
<param name="quality" value="high">
<embed src="img/bar.swf" quality="high" pluginspage="" type="application/x-shockwave-flash" width="710" height="135"></embed></object> <table width="900" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="190" valign="top" align="center" height="356">
<table cellpadding="0" cellspacing="0" width="190">
<tr>
<td width="190" height="289" align="center" valign="top">
<table align="center" cellpadding="0" cellspacing="0" width="190">
<tr>
<td width="190" height="50"><img src="<?=$g4[path]?>/img/img2/sub/c_tit.gif" width="190" height="50" border="0"></td>
</tr>
<tr>
<td width="190" height="105" background="<?=$g4[path]?>/img/img2/sub/menu_bg.gif" valign="top">
<table cellpadding="0" cellspacing="0" width="174">
<tr>
<td width="28" height="25"></td>
<td width="146"><?=groupmenu( 'basic', 'm1')?></td>
</tr>
<!------------------좌측메뉴시작
<td width="146" height="25"><span style="font-size:9pt;"><font color="#666666"><a href="<?=$g4[path]?>/bbs/board.php?bo_table=m1_1">공지/뉴스</a></font></span></td>
</tr>
<tr>
<td width="28" height="25"></td>
<td width="146" height="25"><span style="font-size:9pt;"><font color="#666666"><a href="<?=$g4[path]?>/bbs/board.php?bo_table=m1_4">자유게시판</a></font></span></td>
</tr>
<tr>
<td width="28" height="25"></td>
<td width="146" height="25"><span style="font-size:9pt;"><font color="#666666"><a href="<?=$g4[path]?>/bbs/board.php?bo_table=m1_3">갤러리</a></font></span></td>
</tr>
<tr>
<td width="28" height="25"></td>
<td width="147" height="25"><span style="font-size:9pt;"><font color="#666666"><a href="<?=$g4[path]?>/bbs/board.php?bo_table=m1_2">자료실</a></font></span></td></tr>
------좌측메뉴 끝---->
</table>
</td>
</tr>
<tr>
<td width="190" height="154" background="<?=$g4[path]?>/img/img2/sub/menu_tail.gif"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="190" height="17" align="center" valign="top"></td>
</tr>
<tr>
<td width="190" height="25" align="center" valign="top"></td>
</tr>
</table>
</td>
<td width="3" valign="top" align="center" height="356"></td>
<td width="710" height="356" valign="top">
<table cellpadding="0" cellspacing="0" width="705">
<tr>
<td width="705" align="center" valign="top" style="padding:0 2 0 4" nowrap>
<tr>
<td align="center" width="900" valign="top"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="" width="710" height="135">
<param name="movie" value="img/bar.swf">
<param name="quality" value="high">
<embed src="img/bar.swf" quality="high" pluginspage="" type="application/x-shockwave-flash" width="710" height="135"></embed></object> <table width="900" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="190" valign="top" align="center" height="356">
<table cellpadding="0" cellspacing="0" width="190">
<tr>
<td width="190" height="289" align="center" valign="top">
<table align="center" cellpadding="0" cellspacing="0" width="190">
<tr>
<td width="190" height="50"><img src="<?=$g4[path]?>/img/img2/sub/c_tit.gif" width="190" height="50" border="0"></td>
</tr>
<tr>
<td width="190" height="105" background="<?=$g4[path]?>/img/img2/sub/menu_bg.gif" valign="top">
<table cellpadding="0" cellspacing="0" width="174">
<tr>
<td width="28" height="25"></td>
<td width="146"><?=groupmenu( 'basic', 'm1')?></td>
</tr>
<!------------------좌측메뉴시작
<td width="146" height="25"><span style="font-size:9pt;"><font color="#666666"><a href="<?=$g4[path]?>/bbs/board.php?bo_table=m1_1">공지/뉴스</a></font></span></td>
</tr>
<tr>
<td width="28" height="25"></td>
<td width="146" height="25"><span style="font-size:9pt;"><font color="#666666"><a href="<?=$g4[path]?>/bbs/board.php?bo_table=m1_4">자유게시판</a></font></span></td>
</tr>
<tr>
<td width="28" height="25"></td>
<td width="146" height="25"><span style="font-size:9pt;"><font color="#666666"><a href="<?=$g4[path]?>/bbs/board.php?bo_table=m1_3">갤러리</a></font></span></td>
</tr>
<tr>
<td width="28" height="25"></td>
<td width="147" height="25"><span style="font-size:9pt;"><font color="#666666"><a href="<?=$g4[path]?>/bbs/board.php?bo_table=m1_2">자료실</a></font></span></td></tr>
------좌측메뉴 끝---->
</table>
</td>
</tr>
<tr>
<td width="190" height="154" background="<?=$g4[path]?>/img/img2/sub/menu_tail.gif"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="190" height="17" align="center" valign="top"></td>
</tr>
<tr>
<td width="190" height="25" align="center" valign="top"></td>
</tr>
</table>
</td>
<td width="3" valign="top" align="center" height="356"></td>
<td width="710" height="356" valign="top">
<table cellpadding="0" cellspacing="0" width="705">
<tr>
<td width="705" align="center" valign="top" style="padding:0 2 0 4" nowrap>
* bar.swf를 head.php 위처럼 상단에 집어넣고나서 바로 플래쉬가 보입니다.
근데 왼쪽메뉴게시판을 누르면 빈칸만나오고 이미지가안보여여..
그 부분에다 오른쪽마우스를 갖다 대면 분명 flash 정보가 나오는데요...
게시판위 상단메뉴를 플래쉬나 이미지로 변경하는법좀 자세히좀 알려주실분좀
도와주세요.......
댓글 전체
수정 전
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="710" height="135">
<param name="movie" value="img/bar.swf">
<param name="quality" value="high">
<embed src="img/bar.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="710" height="135"></embed></object>
수정 후
<script>doc_write(flash_movie('<?=$g4[path]?>/img/bar.swf', 'bar', 710, 135, 'transparent'));</script>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="710" height="135">
<param name="movie" value="img/bar.swf">
<param name="quality" value="high">
<embed src="img/bar.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="710" height="135"></embed></object>
수정 후
<script>doc_write(flash_movie('<?=$g4[path]?>/img/bar.swf', 'bar', 710, 135, 'transparent'));</script>
윗글로 해결되셨길 바라구요.
플래시무비 배경을 투명하게 보여줄때
<script>doc_write(flash_movie('<?=$g4[path]?>/img/bar.swf', 'bar', 710, 135, 'transparent'));</script>
플래시 무비의 배경색까지 보여주고자 할 때 transparent 를 생략합니다.
<script>doc_write(flash_movie('<?=$g4[path]?>/img/bar.swf', 'bar', 710, 135, ''));</script>
플래시무비 배경을 투명하게 보여줄때
<script>doc_write(flash_movie('<?=$g4[path]?>/img/bar.swf', 'bar', 710, 135, 'transparent'));</script>
플래시 무비의 배경색까지 보여주고자 할 때 transparent 를 생략합니다.
<script>doc_write(flash_movie('<?=$g4[path]?>/img/bar.swf', 'bar', 710, 135, ''));</script>
정말 해결 되었습니다.......좀더 자세히 알고 싶군요..
수정 전의 경우 상대경로로써 게시판에서 불러올 경우 bbs/img/bar.swf 를 불러오게 됩니다.
즉 경로가 바뀌죠.
따라서 추천하는 것은 그누보드 폴더에서 직접 하위로 내려가는 방법을 권유합니다.
즉 $g4[path] 가 되겠죵.
즉 경로가 바뀌죠.
따라서 추천하는 것은 그누보드 폴더에서 직접 하위로 내려가는 방법을 권유합니다.
즉 $g4[path] 가 되겠죵.
감사감사