아래 A.팝업창과 B.로그인창을 합치려고 합니다.
아무리 연구를 하여도 잘 모르겠습니다.
고수님들의 지도 부탁드립니다.
A. 파업창
<head>
<script language="JavaScript">
function winopen(){
window.open('열릴창', 'NewWindow1',
'left=0,top=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=800,height=640')
}
</script>
</head>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red" leftmargin="0" marginwidth="0" topmargin="3" marginheight="3" onLoad="winopen()">
B. 로그인 유무
<?php
$g4_path = "/web/home/xxxxxxx/html"; // common.php 의 상대 경로
include_once("$g4_path/common.php");
if($member[mb_level]>=5){
include("열릴창");
echo "로그인 하셨네요.^^<br>{$member[mb_id]} 회원님이시네요";
}else{
Header("Location:http://url주소") ;
echo "로그인 해주셔야죠.^^";
}
?>
아무리 연구를 하여도 잘 모르겠습니다.
고수님들의 지도 부탁드립니다.
A. 파업창
<head>
<script language="JavaScript">
function winopen(){
window.open('열릴창', 'NewWindow1',
'left=0,top=0,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=800,height=640')
}
</script>
</head>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red" leftmargin="0" marginwidth="0" topmargin="3" marginheight="3" onLoad="winopen()">
B. 로그인 유무
<?php
$g4_path = "/web/home/xxxxxxx/html"; // common.php 의 상대 경로
include_once("$g4_path/common.php");
if($member[mb_level]>=5){
include("열릴창");
echo "로그인 하셨네요.^^<br>{$member[mb_id]} 회원님이시네요";
}else{
Header("Location:http://url주소") ;
echo "로그인 해주셔야죠.^^";
}
?>
게시글 목록
| 번호 | 제목 |
|---|---|
| 284508 | |
| 284499 | |
| 284492 | |
| 284490 | |
| 284484 | |
| 284481 | |
| 284478 | |
| 284476 | |
| 284474 | |
| 284472 | |
| 284470 | |
| 284458 | |
| 284457 | |
| 284454 | |
| 284453 | |
| 284447 | |
| 284446 | |
| 284444 | |
| 284441 | |
| 284440 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기