비표준 그누보드4 첫커밋

This commit is contained in:
whitedot
2012-10-05 15:12:27 +09:00
parent 8751c57ffc
commit a4b2e70e4d
899 changed files with 89562 additions and 0 deletions

21
bbs/email_stop.php Normal file
View File

@ -0,0 +1,21 @@
<?
include_once("./_common.php");
$sql = " select mb_id, mb_email, mb_datetime from $g4[member_table] where mb_id = '$mb_id' ";
$row = sql_fetch($sql);
if (!$row[mb_id])
alert("존재하는 회원이 아닙니다.", $g4[path]);
if ($mb_md5)
{
$tmp_md5 = md5($row[mb_id].$row[mb_email].$row[mb_datetime]);
if ($mb_md5 == $tmp_md5)
{
sql_query(" update $g4[member_table] set mb_mailling = '0' where mb_id = '$mb_id' ");
alert("정보메일을 보내지 않도록 수신거부 하였습니다.", $g4[path]);
}
}
alert("제대로 된 값이 넘어오지 않았습니다.", $g4[path]);
?>