Merge pull request #124 from whitedot/inicert

관리자 : 회원 상세보기에서 본인인증 내역 확인 정리
This commit is contained in:
민섭
2021-10-07 16:50:20 +09:00
committed by GitHub
2 changed files with 36 additions and 31 deletions

View File

@ -368,34 +368,39 @@ add_javascript(G5_POSTCODE_JS, 0); //다음 주소 js
<th scope="row"><label for="mb_memo">메모</label></th>
<td colspan="3"><textarea name="mb_memo" id="mb_memo"><?php echo $mb['mb_memo'] ?></textarea></td>
</tr>
<?php
$cnt = 0;
while ($row = sql_fetch_array($mb_cert_history)) {
$cnt++;
switch($row['ch_type']){
case 'sa':
$cert_type = '통합인증';
break;
case 'hp':
$cert_type = '휴대폰';
break;
case 'ipin':
$cert_type = '아이핀';
break;
}
?>
<tr>
<th scope="row"><?php if($cnt == 1) { ?><label for="mb_cert_history">본인인증 내역</label><?php } ?></th>
<td><?php echo $row['mb_id']; ?></td>
<td><?php echo $row['ch_name']; ?></td>
<td><?php echo $row['ch_hp']; ?></td>
<td><?php echo $row['ch_birth']; ?></td>
<td><?php echo $cert_type; ?></td>
<td><?php echo $row['ch_datetime']; ?></td>
<tr>
<th scope="row"><label for="mb_cert_history">본인인증 내역</label></th>
<td colspan="3">
<?php
$cnt = 0;
while ($row = sql_fetch_array($mb_cert_history)) {
$cnt++;
switch($row['ch_type']){
case 'sa':
$cert_type = '통합인증';
break;
case 'hp':
$cert_type = '휴대폰';
break;
case 'ipin':
$cert_type = '아이핀';
break;
}
?>
<div>
[<?php echo $row['ch_datetime']; ?>]
<?php echo $row['mb_id']; ?> /
<?php echo $row['ch_name']; ?> /
<?php echo $row['ch_hp']; ?> /
<?php echo $cert_type; ?>
</div>
<?php } ?>
<?php if ($cnt == 0) { ?>
본인인증 내역이 없습니다.
<?php } ?>
</td>
</tr>
<?php } ?>
<?php if ($w == 'u') { ?>
<tr>

View File

@ -30,9 +30,9 @@ if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin']
<ul>
<li>
<label for="reg_mb_id">
아이디<strong class="sound_only">필수</strong>
<button type="button" class="tooltip_icon"><i class="fa fa-question-circle-o" aria-hidden="true"></i><span class="sound_only">설명보기</span></button>
<span class="tooltip">영문자, 숫자, _ 만 입력 가능. 최소 3자이상 입력하세요.</span>
아이디<strong class="sound_only">필수</strong>
<button type="button" class="tooltip_icon"><i class="fa fa-question-circle-o" aria-hidden="true"></i><span class="sound_only">설명보기</span></button>
<span class="tooltip">영문자, 숫자, _ 만 입력 가능. 최소 3자이상 입력하세요.</span>
</label>
<input type="text" name="mb_id" value="<?php echo $member['mb_id'] ?>" id="reg_mb_id" <?php echo $required ?> <?php echo $readonly ?> class="frm_input full_input <?php echo $required ?> <?php echo $readonly ?>" minlength="3" maxlength="20" placeholder="아이디">
<span id="msg_mb_id"></span>
@ -40,7 +40,7 @@ if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin']
<li class="half_input left_input margin_input">
<label for="reg_mb_password">비밀번호<strong class="sound_only">필수</strong></label>
<input type="password" name="mb_password" id="reg_mb_password" <?php echo $required ?> class="frm_input full_input <?php echo $required ?>" minlength="3" maxlength="20" placeholder="비밀번호">
</li>
</li>
<li class="half_input left_input">
<label for="reg_mb_password_re">비밀번호 확인<strong class="sound_only">필수</strong></label>
<input type="password" name="mb_password_re" id="reg_mb_password_re" <?php echo $required ?> class="frm_input full_input <?php echo $required ?>" minlength="3" maxlength="20" placeholder="비밀번호 확인">
@ -85,7 +85,7 @@ if ($config['cf_cert_use'] && ($config['cf_cert_sa'] || $config['cf_cert_ipin']
case "hp":
$mb_cert = "휴대폰";
break;
}
}
?>
<div id="msg_certify">
<strong><?php echo $mb_cert; ?> 본인확인</strong><?php if ($member['mb_adult']) { ?> 및 <strong>성인인증</strong><?php } ?> 완료