로그인하지 않고는 신청을 못하도록 하려면 어찌해야할까요? 그리고
echo"<script>alert('로그인하지 않으셨습니다. 로그인후에 신청해주세요.); self.close(); </script>";
}
\";}\r\n문제는 등록신청 버튼 누르면 등록창이 나오는데 위 메시지가 뿌려지면서 확인을 누르고 나면 지금 보고 있는 웹페이지 창을 닫으시겠습니까? 하고 묻습니다. \r\n그때 아니오라고 하면 등록화면이 나온다는겁니다. 이때 등록을 시도하면 온라인등록이 되어버리고요. \r\n창을 닫으시겠습니까? 하고 묻지 않고 닫아버리게 할 순 없을까요? \r\n혹 또...","url":"https://sir.kr/boards/program/17350","author":{"@type":"Person","name":"젬스박","url":"https://sir.kr/profile/1fb31c50-6354-485f-a230-bca460847128"},"interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":2}],"datePublished":"2012-06-14T12:24:15+09:00","dateModified":"2012-06-20T11:21:20+09:00","comment":[{"@type":"Comment","text":"if(!$is_member)\r\n alert('미안... 나가줘야겟어');","author":{"@type":"Person","name":"견해★"},"datePublished":"2012-06-14T15:37:32+09:00"},{"@type":"Comment","text":"등록신청 버튼과 등록신천 버튼시 뜨는 창에서 같이 $is_member를 확인하심될득\r\nif(!$is_member) alert(\"회원만 접근가능합니다\",$g4[path]);","author":{"@type":"Person","name":"불량학생"},"datePublished":"2012-06-20T11:21:20+09:00"}]}
댓글 2개
alert('미안... 나가줘야겟어');
if(!$is_member) alert("회원만 접근가능합니다",$g4[path]);