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

사이드뷰 특정회원 메뉴추가하기 채택완료

쥬리앙 10년 전 조회 4,194

common.lib.php

 

if($mb_id)         $str2 .= "회원 프로필\n";

 

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

 

if($???????????????????)         $str2 .= "회원 프로필2\n";

 

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

 

어떻게 하면 좋을까요??

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

답변 3개

채택된 답변
+20 포인트
10년 전

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

 

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

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

답변에 대한 댓글 2개

쥬리앙
10년 전
감사합니다~~
쥬리앙
10년 전
엮시 안되는군요....

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

10년 전

아나 수정안되네..

 

</p><p>​<span style="line-height: normal; font-size: 10pt;">if($member[mb_10]​​ == 1) {​</span></p><pre style="line-height: normal;">        $str2 .= "<a href=\"".G5_BBS_URL."/profile.php?mb_id=".$mb_id."\" onclick=\"win_profile(this.href); return false;\">회원 프로필2</a>\n";  </pre><pre style="line-height: normal;">echo <span style="font-size: 13.3333330154419px; font-family: 굴림;">$str2</span><span style="font-family: 굴림; font-size: 10pt;">​;</span></pre><pre style="line-height: normal;"></pre><p><span style="line-height: normal; font-size: 10pt;">}</span><span id="husky_bookmark_end_1423769972627"></span> </p><p>

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

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

10년 전

.........

 

</p><p><span style="font-family: gulim, helvetica; font-size: 13.0799999237061px; line-height: 23.5440006256104px; background-color: rgb(255, 255, 255);"></span><span style="font-family: gulim, helvetica; font-size: 13.0799999237061px; line-height: 23.5440006256104px; background-color: rgb(255, 255, 255);">if($member[mb_10]</span><span style="font-size: 10pt; line-height: 1.5; font-family: gulim, helvetica; background-color: rgb(255, 255, 255);">​</span><span style="font-size: 10pt; line-height: 1.5; font-family: gulim, helvetica; background-color: rgb(255, 255, 255);">​ == 1) {</span><span style="font-family: gulim, helvetica; font-size: 13.0799999237061px; line-height: 23.5440006256104px; background-color: rgb(255, 255, 255);">​</span></p><p><span style="font-family: gulim, helvetica; font-size: 13.0799999237061px; line-height: 23.5440006256104px; background-color: rgb(255, 255, 255);">        $str2 .= "<a href=\"".G5_BBS_URL."/profile.php?mb_id=".$mb_id."\" onclick=\"win_profile(this.href); return false;\">회원 프로필2</a>\n";</span> </p><p><span style="font-family: gulim, helvetica; font-size: 13.0799999237061px; line-height: 23.5440006256104px; background-color: rgb(255, 255, 255);">}</span></p><p><span style="font-family: gulim, helvetica; font-size: 13.0799999237061px; line-height: 23.5440006256104px; background-color: rgb(255, 255, 255);"></span><span style="font-size: 13.3333330154419px; line-height: 1.5;">

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

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

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

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

로그인