채택완료

사이드뷰 특정회원 메뉴추가하기

2015-02-12 (목) 01:47:05 4,378

common.lib.php

if($mb_id)
        $str2 .= "<a href=\"".G5_BBS_URL."/profile.php?mb_id=".$mb_id."\" onclick=\"win_profile(this.href); return false;\">회원 프로필</a>\n";

사이드뷰 소스인데요...

if($???????????????????)
        $str2 .= "<a href=\"".G5_BBS_URL."/profile.php?mb_id=".$mb_id."\" onclick=\"win_profile(this.href); return false;\">회원 프로필2</a>\n";

위 물음표에...mb_10 이 1인 회원은 회원프로필 2도 보이게 하고싶거든요..

어떻게 하면 좋을까요??

|

답변 3개 / 댓글 2개

채택된 답변
+20 포인트
2015-02-12 (목) 16:03:43

if($???????????????????)  ↓

 

if($member[mb_10]​​ == 1)

답변에 대한 댓글 2개

감사합니다~~
엮시 안되는군요....
2015-02-13 (금) 04:38:34

아나 수정안되네..

Copy
​if($member[mb_10]​​ == 1) {​        $str2 .= "<a href=\"".G5_BBS_URL."/profile.php?mb_id=".$mb_id."\" onclick=\"win_profile(this.href); return false;\">회원 프로필2</a>\n";  echo $str2​;}
2015-02-13 (금) 04:37:35

.........

Copy
if($member[mb_10]​​ == 1) {​        $str2 .= "<a href=\"".G5_BBS_URL."/profile.php?mb_id=".$mb_id."\" onclick=\"win_profile(this.href); return false;\">회원 프로필2</a>\n"; }
​

.......... ㅡ.,ㅡ

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