영카트 5.4 버전 내용 적용

This commit is contained in:
thisgun
2019-12-02 10:29:31 +09:00
parent 8517e1e31e
commit 9b0078350d
840 changed files with 36442 additions and 28088 deletions

View File

@ -7,58 +7,55 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
<!-- 로그인 시작 { -->
<div id="mb_login" class="mbskin">
<h1><?php echo $g5['title'] ?></h1>
<form name="flogin" action="<?php echo $login_action_url ?>" onsubmit="return flogin_submit(this);" method="post">
<input type="hidden" name="url" value="<?php echo $login_url ?>">
<fieldset id="login_fs">
<legend>회원로그인</legend>
<label for="login_id" class="sound_only">회원아이디<strong class="sound_only"> 필수</strong></label>
<input type="text" name="mb_id" id="login_id" required class="frm_input required" size="20" maxLength="20" placeholder="아이디">
<label for="login_pw" class="sound_only">비밀번호<strong class="sound_only"> 필수</strong></label>
<input type="password" name="mb_password" id="login_pw" required class="frm_input required" size="20" maxLength="20" placeholder="비밀번호">
<input type="submit" value="로그인" class="btn_submit">
<input type="checkbox" name="auto_login" id="login_auto_login">
<label for="login_auto_login">자동로그인</label>
</fieldset>
<?php
// 소셜로그인 사용시 소셜로그인 버튼
@include_once(get_social_skin_path().'/social_login.skin.php');
?>
<aside id="login_info">
<h2>회원로그인 안내</h2>
<div>
<a href="<?php echo G5_BBS_URL ?>/password_lost.php" target="_blank" id="login_password_lost">아이디 비밀번호 찾기</a>
<a href="./register.php">회원 가입</a>
<div class="mbskin_box">
<h1><?php echo $g5['title'] ?></h1>
<div class="mb_log_cate">
<h2><span class="sound_only">회원</span>로그인</h2>
<a href="<?php echo G5_BBS_URL ?>/register.php" class="join">회원가입</a>
</div>
</aside>
<form name="flogin" action="<?php echo $login_action_url ?>" onsubmit="return flogin_submit(this);" method="post">
<input type="hidden" name="url" value="<?php echo $login_url ?>">
<fieldset id="login_fs">
<legend>회원로그인</legend>
<label for="login_id" class="sound_only">회원아이디<strong class="sound_only"> 필수</strong></label>
<input type="text" name="mb_id" id="login_id" required class="frm_input required" size="20" maxLength="20" placeholder="아이디">
<label for="login_pw" class="sound_only">비밀번호<strong class="sound_only"> 필수</strong></label>
<input type="password" name="mb_password" id="login_pw" required class="frm_input required" size="20" maxLength="20" placeholder="비밀번호">
<button type="submit" class="btn_submit">로그인</button>
<div id="login_info">
<div class="login_if_auto chk_box">
<input type="checkbox" name="auto_login" id="login_auto_login" class="selec_chk">
<label for="login_auto_login"><span></span> 자동로그인</label>
</div>
<div class="login_if_lpl">
<a href="<?php echo G5_BBS_URL ?>/password_lost.php" target="_blank" id="login_password_lost">정보찾기</a>
</div>
</div>
</fieldset>
</form>
<?php @include_once(get_social_skin_path().'/social_login.skin.php'); // 소셜로그인 사용시 소셜로그인 버튼 ?>
</div>
</form>
<?php // 쇼핑몰 사용시 여기부터 ?>
<?php if ($default['de_level_sell'] == 1) { // 상품구입 권한 ?>
<!-- 주문하기, 신청하기 -->
<?php if (preg_match("/orderform.php/", $url)) { ?>
<!-- 주문하기, 신청하기 -->
<?php if (preg_match("/orderform.php/", $url)) { ?>
<section id="mb_login_notmb">
<h2>비회원 구매</h2>
<p>
비회원으로 주문하시는 경우 포인트는 지급하지 않습니다.
</p>
<p>비회원으로 주문하시는 경우 포인트는 지급하지 않습니다.</p>
<div id="guest_privacy">
<?php echo conv_content($default['de_guest_privacy'], $config['cf_editor']); ?>
</div>
<label for="agree">개인정보수집에 대한 내용을 읽었으며 이에 동의합니다.</label>
<input type="checkbox" id="agree" value="1">
<div class="chk_box">
<input type="checkbox" id="agree" value="1" class="selec_chk">
<label for="agree"><span></span> 개인정보수집에 대한 내용을 읽었으며 이에 동의합니다.</label>
</div>
<div class="btn_confirm">
<a href="javascript:guest_submit(document.flogin);" class="btn_submit">비회원으로 구매하기</a>
</div>
@ -91,9 +88,9 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
<label for="od_id" class="od_id sound_only">주문서번호<strong class="sound_only"> 필수</strong></label>
<input type="text" name="od_id" value="<?php echo $od_id; ?>" id="od_id" required class="frm_input required" size="20" placeholder="주문서번호">
<label for="id_pwd" class="od_pwd sound_only" >비밀번호<strong class="sound_only"> 필수</strong></label>
<label for="od_pwd" class="od_pwd sound_only">비밀번호 <strong>필수</strong></label>
<input type="password" name="od_pwd" size="20" id="od_pwd" required class="frm_input required" placeholder="비밀번호">
<input type="submit" value="확인" class="btn_submit">
<button type="submit" class="btn_submit">확인</button>
</form>
</fieldset>
@ -108,12 +105,10 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
<?php } ?>
<?php // 쇼핑몰 사용시 여기까지 반드시 복사해 넣으세요 ?>
</form>
</div>
<script>
$(function(){
jQuery(function($){
$("#login_auto_login").click(function(){
if (this.checked) {
this.checked = confirm("자동로그인을 사용하시면 다음부터 회원아이디와 비밀번호를 입력하실 필요가 없습니다.\n\n공공장소에서는 개인정보가 유출될 수 있으니 사용을 자제하여 주십시오.\n\n자동로그인을 사용하시겠습니까?");
@ -123,7 +118,11 @@ $(function(){
function flogin_submit(f)
{
return true;
if( $( document.body ).triggerHandler( 'login_sumit', [f, 'flogin'] ) !== false ){
return true;
}
return false;
}
</script>
<!-- } 로그인 끝 -->