최근게시물 질문이요. 정보
최근게시물 질문이요.본문
<script type="text/javascript" src="/flowplayer/examples/js/flashembed.min.js"></script>
<? for ($i=0; $i<count($list); $i++) {
$sql_d = " select * from $g4[board_file_table] where bo_table = '$bo_table' and wr_id = '{$list[$i][wr_id]}' and bf_no = '1'";
$data = sql_fetch($sql_d);
$name = "{$list[$i][name]}";
$bo_table = "{$list[$i][bo_table]}";
$ski = "{$list[$i][file][1][file]}";
$la_content = "65"; //내용길이
$href = "{$list[$i][href]}";
$subject = "<span $style>".cut_str($list[$i][subject],60)."</span>";
$wr_content = "<span $style>".cut_str(strip_tags($list[$i][wr_content]),$la_content)."</span>";
?>
<div style="height:375px;position:relative">
<div class="movie" style="position:absolute;top:9px;">
<script>
flashembed("main_movie",
{
src:'/flowplayer/FlowPlayerDark.swf',
width: 420,
height: 280
},
{config: {
showVolumeSlider: false,
showMuteVolumeButton: 'true',
showMenu: 'true',
controlsOverVideo: 'ease',
controlBarBackgroundColor: -1,
controlBarGloss: 'low' ,
autoRewind: 'ture',
loop: 'ture',
autoPlay: 'ture',
autoBuffering: 'true',
initialScale: 'scale',
videoFile: 'http://www.motiongraphiclab.com/data/file/<?=$bo_table?>/<?=$ski?>'
}}
);
</script>
<div id="main_movie"></div>
=====================================================================
위에 소스가 제가 사용하는 핵심적인 소스인데요.
데이터베이스가 자바스크립트를 통과한 후 메인페이지에 뿌려지는 역할인데요.
문제는 제가 이 방법을 함으로써 최근게시물이 보였다 안보였다 하는 것 같아 보입니다.
http://www.motiongraphiclab.com
동영상이 메인페이지에 떠야 정상인데 말이죠.
위에 있는 소스가 너무 안좋게 무리가 가는 방법으로 코딩이 된건가 싶기도 하고 궁굼하네요.
전문가님 의견좀 부탁드립니다.
<? for ($i=0; $i<count($list); $i++) {
$sql_d = " select * from $g4[board_file_table] where bo_table = '$bo_table' and wr_id = '{$list[$i][wr_id]}' and bf_no = '1'";
$data = sql_fetch($sql_d);
$name = "{$list[$i][name]}";
$bo_table = "{$list[$i][bo_table]}";
$ski = "{$list[$i][file][1][file]}";
$la_content = "65"; //내용길이
$href = "{$list[$i][href]}";
$subject = "<span $style>".cut_str($list[$i][subject],60)."</span>";
$wr_content = "<span $style>".cut_str(strip_tags($list[$i][wr_content]),$la_content)."</span>";
?>
<div style="height:375px;position:relative">
<div class="movie" style="position:absolute;top:9px;">
<script>
flashembed("main_movie",
{
src:'/flowplayer/FlowPlayerDark.swf',
width: 420,
height: 280
},
{config: {
showVolumeSlider: false,
showMuteVolumeButton: 'true',
showMenu: 'true',
controlsOverVideo: 'ease',
controlBarBackgroundColor: -1,
controlBarGloss: 'low' ,
autoRewind: 'ture',
loop: 'ture',
autoPlay: 'ture',
autoBuffering: 'true',
initialScale: 'scale',
videoFile: 'http://www.motiongraphiclab.com/data/file/<?=$bo_table?>/<?=$ski?>'
}}
);
</script>
<div id="main_movie"></div>
=====================================================================
위에 소스가 제가 사용하는 핵심적인 소스인데요.
데이터베이스가 자바스크립트를 통과한 후 메인페이지에 뿌려지는 역할인데요.
문제는 제가 이 방법을 함으로써 최근게시물이 보였다 안보였다 하는 것 같아 보입니다.
http://www.motiongraphiclab.com
동영상이 메인페이지에 떠야 정상인데 말이죠.
위에 있는 소스가 너무 안좋게 무리가 가는 방법으로 코딩이 된건가 싶기도 하고 궁굼하네요.
전문가님 의견좀 부탁드립니다.
댓글 전체