최근게시물 질문이요. > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

최근게시물 질문이요. 정보

최근게시물 질문이요.

본문

<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

동영상이 메인페이지에 떠야 정상인데 말이죠.

위에 있는 소스가 너무 안좋게 무리가 가는 방법으로 코딩이 된건가 싶기도 하고 궁굼하네요.

전문가님 의견좀 부탁드립니다.

댓글 전체

전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT