테스트 사이트 - 개발 중인 베타 버전입니다

그누5 아이프레임 페이지 회원 접속 채택완료

아이프레임 페이지에 회원만 접속할수 있도록 하는방법 없을까요?  (레벨2)

 

아래 소스식으로했는데 작동이 안되네요...   

 

http://swish.woweb.net/1.php 

아이프레임 페이지 소스 내용

 

 

</strong></p>

<p><strong><?

include_once("_common.php");

include_once("_head.php");

?>

<iframe src="<a href="http://swish.woweb.net/kim/1/frame.htm"" target="_blank" rel="noopener noreferrer">http://swish.woweb.net/kim/1/frame.htm"</a> width="796" height="900" scrolling="auto | yes | no" frameborder="1" align="left | center | right" name="사조영웅" ></iframe> </strong></p>

<p>

<strong><?

include_once("_tail.php");

?>

<?php if ($is_member) {  ?></strong></p>

<p><strong>회원 전용</strong></p>

<p><strong><?php } ?></strong></p>

<p><strong>

댓글을 작성하려면 로그인이 필요합니다.

답변 2개

채택된 답변
+20 포인트

</p>

<p><?php

include_once("_common.php");

if(!$is_member) alert("회원 가입 후 이용 가능합니다.");

include_once("_head.php");

?>

<iframe src="<a href="http://swish.woweb.net/kim/1/frame.htm"" target="_blank" rel="noopener noreferrer">http://swish.woweb.net/kim/1/frame.htm"</a> width="796" height="900" scrolling="auto | yes | no" frameborder="1" align="left | center | right" name="사조영웅" ></iframe> </p>

<p><?php

include_once("_tail.php");

?></p>

<p>

로그인 후 평가할 수 있습니다

답변에 대한 댓글 1개

한글이 깨져보입니다.
파일 언어셋 확인해 보세요.

댓글을 작성하려면 로그인이 필요합니다.

</p>

<p><?

include_once("_common.php");

include_once("_head.php");

?>

<?php if ($is_member) {  ?>

<iframe src="<a href="http://swish.woweb.net/kim/1/frame.htm"" target="_blank" rel="noopener noreferrer">http://swish.woweb.net/kim/1/frame.htm"</a> width="796" height="900" scrolling="auto | yes | no" frameborder="1" align="left | center | right" name="사조영웅" ></iframe> 

    

<? } else { ?></p>

<p>회원만 확인 가능합니다.</p>

<p><? } ?>

 </p>

<p>

로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인

전체 질문 목록

🐛 버그신고