게시판외에 메뉴를 새로 만들었는데요 정보
게시판외에 메뉴를 새로 만들었는데요본문
예를 들어 "생활용품" 이라는 메뉴를 새로 만들었는데
이메뉴를 로그인이 되어야만 볼수있도록 할려면 어케해야하는지요?
포인트 2000 쏘겠습니다..
꼭좀 부탁드립니다
댓글 전체
<? if (!$member['mb_id']) { ?>
로그인 이전에 보여줄 페이지
<? } else { ?>
로그인 후 보여질 페이지
<? } ?>
로그인 이전에 보여줄 페이지
<? } else { ?>
로그인 후 보여질 페이지
<? } ?>
이게 어느페이지에 있는건가요? ^.^..
초보라서...;;;;
예를들어 설명해주신다면.. 쉽게 알수있을거 같군여 ^^
초보라서...;;;;
예를들어 설명해주신다면.. 쉽게 알수있을거 같군여 ^^
메뉴를 어디에 넣을건지 정하신 후 그곳에 넣으셔야지요...
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "";
include_once("./_head_1.php");
?>
<? if (!$member['mb_id']) { ?>
<a href=http://jjang4u.net/bbs/login.php?url=/ucc.html>
<? } else { ?>
<a href=http://jjang4u.net/ucc.html>
<? } ?>
<center><iframe src='http://aple.uccc.co.kr/Adplace/Adplace.asp?ACD=AP07042500401' width=920 height=1130 frameborder=0 scrolling=no topmargin=0 leftmargin=0></iframe></center>
<?
include_once("./_tail.php");
?>
-----------------------
이렇게 넣었는데 적용이 안되네요.. 뭐가문제인가요?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "";
include_once("./_head_1.php");
?>
<? if (!$member['mb_id']) { ?>
<a href=http://jjang4u.net/bbs/login.php?url=/ucc.html>
<? } else { ?>
<a href=http://jjang4u.net/ucc.html>
<? } ?>
<center><iframe src='http://aple.uccc.co.kr/Adplace/Adplace.asp?ACD=AP07042500401' width=920 height=1130 frameborder=0 scrolling=no topmargin=0 leftmargin=0></iframe></center>
<?
include_once("./_tail.php");
?>
-----------------------
이렇게 넣었는데 적용이 안되네요.. 뭐가문제인가요?
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "";
include_once("./_head_1.php");
?>
<? if (!$member['mb_id']) { ?>
<a href=http://jjang4u.net/bbs/login.php?url=/ucc.html>메뉴A(로그인이전)</a>
<? } else { ?>
<a href=http://jjang4u.net/ucc.html>메뉴B(로그인이후)</a>
<? } ?>
<center><iframe src='http://aple.uccc.co.kr/Adplace/Adplace.asp?ACD=AP07042500401' width=920 height=1130 frameborder=0 scrolling=no topmargin=0 leftmargin=0></iframe></center>
<?
include_once("./_tail.php");
?>
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "";
include_once("./_head_1.php");
?>
<? if (!$member['mb_id']) { ?>
<a href=http://jjang4u.net/bbs/login.php?url=/ucc.html>메뉴A(로그인이전)</a>
<? } else { ?>
<a href=http://jjang4u.net/ucc.html>메뉴B(로그인이후)</a>
<? } ?>
<center><iframe src='http://aple.uccc.co.kr/Adplace/Adplace.asp?ACD=AP07042500401' width=920 height=1130 frameborder=0 scrolling=no topmargin=0 leftmargin=0></iframe></center>
<?
include_once("./_tail.php");
?>
이제야 알아들었네요... 감사합니다 ^^