|
|
|
16년 전
|
조회 966
|
|
|
|
16년 전
|
조회 1,721
|
|
|
|
16년 전
|
조회 1,222
|
|
|
|
16년 전
|
조회 1,451
|
|
|
|
16년 전
|
조회 1,573
|
|
|
|
16년 전
|
조회 1,578
|
|
|
|
16년 전
|
조회 915
|
|
|
|
16년 전
|
조회 976
|
|
|
|
16년 전
|
조회 972
|
|
|
|
16년 전
|
조회 2,712
|
|
|
|
16년 전
|
조회 1,560
|
|
|
|
16년 전
|
조회 1,162
|
|
|
|
16년 전
|
조회 1,450
|
|
|
|
16년 전
|
조회 1,103
|
|
|
|
16년 전
|
조회 858
|
|
|
|
16년 전
|
조회 1,598
|
|
|
|
16년 전
|
조회 1,770
|
|
|
|
16년 전
|
조회 1,464
|
|
|
|
16년 전
|
조회 1,018
|
|
|
|
16년 전
|
조회 1,701
|
댓글 6개
<?php
include_once './_common.php';
$point = '30' // 부여할 포인트를 적는다
$result = sql_query("select mb_id from $g4[member_table] where mb_id <> 'admin'"); // admin은 제외
while($row = sql_fetch_array($result)) {
insert_point($row['mb_id'], $point, '설 특별 뽀나스', '@login', $row['mb_id'], $g4['time_ymd']);
}
echo "설 특별 뽀나스를 일괄 지급했습니다...";
?>
문제는 시간이 많이 걸릴 것 같네요.
// 전체 회원에게 포인트 일괄 지급하는 소스 코드
// 탈퇴회원 및 접근금지 회원은 제외
include_once ("./_common.php");
$point = "3000"; //지급포인트
$point_msg = "설 특별 포인트 지급"; // 포인트내역
if ($is_admin != "super")
echo "관리자로 접속하세요.";
else
{
$sql = " select mb_id from $g4[member_table] where mb_id<>'{$config[cf_admin]}' and mb_leave_date='' and mb_intercept_date='' ";
$result = sql_query($sql);
while($row = sql_fetch_array($result))
{
$mb_id = $row[mb_id];
insert_point($mb_id, $point, $point_msg, "@event", $mb_id, $g4['time_ymdhis']);
}
echo "$point_msg 완료";
}
?>