쪽지 알림을 head.sub.php 에서 head.php 로 변경

이유는 새창에서 굳이 쪽지 알림을 볼 이유가 없음
This commit is contained in:
gnuboard
2013-01-23 11:01:12 +09:00
parent c883bfa11e
commit 14cbbf16d1
2 changed files with 13 additions and 13 deletions

View File

@ -1,4 +1,4 @@
<?
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once($g4['path'].'/head.sub.php');
@ -11,6 +11,18 @@ include_once($g4['path'].'/lib/popular.lib.php');
//print_r2(get_defined_constants());
?>
<?
// 쪽지를 받았나?
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');
}
?>
<header id="header">
<div id="to_content"><a href="#wrapper">본문 바로가기</a></div>
<div id="logo"><a href="<?=$g4['path']?>/"><img src="<?=$g4['path']?>/img/logo.jpg" alt="처음으로"></a></div>