한중글광고 삽입[오누리 처럼] > 그누4 질문답변

그누4 질문답변

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

한중글광고 삽입[오누리 처럼] 정보

한중글광고 삽입[오누리 처럼]

본문

짱구아빠님이 가르쳐주신http://sir.co.kr/bbs/board.php?bo_table=g4_skin&sca=&sfl=wr_subject&stx=%C5%B8%C0%CC%C7%CE&sop=and
가서 유록화홍님 파일을 풀어서 모두 skin/latest에 올렸어요
그리고 테이블 새로 만들어서 넣었구요.
거기에 <?=latest("typingplus", "05_5", 4, 60)?>이렇게 넣었구요.
안되서 <?=latest("typingplus", "05_5", 4, 60);?>이렇게도 넣어봤는데 안되네요.
 글을 가져 오질 못하네요


혹시 파일소스중 주석 처리가 되있어서 그런거 아닐까요 ??
소스도 같이 올립니다.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<style>
.kj {font-family:돋움; font-size:12px;color:#797463;line-height:11pt;text-decoration: none;letter-spacing:-1px;word-spacing:1px}
.kj a:link    {color:#797463;text-decoration:none;}
.kj a:visited  {color:#797463;text-decoration:none;}
.kj a:active  {color:#797463;text-decoration:none;}
.kj a:hover    {color:#159422;text-decoration:none;}
</style>

<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td><img src="<?=$latest_skin_path?>/img/title_left.gif" width="2" height="36" alt=""></td>
<td width=100% background="<?=$latest_skin_path?>/img/title_bg.gif" >
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="5"></td>
<td>

<script language="JavaScript1.2">
<!--
/*
Typing Scroller
Submitted by http://dynamicdrive.com
*/
//Secify scroller contents

 
  var line=new Array()
  var lineurl=new Array()
  <?  for ($i=0; $i<count($list); $i++) { ?>
  line[<?=$i?>+1]="<?=$list[$i][subject]?>"
  lineurl[<?=$i?>+1]="<?=$list[$i]['href']?>"
  <? } ?>
 
  <? if (count($list) == 0) { ?>line[0]="게시물이 없습니다.";<? } ?>
 
  //Specify font size for scoller
  var ts_fontsize="12px"
 
  //--Don't edit below this line
 
  var longestmessage=1
  for (i=2;i<line.length;i++){
  if (line[i].length>line[longestmessage].length)
  longestmessage=i
  }
 
  //Auto set scroller width
  var tscroller_width=line[longestmessage].length
 
  lines=line.length-1 //--Number of lines
 
  //if IE 4+ or NS6
  if (document.all||document.getElementById){
 
  document.write('<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">')
  document.write('<form name="bannerform">')
  document.write('<tr><td width="80" class=kj>>>오늘의 팁 : </td><td>')
  document.write('<input type="hidden" name="bannerurl">')
  document.write('<input type="text" name="banner"')
  //document.write('style="width:100%;height=17px;background-color: '+document.bgColor+'; color: '+document.body.text+'; font-family:
  document.write('style="cursor:hand;width:100%;height=17px;background-color: '+document.bgColor+'; color: #555555; font-family: verdana; font-size: '+ts_fontsize+'; <!-- font-weight:bold -->; border:0px <!-- medium none -->;" onfocus="blur()" onclick="gogo();">')
  document.write('</td></tr>')
  document.write('</form>')
  document.write('</table>')
 
  }
 
  temp=""
  nextchar=-1;
  nextline=1;
  cursor="_"
 
  //if IE 4+ or NS6
  if (document.all||document.getElementById)
  window.onload=animate


function animate(){
document.bannerform.bannerurl.value=lineurl[nextline];
if (temp==line[nextline] & temp.length==line[nextline].length & nextline!=lines){
      nextline++;
      nextchar=-1;
      document.bannerform.banner.value=temp;
      temp="";
      setTimeout("nextstep()",3200)}
  else if (nextline==lines & temp==line[nextline] & temp.length==line[nextline].length){
      nextline=1;
      nextchar=-1;
      document.bannerform.banner.value=temp;
      temp="";
      setTimeout("nextstep()",3200)}
  else{ nextstep(); }
}

function gogo(){
location.href=document.bannerform.bannerurl.value;
}

function nextstep(){
  if (cursor=="\\"){cursor="|"}
  else if (cursor=="|"){cursor="/"}
  else if (cursor=="/"){cursor="-"}
  else if (cursor=="-"){cursor="\\"}
  nextchar++;
  temp+=line[nextline].charAt(nextchar);
  document.bannerform.banner.value=temp+cursor
  setTimeout("animate()",16)
}


// -->
</script>

</td>
<td width="50" align="right" class=kj>[<a href="<?=$g4['bbs_path']?>/write.php?bo_table=<?=$bo_table?>">쓰기</a>]</td>
<td width="5"></td>
</tr>
</table>
</td>
<td><img src="<?=$latest_skin_path?>/img/title_right.gif" width="2" height="36" alt=""></td>
</tr>
</table>
  • 복사

댓글 전체

© SIRSOFT
현재 페이지 제일 처음으로