r

최근글 스킨에서 if문이 안되요..

function _latest2($title, $tbl, $n=4, $len=40)
{
global $cfg;

$ulevel = 4; // 회원등급별 이동페이지 다르게
if ($member[mb_level] >= $ulevel || $is_admin == "default" || $is_admin == "group") {
echo "
<table width=100% cellpadding=0 cellspacing=0>
<tr height=29>
<td width=180 class=gb background='image/tit01.gif'>      <a href='./?doc=bbs/gnuboard.php&bo_table=$tbl'><span class=gb>$title 1</span></a></td>
<td width=110 align=right background='image/tit02.gif'><a href='./?doc=bbs/gnuboard.php&bo_table=$tbl'><img src='image/v9_more.gif' border=0></a>    </td>
</tr>
</table>";
}

else {
echo "
<table width=100% cellpadding=0 cellspacing=0>
<tr height=29>
<td width=180 class=gb background='image/tit01.gif'>      <a href='http://도메인/a.html'><span class=gb>$title 2</span></a></td>
<td width=110 align=right background='image/tit02.gif'><a href='http://도메인/a.html'><img src='image/v9_more.gif' border=0></a>    </td>
</tr>
</table>";
}

latest("adoult", $tbl, $n, $len);
}
혹시나 해서 위에 처럼 해보니.. 관리자가 로그인 해도
'http://도메인/a.html' 로만 연결되네요 ㅠ.ㅠ.

최근글 스킨에서 회원등급이 4 이상이 클릭하면 a 페이지로 이동
회원등급이 4 아래이면 (1,2,3) b 페이지로 이동시키고자 합니다.
도움 부탁드립니다 ^^
|
댓글을 작성하시려면 로그인이 필요합니다.

그누3질답

+
제목 글쓴이 날짜 조회
21년 전 조회 407
21년 전 조회 401
21년 전 조회 641
21년 전 조회 390
21년 전 조회 382
21년 전 조회 397
21년 전 조회 606
21년 전 조회 501
21년 전 조회 334
21년 전 조회 308
21년 전 조회 353
21년 전 조회 698
21년 전 조회 362
21년 전 조회 362
21년 전 조회 461
21년 전 조회 549
21년 전 조회 399
21년 전 조회 491
21년 전 조회 601
21년 전 조회 585