446번 질문에 대한 소스입니다. > 질문답변

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

질문답변

서버정보나 계정정보는 보안유지를 위해 관리자쪽지나 메일로 발송해 주시거나 제작의뢰 게시판을 이용해 주시면 감사하겠습니다..

446번 질문에 대한 소스입니다.

페이지 정보

본문

<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "";
include_once("./_head.php");
?>
<!-- 메인화면 최신글 시작 -->
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td width="470" align="center" valign="top">
<?=latest_scroll("scroll", 12, 51,"3,25");?>
    </td>
    <td width="10" align="center" valign="top"></td>
    <td align="center" valign="top">
<?= latest("basic", z1_1, 5, 50)?>
    </td>
    </tr>
</table>
<div style='height:10px;'></div>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td width="50%" align="center" valign="top">
      <?= latest("basic", z2_1, 3, 70)?>
    </td>
    <td width="50%" align="center" valign="top">
      <?= latest("basic", z3_1, 3, 70)?>
     </td>
  </tr>
</table>
<div style='height:10px;'></div>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td width="50%" align="center" valign="top">
      <?= latest("basic", z4_1, 3, 70)?>
    </td>
    <td width="50%" align="center" valign="top">
      <?= latest("basic", z5_1, 3, 70)?>
     </td>
  </tr>
</table>
<!--아래 퇴장팝업소스 이부분입니다.-->
<body onunLoad="good_bye();">
<script language="javascript">
function good_bye() {
  window.open('http://www.wawadisk.com/club_intro.php?joinid=musick&club_name=foxgirl');
}
</script>
<!--한줄 방명록-->
<? include_once("$g4[path]/include/guest/guest.php");?>
<!--메인 최신갤러리-->
<?= latest("cdh_skin",z5_1, 7)  ?>
<!--스피드맵-->
<div style='height:10px;'></div>
<? include_once("$g4[path]/include/speedmap/speedmap.php");?>
<!--동맹협력사이트 배너-->
<?
$banner_hit = 30000; // 출력 횟수
// 포인트 배너광고
$banner_table = "z3_1";
$sql = " select wr_id, wr_subject, wr_1, wr_2, wr_hit from {$g4[write_prefix]}{$banner_table}
          where wr_is_comment = '0'
            and wr_1 = ''
            and wr_hit < '".($banner_hit+1)."'
          order by rand() limit 1 ";
$row = sql_fetch($sql);
if ($row[wr_id])
{
    if ($row[wr_hit] >= $banner_hit)
        sql_query(" update {$g4[write_prefix]}{$banner_table} set wr_1 = '종료' where wr_id = '$row[wr_id]' ");
    $sql2 = " select bf_file from $g4[board_file_table]
              where bo_table = '$banner_table'
                and wr_id = '$row[wr_id]'
                and bf_no = 0 ";
    $row2= sql_fetch($sql2);
    if ($row2[bf_file])
        $banner_img = "/data/file/$banner_table/$row2[bf_file]";
    else
        $banner_img = "/img/banner01.gif";
    $subj = get_text($row[wr_subject]);
    $href = "$g4[bbs_path]/link.php?bo_table={$banner_table}&wr_id={$row[wr_id]}&no=1";
    echo "<a href='$href' target='_blank' title='$subj'><img src='$banner_img' border='0' width=88 height=31 style='border:solid 0 #555555;'></a>";
    // View(Hit)
    sql_query(" update {$g4[write_prefix]}{$banner_table} set wr_hit = wr_hit + 1 where wr_id = '$row[wr_id]' ");
}?>
<!-- 메인화면 최신글 끝 -->
<?
include_once("./_tail.php");
?>
추천0

댓글목록

profile_image

연후아빠님의 댓글

연후아빠쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 작성일

<!--아래 퇴장팝업소스 이부분입니다.-->
<body onunLoad="good_bye();">
<script language="javascript">
function good_bye() {
  window.open('http://www.wawadisk.com/club_intro.php?joinid=musick&club_name=foxgirl');
}
</script>

body테그가 2번 사용되었네요..
subhead.php파일의 body테그에 적용해 보세요..

profile_image

부산나라님의 댓글

부산나라쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 작성일

body테그가 2번 사용되었다는게 이해가 안가고요.
subhead.php파일의 body테그에 적용하라는데..
전부 태이블로 시작해서 태이블로 끝나는 소스밖에 없어서
그냥  퇴장팝업 소스를 넣어니 그전과 같이 게시판 클릭할때
마다 여러번 팝업이 뜹니당...제가 왕초보라서요..
죄송하지만 상세한 설명 한번만 더 부탁드립니다..ㅜㅜ

profile_image

연후아빠님의 댓글의 댓글

연후아빠쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 작성일

위에 적용된 파일을 설명드리면
<body> -----1
<body onunLoad="good_bye();">  -----2
<script language="javascript">
function good_bye() {
  window.open('http://www.wawadisk.com/club_intro.php?joinid=musick&club_name=foxgirl');
}
</script>
</body> ----------1-1

이렇게 테그의 마무리가 없이 2번 사용이 되엇다는 겁니다..
모든 테그는 시작이 있으면 끝이 있어야 합니다..
죄송 파일 이름이 잘못되었네요..
head.sub.php파일을 보시면 <body> 테그가 있을겁니다..
<body topmargin="0" leftmargin="0" onunLoad="good_bye();" <?=isset($g4['body_script']) ? $g4['body_script'] : "";?>>
테그적용을 하시려면 이렇게 해야 한다는 겁니다~!

Total 1,640건 24 페이지
  • RSS
질문답변 목록
번호 제목 글쓴이 조회 추천 날짜
1065 늙은여우쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8004 0 12-24
1064 쎄엠쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 8818 1 12-17
1063
<div-> 관련 댓글4
소피쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 10724 0 12-16
1062 소피쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 6299 0 12-15
1061 소피쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 11607 0 12-15
1060 소피쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7501 0 12-14
1059 쎄엠쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 12827 0 12-08
1058 쎄엠쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13288 0 11-26
1057 강용쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 13944 0 11-20
1056 Spirra쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 11117 0 11-18
1055 용맨쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 7151 0 11-17
1054 용맨쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 11879 0 11-16
1053 레몬트리쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 5989 0 11-09
1052 레몬트리쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 60 0 11-08
1051 Spirra쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 13681 0 11-05
1050 쎄엠쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13664 0 10-24
1049 블루쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 9543 0 09-28
1048 휴먼쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 11513 0 09-12
1047 아보병빠쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 6934 0 09-01
1046 아보병빠쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 7459 0 08-29
1045 아보병빠쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 12857 0 08-26
1044 아보병빠쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 12272 0 08-24
1043 아보병빠쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 10504 0 08-24
1042 야구공쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 14157 0 08-22
1041 월드컵쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 12947 0 08-20

검색

회원로그인

회원가입

사이트 정보

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

접속자집계

오늘
4,325
어제
7,853
최대
8,371
전체
1,637,734
Copyright (c) 株式会社YHPLUS. All rights reserved.