묻고답하기

팝업창을 뛰워서 체크를 하면 다시 나타나지 않게 하려하는데 체크를 해도 계속 나타나네요..

뭐가 잘못됐는지 좀 봐주세요..

주소는 http://tjcblack.co.sr

소스 밑에 나갑니다..log.php와 popup.htm 두개의 소스입니다.....


==========================================================================================

<?
$_zb_level = 10;
$_zb_skin = "cafe_out2";
$_zb_url = "http://oxpanic.cafe24.com/bbs/";
$_zb_path = "/home/hosting_users/oxpanic/www/bbs/";
include $_zb_path."outlogin.php";
?>

<html>

<head>
<script language="JavaScript">
<!--
function getCookie(name) {
var nameOfCookie = name + "=";
var x = 0

while ( x <= document.cookie.length ) {
var y = (x+nameOfCookie.length);
if ( document.cookie.substring( x, y ) == nameOfCookie ) {
if ( (endOfCookie=document.cookie.indexOf( ";",y )) == -1 )
endOfCookie = document.cookie.length;
return unescape( document.cookie.substring(y, endOfCookie ) );
}
x = document.cookie.indexOf( " ", x ) + 1;
if ( x == 0 )
break;
}
return "";
}

function openCookieWin() {
if (getCookie("ncook") != "done") {
noticeWindow = window.open("/popup.htm","","width=309, height=470, top=100,center");
noticeWindow.opener = self;
}
}
//-->
</script>

<script language="JavaScript">
<!--

var favoriteurl="http://tjcblack"
var favoritetitle="TJC black"
function addfavorites(){
if (document.all)
window.external.AddFavorite(favoriteurl,favoritetitle)}

//-->
</script>

<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<meta name="generator" content="Namo WebEditor v6.0">
<base target="contents">
<style><!--
a { text-decoration:none; }
-->
</style></head>

<body onLoad="openCookieWin();" bgcolor="white" text="black" link="black" vlink="black" alink="black" leftmargin="0" marginwidth="0" topmargin="1" marginheight="1">
<table width="118" cellpadding="0" cellspacing="0">
    <tr>
        <td width="34" height="48">
            <p align="left"><? print_outlogin("cafe_out2", 1, 10) ?>
</p>
</td>
    </tr>
    <tr>
        <td width="34" height="14">
            <p align="center"><a href="loginp.htm" target="detail" title="로그인이 안될때"><img src="image/logp.gif" width="118" height="34" border="0"></a></p>
</td>
    </tr>
    <tr>
        <td width="34" height="4"><a href="javascript:addfavorites()" title="즐겨찾기 추가"><img src="image/link.gif" width="118" height="34" border="0"></a></td>
    </tr>
    <tr>
        <td width="34" height="21"><a href="http://oxpanic.cafe24.com/bbs/zboard.php?id=vote" target="detail" title="설문조사"><img src="image/vote.gif" width="118" height="34" border="0"></a></td>
    </tr>
    <tr>
        <td width="34" height="7">

            <p align="center">
            <script src="http://www.gilboard.cc/counter/count.php?uid=oxpanic&cid=tjcb" &d=1440>
            </script>
</p>
</td>
    </tr>
    <tr>
        <td width="34" height="216">
            <p> </p>
            <p> </p>
            <p> </p>
            <p> </p>
            <p> </p>
</td>
    </tr>
    <tr>
        <td width="34" height="34"><img src="image/banner/vibe.gif" width="118" height="34" border="0" alt="궁동 vibe"></td>
    </tr>
    <tr>
        <td width="34" height="5">            <p><a href="http://cafe.daum.net/CNhips" target="_blank" title="충남대학교 흑인음악 동아리 AW"><img src="image/banner/awbanner.gif" width="118" height="34" border="0"></a></p>
</td>
    </tr>
    <tr>
        <td width="34" height="5">
            <p align="center"><a href="admin.htm" target="detail" title="배너/광고 신청"><img src="image/banner/ad.gif" width="118" height="34" border="0"></a></p>
</td>
    </tr>
    <tr>
        <td width="34" height="25"><a href="admin.htm" target="detail" title="운영자에게"><img src="image/banner/contact.gif" width="118" height="34" border="0"></a></td>
    </tr>
</table>
</body>

</html>


============================================================================================

<html>

<head>
<script language="JavaScript">
<!--
function setCookie(name,value,expiredays) {
var todayDate = new Date();
todayDate.setDate(todayDate.getDate() + expiredays);
document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";"
}

function closeWin() {
if(document.checkClose.ncook.checked == true) {
setCookie("ncook", "done" ,7);
}
self.close();
}
//-->
</script>

<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<meta name="generator" content="Namo WebEditor v6.0">
</head>

<body bgcolor="white" text="black" link="black" vlink="black" alink="black" leftmargin="0" marginwidth="0" topmargin="0" marginheight="0">
<table width="309" height="460" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td width="1088">
            <p align="center"><img src="image/pupupad.gif" width="309" height="438" border="0"></p>
</td>
    </tr>
    <tr>
        <td width="1088" height="9">
            <p align="right"><form name="checkClose">
  <input type="checkbox" name="ncook"><font face="돋움"><span style="font-size:10pt;">다음부터 이 창 띄우지 않음
  <a href="/popup.htm" onClick="closeWin()">닫기</a>
</span></font></form>
</p>
</td>
    </tr>
</table>
</body>

</html>

글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
제로보드굿짱 회원 포인트 관련? [3] 2014.05.15 by 혼마_메이코
sanjock 한국에서는 이상없이 열리는데.. [3] file 2014.05.15 by 슈니슈니
마멜a 파일 업로드 문제 [1] 2014.05.15 by LI-NA
cdtank xpresseditor 하얀색 위지웍(기본) 에디터에 문서 복사 붙여넣기 [35] 2014.05.15 by cdtank
K.Soma 보통 호스팅에서는 php메모리 제한이 어느정도 인가요? [1] 2014.05.15 by LI-NA
socialskyo 통합검색 확장 모듈 질문.. [16] 2014.05.15 by Bryan!
junnpark 확장 변수 링크 및 기타 질문 [1] 2014.05.15 by 혼마_메이코
qqwqqw1212 sketchbook5 유투브 갤러리 게시판 스킨(사용자 정의) 표시질문 [4] 2014.05.15 by qqwqqw1212
군생 1.4에서 되던게 1.7에서 작동하지 않습니다. [1] 2014.05.15 by Perbiz
cuckoo 도와 주세요. [4] 2014.05.15 by Double'U'
오락실주인 회원 있기 / 회원 없기 [속도차이] [2] 2014.05.15 by 오락실주인
모해 삐져나온 것을 안으로 집어넣고 싶습니다 (z index?) [6] file 2014.05.15 by 또별
benkeii1980 XE 1.7.5 버젼을 php 5.2.x에선 사용 못하는지요? [2] 2014.05.15 by benkeii1980
발랄한그녀나야나 관리자 어도민 페이지를 아무리 찾으려 해도.. [6] 2014.05.15 by 2donggalbi
Bokmani 페이지 수정이 안됩니다. [7] 2014.05.14 by Bokmani
심완업 답답 합니다. [1] 2014.05.14 by Double'U'
희망규짱 도메인관련 질문드려요 ㅎ [5] 2014.05.14 by 희망규짱
메가x2 게시글 등록후 수정할때 무반응 [2] 2014.05.14 by 애니즌
XE힘들당휴 jQuery가 PC에서는 작동하지만 모바일에서는 작동하지 않습니다. [5] 2014.05.14 by 애니즌
모해 게시판 스킨설정을 완료하면 메인을 가집니다