모바일에서 인증 체크 후 이동 url 변경

This commit is contained in:
chicpro
2013-11-28 18:07:21 +09:00
parent 3451953034
commit 09bd08edb6
3 changed files with 8 additions and 9 deletions

View File

@ -7,13 +7,13 @@ $sql = " select *
and ca_use = '1' ";
$ca = sql_fetch($sql);
if (!$ca['ca_id'])
alert('등록된 분류가 없습니다.');
alert('등록된 분류가 없습니다.', G5_SHOP_URL);
// 본인인증, 성인인증체크
if(!$is_admin) {
$msg = shop_member_cert_check($ca_id);
$msg = shop_member_cert_check($ca_id, 'list');
if($msg)
alert($msg);
alert($msg, G5_SHOP_URL);
}
$g5['title'] = $ca['ca_name'].' 상품리스트';
@ -22,9 +22,6 @@ include_once(G5_MSHOP_PATH.'/_head.php');
// 스킨을 지정했다면 지정한 스킨을 사용함 (스킨의 다양화)
//if ($skin) $ca[ca_skin] = $skin;
if ($is_admin)
echo '<div class="sct_admin"><a href="'.G5_ADMIN_URL.'/shop_admin/categoryform.php?w=u&amp;ca_id='.$ca_id.'" class="btn_admin">분류 관리</a></div>';
?>
<script>