쪽지 도착 알림 코드 수정

This commit is contained in:
chicpro
2013-01-18 15:51:38 +09:00
parent a92da37bf5
commit 2214ca4b0b

View File

@ -7,14 +7,6 @@ $begin_time = get_microtime();
if (!isset($g4['title']))
$g4['title'] = $config['cf_title'];
// 쪽지를 받았나?
if (isset($member['mb_memo_call']) && $member['mb_memo_call']) {
$mb = get_member($member['mb_memo_call'], "mb_nick");
sql_query(" update {$g4['member_table']} set mb_memo_call = '' where mb_id = '{$member['mb_id']}' ");
alert($mb['mb_nick'].'님으로부터 쪽지가 전달되었습니다.', $_SERVER['REQUEST_URI'], false);
}
// 현재 접속자
//$lo_location = get_text($g4[title]);
@ -102,6 +94,18 @@ if (!empty($g4['js_file'])) {
<body>
<a id="g4_head"></a>
<?
// 쪽지를 받았나?
if (isset($member['mb_memo_call']) && $member['mb_memo_call']) {
$mb = get_member($member['mb_memo_call'], "mb_nick");
sql_query(" update {$g4['member_table']} set mb_memo_call = '' where mb_id = '{$member['mb_id']}' ");
//alert($mb['mb_nick'].'님으로부터 쪽지가 전달되었습니다.', $_SERVER['REQUEST_URI'], false);
$memo_msg = $mb['mb_nick'].'님으로부터 쪽지가 전달되었습니다.\\n\\n바로 확인하시겠습니까?';
include_once($g4['bbs_path'].'/memocall.php');
}
?>
<?
if (G4_IS_MOBILE) {
include_once($g4['path'].'/mobile.head.php');