그누보드 [G4/G5] 외부로그인 로그아웃후 현재페이지 유지하기
페이지 정보
본문
로그인 활용 팁입니다.
1. 그누보드 4
<a href="<?php echo $g4['bbs_path']; ?>/logout.php?url=<?php echo $_SERVER['REQUEST_URI']; ?>">
<a href="<?php echo $g4['bbs_path']; ?>/logout.php?url=<?php echo $urlencode; ?>">
2. 그누보드 5.2
<a href="<?php echo G5_BBS_URL; ?>/logout.php?url=<?php echo $_SERVER['REQUEST_URI']; ?>">
3. 그누보드 5.3~5.4
<?php if ($is_member) { ?>
<a href="<?php echo G5_BBS_URL; ?>/member_confirm.php?url=<?php echo G5_BBS_URL; ?>/register_form.php"><i class="fa fa-cog" aria-hidden="true"></i> 정보수정</a>
<a href="<?php echo G5_BBS_URL; ?>/logout.php"><i class="fa fa-sign-out" aria-hidden="true"></i> 로그아웃</a>
<?php if ($is_admin) { ?>
<a href="<?php echo G5_ADMIN_URL; ?>" target="_blank"><b><i class="fa fa-user-circle" aria-hidden="true"></i> 관리자</b></a>
<?php } ?>
<?php } else { ?>
<a href="<?php echo G5_BBS_URL; ?>/register.php"><i class="fa fa-user-plus" aria-hidden="true"></i> 회원가입</a>
<a href="<?php echo G5_BBS_URL; ?>/login.php?url=<?php echo $_SERVER['REQUEST_URI']; ?>"><b><i class="fa fa-sign-in" aria-hidden="true"></i> 로그인</b></a>
<?php } ?>
참고자료
http://sir.co.kr/bbs/board.php?bo_table=g4_tiptech&wr_id=5358
1. 그누보드 4
<a href="<?php echo $g4['bbs_path']; ?>/logout.php?url=<?php echo $_SERVER['REQUEST_URI']; ?>">
<a href="<?php echo $g4['bbs_path']; ?>/logout.php?url=<?php echo $urlencode; ?>">
2. 그누보드 5.2
<a href="<?php echo G5_BBS_URL; ?>/logout.php?url=<?php echo $_SERVER['REQUEST_URI']; ?>">
3. 그누보드 5.3~5.4
<?php if ($is_member) { ?>
<a href="<?php echo G5_BBS_URL; ?>/member_confirm.php?url=<?php echo G5_BBS_URL; ?>/register_form.php"><i class="fa fa-cog" aria-hidden="true"></i> 정보수정</a>
<a href="<?php echo G5_BBS_URL; ?>/logout.php"><i class="fa fa-sign-out" aria-hidden="true"></i> 로그아웃</a>
<?php if ($is_admin) { ?>
<a href="<?php echo G5_ADMIN_URL; ?>" target="_blank"><b><i class="fa fa-user-circle" aria-hidden="true"></i> 관리자</b></a>
<?php } ?>
<?php } else { ?>
<a href="<?php echo G5_BBS_URL; ?>/register.php"><i class="fa fa-user-plus" aria-hidden="true"></i> 회원가입</a>
<a href="<?php echo G5_BBS_URL; ?>/login.php?url=<?php echo $_SERVER['REQUEST_URI']; ?>"><b><i class="fa fa-sign-in" aria-hidden="true"></i> 로그인</b></a>
<?php } ?>
참고자료
댓글목록
등록된 댓글이 없습니다.