2022-09-17 20:50:50 +09:00
|
|
|
<?php
|
2024-09-23 11:07:19 +09:00
|
|
|
include_once "./_common.php";
|
2024-09-19 20:57:39 +09:00
|
|
|
include_once(G5_LIB_PATH . '/register.lib.php');
|
2022-09-17 20:50:50 +09:00
|
|
|
|
|
|
|
|
$mb_id = trim($_POST['reg_mb_id']);
|
|
|
|
|
|
|
|
|
|
set_session('ss_check_mb_id', '');
|
|
|
|
|
|
2024-09-19 20:57:39 +09:00
|
|
|
if ($msg = empty_mb_id($mb_id))
|
|
|
|
|
die($msg);
|
|
|
|
|
if ($msg = valid_mb_id($mb_id))
|
|
|
|
|
die($msg);
|
|
|
|
|
if ($msg = count_mb_id($mb_id))
|
|
|
|
|
die($msg);
|
|
|
|
|
if ($msg = exist_mb_id($mb_id))
|
|
|
|
|
die($msg);
|
|
|
|
|
if ($msg = reserve_mb_id($mb_id))
|
|
|
|
|
die($msg);
|
2022-09-17 20:50:50 +09:00
|
|
|
|
|
|
|
|
set_session('ss_check_mb_id', $mb_id);
|