Merge branch 'master' of github.com:gnuboard/g5
This commit is contained in:
@ -1,25 +1,25 @@
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
if (!$member[mb_id])
|
||||
if (!$member['mb_id'])
|
||||
alert('회원만 접근하실 수 있습니다.');
|
||||
|
||||
if ($is_admin == 'super')
|
||||
alert('최고 관리자는 탈퇴할 수 없습니다');
|
||||
if ($is_admin == 'super')
|
||||
alert('최고 관리자는 탈퇴할 수 없습니다');
|
||||
|
||||
if (!($_POST[mb_password] && $member[mb_password] == sql_password($_POST[mb_password])))
|
||||
if (!($_POST['mb_password'] && $member['mb_password'] == sql_password($_POST['mb_password'])))
|
||||
alert('패스워드가 틀립니다.');
|
||||
|
||||
// 회원탈퇴일을 저장
|
||||
$date = date("Ymd");
|
||||
$sql = " update {$g5[member_table]} set mb_leave_date = '{$date}' where mb_id = '{$member[mb_id]}' ";
|
||||
$sql = " update {$g5['member_table']} set mb_leave_date = '{$date}' where mb_id = '{$member['mb_id']}' ";
|
||||
sql_query($sql);
|
||||
|
||||
// 3.09 수정 (로그아웃)
|
||||
session_unregister("ss_mb_id");
|
||||
|
||||
if (!$url)
|
||||
$url = G5_PATH;
|
||||
if (!$url)
|
||||
$url = G5_URL;
|
||||
|
||||
alert(''.$member[mb_nick].'님께서는 '. date("Y년 m월 d일") .'에 회원에서 탈퇴 하셨습니다.', $url);
|
||||
alert(''.$member['mb_nick'].'님께서는 '. date("Y년 m월 d일") .'에 회원에서 탈퇴 하셨습니다.', $url);
|
||||
?>
|
||||
|
||||
@ -68,12 +68,6 @@ $(function(){
|
||||
submenu_hide();
|
||||
}
|
||||
});
|
||||
|
||||
// 폰트 리사이즈 쿠키있으면 실행
|
||||
var font_resize_act = get_cookie("ck_font_resize_act");
|
||||
if(font_resize_act != "") {
|
||||
font_resize("container", font_resize_act);
|
||||
}
|
||||
});
|
||||
|
||||
function submenu_hide() {
|
||||
|
||||
10
tail.php
10
tail.php
@ -65,6 +65,16 @@ if ($config['cf_analytics']) {
|
||||
|
||||
<!-- } 하단 끝 -->
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
// 폰트 리사이즈 쿠키있으면 실행
|
||||
var font_resize_act = get_cookie("ck_font_resize_act");
|
||||
if(font_resize_act != "") {
|
||||
font_resize("container", font_resize_act);
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<?php
|
||||
include_once(G5_PATH."/tail.sub.php");
|
||||
?>
|
||||
Reference in New Issue
Block a user