지운아빠 땀표 작업하던 것

This commit is contained in:
whitedot
2012-11-02 10:49:35 +09:00
parent c26c4d8ce9
commit d3ab4acee1
62 changed files with 2745 additions and 2764 deletions

View File

@ -1,28 +1,28 @@
<?
$sub_menu = "200200";
include_once("./_common.php");
$sub_menu = '200200';
include_once('./_common.php');
auth_check($auth[$sub_menu], "w");
auth_check($auth[$sub_menu], 'w');
check_token();
if ($member[mb_password] != sql_password($_POST['admin_password'])) {
alert("패스워드가 다릅니다.");
if ($member[mb_password] != sql_password($_POST["admin_password"])) {
alert('패스워드가 다릅니다.');
}
$mb_id = $_POST['mb_id'];
$po_point = $_POST['po_point'];
$po_content = $_POST['po_content'];
$po_point = $_POST["po_point"];
$po_content = $_POST["po_content"];
$mb = get_member($mb_id);
if (!$mb['mb_id'])
alert("존재하는 회원아이디가 아닙니다.", "./point_list.php?$qstr");
alert('존재하는 회원아이디가 아닙니다.', './point_list.php?$qstr');
if (($po_point < 0) && ($po_point * (-1) > $mb[mb_point]))
alert("포인트를 깎는 경우 현재 포인트보다 작으면 안됩니다.", "./point_list.php?$qstr");
alert('포인트를 깎는 경우 현재 포인트보다 작으면 안됩니다.', './point_list.php?$qstr');
insert_point($mb_id, $po_point, $po_content, '@passive', $mb_id, $member['mb_id']."-".uniqid(""));
insert_point($mb_id, $po_point, $po_content, "@passive", $mb_id, $member['mb_id'].'-'.uniqid(''));
goto_url("./point_list.php?$qstr");
goto_url('./point_list.php?$qstr');
?>