|
|
|
20년 전
|
조회 1,616
|
|
|
|
20년 전
|
조회 1,609
|
|
|
|
20년 전
|
조회 1,472
|
|
|
|
20년 전
|
조회 1,660
|
|
|
|
20년 전
|
조회 1,598
|
|
|
|
20년 전
|
조회 1,547
|
|
|
|
20년 전
|
조회 1,533
|
|
|
|
20년 전
|
조회 1,238
|
|
|
|
20년 전
|
조회 1,639
|
|
|
|
20년 전
|
조회 1,555
|
|
|
|
20년 전
|
조회 1,668
|
|
|
|
20년 전
|
조회 1,635
|
|
|
|
20년 전
|
조회 1,541
|
|
|
|
20년 전
|
조회 1,535
|
|
|
|
20년 전
|
조회 1,546
|
|
|
|
20년 전
|
조회 1,682
|
|
|
|
20년 전
|
조회 2,768
|
|
|
|
20년 전
|
조회 1,552
|
|
|
|
20년 전
|
조회 1,667
|
|
|
|
20년 전
|
조회 1,842
|
댓글 7개
a 그룹이므로 b를 출력하고
<? } else { ?>
a 그룹이 아니므로 c가 보입니다.
<? } ?>
위 처럼 해 봐도 안되어서 여쭈게 되었습니다.
혹시, 디비의 그룹명을 인식할 수 있도록 인클루드 해 줘야 할 부분이 없을까요?
무식이 참으로 답답합니다.
<tr>
<td width=560 valign=top>
<table width="100%" cellspacing="0" cellpadding="0" border=0>
<tr>
<td colspan=2 background="<?=$g4[path]?>/img/left_top_bg.gif" height="5"></td>
</tr>
<tr><!-- 로고 -->
<td valign=top width=220><a href="<?=$g4[path]?>/"><img src="<?=$g4[path]?>/img/logo_top.jpg" border=0></a>
</td>
<td valign=top> <a href="javascript:bookmark()" class=tm><font color=teal>즐겨찾기 </font>
<img src="<?=$g4[path]?>/img/lalala.gif" border=0></a></td>
</tr>
</table>
</td>
<td width='' valign=top>
<table width="100%" height="22" cellspacing="0" cellpadding="0" border=0>
<tr>
<td background="<?=$g4[path]?>/img/right_top_bg.gif">
<img src="<?=$g4[path]?>/img/flower.gif"> <a href="http://www.kjin.or.kr/gnuboard4/extend/page/test02.php">나의글</a> |
<?=connect(); // 현재 접속자수 ?> | <a href=http://www.kjin.or.kr/gnuboard4/extend/page/attendance.php>출석부</a>
<? if ($member[mb_level] >= 3)
echo "| <a href=http://www.kjin.or.kr/gnuboard4/bbs/board.php?sca=&page=1&bo_table=diary&view_mode=diary>나의일정</a>";
else
echo "| <a href=http://www.kjin.or.kr/gnuboard4/bbs/board.php?sca=&page=1&bo_table=diary&view_mode=diary>교회일정</a>";
?>
<td>
</tr>
<tr>
<td valign=top width=100%>
<table width=100% cellpadding=0 cellspacing=0 border=0>
<tr height=35>
<td width=25% valign=bottom>
<? if ($gr_id == 'msn_james') { ?>
<img src=http://www.kjin.or.kr/gnuboard4/img/icon_latest.gif> <a href=http://www.kjin.or.kr/gnuboard4/bbs/board.php?bo_table=msn_james_money>야고보회계</a>
<? } else { ?>
회계장부신청하세요.
<? } ?>
</td>
<td align=right valign=bottom>
<a href=<?=$g4[path]?>/bbs/board.php?bo_table=guestbook>방명록</a> |
<?
$mb = get_member('pureyouth');
echo "<a href='javascript:;' onclick=\"win_formmail('$mb[mb_id]','$mb[mb_name]','".base64_encode($mb[mb_email])."');\">{$mb[mb_name]}목사님께 메일</a> ";
?>
</td></tr></table>
</td>
</tr>
</table>
</td>
</tr>
<tr height=5><td colspan=2>
</td></tr>
</table>
'msn_james'가 그룹아이디 입니다.
테스트 아이디를 만든 후, 'msn_james'그룹에 집어 넣은 후, 로그인 하면 '회계장부 신청하세요.'라는 글만 보입니다.
<? if ($gr_id == 'msn_james') { ?>
<img src=http://www.kjin.or.kr/gnuboard4/img/icon_latest.gif> <a href=http://www.kjin.or.kr/gnuboard4/bbs/board.php?bo_table=msn_james_money>야고보회계</a>
<? } else { ?>
회계장부신청하세요.
<? } ?>