로그아웃시 페이지 유지 할수 없나요.. 도움 요청합니다..
그누보드에서 로그인 하고 다시 로그아웃 했을때 그전 페이지로 가지 않고 웬걸
그누보드4 인덱스 페이지로 바껴버리네요 .. 대략난감 ㅠ ㅠ
그래서 여기저기 찾아봤는데
이곳에서도 아무리 읽어봐도 까막눈이라 답이 나오질 않네요 ..
아웃로그인스킨에서 아무리 찾아봐도 <a href="<?=$g4[bbs_path]?>/logout.php?url=<?=$_SERVER['REQUEST_URI']?>"> 이런문자는 보이지도 않구요 ㅠ ㅠ
처음부터 차근차근 자세한 설명 부탁드립니다.. 고수분들 도와주세요 ~!
내일부터 전국적으로 눈이 내린 다네요 .. 모두들 감기조심하세요~!
|
댓글을 작성하시려면 로그인이 필요합니다.
로그인
댓글 4개
outlogin.skin.2.php의 38라인
수정전..
--------------------------------------------------------------------------
<td width="82"><a href="<?=$g4['bbs_path']?>/logout.php"><img src="<?=$outlogin_skin_path?>/img/logout_button.gif" width="78" height="20" border="0"></a></td>
--------------------------------------------------------------------------
수정후
--------------------------------------------------------------------------
<td width="82"><a href="<?=$g4[bbs_path]?>/logout.php?url=<?=$urlencode?>"><img src="<?=$outlogin_skin_path?>/img/logout_button.gif" width="78" height="20" border="0"></a></td>
--------------------------------------------------------------------------
제가 원하는 스킬로 하니까 안되네요.. 문자열도 틀리구요 ..
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="20" height="18">
<p><img src="<?=$outlogin_skin_path?>/images/nm.gif" width="20" height="18" border="0"></p>
</td>
<td width="100%" height="18">
<form name="form1" style="margin:0;">
<input type="text" name="formtext1" value="<?=$nick?>" style="font-family:굴림; font-size:8pt; color:rgb(148,148,148); border-width:1; border-color:rgb(247,247,247); border-style:solid; width:100%; height:17px;" read-only>
</form>
</td>
<td width="45" height="36" rowspan="2" valign="top">
<p><a href="<?=$g4['bbs_path']?>/logout.php"><img src="<?=$outlogin_skin_path?>/images/logout.gif" width="45" height="36" border="0"></a></p>
</td>
</tr>
<tr>
<td width="20" height="18" valign="top" style="padding-bottom:5;">
<p><img src="<?=$outlogin_skin_path?>/images/pt.gif" width="20" height="18" border="0"></p>
</td>
<td width="100%" height="18" valign="top">
<form name="form1" style="margin:0;">
<input type="text" name="formtext1" value="<?=$point?>" style="font-family:굴림; font-size:8pt; color:rgb(148,148,148); border-width:1; border-color:rgb(247,247,247); border-style:solid; width:100%; height:17px;" read-only>
</form>
</td>
</tr>
<tr>
<td width="100%" height="20" colspan="3" background="<?=$outlogin_skin_path?>/images/low_bg.gif">
<div align="right">
<table cellpadding="0" cellspacing="0" height="20">
<tr>
<? if ($is_admin == "super" || $is_auth) { ?>
<td width="20">
<p><a href="<?=$g4[admin_path]?>/"><img src='<?=$outlogin_skin_path?>/images/i_admin.gif' border=0 align=absmiddle></a></p>
</td>
<? } ?>
<td width="30">
<p><a href="<?=$g4[bbs_path]?>/member_confirm.php?url=register_form.php"><img src="<?=$outlogin_skin_path?>/images/info.gif" width="30" height="20" border="0"></a></p>
</td>
<td width="30">
<? if($memo_not_read) { ?>
<p><a href="javascript:win_memo();"><img src='<?=$outlogin_skin_path?>/images/memo.gif' border=0 align=absmiddle width=30 height=20 title="새로운 쪽지"></a></p>
<? } else { ?>
<p><a href="javascript:win_memo();"><img src='<?=$outlogin_skin_path?>/images/memo2.gif' border=0 align=absmiddle width=30 height=20 title="쪽지함"></a></p>
<? } ?>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
제가 원하는 스킨의 skin.2.php 열어보니 위처럼 나왔습니다 베이직하고는 전혀 또 틀리네요 ㅠ ㅠ 어떻게 하면 해결 할수 있나요 ?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="20" height="18">
<p><img src="<?=$outlogin_skin_path?>/images/nm.gif" width="20" height="18" border="0"></p>
</td>
<td width="100%" height="18">
<form name="form1" style="margin:0;">
<input type="text" name="formtext1" value="<?=$nick?>" style="font-family:굴림; font-size:8pt; color:rgb(148,148,148); border-width:1; border-color:rgb(247,247,247); border-style:solid; width:100%; height:17px;" read-only>
</form>
</td>
<td width="45" height="36" rowspan="2" valign="top">
<p><a href="<?=$g4[bbs_path]?>/logout.php?url=<?=$urlencode?>">
<img src="<?=$outlogin_skin_path?>/images/logout.gif" width="45" height="36" border="0"></a></p>
</td>
아 정말 감사 합니다 ^^
새해복 많이 받으세요 ..!