리빌더 부분 추가
This commit is contained in:
106
theme/rb.basic/skin/member/rb.member/formmail.skin.php
Normal file
106
theme/rb.basic/skin/member/rb.member/formmail.skin.php
Normal file
@ -0,0 +1,106 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
||||
?>
|
||||
|
||||
<!-- 폼메일 시작 { -->
|
||||
<div id="formmail" class="new_win">
|
||||
<h1 id="win_title"><?php echo $name ?>님께 메일보내기</h1>
|
||||
|
||||
<form name="fformmail" action="./formmail_send.php" onsubmit="return fformmail_submit(this);" method="post" enctype="multipart/form-data" style="margin:0px;">
|
||||
<input type="hidden" name="to" value="<?php echo $email ?>">
|
||||
<input type="hidden" name="attach" value="2">
|
||||
<?php if ($is_member) { // 회원이면 ?>
|
||||
<input type="hidden" name="fnick" value="<?php echo get_text($member['mb_nick']) ?>">
|
||||
<input type="hidden" name="fmail" value="<?php echo $member['mb_email'] ?>">
|
||||
<?php } ?>
|
||||
|
||||
<div class="form_01 new_win_con">
|
||||
<h2 class="sound_only">메일쓰기</h2>
|
||||
<ul>
|
||||
<?php if (!$is_member) { ?>
|
||||
<li>
|
||||
<label for="fnick" class="sound_only">이름<strong>필수</strong></label>
|
||||
<input type="text" name="fnick" id="fnick" required class="frm_input full_input required" placeholder="이름">
|
||||
</li>
|
||||
<li>
|
||||
<label for="fmail" class="sound_only">E-mail<strong>필수</strong></label>
|
||||
<input type="text" name="fmail" id="fmail" required class="frm_input full_input required" placeholder="E-mail">
|
||||
</li>
|
||||
<?php } ?>
|
||||
<li>
|
||||
<label for="subject" class="sound_only">제목<strong>필수</strong></label>
|
||||
<input type="text" name="subject" id="subject" required class="frm_input full_input required" placeholder="제목">
|
||||
</li>
|
||||
<li class="">
|
||||
<span class="sound_only">형식</span>
|
||||
<input type="radio" name="type" value="0" id="type_text" checked>
|
||||
<label for="type_text"><span></span>TEXT</label>
|
||||
|
||||
<input type="radio" name="type" value="1" id="type_html">
|
||||
<label for="type_html"><span></span>HTML</label>
|
||||
|
||||
<input type="radio" name="type" value="2" id="type_both">
|
||||
<label for="type_both"><span></span>TEXT+HTML</label>
|
||||
</li>
|
||||
<li>
|
||||
<label for="content" class="sound_only">내용<strong>필수</strong></label>
|
||||
<textarea name="content" id="content" required class="required"></textarea>
|
||||
</li>
|
||||
<!--
|
||||
<li class="formmail_flie">
|
||||
<div class="file_wr">
|
||||
<label for="file1" class="lb_icon"><i class="fa fa-download" aria-hidden="true"></i><span class="sound_only"> 첨부 파일 1</span></label>
|
||||
<input type="file" name="file1" id="file1" class="frm_file full_input">
|
||||
</div>
|
||||
<div class="frm_info">첨부 파일은 누락될 수 있으므로 메일을 보낸 후 파일이 첨부 되었는지 반드시 확인해 주시기 바랍니다.</div>
|
||||
</li>
|
||||
<li class="formmail_flie">
|
||||
<div class="file_wr">
|
||||
<label for="file2" class="lb_icon"><i class="fa fa-download" aria-hidden="true"></i><span class="sound_only"> 첨부 파일 2</span></label>
|
||||
<input type="file" name="file2" id="file2" class="frm_file full_input">
|
||||
</div>
|
||||
</li>
|
||||
-->
|
||||
<li>
|
||||
<span class="sound_only">자동등록방지</span>
|
||||
<?php echo captcha_html(); ?>
|
||||
</li>
|
||||
</ul>
|
||||
<br>
|
||||
<div class="win_btn">
|
||||
<button type="submit" id="btn_submit" class="btn_b02 reply_btn">메일발송</button>
|
||||
<button type="button" onclick="window.close();" class="btn_close">창닫기</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
with (document.fformmail) {
|
||||
if (typeof fname != "undefined")
|
||||
fname.focus();
|
||||
else if (typeof subject != "undefined")
|
||||
subject.focus();
|
||||
}
|
||||
|
||||
function fformmail_submit(f)
|
||||
{
|
||||
<?php echo chk_captcha_js(); ?>
|
||||
|
||||
if (f.file1.value || f.file2.value) {
|
||||
// 4.00.11
|
||||
if (!confirm("첨부파일의 용량이 큰경우 전송시간이 오래 걸립니다.\n\n메일보내기가 완료되기 전에 창을 닫거나 새로고침 하지 마십시오."))
|
||||
return false;
|
||||
}
|
||||
|
||||
document.getElementById('btn_submit').disabled = true;
|
||||
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
<!-- } 폼메일 끝 -->
|
||||
465
theme/rb.basic/skin/member/rb.member/home.skin.php
Normal file
465
theme/rb.basic/skin/member/rb.member/home.skin.php
Normal file
@ -0,0 +1,465 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css?ver='.G5_TIME_YMDHIS.'">', 0);
|
||||
$thumb_width = 120;
|
||||
$thumb_height = 120;
|
||||
|
||||
$ca = isset($_GET['ca']) ? $_GET['ca'] : '';
|
||||
?>
|
||||
|
||||
<style>
|
||||
#container_title {display: none;}
|
||||
</style>
|
||||
|
||||
|
||||
<div class="rb_prof rb_prof_new">
|
||||
|
||||
<ul class="rb_prof_info">
|
||||
<div class="rb_prof_info_img">
|
||||
<span id="prof_image_ch"><?php echo get_member_profile_img($mb['mb_id']); ?></span>
|
||||
<?php if($mb['mb_id'] == $member['mb_id']) { ?>
|
||||
<button type="button" id="prof_ch_btn">
|
||||
<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M9.58597 1.1C9.93996 0.746476 10.4136 0.538456 10.9134 0.516981C11.4132 0.495507 11.903 0.662139 12.286 0.984002L12.414 1.101L14.314 3H17C17.5044 3.00009 17.9901 3.19077 18.3599 3.53384C18.7297 3.8769 18.9561 4.34702 18.994 4.85L19 5V7.686L20.9 9.586C21.2538 9.94004 21.462 10.4139 21.4834 10.9139C21.5049 11.414 21.3381 11.9039 21.016 12.287L20.899 12.414L18.999 14.314V17C18.9991 17.5046 18.8086 17.9906 18.4655 18.3605C18.1224 18.7305 17.6521 18.9572 17.149 18.995L17 19H14.315L12.415 20.9C12.0609 21.2538 11.5871 21.462 11.087 21.4835C10.587 21.505 10.097 21.3382 9.71397 21.016L9.58697 20.9L7.68697 19H4.99997C4.49539 19.0002 4.0094 18.8096 3.63942 18.4665C3.26944 18.1234 3.04281 17.6532 3.00497 17.15L2.99997 17V14.314L1.09997 12.414C0.746165 12.06 0.537968 11.5861 0.516492 11.0861C0.495016 10.586 0.661821 10.0961 0.98397 9.713L1.09997 9.586L2.99997 7.686V5C3.00006 4.4956 3.19074 4.00986 3.53381 3.64009C3.87687 3.27032 4.34699 3.04383 4.84997 3.006L4.99997 3H7.68597L9.58597 1.1ZM11 8C10.2043 8 9.44126 8.31607 8.87865 8.87868C8.31604 9.44129 7.99997 10.2044 7.99997 11C7.99997 11.7957 8.31604 12.5587 8.87865 13.1213C9.44126 13.6839 10.2043 14 11 14C11.7956 14 12.5587 13.6839 13.1213 13.1213C13.6839 12.5587 14 11.7957 14 11C14 10.2044 13.6839 9.44129 13.1213 8.87868C12.5587 8.31607 11.7956 8 11 8Z" fill="#09244B"/>
|
||||
</svg>
|
||||
</button>
|
||||
<?php } ?>
|
||||
<input type="file" id="prof_image_ch_input" style="display:none" accept="image/*" style="display:none;" readonly>
|
||||
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$('#prof_ch_btn').on('click', function() {
|
||||
$('#prof_image_ch_input').click();
|
||||
});
|
||||
|
||||
$('#prof_image_ch_input').on('change', function(event) {
|
||||
const file = event.target.files[0];
|
||||
if (file) {
|
||||
const img = new Image();
|
||||
img.onload = function() {
|
||||
const formData = new FormData();
|
||||
formData.append('profile_image', file);
|
||||
|
||||
$.ajax({
|
||||
url: '<?php echo G5_URL ?>/rb/rb.lib/ajax.upload_prof_image.php',
|
||||
type: 'POST',
|
||||
data: formData,
|
||||
contentType: false,
|
||||
processData: false,
|
||||
success: function(response) {
|
||||
const data = JSON.parse(response);
|
||||
if (data.success) {
|
||||
$('#prof_image_ch').html('<img src="' + data.image_url + '" alt="profile_image">');
|
||||
location.reload();
|
||||
} else {
|
||||
alert(data.message);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
img.src = URL.createObjectURL(file);
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
||||
<div class="rb_prof_info_info">
|
||||
<li class="rb_prof_info_nick font-B"><?php echo $mb['mb_nick'] ?><span><?php echo $mb['mb_level'] ?> Lv</span></li>
|
||||
|
||||
<li class="rb_prof_info_txt">
|
||||
<span>게시물 <?php echo number_format(wr_cnt($mb['mb_id'], "w")); ?>개</span>
|
||||
<span>댓글 <?php echo number_format(wr_cnt($mb['mb_id'], "c")); ?>개</span>
|
||||
<?php if(isset($sb['sb_use']) && $sb['sb_use'] == 1) { // 구독 사용시 ?><?php echo sb_cnt($mb['mb_id']) ?><?php } ?>
|
||||
</li>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="cb"></div>
|
||||
|
||||
|
||||
<?php if(isset($mb['mb_profile']) && $mb['mb_profile']) { ?>
|
||||
<li class="rb_prof_info_txt"><?php echo $mb['mb_profile'] ?></li>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
<ul class="rb_prof_btn">
|
||||
<div id="bo_v_share">
|
||||
<ul class="copy_urls">
|
||||
<li>
|
||||
|
||||
|
||||
<a class="fl_btns" id="data-copy" title="공유링크 복사" alt="공유링크 복사" href="javascript:void(0);">
|
||||
<img src="<?php echo G5_THEME_URL ?>/rb.img/icon/ico_link.svg">
|
||||
</a>
|
||||
|
||||
<?php if($mb['mb_id'] == $member['mb_id']) { ?>
|
||||
<a class="fl_btns fl_btns_txt fl_btns_txt_mgl" title="정보수정" alt="정보수정" href="<?php echo G5_BBS_URL ?>/member_confirm.php?url=<?php echo G5_BBS_URL ?>/register_form.php">정보수정</a>
|
||||
<a class="fl_btns fl_btns_txt" title="탈퇴" alt="탈퇴" href="javascript:member_leave();">탈퇴</a>
|
||||
<?php } else { ?>
|
||||
<a class="fl_btns" title="쪽지보내기" alt="쪽지보내기" href="<?php echo G5_BBS_URL ?>/memo_form.php?me_recv_mb_id=<?php echo $mb['mb_id'] ?>" onclick="win_memo(this.href); return false;">
|
||||
<img src="<?php echo G5_THEME_URL ?>/rb.img/icon/ico_msg.svg">
|
||||
</a>
|
||||
|
||||
<?php if (isset($chat_set['ch_use']) && $chat_set['ch_use'] == 1) { ?>
|
||||
<a class="fl_btns" title="채팅하기" alt="채팅하기" href="<?php echo G5_URL ?>/rb/chat_form.php?me_recv_mb_id=<?php echo $mb['mb_id'] ?>" onclick="win_chat(this.href); return false;">
|
||||
<img src="<?php echo G5_THEME_URL ?>/rb.img/icon/ico_chat.svg">
|
||||
</a>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<?php
|
||||
if(isset($sb['sb_use']) && $sb['sb_use'] == 1) { // 구독 사용시
|
||||
$sb_mb_id = $mb['mb_id'];
|
||||
include_once(G5_PATH.'/rb/rb.mod/subscribe/subscribe_my.skin.php');
|
||||
}
|
||||
?>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
</li>
|
||||
<?php
|
||||
$currents_url = G5_URL."/rb/home.php?mb_id=".$mb['mb_id'];
|
||||
?>
|
||||
<input type="hidden" id="data-area" class="data-area" value="<?php echo $currents_url ?>">
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
|
||||
$('#data-copy').click(function() {
|
||||
$('#data-area').attr('type', 'text'); // 화면에서 hidden 처리한 input box type을 text로 일시 변환
|
||||
$('#data-area').select(); // input에 담긴 데이터를 선택
|
||||
var copy = document.execCommand('copy'); // clipboard에 데이터 복사
|
||||
$('#data-area').attr('type', 'hidden'); // input box를 다시 hidden 처리
|
||||
if (copy) {
|
||||
alert("미니홈 링크가 복사 되었습니다."); // 사용자 알림
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
</ul>
|
||||
</div>
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="rb_prof_tab">
|
||||
|
||||
<div>
|
||||
|
||||
<nav id="bo_cate" class="swiper-container swiper-container-category">
|
||||
<ul id="bo_cate_ul" class="swiper-wrapper swiper-wrapper-category">
|
||||
<li class="swiper-slide swiper-slide-category"><a href="<?php echo G5_URL ?>/rb/home.php?mb_id=<?php echo $mb['mb_id'] ?>" <?php if($ca == "") { ?>id="bo_cate_on"<?php } ?>>홈</a></li>
|
||||
<li class="swiper-slide swiper-slide-category"><a href="<?php echo G5_URL ?>/rb/home.php?mb_id=<?php echo $mb['mb_id'] ?>&ca=bbs" <?php if($ca == "bbs") { ?>id="bo_cate_on"<?php } ?>>새글</a></li>
|
||||
<?php if(isset($sb['sb_use']) && $sb['sb_use'] == 1) { ?>
|
||||
<?php if($mb['mb_id'] == $member['mb_id']) { ?>
|
||||
<li class="swiper-slide swiper-slide-category"><a href="<?php echo G5_URL ?>/rb/home.php?mb_id=<?php echo $mb['mb_id'] ?>&ca=fw" <?php if($ca == "fw") { ?>id="bo_cate_on"<?php } ?>>구독자</a></li>
|
||||
<li class="swiper-slide swiper-slide-category"><a href="<?php echo G5_URL ?>/rb/home.php?mb_id=<?php echo $mb['mb_id'] ?>&ca=fn" <?php if($ca == "fn") { ?>id="bo_cate_on"<?php } ?>>내 구독</a></li>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$("#bo_cate_ul li").addClass("swiper-slide swiper-slide-category");
|
||||
});
|
||||
|
||||
var activeElement = document.querySelector('.swiper-slide-category a#bo_cate_on');
|
||||
|
||||
// 초기 슬라이드 인덱스를 담을 변수
|
||||
var initialSlideIndex = 0;
|
||||
|
||||
if (activeElement) {
|
||||
// 부모 li 태그를 가져옴
|
||||
var parentLi = activeElement.closest('.swiper-slide-category');
|
||||
|
||||
// 모든 슬라이드 요소들을 가져옴
|
||||
var allSlides = document.querySelectorAll('.swiper-slide-category');
|
||||
|
||||
// 부모 li 태그의 인덱스를 계산
|
||||
initialSlideIndex = Array.prototype.indexOf.call(allSlides, parentLi);
|
||||
}
|
||||
|
||||
var swiper = new Swiper('.swiper-container-category', {
|
||||
slidesPerView: 'auto', //가로갯수
|
||||
spaceBetween: 0, // 간격
|
||||
//slidesOffsetBefore: 40, //좌측여백
|
||||
//slidesOffsetAfter: 40, // 우측여백
|
||||
observer: true, //리셋
|
||||
observeParents: true, //리셋
|
||||
touchRatio: 1, // 드래그 가능여부
|
||||
initialSlide: initialSlideIndex, // 초기 슬라이드 인덱스 설정
|
||||
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<?php if($ca == "") { ?>
|
||||
<div>
|
||||
<ul class="cont_info_wrap">
|
||||
<li class="cont_info_wrap_l">
|
||||
<dd>닉네임</dd>
|
||||
<dd><?php echo $mb['mb_nick'] ?> <!--<span>@<?php echo $mb['mb_id'] ?></span>--></dd>
|
||||
</li>
|
||||
<li class="cont_info_wrap_r">
|
||||
<dd>회원레벨</dd>
|
||||
<dd><?php echo $mb['mb_level'] ?>레벨</dd>
|
||||
</li>
|
||||
<div class="cb"></div>
|
||||
</ul>
|
||||
<ul class="cont_info_wrap">
|
||||
<li class="cont_info_wrap_l">
|
||||
<dd>포인트</dd>
|
||||
<dd>
|
||||
<?php if($member['mb_id'] == $mb['mb_id']) { ?><a href="<?php echo G5_BBS_URL ?>/point.php" target="_blank" class="win_point"><?php } ?>
|
||||
<?php echo number_format($mb['mb_point']) ?>P
|
||||
<?php if($member['mb_id'] == $mb['mb_id']) { ?></a><?php } ?>
|
||||
</dd>
|
||||
</li>
|
||||
<li class="cont_info_wrap_r">
|
||||
<dd>가입일</dd>
|
||||
<dd><?php echo ($member['mb_level'] >= $mb['mb_level']) ? substr($mb['mb_datetime'],0,10) ." (+".number_format($mb_reg_after)."일)" : "알 수 없음"; ?></dd>
|
||||
</li>
|
||||
<div class="cb"></div>
|
||||
</ul>
|
||||
<ul class="cont_info_wrap">
|
||||
<li class="cont_info_wrap_l">
|
||||
<dd>운영채널</dd>
|
||||
<dd>
|
||||
<?php if($mb_homepage) { ?>
|
||||
<a href="<?php echo $mb_homepage ?>" target="_blank"><?php echo $mb_homepage ?></a>
|
||||
<?php } else { ?>
|
||||
-
|
||||
<?php } ?>
|
||||
</dd>
|
||||
</li>
|
||||
<li class="cont_info_wrap_r">
|
||||
<dd>최종접속</dd>
|
||||
<dd><?php echo ($member['mb_level'] >= $mb['mb_level']) ? $mb['mb_today_login'] : "알 수 없음"; ?></dd>
|
||||
</li>
|
||||
<div class="cb"></div>
|
||||
</ul>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if($ca == "bbs" || $ca == "") { ?>
|
||||
<div>
|
||||
|
||||
<ul class="cont_info_wrap cont_info_wrap_mmt">
|
||||
<?php
|
||||
$sql_commons = " from {$g5['board_new_table']} a, {$g5['board_table']} b where a.bo_table = b.bo_table and a.wr_id = a.wr_parent and a.mb_id = '{$mb['mb_id']}' order by a.bn_id desc ";
|
||||
|
||||
if($ca == "bbs") {
|
||||
|
||||
/* 페이징 추가 { */
|
||||
$rpg_sql = " select count(*) as cnt {$sql_commons} ";
|
||||
$rpg_row = sql_fetch($rpg_sql);
|
||||
$rpg_total_count = $rpg_row['cnt'];
|
||||
|
||||
//$rpg_rows = G5_IS_MOBILE ? $config['cf_mobile_page_rows'] : $config['cf_new_rows'];
|
||||
$rpg_rows = G5_IS_MOBILE ? 10 : 10;
|
||||
$rpg_total_page = ceil($rpg_total_count / $rpg_rows); // 전체 페이지 계산
|
||||
if ($page < 1) $page = 1; // 페이지가 없으면 첫 페이지 (1 페이지)
|
||||
$from_record = ($page - 1) * $rpg_rows; // 시작 열을 구함
|
||||
|
||||
$rpg_write_pages = get_paging(G5_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $rpg_total_page, "?mb_id=$mb_id&ca=$ca&page=");
|
||||
/* } */
|
||||
|
||||
|
||||
$sqls = " select a.*, b.bo_subject, b.bo_mobile_subject {$sql_commons} limit {$from_record}, {$rpg_rows} ";
|
||||
} else {
|
||||
$sqls = " select a.*, b.bo_subject, b.bo_mobile_subject {$sql_commons} limit 10 ";
|
||||
}
|
||||
|
||||
$results = sql_query($sqls);
|
||||
|
||||
?>
|
||||
|
||||
<div class="bbs_main">
|
||||
|
||||
|
||||
<!-- { -->
|
||||
<ul class="bbs_main_wrap_thumb_con">
|
||||
<div class="swiper-container swiper-container-home">
|
||||
<ul class="swiper-wrapper swiper-wrapper-home">
|
||||
|
||||
<?php
|
||||
for ($i=0; $rows=sql_fetch_array($results); $i++) {
|
||||
$tmp_write_table = $g5['write_prefix'].$rows['bo_table'];
|
||||
$row2 = sql_fetch(" select * from {$tmp_write_table} where wr_id = '{$rows['wr_id']}' ");
|
||||
$hrefs = get_pretty_url($rows['bo_table'], $row2['wr_id']);
|
||||
|
||||
//썸네일
|
||||
$thumb = get_list_thumbnail($rows['bo_table'], $row2['wr_id'], $thumb_width, $thumb_height, false, true);
|
||||
|
||||
|
||||
if($thumb['src']) {
|
||||
$img = $thumb['src'];
|
||||
} else {
|
||||
$img = G5_THEME_URL.'/rb.img/no_image.png';
|
||||
$thumb['alt'] = '이미지가 없습니다.';
|
||||
}
|
||||
|
||||
//썸네일 출력 class="skin_list_image" 필수 (높이값 설정용)
|
||||
$img_content = '<img src="'.$img.'" alt="'.$thumb['alt'].'" class="skin_list_image">';
|
||||
|
||||
//게시물 링크
|
||||
$wr_href = get_pretty_url($rows['bo_table'], $row2['wr_id']);
|
||||
|
||||
$sec_txt = '<span style="opacity:0.6">작성자 및 관리자 외 열람할 수 없습니다.<br>비밀글 기능으로 보호된 글입니다.</span>';
|
||||
|
||||
//본문출력 (class="cut" : 한줄자르기 / class="cut2" : 두줄자르기)
|
||||
$wr_content = preg_replace("/<(.*?)\>/","",$row2['wr_content']);
|
||||
$wr_content = preg_replace("/ /","",$wr_content);
|
||||
$wr_content = get_text($wr_content);
|
||||
?>
|
||||
|
||||
|
||||
<dd class="swiper-slide swiper-slide-home" onclick="location.href='<?php echo $hrefs ?>';">
|
||||
|
||||
<div>
|
||||
|
||||
<?php if($thumb['src']) { ?>
|
||||
<ul class="bbs_main_wrap_con_ul1">
|
||||
<a href="<?php echo $hrefs ?>"><?php echo run_replace('thumb_image_tag', $img_content, $thumb); ?></a>
|
||||
</ul>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<ul class="bbs_main_wrap_con_ul2" <?php if(!$thumb['src']) { ?>style="padding-right:0px;"<?php } ?>>
|
||||
<li class="bbs_main_wrap_con_subj cut"><a href="<?php echo $hrefs ?>"><?php echo $row2['wr_subject'] ?></a></li>
|
||||
|
||||
<?php if (strstr($row2['wr_option'], 'secret')) { ?>
|
||||
<li class="bbs_main_wrap_con_cont">
|
||||
<?php echo $sec_txt; ?>
|
||||
</li>
|
||||
<?php } else { ?>
|
||||
<li class="bbs_main_wrap_con_cont cut2">
|
||||
<a href="<?php echo $hrefs ?>"><?php echo $wr_content; ?></a>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<li class="bbs_main_wrap_con_info">
|
||||
<span class="prof_tiny_name font-B"><?php echo $row2['wr_name'] ?></span>
|
||||
<?php echo passing_time($row2['wr_datetime']) ?><br>
|
||||
|
||||
<?php if($row2['ca_name']) { ?>
|
||||
<?php echo $rows['bo_subject'] ?> [<?php echo $row2['ca_name'] ?>]
|
||||
<?php } else { ?>
|
||||
<?php echo $rows['bo_subject'] ?>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
댓글 <?php echo number_format($row2['wr_comment']); ?>
|
||||
조회 <?php echo number_format($row2['wr_hit']); ?>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
<div class="cb"></div>
|
||||
</div>
|
||||
</dd>
|
||||
<!-- } -->
|
||||
|
||||
<?php } ?>
|
||||
<?php if ($i == 0) { //게시물이 없을 때 ?>
|
||||
<dd class="no_data" style="width:100% !important;">등록한 게시물이 없습니다.</dd>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- 모듈세팅 { -->
|
||||
<script>
|
||||
|
||||
var swiper = new Swiper('.swiper-container-home', {
|
||||
slidesPerColumnFill: 'row', //세로형
|
||||
slidesPerView: 2, //가로갯수
|
||||
slidesPerColumn: 999, // 세로갯수
|
||||
spaceBetween: 20, // 간격
|
||||
observer: true, //리셋
|
||||
observeParents: true, //리셋
|
||||
touchRatio: 0, // 드래그 가능여부
|
||||
|
||||
breakpoints: { //반응형세팅
|
||||
1024: {
|
||||
slidesPerView: 2, //가로갯수
|
||||
slidesPerColumn: 999, //세로갯수
|
||||
spaceBetween: 20, //간격
|
||||
},
|
||||
10: {
|
||||
slidesPerView: 1, //가로갯수
|
||||
slidesPerColumn: 999, //세로갯수
|
||||
spaceBetween: 20, //간격
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
</script>
|
||||
<!-- } -->
|
||||
|
||||
</ul>
|
||||
<!-- } -->
|
||||
|
||||
</div>
|
||||
|
||||
</ul>
|
||||
<!--
|
||||
<ul class="cont_info_wrap cont_info_wrap_mmt">
|
||||
<h2>상품</h2>
|
||||
|
||||
</ul>
|
||||
-->
|
||||
|
||||
<?php
|
||||
if($ca == "bbs") {
|
||||
echo $rpg_write_pages;
|
||||
}
|
||||
?>
|
||||
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<?php
|
||||
if(isset($sb['sb_use']) && $sb['sb_use'] == 1) {
|
||||
if($mb['mb_id'] == $member['mb_id']) {
|
||||
include_once(G5_PATH.'/rb/rb.mod/subscribe/subscribe_table.skin.php');
|
||||
} else {
|
||||
if($ca == "fn" || $ca == "fw") {
|
||||
alert('올바른 방법으로 이용해주세요.');
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="cb"></div>
|
||||
|
||||
<script>
|
||||
function member_leave() { // 회원 탈퇴
|
||||
if (confirm("탈퇴시 보유하신 포인트 및 기타 혜택, 개인정보 등\n모든 정보가 삭제 되며 동일 아이디로 재가입이 불가능합니다.\n\n정말 탈퇴 하시겠습니까?"))
|
||||
location.href = '<?php echo G5_BBS_URL ?>/member_confirm.php?url=member_leave.php';
|
||||
}
|
||||
</script>
|
||||
BIN
theme/rb.basic/skin/member/rb.member/img/chk.png
Normal file
BIN
theme/rb.basic/skin/member/rb.member/img/chk.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.0 KiB |
3
theme/rb.basic/skin/member/rb.member/img/ico_bell.svg
Normal file
3
theme/rb.basic/skin/member/rb.member/img/ico_bell.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="19" height="20" viewBox="0 0 19 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M9.01278 0.999956C10.8693 0.999956 12.6498 1.73745 13.9625 3.05021C15.2753 4.36296 16.0128 6.14344 16.0128 7.99996V11.764L17.8348 15.408C17.9187 15.5757 17.9583 15.7621 17.9498 15.9494C17.9414 16.1367 17.8852 16.3188 17.7866 16.4783C17.688 16.6378 17.5503 16.7695 17.3865 16.8608C17.2227 16.9521 17.0383 17 16.8508 17H1.17478C0.987261 17 0.802845 16.9521 0.63905 16.8608C0.475255 16.7695 0.337521 16.6378 0.238928 16.4783C0.140335 16.3188 0.084158 16.1367 0.0757316 15.9494C0.0673051 15.7621 0.106909 15.5757 0.190783 15.408L2.01278 11.764V7.99996C2.01278 6.14344 2.75028 4.36296 4.06304 3.05021C5.37579 1.73745 7.15627 0.999956 9.01278 0.999956ZM9.01278 2.99996C7.6867 2.99996 6.41493 3.52674 5.47725 4.46442C4.53957 5.4021 4.01278 6.67387 4.01278 7.99996V11.764C4.01276 12.0743 3.94052 12.3804 3.80178 12.658L2.63178 15H15.3948L14.2248 12.658C14.0857 12.3804 14.0131 12.0744 14.0128 11.764V7.99996C14.0128 6.67387 13.486 5.4021 12.5483 4.46442C11.6106 3.52674 10.3389 2.99996 9.01278 2.99996ZM13.8928 0.369956C14.0598 0.164105 14.3017 0.032989 14.5654 0.00542439C14.829 -0.0221402 15.0928 0.0561027 15.2988 0.222957C16.3818 1.099 17.2706 2.19081 17.9088 3.42896C18.0241 3.66407 18.0426 3.93505 17.9603 4.18364C17.8779 4.43224 17.7014 4.63863 17.4685 4.75846C17.2357 4.87828 16.9651 4.90199 16.715 4.82449C16.4648 4.74698 16.2551 4.57445 16.1308 4.34396C15.6198 3.35254 14.908 2.47833 14.0408 1.77696C13.8348 1.61009 13.7035 1.36825 13.6757 1.10459C13.648 0.840944 13.726 0.577062 13.8928 0.370957V0.369956ZM4.13278 0.369956C4.2155 0.472038 4.27729 0.58942 4.31462 0.715392C4.35195 0.841365 4.36409 0.973459 4.35034 1.10413C4.3366 1.23479 4.29724 1.36147 4.23451 1.47692C4.17179 1.59236 4.08693 1.69432 3.98478 1.77696C3.12103 2.47547 2.41144 3.34544 1.90078 4.33196C1.84274 4.45236 1.76114 4.5599 1.66082 4.64823C1.5605 4.73656 1.44349 4.80388 1.3167 4.84621C1.18992 4.88854 1.05593 4.90503 0.922668 4.89469C0.789403 4.88436 0.659563 4.84741 0.540822 4.78603C0.422082 4.72466 0.316851 4.6401 0.231349 4.53736C0.145848 4.43461 0.0818117 4.31577 0.0430258 4.18786C0.00423985 4.05995 -0.00850861 3.92555 0.00553398 3.79263C0.0195766 3.6597 0.0601253 3.53094 0.124783 3.41396C0.762308 2.18192 1.64828 1.0954 2.72678 0.222957C2.93289 0.0562164 3.19677 -0.0218586 3.46042 0.00589407C3.72407 0.0336468 3.96591 0.164956 4.13278 0.370957V0.369956ZM6.01278 18H12.0128C12.0128 18.5304 11.8021 19.0391 11.427 19.4142C11.0519 19.7892 10.5432 20 10.0128 20H8.01278C7.48235 20 6.97364 19.7892 6.59857 19.4142C6.2235 19.0391 6.01278 18.5304 6.01278 18Z" fill="white"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.6 KiB |
3
theme/rb.basic/skin/member/rb.member/img/ico_msg.svg
Normal file
3
theme/rb.basic/skin/member/rb.member/img/ico_msg.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.2715 2.33675L2.67946 6.88975L6.87446 9.31775L10.5735 5.61775C10.7611 5.43024 11.0155 5.32495 11.2808 5.32505C11.5461 5.32514 11.8005 5.43061 11.988 5.61825C12.1755 5.80589 12.2808 6.06033 12.2807 6.3256C12.2806 6.59087 12.1751 6.84524 11.9875 7.03275L8.28746 10.7328L10.7175 14.9268L15.2715 2.33675ZM15.5945 0.0927503C16.7895 -0.34025 17.9475 0.81775 17.5145 2.01275L12.2325 16.6178C11.7985 17.8158 10.1625 17.9617 9.52346 16.8587L6.30646 11.3008L0.748462 8.08375C-0.354538 7.44475 -0.208537 5.80875 0.989463 5.37475L15.5945 0.0927503Z" fill="black"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 708 B |
BIN
theme/rb.basic/skin/member/rb.member/img/ico_sha.png
Normal file
BIN
theme/rb.basic/skin/member/rb.member/img/ico_sha.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 540 B |
BIN
theme/rb.basic/skin/member/rb.member/img/zip_ico_up.gif
Normal file
BIN
theme/rb.basic/skin/member/rb.member/img/zip_ico_up.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 54 B |
178
theme/rb.basic/skin/member/rb.member/login.skin.php
Normal file
178
theme/rb.basic/skin/member/rb.member/login.skin.php
Normal file
@ -0,0 +1,178 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
||||
?>
|
||||
|
||||
<style>
|
||||
body, html {background-color: #f9fafb;}
|
||||
main {background-color: #f9fafb;}
|
||||
</style>
|
||||
|
||||
<div class="rb_member">
|
||||
<div class="rb_login">
|
||||
|
||||
<ul class="rb_login_box">
|
||||
<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 ?>">
|
||||
|
||||
<li class="rb_login_logo">
|
||||
|
||||
<?php if (!empty($rb_builder['bu_logo_pc'])) { ?>
|
||||
<a href="<?php echo G5_URL ?>"><img src="<?php echo G5_URL ?>/data/logos/pc?ver=<?php echo G5_SERVER_TIME ?>" alt="<?php echo $config['cf_title']; ?>" id="logo_img"></a>
|
||||
<?php } else { ?>
|
||||
<a href="<?php echo G5_URL ?>"><img src="<?php echo G5_THEME_URL ?>/rb.img/logos/pc.png?ver=<?php echo G5_SERVER_TIME ?>" alt="<?php echo $config['cf_title']; ?>" id="logo_img"></a>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
</li>
|
||||
<li>
|
||||
<span>아이디</span>
|
||||
<input type="text" name="mb_id" id="login_id" required class="input required" maxLength="20" placeholder="아이디">
|
||||
</li>
|
||||
<li>
|
||||
<span>비밀번호</span>
|
||||
<input type="password" name="mb_password" id="login_pw" required class="input required" maxLength="20" placeholder="비밀번호">
|
||||
</li>
|
||||
<li>
|
||||
<button type="submit" class="btn_submit font-B">로그인</button>
|
||||
</li>
|
||||
<li>
|
||||
<div id="login_info">
|
||||
<div class="login_if_auto">
|
||||
<input type="checkbox" name="auto_login" id="login_auto_login">
|
||||
<label for="login_auto_login"> 자동로그인</label>
|
||||
</div>
|
||||
<div class="login_if_lpl">
|
||||
<a href="<?php echo G5_BBS_URL ?>/password_lost.php">아이디/비밀번호 찾기</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</form>
|
||||
|
||||
<?php if($config['cf_social_login_use'] == 1) { ?>
|
||||
<li>
|
||||
<span class="sns_titles">SNS로 간편하게 시작하기</span>
|
||||
<?php @include_once(get_social_skin_path().'/social_login.skin.php'); // 소셜로그인 사용시 소셜로그인 버튼 ?>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<li class="join_links">
|
||||
아직 <?php echo $config['cf_title'] ?> 회원이 아니신가요? <a href="<?php echo G5_BBS_URL ?>/register.php" class="font-B">회원가입</a>
|
||||
</li>
|
||||
|
||||
|
||||
<?php if (isset($default['de_level_sell']) && $default['de_level_sell'] == 1) { // 상품구입 권한 ?>
|
||||
<?php if (preg_match("/orderform.php/", $url)) { ?>
|
||||
|
||||
<li class="bemember_tit"><h2>비회원 구매</h2></li>
|
||||
<li>
|
||||
<span>개인정보 수집 및 이용정책</span>
|
||||
<div class="textarea_divs"><?php echo conv_content($default['de_guest_privacy'], $config['cf_editor']); ?></div>
|
||||
<div class="mt-10">
|
||||
<input type="checkbox" value="1" id="agree3">
|
||||
<label for="agree3">개인정보 수집 및 이용정책의 내용에 동의합니다.</label>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<button type="button" onclick="javascript:guest_submit(document.flogin);" class="btn_submit font-B">비회원으로 구매하기</button>
|
||||
</li>
|
||||
<li class="join_links">
|
||||
<a href="javascript:history.back();" class="font-B">돌아가기</a>
|
||||
</li>
|
||||
|
||||
|
||||
<script>
|
||||
function guest_submit(f)
|
||||
{
|
||||
if (document.getElementById('agree3')) {
|
||||
if (!document.getElementById('agree3').checked) {
|
||||
alert("개인정보수집에 대한 내용을 읽고 이에 동의하셔야 합니다.");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
f.url.value = "<?php echo $url; ?>";
|
||||
f.action = "<?php echo $url; ?>";
|
||||
f.submit();
|
||||
}
|
||||
</script>
|
||||
<?php } else if (preg_match("/orderinquiry.php$/", $url)) { ?>
|
||||
|
||||
|
||||
<div id="mb_login_od_wr">
|
||||
<h2>비회원 주문조회 </h2>
|
||||
<form name="forderinquiry" method="post" action="<?php echo urldecode($url); ?>" autocomplete="off">
|
||||
<li>
|
||||
<span>주문번호</span>
|
||||
<input type="text" name="od_id" value="<?php echo get_text($od_id); ?>" id="od_id" required class="input required" placeholder="주문번호">
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<span>비밀번호</span>
|
||||
<input type="password" name="od_pwd" id="od_pwd" required class="input required" placeholder="비밀번호">
|
||||
</li>
|
||||
<li>
|
||||
<section id="mb_login_odinfo">
|
||||
<p>주문서의 <strong>주문번호</strong> 및 주문 시 입력하신 <strong>비밀번호</strong>를 정확히 입력해주세요.</p>
|
||||
</section>
|
||||
</li>
|
||||
<li>
|
||||
<button type="submit" class="btn_submit font-B">확인</button>
|
||||
</li>
|
||||
</form>
|
||||
|
||||
<li class="join_links">
|
||||
<a href="javascript:history.back();" class="font-B">돌아가기</a>
|
||||
</li>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<script>
|
||||
jQuery(function($){
|
||||
$("#login_auto_login").click(function(){
|
||||
if (this.checked) {
|
||||
this.checked = confirm("자동로그인을 사용하시면 다음부터 회원아이디와 비밀번호를 입력하실 필요가 없습니다.\n\n공공장소에서는 개인정보가 유출될 수 있으니 사용을 자제하여 주십시오.\n\n자동로그인을 사용하시겠습니까?");
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
function flogin_submit(f)
|
||||
{
|
||||
if( $( document.body ).triggerHandler( 'login_sumit', [f, 'flogin'] ) !== false ){
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
<!-- } 로그인 끝 -->
|
||||
@ -0,0 +1,4 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// 자신만의 코드를 넣어주세요.
|
||||
@ -0,0 +1,148 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.css">', 0);
|
||||
if ($config['cf_cert_use'] && ($config['cf_cert_simple'] || $config['cf_cert_ipin'] || $config['cf_cert_hp']))
|
||||
add_javascript('<script src="'.G5_JS_URL.'/certify.js?v='.G5_JS_VER.'"></script>', 0);
|
||||
?>
|
||||
<!-- 기존 회원 본인인증 시작 { -->
|
||||
<div class="member_cert_refresh">
|
||||
<form name="fcertrefreshform" id="member_cert_refresh" action="<?php echo $action_url ?>" onsubmit="return fcertrefreshform_submit(this);" method="POST" autocomplete="off">
|
||||
<input type="hidden" name="w" value="<?php echo $w ?>">
|
||||
<input type="hidden" name="url" value="<?php echo $urlencode ?>">
|
||||
<input type="hidden" name="cert_type" value="<?php echo $member['mb_certify']; ?>">
|
||||
<input type="hidden" name="mb_id" value="<?php echo $member['mb_id']; ?>">
|
||||
<input type="hidden" name="mb_hp" value="<?php echo $member['mb_hp']; ?>">
|
||||
<input type="hidden" name="mb_name" value="<?php echo $member['mb_name']; ?>">
|
||||
<input type="hidden" name="cert_no" value="">
|
||||
<section id="member_cert_refresh_private">
|
||||
<h2>(필수) 추가 개인정보처리방침 안내</h2>
|
||||
<div>
|
||||
<div class="tbl_head01 tbl_wrap">
|
||||
<table>
|
||||
<caption>추가 개인정보처리방침 안내</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>목적</th>
|
||||
<th>항목</th>
|
||||
<th>보유기간</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>이용자 식별 및 본인여부 확인</td>
|
||||
<td>생년월일<?php echo (empty($member['mb_dupinfo']))? ", 휴대폰 번호(아이핀 제외)" : ""; ?>, 암호화된 개인식별부호(CI)</td>
|
||||
<td>회원 탈퇴 시까지</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<fieldset class="member_cert_refresh_agree">
|
||||
<input type="checkbox" name="agree2" value="1" id="agree21" class="selec_chk">
|
||||
<label for="agree21"><span></span><b class="sound_only">추가 개인정보처리방침에 동의합니다.</b></label>
|
||||
</fieldset>
|
||||
</section>
|
||||
|
||||
<section id="find_info" class="new_win">
|
||||
<h2>인증수단 선택하기</h2>
|
||||
|
||||
<div class="find_btn">
|
||||
<?php
|
||||
if ($config['cf_cert_use']) {
|
||||
echo '<div class="cert_btn">';
|
||||
if ($config['cf_cert_simple']) {
|
||||
echo '<button type="button" id="win_sa_kakao_cert" class="btn_submit win_sa_cert" data-type="">간편인증</button>' . PHP_EOL;
|
||||
}
|
||||
if ($config['cf_cert_hp'])
|
||||
echo '<button type="button" id="win_hp_cert" class="btn_submit">휴대폰 본인확인</button>' . PHP_EOL;
|
||||
if ($config['cf_cert_ipin'])
|
||||
echo '<button type="button" id="win_ipin_cert" class="btn_submit">아이핀 본인확인</button>' . PHP_EOL;
|
||||
echo '</div>';
|
||||
echo '<noscript>본인확인을 위해서는 자바스크립트 사용이 가능해야합니다.</noscript>' . PHP_EOL;
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</section>
|
||||
</form>
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
var pageTypeParam = "pageType=register";
|
||||
var f = document.fcertrefreshform;
|
||||
|
||||
<?php if ($config['cf_cert_use'] && $config['cf_cert_simple']) { ?>
|
||||
// 이니시스 간편인증
|
||||
var url = "<?php echo G5_INICERT_URL; ?>/ini_request.php";
|
||||
var type = "";
|
||||
var params = "";
|
||||
var request_url = "";
|
||||
|
||||
$(".win_sa_cert").click(function() {
|
||||
if (!fcertrefreshform_submit(f)) return false;
|
||||
type = $(this).data("type");
|
||||
params = "?directAgency=" + type + "&" + pageTypeParam;
|
||||
request_url = url + params;
|
||||
call_sa(request_url);
|
||||
});
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($config['cf_cert_use'] && $config['cf_cert_ipin']) { ?>
|
||||
// 아이핀인증
|
||||
var params = "";
|
||||
$("#win_ipin_cert").click(function() {
|
||||
if (!fcertrefreshform_submit(f)) return false;
|
||||
params = "?" + pageTypeParam;
|
||||
var url = "<?php echo G5_OKNAME_URL; ?>/ipin1.php" + params;
|
||||
certify_win_open('kcb-ipin', url);
|
||||
return;
|
||||
});
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($config['cf_cert_use'] && $config['cf_cert_hp']) { ?>
|
||||
// 휴대폰인증
|
||||
var params = "";
|
||||
$("#win_hp_cert").click(function() {
|
||||
if (!fcertrefreshform_submit(f)) return false;
|
||||
params = "?" + pageTypeParam;
|
||||
<?php
|
||||
switch ($config['cf_cert_hp']) {
|
||||
case 'kcb':
|
||||
$cert_url = G5_OKNAME_URL.'/hpcert1.php';
|
||||
$cert_type = 'kcb-hp';
|
||||
break;
|
||||
case 'kcp':
|
||||
$cert_url = G5_KCPCERT_URL.'/kcpcert_form.php';
|
||||
$cert_type = 'kcp-hp';
|
||||
break;
|
||||
case 'lg':
|
||||
$cert_url = G5_LGXPAY_URL.'/AuthOnlyReq.php';
|
||||
$cert_type = 'lg-hp';
|
||||
break;
|
||||
default:
|
||||
echo 'alert("기본환경설정에서 휴대폰 본인확인 설정을 해주십시오");';
|
||||
echo 'return false;';
|
||||
break;
|
||||
}
|
||||
?>
|
||||
|
||||
certify_win_open("<?php echo $cert_type; ?>", "<?php echo $cert_url; ?>" + params);
|
||||
return;
|
||||
});
|
||||
<?php } ?>
|
||||
});
|
||||
|
||||
function fcertrefreshform_submit(f) {
|
||||
if (!f.agree2.checked) {
|
||||
alert("추가 개인정보처리방침에 동의하셔야 인증을 진행하실 수 있습니다.");
|
||||
f.agree2.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
</div>
|
||||
<!-- } 기존 회원 본인인증 끝 -->
|
||||
71
theme/rb.basic/skin/member/rb.member/member_confirm.skin.php
Normal file
71
theme/rb.basic/skin/member/rb.member/member_confirm.skin.php
Normal file
@ -0,0 +1,71 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
||||
?>
|
||||
|
||||
<style>
|
||||
body,html {background-color: #f9fafb;}
|
||||
main {background-color: #f9fafb;}
|
||||
#container_title {display: none;}
|
||||
#header {display: none;}
|
||||
.contents_wrap {padding: 0px !important;}
|
||||
.sub {padding-top: 0px;}
|
||||
</style>
|
||||
|
||||
<div class="rb_member">
|
||||
<div class="rb_login rb_reg">
|
||||
|
||||
<form name="fmemberconfirm" action="<?php echo $url ?>" onsubmit="return fmemberconfirm_submit(this);" method="post">
|
||||
<input type="hidden" name="mb_id" value="<?php echo $member['mb_id'] ?>">
|
||||
<input type="hidden" name="w" value="u">
|
||||
|
||||
<ul class="rb_login_box">
|
||||
<li class="rb_login_logo">
|
||||
<?php if (!empty($rb_builder['bu_logo_pc'])) { ?>
|
||||
<a href="<?php echo G5_URL ?>"><img src="<?php echo G5_URL ?>/data/logos/pc?ver=<?php echo G5_SERVER_TIME ?>" alt="<?php echo $config['cf_title']; ?>" id="logo_img"></a>
|
||||
<?php } else { ?>
|
||||
<a href="<?php echo G5_URL ?>"><img src="<?php echo G5_THEME_URL ?>/rb.img/logos/pc.png?ver=<?php echo G5_SERVER_TIME ?>" alt="<?php echo $config['cf_title']; ?>" id="logo_img"></a>
|
||||
<?php } ?>
|
||||
</li>
|
||||
<li class="rb_reg_ok_text font-B"><?php echo $g5['title'] ?></li>
|
||||
<li class="rb_reg_sub_title">
|
||||
비밀번호를 한번 더 입력해주세요.<br>
|
||||
<?php if ($url == 'member_leave.php') { ?>
|
||||
비밀번호를 입력하시면 회원탈퇴가 완료됩니다.<br>
|
||||
회원탈퇴시 동일 아이디로 재가입이 불가능하며, 보유하신<br>
|
||||
포인트 등의 개인정보는 모두 삭제됩니다.
|
||||
<?php }else{ ?>
|
||||
개인정보 보호를 위해 비밀번호를 한번 더 확인할께요.
|
||||
<?php } ?>
|
||||
</li>
|
||||
<li>
|
||||
<input type="password" name="mb_password" id="confirm_mb_password" required class="required input" maxLength="20" placeholder="비밀번호">
|
||||
</li>
|
||||
<li>
|
||||
<div class="btn_confirm">
|
||||
<button type="submit" class="btn_submit font-B">확인</button>
|
||||
</div>
|
||||
</li>
|
||||
<li class="join_links">
|
||||
<a href="<?php echo G5_URL ?>" class="font-B">메인으로</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<script>
|
||||
function fmemberconfirm_submit(f)
|
||||
{
|
||||
document.getElementById("btn_submit").disabled = true;
|
||||
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
<!-- } 회원 비밀번호 확인 끝 -->
|
||||
86
theme/rb.basic/skin/member/rb.member/memo.skin.php
Normal file
86
theme/rb.basic/skin/member/rb.member/memo.skin.php
Normal file
@ -0,0 +1,86 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
||||
?>
|
||||
|
||||
<!-- 쪽지 목록 시작 { -->
|
||||
<div id="memo_list" class="new_win">
|
||||
<h1 id="win_title">
|
||||
<?php echo $g5['title'] ?>
|
||||
<div class="win_total">전체 <?php echo $kind_title ?>쪽지 <?php echo $total_count ?>통<br></div>
|
||||
</h1>
|
||||
<div class="new_win_con2">
|
||||
<ul class="win_ul">
|
||||
<li class="<?php if ($kind == 'recv') { ?>selected<?php } ?>"><a href="./memo.php?kind=recv">받은쪽지</a></li>
|
||||
<li class="<?php if ($kind == 'send') { ?>selected<?php } ?>"><a href="./memo.php?kind=send">보낸쪽지</a></li>
|
||||
<li><a href="./memo_form.php">쪽지쓰기</a></li>
|
||||
|
||||
<li class="selected system_del_btn"><a href="javascript:void(0);" id="system_del">시스템메세지 삭제</a></li>
|
||||
|
||||
<script>
|
||||
document.getElementById('system_del').addEventListener('click', function() {
|
||||
var userConfirmed = confirm('시스템메세지를 일괄 삭제 합니다. 사용자에게 받은 쪽지는 삭제되지 않습니다.\n시스템메세지를 일괄 삭제 하시겠습니까?');
|
||||
|
||||
if (userConfirmed) {
|
||||
$.ajax({
|
||||
url: '<?php echo G5_URL ?>/rb/rb.lib/ajax.memo_system_delete.php',
|
||||
method: 'POST',
|
||||
//data: { order: orderData, mod_type: "mod_order" },
|
||||
success: function(response) {
|
||||
location.reload();
|
||||
},
|
||||
error: function(xhr, status, error) {
|
||||
alert('삭제처리에 문제가 있습니다. 관리자에게 문의해주세요.');
|
||||
}
|
||||
});
|
||||
} else {
|
||||
|
||||
}
|
||||
});
|
||||
</script>
|
||||
<div class="cb"></div>
|
||||
</ul>
|
||||
|
||||
<div class="memo_list">
|
||||
<ul>
|
||||
<?php
|
||||
for ($i=0; $i<count($list); $i++) {
|
||||
$readed = (substr($list[$i]['me_read_datetime'],0,1) == 0) ? '' : 'read';
|
||||
$memo_preview = utf8_strcut(strip_tags($list[$i]['me_memo']), 30, '..');
|
||||
?>
|
||||
<li class="<?php echo $readed; ?>">
|
||||
<div class="memo_li profile_big_img">
|
||||
<?php if($list[$i]['mb_id'] != "system-msg") { ?>
|
||||
<?php echo get_member_profile_img($list[$i]['mb_id']); ?>
|
||||
<?php if (! $readed){ ?><span class="no_read">안 읽은 쪽지</span><?php } ?>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<div class="memo_li memo_name" <?php if($list[$i]['mb_id'] == "system-msg") { ?>style="padding-top:0px !important;"<?php } ?>>
|
||||
<?php if($list[$i]['mb_id'] != "system-msg") { ?><?php echo $list[$i]['name']; ?> <?php } ?>
|
||||
<span class="memo_datetime"><?php if($list[$i]['mb_id'] == "system-msg") { ?>시스템메세지 <?php } else { ?> <?php } ?><?php echo $list[$i]['send_datetime']; ?></span>
|
||||
|
||||
<div class="memo_preview">
|
||||
<a href="<?php echo $list[$i]['view_href']; ?>"><?php echo $memo_preview; ?></a>
|
||||
</div>
|
||||
</div>
|
||||
<a href="<?php echo $list[$i]['del_href']; ?>" onclick="del(this.href); return false;" class="memo_del"><img src="<?php echo G5_THEME_URL ?>/rb.img/icon/icon_close.svg"> <span class="sound_only">삭제</span></a>
|
||||
</li>
|
||||
<?php } ?>
|
||||
<?php if ($i==0) { echo '<li class="empty_table">자료가 없습니다.</li>'; } ?>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- 페이지 -->
|
||||
<?php echo $write_pages; ?>
|
||||
|
||||
<p class="win_desc"><i class="fa fa-info-circle" aria-hidden="true"></i> 쪽지 보관일수는 최장 <strong><?php echo $config['cf_memo_del'] ?></strong>일 입니다.
|
||||
</p>
|
||||
|
||||
<div class="win_btn">
|
||||
<button type="button" onclick="window.close();" class="btn_close">창닫기</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- } 쪽지 목록 끝 -->
|
||||
60
theme/rb.basic/skin/member/rb.member/memo_form.skin.php
Normal file
60
theme/rb.basic/skin/member/rb.member/memo_form.skin.php
Normal file
@ -0,0 +1,60 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
||||
?>
|
||||
|
||||
<!-- 쪽지 보내기 시작 { -->
|
||||
<div id="memo_write" class="new_win">
|
||||
<h1 id="win_title">쪽지 보내기</h1>
|
||||
<div class="new_win_con2">
|
||||
<ul class="win_ul">
|
||||
<li><a href="./memo.php?kind=recv">받은쪽지</a></li>
|
||||
<li><a href="./memo.php?kind=send">보낸쪽지</a></li>
|
||||
<li class="selected"><a href="./memo_form.php">쪽지쓰기</a></li>
|
||||
</ul>
|
||||
|
||||
<form name="fmemoform" action="<?php echo $memo_action_url; ?>" onsubmit="return fmemoform_submit(this);" method="post" autocomplete="off">
|
||||
<div class="form_01">
|
||||
<h2 class="sound_only">쪽지쓰기</h2>
|
||||
<ul>
|
||||
<li>
|
||||
<label for="me_recv_mb_id" class="sound_only">받는 회원아이디<strong>필수</strong></label>
|
||||
|
||||
<input type="text" name="me_recv_mb_id" value="<?php echo $me_recv_mb_id; ?>" id="me_recv_mb_id" required class="frm_input full_input required" size="47" placeholder="받는 회원아이디">
|
||||
<span class="frm_info">여러 회원에게 보낼때는 콤마(,)로 구분해주세요.
|
||||
<?php if ($config['cf_memo_send_point']) { ?>
|
||||
<br >쪽지 발송시 회원당 <?php echo number_format($config['cf_memo_send_point']); ?> 포인트를 차감합니다.</span>
|
||||
<?php } ?>
|
||||
</li>
|
||||
<li>
|
||||
<label for="me_memo" class="sound_only">내용</label>
|
||||
<textarea name="me_memo" id="me_memo" required class="required"><?php echo $content ?></textarea>
|
||||
</li>
|
||||
<li>
|
||||
<span class="sound_only">자동등록방지</span>
|
||||
|
||||
<?php echo captcha_html(); ?>
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="win_btn">
|
||||
<button type="submit" id="btn_submit" class="btn btn_b02 reply_btn">보내기</button>
|
||||
<button type="button" onclick="window.close();" class="btn_close">창닫기</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
function fmemoform_submit(f)
|
||||
{
|
||||
<?php echo chk_captcha_js(); ?>
|
||||
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
<!-- } 쪽지 보내기 끝 -->
|
||||
77
theme/rb.basic/skin/member/rb.member/memo_view.skin.php
Normal file
77
theme/rb.basic/skin/member/rb.member/memo_view.skin.php
Normal file
@ -0,0 +1,77 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
$mb_id = isset($mb['mb_id']) ? $mb['mb_id'] : '';
|
||||
$mb_nick = isset($mb['mb_nick']) ? $mb['mb_nick'] : '';
|
||||
$mb_email = isset($mb['mb_email']) ? $mb['mb_email'] : '';
|
||||
$mb_homepage = isset($mb['mb_homepage']) ? $mb['mb_homepage'] : '';
|
||||
|
||||
$nick = get_sideview($mb_id, $mb_nick, $mb_email, $mb_homepage);
|
||||
|
||||
if($kind == "recv") {
|
||||
$kind_str = "보낸";
|
||||
$kind_date = "받은";
|
||||
}
|
||||
else {
|
||||
$kind_str = "받는";
|
||||
$kind_date = "보낸";
|
||||
}
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
||||
?>
|
||||
|
||||
<!-- 쪽지보기 시작 { -->
|
||||
<div id="memo_view" class="new_win">
|
||||
<h1 id="win_title"><?php echo $g5['title'] ?></h1>
|
||||
<div class="new_win_con2">
|
||||
<!-- 쪽지함 선택 시작 { -->
|
||||
<ul class="win_ul">
|
||||
<li class="<?php if ($kind == 'recv') { ?>selected<?php } ?>"><a href="./memo.php?kind=recv">받은쪽지</a></li>
|
||||
<li class="<?php if ($kind == 'send') { ?>selected<?php } ?>"><a href="./memo.php?kind=send">보낸쪽지</a></li>
|
||||
<li><a href="./memo_form.php">쪽지쓰기</a></li>
|
||||
</ul>
|
||||
<!-- } 쪽지함 선택 끝 -->
|
||||
|
||||
<article id="memo_view_contents">
|
||||
<header>
|
||||
<h2>쪽지 내용</h2>
|
||||
</header>
|
||||
<div id="memo_view_ul">
|
||||
<div class="memo_view_li memo_view_name">
|
||||
<ul class="memo_from">
|
||||
<?php if($memo['me_send_mb_id'] != "system-msg") { ?>
|
||||
<li class="memo_profile">
|
||||
<?php echo get_member_profile_img($mb['mb_id']); ?>
|
||||
</li>
|
||||
<?php } ?>
|
||||
<li class="memo_view_nick"><?php echo $nick ?></li>
|
||||
<li class="memo_view_date"><span class="sound_only"><?php echo $kind_date ?>시간</span><?php if($memo['me_send_mb_id'] == "system-msg") { ?>시스템메세지 <?php } ?><?php echo $memo['me_send_datetime'] ?></li>
|
||||
<li class="memo_op_btn list_btn" <?php if($memo['me_send_mb_id'] == "system-msg") { ?>style="top:10px;"<?php } ?>><a href="<?php echo $list_link ?>" class="btn_b01 btn"><img src="<?php echo G5_THEME_URL ?>/rb.img/icon/icon_back.svg"><span class="sound_only">목록</span></a></li>
|
||||
<li class="memo_op_btn del_btn" <?php if($memo['me_send_mb_id'] == "system-msg") { ?>style="top:10px;"<?php } ?>><a href="<?php echo $del_link; ?>" onclick="del(this.href); return false;" class="memo_del btn_b01 btn"><img src="<?php echo G5_THEME_URL ?>/rb.img/icon/icon_close.svg"> <span class="sound_only">삭제</span></a></li>
|
||||
</ul>
|
||||
<!--
|
||||
<div class="memo_btn">
|
||||
<?php if($prev_link) { ?>
|
||||
<a href="<?php echo $prev_link ?>" class="btn_left"><i class="fa fa-chevron-left" aria-hidden="true"></i> 이전쪽지</a>
|
||||
<?php } ?>
|
||||
<?php if($next_link) { ?>
|
||||
<a href="<?php echo $next_link ?>" class="btn_right">다음쪽지 <i class="fa fa-chevron-right" aria-hidden="true"></i></a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
-->
|
||||
</div>
|
||||
</div>
|
||||
<p>
|
||||
<?php echo conv_content($memo['me_memo'], 0) ?>
|
||||
</p>
|
||||
</article>
|
||||
<div class="win_btn">
|
||||
<?php if($memo['me_send_mb_id'] != "system-msg") { ?>
|
||||
<?php if ($kind == 'recv') { ?><a href="./memo_form.php?me_recv_mb_id=<?php echo $mb['mb_id'] ?>&me_id=<?php echo $memo['me_id'] ?>" class="reply_btn">답장</a><?php } ?>
|
||||
<?php } ?>
|
||||
<button type="button" onclick="window.close();" class="btn_close">창닫기</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- } 쪽지보기 끝 -->
|
||||
85
theme/rb.basic/skin/member/rb.member/password.skin.php
Normal file
85
theme/rb.basic/skin/member/rb.member/password.skin.php
Normal file
@ -0,0 +1,85 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
$delete_str = "";
|
||||
if ($w == 'x') $delete_str = "댓";
|
||||
if ($w == 'u') $g5['title'] = $delete_str."글 수정";
|
||||
else if ($w == 'd' || $w == 'x') $g5['title'] = $delete_str."글 삭제";
|
||||
else $g5['title'] = $g5['title'];
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
||||
?>
|
||||
|
||||
|
||||
<style>
|
||||
body, html {background-color: #f9fafb;}
|
||||
main {background-color: #f9fafb;}
|
||||
#container_title {display: none;}
|
||||
#header {display: none;}
|
||||
.contents_wrap {padding: 0px !important;}
|
||||
.sub {padding-top: 0px;}
|
||||
</style>
|
||||
|
||||
|
||||
<div class="rb_member">
|
||||
<div class="rb_login rb_reg">
|
||||
|
||||
|
||||
|
||||
<ul class="rb_login_box">
|
||||
|
||||
<form name="fboardpassword" action="<?php echo $action; ?>" method="post">
|
||||
<input type="hidden" name="w" value="<?php echo $w ?>">
|
||||
<input type="hidden" name="bo_table" value="<?php echo $bo_table ?>">
|
||||
<input type="hidden" name="wr_id" value="<?php echo $wr_id ?>">
|
||||
<input type="hidden" name="comment_id" value="<?php echo $comment_id ?>">
|
||||
<input type="hidden" name="sfl" value="<?php echo $sfl ?>">
|
||||
<input type="hidden" name="stx" value="<?php echo $stx ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page ?>">
|
||||
|
||||
<li class="rb_login_logo">
|
||||
<?php if (!empty($rb_builder['bu_logo_pc'])) { ?>
|
||||
<a href="<?php echo G5_URL ?>"><img src="<?php echo G5_URL ?>/data/logos/pc?ver=<?php echo G5_SERVER_TIME ?>" alt="<?php echo $config['cf_title']; ?>" id="logo_img"></a>
|
||||
<?php } else { ?>
|
||||
<a href="<?php echo G5_URL ?>"><img src="<?php echo G5_THEME_URL ?>/rb.img/logos/pc.png?ver=<?php echo G5_SERVER_TIME ?>" alt="<?php echo $config['cf_title']; ?>" id="logo_img"></a>
|
||||
<?php } ?>
|
||||
</li>
|
||||
|
||||
<li class="rb_reg_ok_text font-B"><?php echo $g5['title'] ?></li>
|
||||
<li class="rb_reg_sub_title">
|
||||
<?php if ($w == 'u') { ?>
|
||||
작성자만 글을 수정할 수 있어요.<br>
|
||||
글 작성시 입력한 비밀번호를 입력해주세요.
|
||||
<?php } else if ($w == 'd' || $w == 'x') { ?>
|
||||
작성자만 글을 삭제할 수 있어요.<br>
|
||||
글 작성시 입력한 비밀번호를 입력해주세요.
|
||||
<?php } else { ?>
|
||||
비밀글은 작성자와 관리자만 열람할 수 있어요.<br>
|
||||
비밀번호를 입력해주세요.
|
||||
<?php } ?>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<input type="password" name="wr_password" id="password_wr_password" required class="input required" maxLength="20" placeholder="비밀번호">
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="btn_confirm">
|
||||
<button type="submit" class="btn_submit font-B">확인</button>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
170
theme/rb.basic/skin/member/rb.member/password_lost.skin.php
Normal file
170
theme/rb.basic/skin/member/rb.member/password_lost.skin.php
Normal file
@ -0,0 +1,170 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
||||
|
||||
if($config['cf_cert_use'] && ($config['cf_cert_simple'] || $config['cf_cert_ipin'] || $config['cf_cert_hp'])) { ?>
|
||||
<script src="<?php echo G5_JS_URL ?>/certify.js?v=<?php echo G5_JS_VER; ?>"></script>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
|
||||
<style>
|
||||
body, html {background-color: #f9fafb;}
|
||||
main {background-color: #f9fafb;}
|
||||
#container_title {display: none;}
|
||||
#header {display: none;}
|
||||
.contents_wrap {padding: 0px !important;}
|
||||
.sub {padding-top: 0px;}
|
||||
</style>
|
||||
|
||||
<div class="rb_member new_win<?php if($config['cf_cert_use'] != 0 && $config['cf_cert_find'] != 0) { ?> cert<?php } ?>" id="find_info">
|
||||
<div class="rb_login rb_reg">
|
||||
|
||||
|
||||
|
||||
<ul class="rb_login_box">
|
||||
|
||||
<form name="fpasswordlost" action="<?php echo $action_url ?>" onsubmit="return fpasswordlost_submit(this);" method="post" autocomplete="off">
|
||||
<input type="hidden" name="cert_no" value="">
|
||||
|
||||
<li class="rb_login_logo">
|
||||
<?php if (!empty($rb_builder['bu_logo_pc'])) { ?>
|
||||
<a href="<?php echo G5_URL ?>"><img src="<?php echo G5_URL ?>/data/logos/pc?ver=<?php echo G5_SERVER_TIME ?>" alt="<?php echo $config['cf_title']; ?>" id="logo_img"></a>
|
||||
<?php } else { ?>
|
||||
<a href="<?php echo G5_URL ?>"><img src="<?php echo G5_THEME_URL ?>/rb.img/logos/pc.png?ver=<?php echo G5_SERVER_TIME ?>" alt="<?php echo $config['cf_title']; ?>" id="logo_img"></a>
|
||||
<?php } ?>
|
||||
|
||||
</li>
|
||||
|
||||
<li class="rb_reg_ok_text font-B">이메일로 찾기</li>
|
||||
<li class="rb_reg_sub_title">회원가입 시 등록하신 이메일 주소를 입력해 주세요.<br>아이디와 비밀번호를 보내드려요.</li>
|
||||
|
||||
<li>
|
||||
<input type="text" name="mb_email" id="mb_email" required class="required input full_input email" size="30" placeholder="이메일 주소를 입력하세요.">
|
||||
</li>
|
||||
<li>
|
||||
<div>
|
||||
<?php echo captcha_html(); ?>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="btn_confirm">
|
||||
<button type="submit" class="btn_submit font-B">인증메일 보내기</button>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
|
||||
</form>
|
||||
|
||||
<?php if($config['cf_cert_use'] != 0 && $config['cf_cert_find'] != 0) { ?>
|
||||
<br><br><br>
|
||||
|
||||
<li class="rb_reg_ok_text font-B">본인인증으로 찾기</li>
|
||||
<li class="rb_reg_sub_title">이메일이 안오신다면 본인인증으로 찾을 수 있어요.</li>
|
||||
|
||||
<li class="cert_btns">
|
||||
<?php if(!empty($config['cf_cert_simple'])) { ?>
|
||||
<button type="button" id="win_sa_kakao_cert" class="btn_frmline win_sa_cert" data-type="">간편인증</button>
|
||||
<?php } if(!empty($config['cf_cert_hp']) || !empty($config['cf_cert_ipin'])) { ?>
|
||||
<?php if(!empty($config['cf_cert_hp'])) { ?>
|
||||
<button type="button" id="win_hp_cert" class="btn_frmline">휴대폰 본인확인</button>
|
||||
<?php } if(!empty($config['cf_cert_ipin'])) { ?>
|
||||
<button type="button" id="win_ipin_cert" class="btn_frmline">아이핀 본인확인</button>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
</li>
|
||||
<br><br>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
|
||||
<li class="join_links">
|
||||
<a href="<?php echo G5_URL ?>" class="font-B">돌아가기</a>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
$("#reg_zip_find").css("display", "inline-block");
|
||||
var pageTypeParam = "pageType=find";
|
||||
|
||||
<?php if($config['cf_cert_use'] && $config['cf_cert_simple']) { ?>
|
||||
// TOSS 간편인증
|
||||
var url = "<?php echo G5_INICERT_URL; ?>/ini_request.php";
|
||||
var type = "";
|
||||
var params = "";
|
||||
var request_url = "";
|
||||
|
||||
|
||||
$(".win_sa_cert").click(function() {
|
||||
type = $(this).data("type");
|
||||
params = "?directAgency=" + type + "&" + pageTypeParam;
|
||||
request_url = url + params;
|
||||
call_sa(request_url);
|
||||
});
|
||||
<?php } ?>
|
||||
<?php if($config['cf_cert_use'] && $config['cf_cert_ipin']) { ?>
|
||||
// 아이핀인증
|
||||
var params = "";
|
||||
$("#win_ipin_cert").click(function() {
|
||||
params = "?" + pageTypeParam;
|
||||
var url = "<?php echo G5_OKNAME_URL; ?>/ipin1.php"+params;
|
||||
certify_win_open('kcb-ipin', url);
|
||||
return;
|
||||
});
|
||||
|
||||
<?php } ?>
|
||||
<?php if($config['cf_cert_use'] && $config['cf_cert_hp']) { ?>
|
||||
// 휴대폰인증
|
||||
var params = "";
|
||||
$("#win_hp_cert").click(function() {
|
||||
params = "?" + pageTypeParam;
|
||||
<?php
|
||||
switch($config['cf_cert_hp']) {
|
||||
case 'kcb':
|
||||
$cert_url = G5_OKNAME_URL.'/hpcert1.php';
|
||||
$cert_type = 'kcb-hp';
|
||||
break;
|
||||
case 'kcp':
|
||||
$cert_url = G5_KCPCERT_URL.'/kcpcert_form.php';
|
||||
$cert_type = 'kcp-hp';
|
||||
break;
|
||||
case 'lg':
|
||||
$cert_url = G5_LGXPAY_URL.'/AuthOnlyReq.php';
|
||||
$cert_type = 'lg-hp';
|
||||
break;
|
||||
default:
|
||||
echo 'alert("기본환경설정에서 휴대폰 본인확인 설정을 해주십시오");';
|
||||
echo 'return false;';
|
||||
break;
|
||||
}
|
||||
?>
|
||||
|
||||
certify_win_open("<?php echo $cert_type; ?>", "<?php echo $cert_url; ?>"+params);
|
||||
return;
|
||||
});
|
||||
<?php } ?>
|
||||
});
|
||||
function fpasswordlost_submit(f)
|
||||
{
|
||||
<?php echo chk_captcha_js(); ?>
|
||||
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
<!-- } 회원정보 찾기 끝 -->
|
||||
69
theme/rb.basic/skin/member/rb.member/password_reset.skin.php
Normal file
69
theme/rb.basic/skin/member/rb.member/password_reset.skin.php
Normal file
@ -0,0 +1,69 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.css">', 0);
|
||||
?>
|
||||
|
||||
|
||||
<style>
|
||||
body,html {background-color: #f9fafb;}
|
||||
main {background-color: #f9fafb;}
|
||||
#container_title {display: none;}
|
||||
#header {display: none;}
|
||||
.contents_wrap {padding: 0px !important;}
|
||||
.sub {padding-top: 0px;}
|
||||
</style>
|
||||
|
||||
<div class="rb_member">
|
||||
<div class="rb_login rb_reg">
|
||||
|
||||
<form name="fpasswordreset" action="<?php echo $action_url; ?>" onsubmit="return fpasswordreset_submit(this);" method="post" autocomplete="off">
|
||||
|
||||
<ul class="rb_login_box">
|
||||
<li class="rb_login_logo">
|
||||
<?php if (!empty($rb_builder['bu_logo_pc'])) { ?>
|
||||
<a href="<?php echo G5_URL ?>"><img src="<?php echo G5_URL ?>/data/logos/pc?ver=<?php echo G5_SERVER_TIME ?>" alt="<?php echo $config['cf_title']; ?>" id="logo_img"></a>
|
||||
<?php } else { ?>
|
||||
<a href="<?php echo G5_URL ?>"><img src="<?php echo G5_THEME_URL ?>/rb.img/logos/pc.png?ver=<?php echo G5_SERVER_TIME ?>" alt="<?php echo $config['cf_title']; ?>" id="logo_img"></a>
|
||||
<?php } ?>
|
||||
</li>
|
||||
<li class="rb_reg_ok_text font-B">비밀번호 재설정</li>
|
||||
<li class="rb_reg_sub_title">새로운 비밀번호를 입력해주세요.</li>
|
||||
<li>
|
||||
<div>
|
||||
<input type="password" name="mb_password" id="mb_pw" required class="required input full_input" placeholder="새 비밀번호">
|
||||
</div>
|
||||
<div class="mt-10">
|
||||
<input type="password" name="mb_password_re" id="mb_pw2" required class="required input full_input" placeholder="새 비밀번호 확인">
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="btn_confirm">
|
||||
<button type="submit" class="btn_submit font-B">확인</button>
|
||||
</div>
|
||||
</li>
|
||||
<li class="join_links">
|
||||
<a href="<?php echo G5_URL ?>" class="font-B">메인으로</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<script>
|
||||
function fpasswordreset_submit(f) {
|
||||
if ($("#mb_pw").val() == $("#mb_pw2").val()) {
|
||||
alert("비밀번호 변경되었습니다. 다시 로그인해 주세요.");
|
||||
} else {
|
||||
alert("새 비밀번호와 비밀번호 확인이 일치하지 않습니다.");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<!-- } 비밀번호 재설정 끝 -->
|
||||
77
theme/rb.basic/skin/member/rb.member/point.skin.php
Normal file
77
theme/rb.basic/skin/member/rb.member/point.skin.php
Normal file
@ -0,0 +1,77 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
||||
?>
|
||||
|
||||
<div id="point" class="new_win">
|
||||
<h1 id="win_title"><?php echo $g5['title'] ?></h1>
|
||||
|
||||
<div class="new_win_con2">
|
||||
<ul class="point_all">
|
||||
<li class="full_li">
|
||||
보유포인트
|
||||
<span><?php echo number_format($member['mb_point']); ?> P</span>
|
||||
</li>
|
||||
</ul>
|
||||
<ul class="point_list">
|
||||
<?php
|
||||
$sum_point1 = $sum_point2 = $sum_point3 = 0;
|
||||
|
||||
$i = 0;
|
||||
foreach((array) $list as $row){
|
||||
$point1 = $point2 = 0;
|
||||
$point_use_class = '';
|
||||
if ($row['po_point'] > 0) {
|
||||
$point1 = '+' .number_format($row['po_point']);
|
||||
$sum_point1 += $row['po_point'];
|
||||
} else {
|
||||
$point2 = number_format($row['po_point']);
|
||||
$sum_point2 += $row['po_point'];
|
||||
$point_use_class = 'point_use';
|
||||
}
|
||||
|
||||
$po_content = $row['po_content'];
|
||||
|
||||
$expr = '';
|
||||
if($row['po_expired'] == 1)
|
||||
$expr = ' txt_expired';
|
||||
?>
|
||||
<li class="<?php echo $point_use_class; ?>">
|
||||
<div class="point_top">
|
||||
<span class="point_tit"><?php echo $po_content; ?></span>
|
||||
<span class="point_num <?php if ($point2) { ?>reds<?php } ?>"><?php if ($point1) echo $point1; else echo $point2; ?></span>
|
||||
</div>
|
||||
<span class="point_date1"><?php echo $row['po_datetime']; ?></span>
|
||||
<span class="point_date<?php echo $expr; ?>">
|
||||
<?php if ($row['po_expired'] == 1) { ?>
|
||||
만료 <?php echo substr(str_replace('-', '', $row['po_expire_date']), 2); ?>
|
||||
<?php } else echo $row['po_expire_date'] == '9999-12-31' ? ' ' : $row['po_expire_date']; ?>
|
||||
</span>
|
||||
</li>
|
||||
<?php
|
||||
$i++;
|
||||
} // end foreach
|
||||
|
||||
if ($i == 0)
|
||||
echo '<li class="empty_li">자료가 없습니다.</li>';
|
||||
else {
|
||||
if ($sum_point1 > 0)
|
||||
$sum_point1 = "+" . number_format($sum_point1);
|
||||
$sum_point2 = number_format($sum_point2);
|
||||
}
|
||||
?>
|
||||
|
||||
<li class="point_status">
|
||||
소계
|
||||
<span><?php echo $sum_point1; ?></span>
|
||||
<span><?php echo $sum_point2; ?></span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<?php echo get_paging(G5_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, $_SERVER['SCRIPT_NAME'].'?'.$qstr.'&page='); ?>
|
||||
|
||||
<button type="button" onclick="javascript:window.close();" class="btn_close">창닫기</button>
|
||||
</div>
|
||||
71
theme/rb.basic/skin/member/rb.member/profile.skin.php
Normal file
71
theme/rb.basic/skin/member/rb.member/profile.skin.php
Normal file
@ -0,0 +1,71 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
||||
?>
|
||||
|
||||
<style>
|
||||
.rb_prof_tab {border-top: 1px solid #ddd;}
|
||||
.rb_prof_tab .cont_info_wrap dd {border-bottom: 1px solid #eee;}
|
||||
</style>
|
||||
<!-- 자기소개 시작 { -->
|
||||
<div id="profile" class="new_win">
|
||||
<h1 id="win_title"><?php echo $mb['mb_nick'] ?>님의 프로필</h1>
|
||||
<div class="profile_name">
|
||||
<span class="my_profile_img">
|
||||
<?php echo get_member_profile_img($mb['mb_id']); ?>
|
||||
</span>
|
||||
<?php echo $mb_nick ?><br><br>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="rb_prof_tab">
|
||||
<ul class="cont_info_wrap">
|
||||
<li class="cont_info_wrap_l">
|
||||
<dd>닉네임</dd>
|
||||
<dd><?php echo $mb['mb_nick'] ?> <!--<span>@<?php echo $mb['mb_id'] ?></span>--></dd>
|
||||
</li>
|
||||
<li class="cont_info_wrap_r">
|
||||
<dd>회원레벨</dd>
|
||||
<dd><?php echo $mb['mb_level'] ?>레벨</dd>
|
||||
</li>
|
||||
<div class="cb"></div>
|
||||
</ul>
|
||||
<ul class="cont_info_wrap">
|
||||
<li class="cont_info_wrap_l">
|
||||
<dd>포인트</dd>
|
||||
<dd><?php echo number_format($mb['mb_point']) ?>P</dd>
|
||||
</li>
|
||||
<li class="cont_info_wrap_r">
|
||||
<dd>가입일</dd>
|
||||
<dd><?php echo ($member['mb_level'] >= $mb['mb_level']) ? substr($mb['mb_datetime'],0,10) ." (+".number_format($mb_reg_after)."일)" : "알 수 없음"; ?></dd>
|
||||
</li>
|
||||
<div class="cb"></div>
|
||||
</ul>
|
||||
<ul class="cont_info_wrap">
|
||||
<li class="cont_info_wrap_l">
|
||||
<dd>운영채널</dd>
|
||||
<dd>
|
||||
<?php if($mb_homepage) { ?>
|
||||
<a href="<?php echo $mb_homepage ?>" target="_blank"><?php echo $mb_homepage ?></a>
|
||||
<?php } else { ?>
|
||||
-
|
||||
<?php } ?>
|
||||
</dd>
|
||||
</li>
|
||||
<li class="cont_info_wrap_r">
|
||||
<dd>최종접속</dd>
|
||||
<dd><?php echo ($member['mb_level'] >= $mb['mb_level']) ? $mb['mb_today_login'] : "알 수 없음"; ?></dd>
|
||||
</li>
|
||||
<div class="cb"></div>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<br><br>
|
||||
<div class="win_btn">
|
||||
<button type="button" onclick="window.close();" class="btn_close">창닫기</button>
|
||||
</div>
|
||||
<br><br>
|
||||
</div>
|
||||
<!-- } 자기소개 끝 -->
|
||||
183
theme/rb.basic/skin/member/rb.member/register.skin.php
Normal file
183
theme/rb.basic/skin/member/rb.member/register.skin.php
Normal file
@ -0,0 +1,183 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
||||
?>
|
||||
|
||||
|
||||
<style>
|
||||
body, html {background-color: #f9fafb;}
|
||||
main {background-color: #f9fafb;}
|
||||
#container_title {display: none;}
|
||||
#header {display: none;}
|
||||
.contents_wrap {padding: 0px !important;}
|
||||
.sub {padding-top: 0px;}
|
||||
</style>
|
||||
|
||||
<div class="rb_member">
|
||||
<div class="rb_login rb_reg">
|
||||
|
||||
<form name="fregister" id="fregister" action="<?php echo $register_action_url ?>" onsubmit="return fregister_submit(this);" method="POST" autocomplete="off">
|
||||
<ul class="rb_login_box">
|
||||
|
||||
<li class="rb_login_logo">
|
||||
<?php if (!empty($rb_builder['bu_logo_pc'])) { ?>
|
||||
<a href="<?php echo G5_URL ?>"><img src="<?php echo G5_URL ?>/data/logos/pc?ver=<?php echo G5_SERVER_TIME ?>" alt="<?php echo $config['cf_title']; ?>" id="logo_img"></a>
|
||||
<?php } else { ?>
|
||||
<a href="<?php echo G5_URL ?>"><img src="<?php echo G5_THEME_URL ?>/rb.img/logos/pc.png?ver=<?php echo G5_SERVER_TIME ?>" alt="<?php echo $config['cf_title']; ?>" id="logo_img"></a>
|
||||
<?php } ?>
|
||||
</li>
|
||||
<li class="rb_reg_sub_title">안녕하세요! <?php echo $config['cf_title'] ?> 에 오신것을 진심으로 환영해요!<br>다양한 이벤트와 풍성한 혜택 받아가세요 :D</li>
|
||||
|
||||
<?php if($config['cf_social_login_use'] == 1) { ?>
|
||||
<li class="sns_reg_wrap">
|
||||
<span class="sns_titles">SNS로 간편하게 가입하기</span>
|
||||
<?php
|
||||
// 소셜로그인 사용시 소셜로그인 버튼
|
||||
@include_once(get_social_skin_path().'/social_register.skin.php');
|
||||
?>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php
|
||||
if(isset($pa['pa_is']) && $pa['pa_is'] == 1 && isset($pa['pa_use']) && $pa['pa_use'] == 1) {
|
||||
if(isset($pa['pa_add_use']) && $pa['pa_add_use'] == 1) {
|
||||
$is_mb_partner = 2;
|
||||
} else {
|
||||
$is_mb_partner = 1;
|
||||
}
|
||||
?>
|
||||
<li>
|
||||
<span>회원유형</span>
|
||||
|
||||
<div>
|
||||
<label class="switch_rb">
|
||||
<input type="radio" name="mb_partner" value="0" id="mem_st1" onchange="setDisplay()">
|
||||
<span class="toggle_btn">
|
||||
<span class="tog_txt">일반회원</span>
|
||||
</span>
|
||||
|
||||
</label>
|
||||
<label class="switch_rb fr">
|
||||
<input type="radio" name="mb_partner" value="<?php echo $is_mb_partner ?>" id="mem_st2" onchange="setDisplay()">
|
||||
<span class="toggle_btn">
|
||||
<span class="tog_txt">입점사</span>
|
||||
</span>
|
||||
</label>
|
||||
<div class="cb"></div>
|
||||
</div>
|
||||
<div class="help_st1" id="help_st1">
|
||||
일반회원으로 가입 합니다.<br>
|
||||
가입즉시 다양한 서비스를 이용하실 수 있습니다.
|
||||
</div>
|
||||
<div class="help_st2" id="help_st1">
|
||||
<?php if(isset($pa['pa_add_use']) && $pa['pa_add_use'] == 1) { ?>
|
||||
입점사 회원으로 가입 합니다.<br>
|
||||
가입즉시 입점사 전용 시스템을 사용할 수 있습니다.
|
||||
<?php } else { ?>
|
||||
입점사 회원 으로 가입신청 합니다.<br>
|
||||
관리자 승인 후 입점사 전용 시스템을 사용할 수 있습니다.
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
$('.help_st1').hide();
|
||||
$('.help_st2').hide();
|
||||
|
||||
function setDisplay() {
|
||||
if ($('input:radio[id=mem_st1]').is(':checked')) {
|
||||
$('.help_st1').show();
|
||||
$('.help_st2').hide();
|
||||
} else if ($('input:radio[id=mem_st2]').is(':checked')) {
|
||||
$('.help_st1').hide();
|
||||
$('.help_st2').show();
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<li>
|
||||
<span>회원가입약관</span>
|
||||
<textarea readonly class="textarea"><?php echo get_text($config['cf_stipulation']) ?></textarea>
|
||||
<div class="mt-10">
|
||||
<input type="checkbox" name="agree" value="1" id="agree11">
|
||||
<label for="agree11">회원가입약관의 내용에 동의합니다.</label>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<span>개인정보 수집 및 이용정책</span>
|
||||
<textarea readonly class="textarea"><?php echo get_text($config['cf_privacy']) ?></textarea>
|
||||
<div class="mt-10">
|
||||
<input type="checkbox" name="agree2" value="1" id="agree21">
|
||||
<label for="agree21">개인정보 수집 및 이용정책의 내용에 동의합니다.</label>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div id="fregister_chkall" class="chk_all">
|
||||
<input type="checkbox" name="chk_all" id="chk_all">
|
||||
<label for="chk_all">회원가입 약관에 모두 동의합니다</label>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<div class="btn_confirm">
|
||||
<button type="submit" class="btn_submit font-B">회원가입</button>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="join_links">
|
||||
나중에 가입할래요. <a href="<?php echo G5_URL ?>" class="font-B">회원가입 취소</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
function fregister_submit(f)
|
||||
{
|
||||
|
||||
<?php if(isset($pa['pa_is']) && $pa['pa_is'] == 1 && isset($pa['pa_use']) && $pa['pa_use'] == 1) { ?>
|
||||
if ($(f).find('[name=mb_partner]:checked').length < 1 ) {
|
||||
alert("회원 유형을 선택해주세요.");
|
||||
return false;
|
||||
}
|
||||
<?php } ?>
|
||||
|
||||
if (!f.agree.checked) {
|
||||
alert("회원가입약관의 내용에 동의하셔야 회원가입 하실 수 있습니다.");
|
||||
f.agree.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!f.agree2.checked) {
|
||||
alert("개인정보 수집 및 이용의 내용에 동의하셔야 회원가입 하실 수 있습니다.");
|
||||
f.agree2.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
jQuery(function($){
|
||||
// 모두선택
|
||||
$("input[name=chk_all]").click(function() {
|
||||
if ($(this).prop('checked')) {
|
||||
$("input[name^=agree]").prop('checked', true);
|
||||
} else {
|
||||
$("input[name^=agree]").prop("checked", false);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
670
theme/rb.basic/skin/member/rb.member/register_form.skin.php
Normal file
670
theme/rb.basic/skin/member/rb.member/register_form.skin.php
Normal file
@ -0,0 +1,670 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
if ($w == 'u') {
|
||||
if(isset($pa['pa_is']) && $pa['pa_is'] == 1) {
|
||||
$re = isset($_GET['partner']) ? $_GET['partner'] : '';
|
||||
|
||||
if($re == "re") {
|
||||
if(isset($pa['pa_add_use']) && $pa['pa_add_use'] == 1) {
|
||||
$is_mb_partner = 2;
|
||||
} else {
|
||||
$is_mb_partner = 1;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
||||
add_javascript('<script src="'.G5_JS_URL.'/jquery.register_form.js"></script>', 0);
|
||||
if ($config['cf_cert_use'] && ($config['cf_cert_simple'] || $config['cf_cert_ipin'] || $config['cf_cert_hp']))
|
||||
add_javascript('<script src="'.G5_JS_URL.'/certify.js?v='.G5_JS_VER.'"></script>', 0);
|
||||
?>
|
||||
|
||||
<!-- 회원정보 입력/수정 시작 { -->
|
||||
|
||||
|
||||
<style>
|
||||
body, html {background-color: #f9fafb;}
|
||||
main {background-color: #f9fafb;}
|
||||
#container_title {display: none;}
|
||||
#header {display: none;}
|
||||
.contents_wrap {padding: 0px !important;}
|
||||
.sub {padding-top: 0px;}
|
||||
</style>
|
||||
|
||||
<div class="rb_member">
|
||||
<div class="rb_login rb_reg rb_join">
|
||||
|
||||
<form id="fregisterform" name="fregisterform" action="<?php echo $register_action_url ?>" onsubmit="return fregisterform_submit(this);" method="post" enctype="multipart/form-data" autocomplete="off">
|
||||
<input type="hidden" name="w" value="<?php echo $w ?>">
|
||||
<input type="hidden" name="url" value="<?php echo $urlencode ?>">
|
||||
<input type="hidden" name="agree" value="<?php echo $agree ?>">
|
||||
<input type="hidden" name="agree2" value="<?php echo $agree2 ?>">
|
||||
<input type="hidden" name="cert_type" value="<?php echo $member['mb_certify']; ?>">
|
||||
<input type="hidden" name="cert_no" value="">
|
||||
<input type="hidden" name="re" value="<?php echo $re ?>">
|
||||
|
||||
<?php if (isset($member['mb_sex'])) { ?><input type="hidden" name="mb_sex" value="<?php echo $member['mb_sex'] ?>"><?php } ?>
|
||||
<?php if (isset($member['mb_nick_date']) && $member['mb_nick_date'] > date("Y-m-d", G5_SERVER_TIME - ($config['cf_nick_modify'] * 86400))) { // 닉네임수정일이 지나지 않았다면 ?>
|
||||
<input type="hidden" name="mb_nick_default" value="<?php echo get_text($member['mb_nick']) ?>">
|
||||
<input type="hidden" name="mb_nick" value="<?php echo get_text($member['mb_nick']) ?>">
|
||||
<?php } ?>
|
||||
|
||||
<?php if(isset($pa['pa_is']) && $pa['pa_is'] == 1 && isset($pa['pa_use']) && $pa['pa_use'] == 1) { ?>
|
||||
<?php if($w == "") { ?>
|
||||
<input type="hidden" name="mb_partner" value="<?php echo $_POST['mb_partner'] ?>">
|
||||
<?php } else { ?>
|
||||
<?php if ($re == "re") { ?>
|
||||
<input type="hidden" name="mb_partner" value="<?php echo $is_mb_partner ?>">
|
||||
<?php } else { ?>
|
||||
<input type="hidden" name="mb_partner" value="<?php echo isset($member['mb_partner']) ? get_text($member['mb_partner']) : ''; ?>">
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
|
||||
<ul class="rb_login_box">
|
||||
|
||||
<li class="rb_login_logo">
|
||||
|
||||
<?php if (!empty($rb_builder['bu_logo_pc'])) { ?>
|
||||
<a href="<?php echo G5_URL ?>"><img src="<?php echo G5_URL ?>/data/logos/pc?ver=<?php echo G5_SERVER_TIME ?>" alt="<?php echo $config['cf_title']; ?>" id="logo_img"></a>
|
||||
<?php } else { ?>
|
||||
<a href="<?php echo G5_URL ?>"><img src="<?php echo G5_THEME_URL ?>/rb.img/logos/pc.png?ver=<?php echo G5_SERVER_TIME ?>" alt="<?php echo $config['cf_title']; ?>" id="logo_img"></a>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<?php if(isset($pa['pa_is']) && $pa['pa_is'] == 1 && isset($pa['pa_use']) && $pa['pa_use'] == 1) { ?>
|
||||
<?php if($w == "" || isset($re) && $re == "re") { ?>
|
||||
<?php if(isset($_POST['mb_partner']) && $_POST['mb_partner'] == 1 || isset($re) && $re == "re") { ?>
|
||||
<?php if(isset($pa['pa_add_use']) && $pa['pa_add_use'] == 1) { ?>
|
||||
<li class="rb_reg_sub_title">입점사 회원으로 <?php if(isset($re) && $re == "re") { ?>재<?php } ?>가입 합니다.</li>
|
||||
<?php } else { ?>
|
||||
<li class="rb_reg_sub_title">입점사 회원으로 <?php if(isset($re) && $re == "re") { ?>재<?php } ?>가입 신청 합니다.<br>관리자 승인 이후 입점사 전용 서비스를 이용하실 수 있습니다.</li>
|
||||
<?php } ?>
|
||||
<?php } else { ?>
|
||||
<li class="rb_reg_sub_title">일반 회원으로 가입 합니다.</li>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
|
||||
<li>
|
||||
<span>아이디</span>
|
||||
<input type="text" name="mb_id" value="<?php echo $member['mb_id'] ?>" id="reg_mb_id" <?php echo $required ?> <?php echo $readonly ?> class="input full_input <?php echo $required ?> <?php echo $readonly ?>" minlength="3" maxlength="20" placeholder="3글자 이상 (영문, 숫자, _ 입력가능)">
|
||||
</li>
|
||||
<li>
|
||||
<span>비밀번호</span>
|
||||
<input type="password" name="mb_password" id="reg_mb_password" <?php echo $required ?> class="input full_input <?php echo $required ?>" minlength="3" maxlength="20" placeholder="비밀번호">
|
||||
<input type="password" name="mb_password_re" id="reg_mb_password_re" <?php echo $required ?> class="input full_input mt-10 <?php echo $required ?>" minlength="3" maxlength="20" placeholder="비밀번호 확인">
|
||||
</li>
|
||||
|
||||
|
||||
<?php if ($config['cf_cert_use']) { ?>
|
||||
<li>
|
||||
<span>본인확인</span>
|
||||
<?php
|
||||
$desc_name = '';
|
||||
$desc_phone = '';
|
||||
if ($config['cf_cert_use']) {
|
||||
$desc_name = '<span class="cert_desc"> 본인확인 시 자동입력</span>';
|
||||
$desc_phone = '<span class="cert_desc"> 본인확인 시 자동입력</span>';
|
||||
|
||||
if (!$config['cf_cert_simple'] && !$config['cf_cert_hp'] && $config['cf_cert_ipin']) {
|
||||
$desc_phone = '';
|
||||
}
|
||||
|
||||
if ($config['cf_cert_simple']) {
|
||||
echo '<button type="button" id="win_sa_kakao_cert" class="btn_frmline win_sa_cert" data-type="">간편인증</button>'.PHP_EOL;
|
||||
}
|
||||
if ($config['cf_cert_hp'])
|
||||
echo '<button type="button" id="win_hp_cert" class="btn_frmline">휴대폰 본인확인</button>'.PHP_EOL;
|
||||
if ($config['cf_cert_ipin'])
|
||||
echo '<button type="button" id="win_ipin_cert" class="btn_frmline">아이핀 본인확인</button>'.PHP_EOL;
|
||||
|
||||
//echo '<noscript>본인확인을 위해서는 자바스크립트 사용이 가능해야합니다.</noscript>'.PHP_EOL;
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
if ($config['cf_cert_use'] && $member['mb_certify']) {
|
||||
switch ($member['mb_certify']) {
|
||||
case "simple":
|
||||
$mb_cert = "간편인증";
|
||||
break;
|
||||
case "ipin":
|
||||
$mb_cert = "아이핀";
|
||||
break;
|
||||
case "hp":
|
||||
$mb_cert = "휴대폰";
|
||||
break;
|
||||
}
|
||||
?>
|
||||
<div id="msg_certify">
|
||||
<strong><?php echo $mb_cert; ?> 본인확인</strong><?php if ($member['mb_adult']) { ?> 및 <strong>성인인증</strong><?php } ?> 완료
|
||||
</div>
|
||||
<?php } ?>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<li>
|
||||
<span>이름</span>
|
||||
<input type="text" id="reg_mb_name" name="mb_name" value="<?php echo get_text($member['mb_name']) ?>" <?php echo $required ?> <?php echo $readonly; ?> class="input full_input <?php echo $required ?> <?php echo $name_readonly ?>" placeholder="이름 (실명)">
|
||||
</li>
|
||||
|
||||
<?php if ($req_nick) { ?>
|
||||
<li>
|
||||
<span>닉네임</span>
|
||||
<input type="hidden" name="mb_nick_default" value="<?php echo isset($member['mb_nick'])?get_text($member['mb_nick']):''; ?>">
|
||||
<input type="text" name="mb_nick" value="<?php echo isset($member['mb_nick'])?get_text($member['mb_nick']):''; ?>" id="reg_mb_nick" required class="input required nospace full_input" size="10" maxlength="20" placeholder="닉네임">
|
||||
<span class="help_text">공백없이 한글, 영문, 숫자만 입력 가능 (한글 2글자, 영문 4글자 이상)<br> 닉네임을 바꾸시면 <?php echo (int)$config['cf_nick_modify'] ?>일 이내에는 변경 할 수 없습니다.</span>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<li>
|
||||
<span>이메일</span>
|
||||
<input type="hidden" name="old_email" value="<?php echo $member['mb_email'] ?>">
|
||||
<input type="text" name="mb_email" value="<?php echo isset($member['mb_email'])?$member['mb_email']:''; ?>" id="reg_mb_email" required class="input email full_input required" maxlength="100" placeholder="이메일">
|
||||
<?php if ($config['cf_use_email_certify']) { ?>
|
||||
<?php if ($w=='') { echo "<span class='help_text'>이메일 로 발송된 내용을 확인한 후 인증하셔야 회원가입이 완료됩니다.</span>"; } ?>
|
||||
<?php if ($w=='u') { echo "<span class='help_text'>이메일을 변경하시면 다시 인증하셔야 합니다.</span>"; } ?>
|
||||
<?php } ?>
|
||||
</li>
|
||||
|
||||
<?php if ($config['cf_use_homepage']) { ?>
|
||||
<li>
|
||||
<span>운영채널</span>
|
||||
<input type="text" name="mb_homepage" value="<?php echo get_text($member['mb_homepage']) ?>" id="reg_mb_homepage" <?php echo $config['cf_req_homepage']?"required":""; ?> class="input full_input <?php echo $config['cf_req_homepage']?"required":""; ?>" maxlength="255" placeholder="http:// 또는 https:// 포함입력">
|
||||
<span class="help_text">운영중인 웹사이트, 쇼핑몰, 블로그, 유튜브, SNS 등의 채널이 있다면 입력해주세요.<br>대표채널 1개만 입력할 수 있습니다.</span>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($config['cf_use_tel']) { ?>
|
||||
<li>
|
||||
<span>일반전화</span>
|
||||
<input type="text" name="mb_tel" value="<?php echo get_text($member['mb_tel']) ?>" id="reg_mb_tel" <?php echo $config['cf_req_tel']?"required":""; ?> class="input full_input <?php echo $config['cf_req_tel']?"required":""; ?>" maxlength="20" placeholder="일반전화번호">
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($config['cf_use_hp'] || ($config["cf_cert_use"] && ($config['cf_cert_hp'] || $config['cf_cert_simple']))) { ?>
|
||||
<li>
|
||||
<span>휴대전화</span>
|
||||
<input type="text" name="mb_hp" value="<?php echo get_text($member['mb_hp']) ?>" id="reg_mb_hp" <?php echo $hp_required; ?> <?php echo $hp_readonly; ?> class="input full_input <?php echo $hp_required; ?> <?php echo $hp_readonly; ?>" maxlength="20" placeholder="휴대전화번호">
|
||||
<?php if ($config['cf_cert_use'] && ($config['cf_cert_hp'] || $config['cf_cert_simple'])) { ?>
|
||||
<input type="hidden" name="old_mb_hp" value="<?php echo get_text($member['mb_hp']) ?>">
|
||||
<?php } ?>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($config['cf_use_addr']) { ?>
|
||||
<li>
|
||||
<span>주소</span>
|
||||
<div>
|
||||
<input type="text" name="mb_zip" value="<?php echo $member['mb_zip1'].$member['mb_zip2']; ?>" id="reg_mb_zip" <?php echo $config['cf_req_addr']?"required":""; ?> class="input twopart_input <?php echo $config['cf_req_addr']?"required":""; ?>" maxlength="6" placeholder="우편번호">
|
||||
<button type="button" class="btn_frmline" onclick="win_zip('fregisterform', 'mb_zip', 'mb_addr1', 'mb_addr2', 'mb_addr3', 'mb_addr_jibeon');">주소 검색</button>
|
||||
</div>
|
||||
<div class="mt-5">
|
||||
<input type="text" name="mb_addr1" value="<?php echo get_text($member['mb_addr1']) ?>" id="reg_mb_addr1" <?php echo $config['cf_req_addr']?"required":""; ?> class="input frm_address full_input <?php echo $config['cf_req_addr']?"required":""; ?>" placeholder="기본주소">
|
||||
</div>
|
||||
<div class="mt-5">
|
||||
<input type="text" name="mb_addr2" value="<?php echo get_text($member['mb_addr2']) ?>" id="reg_mb_addr2" class="input frm_address full_input" placeholder="상세주소">
|
||||
</div>
|
||||
<div class="mt-5">
|
||||
<input type="text" name="mb_addr3" value="<?php echo get_text($member['mb_addr3']) ?>" id="reg_mb_addr3" class="input frm_address full_input" readonly="readonly" placeholder="참고항목">
|
||||
<input type="hidden" name="mb_addr_jibeon" value="<?php echo get_text($member['mb_addr_jibeon']); ?>">
|
||||
</div>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if(isset($pa['pa_is']) && $pa['pa_is'] == 1 && isset($pa['pa_use']) && $pa['pa_use'] == 1) { ?>
|
||||
<?php if(isset($_POST['mb_partner']) && $_POST['mb_partner'] == 1 || isset($member['mb_partner']) && $member['mb_partner'] == 2 || isset($re) && $re == "re") { ?>
|
||||
<li>
|
||||
<span>출금계좌</span>
|
||||
<input type="text" name="mb_bank" value="<?php echo isset($member['mb_bank']) ? get_text($member['mb_bank']) : ''; ?>" id="reg_mb_bank" class="input full_input" placeholder="계좌번호/은행명/예금주명">
|
||||
<span class="help_text">판매대금을 정산할 수 있는 계좌를 등록해주세요.</span>
|
||||
</li>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
|
||||
<?php if ($config['cf_use_signature']) { ?>
|
||||
<li>
|
||||
<span>서명</span>
|
||||
<textarea name="mb_signature" id="reg_mb_signature" <?php echo $config['cf_req_signature']?"required":""; ?> class="<?php echo $config['cf_req_signature']?"required":""; ?> textarea" placeholder="서명을 입력하세요."><?php echo $member['mb_signature'] ?></textarea>
|
||||
<span class="help_text">프로필 페이지 및 게시물 하단 작성자정보에 노출 됩니다.</span>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($config['cf_use_profile']) { ?>
|
||||
<li>
|
||||
<span>소개글</span>
|
||||
<textarea name="mb_profile" id="reg_mb_profile" <?php echo $config['cf_req_profile']?"required":""; ?> class="<?php echo $config['cf_req_profile']?"required":""; ?> textarea" placeholder="소개글을 입력하세요."><?php echo $member['mb_profile'] ?></textarea>
|
||||
<span class="help_text">프로필 페이지에 노출 됩니다.</span>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<?php if ($config['cf_use_member_icon'] && $member['mb_level'] >= $config['cf_icon_level']) { ?>
|
||||
<li>
|
||||
<span>회원아이콘</span>
|
||||
|
||||
<div>
|
||||
<dd class="mem_imgs_dd1">
|
||||
<?php if ($w == 'u' && file_exists($mb_icon_path)) { ?>
|
||||
<img src="<?php echo $mb_icon_url ?>" style="width:<?php echo $config['cf_member_icon_width'] ?>px; height:<?php echo $config['cf_member_icon_height'] ?>px;" id="mem_img_icon">
|
||||
<?php } else { ?>
|
||||
<img src="<?php echo G5_URL ?>/img/no_profile.gif" style="width:<?php echo $config['cf_member_icon_width'] ?>px; height:<?php echo $config['cf_member_icon_height'] ?>px;" id="mem_img_icon">
|
||||
<?php } ?>
|
||||
|
||||
</dd>
|
||||
<dd class="mem_imgs_dd2">
|
||||
<input type="file" name="mb_icon" id="reg_mb_icon" class="input_tiny files_inp">
|
||||
<span class="help_text">GIF, JPG, PNG 파일 (<?php echo $config['cf_member_icon_width'] ?>X<?php echo $config['cf_member_icon_height'] ?> / <?php echo byteFormat($config['cf_member_icon_size'], "MB"); ?> 이하)</span>
|
||||
<?php if ($w == 'u' && file_exists($mb_icon_path)) { ?>
|
||||
<input type="checkbox" name="del_mb_icon" value="1" id="del_mb_icon"><label for="del_mb_icon" class="inline">삭제</label>
|
||||
<?php } ?>
|
||||
</dd>
|
||||
<div class="cb"></div>
|
||||
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
var sel_file;
|
||||
$(document).ready(function() {
|
||||
$("#reg_mb_icon").on("change", handleImgFileSelect);
|
||||
});
|
||||
|
||||
function handleImgFileSelect(e) {
|
||||
var files = e.target.files;
|
||||
var filesArr = Array.prototype.slice.call(files);
|
||||
|
||||
filesArr.forEach(function(f) {
|
||||
if(!f.type.match("image.*")) {
|
||||
alert("이미지 파일만 첨부해주세요.");
|
||||
return;
|
||||
}
|
||||
|
||||
sel_file = f;
|
||||
var reader = new FileReader();
|
||||
reader.onload = function(e) {
|
||||
$("#mem_img_icon").attr("src", e.target.result);
|
||||
}
|
||||
reader.readAsDataURL(f);
|
||||
});
|
||||
}
|
||||
|
||||
</script>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
|
||||
<?php if ($member['mb_level'] >= $config['cf_icon_level'] && $config['cf_member_img_size'] && $config['cf_member_img_width'] && $config['cf_member_img_height']) { ?>
|
||||
<li>
|
||||
<span>회원이미지</span>
|
||||
|
||||
<div>
|
||||
<dd class="mem_imgs_dd1">
|
||||
<?php if ($w == 'u' && file_exists($mb_img_path)) { ?>
|
||||
<img src="<?php echo $mb_img_url ?>" style="width:<?php echo $config['cf_member_img_width'] ?>px; height:<?php echo $config['cf_member_img_height'] ?>px;" id="mem_img_img">
|
||||
<?php } else { ?>
|
||||
<img src="<?php echo G5_URL ?>/img/no_profile.gif" style="width:<?php echo $config['cf_member_img_width'] ?>px; height:<?php echo $config['cf_member_img_height'] ?>px;" id="mem_img_img">
|
||||
<?php } ?>
|
||||
|
||||
</dd>
|
||||
<dd class="mem_imgs_dd2">
|
||||
<input type="file" name="mb_img" id="reg_mb_img" class="input_tiny files_inp">
|
||||
<span class="help_text">GIF, JPG, PNG 파일 (<?php echo $config['cf_member_img_width'] ?>X<?php echo $config['cf_member_img_height'] ?> / <?php echo byteFormat($config['cf_member_img_size'], "MB"); ?> 이하)</span>
|
||||
<?php if ($w == 'u' && file_exists($mb_img_path)) { ?>
|
||||
<input type="checkbox" name="del_mb_img" value="1" id="del_mb_img"><label for="del_mb_img" class="inline">삭제</label>
|
||||
<?php } ?>
|
||||
</dd>
|
||||
<div class="cb"></div>
|
||||
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
var sel_file2;
|
||||
$(document).ready(function() {
|
||||
$("#reg_mb_img").on("change", handleImgFileSelect2);
|
||||
});
|
||||
|
||||
function handleImgFileSelect2(e) {
|
||||
var files = e.target.files;
|
||||
var filesArr = Array.prototype.slice.call(files);
|
||||
|
||||
filesArr.forEach(function(f) {
|
||||
if(!f.type.match("image.*")) {
|
||||
alert("이미지 파일만 첨부해주세요.");
|
||||
return;
|
||||
}
|
||||
|
||||
sel_file2 = f;
|
||||
var reader = new FileReader();
|
||||
reader.onload = function(e) {
|
||||
$("#mem_img_img").attr("src", e.target.result);
|
||||
}
|
||||
reader.readAsDataURL(f);
|
||||
});
|
||||
}
|
||||
|
||||
</script>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<?php if( $w == 'u' && function_exists('social_member_provider_manage') ){ ?>
|
||||
<?php social_member_provider_manage(); ?>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
|
||||
<li>
|
||||
<div>
|
||||
<input type="checkbox" name="mb_mailling" value="1" id="reg_mb_mailling" <?php echo ($w=='' || $member['mb_mailling'])?'checked':''; ?>>
|
||||
<label for="reg_mb_mailling">정보 메일 수신동의</label>
|
||||
</div>
|
||||
|
||||
<?php if ($config['cf_use_hp'] || isset($app['ap_title']) && $app['ap_title'] && isset($app['ap_key']) && $app['ap_key'] && isset($app['ap_pid']) && $app['ap_pid']) { ?>
|
||||
<div>
|
||||
<input type="checkbox" name="mb_sms" value="1" id="reg_mb_sms" <?php echo ($w=='' || $member['mb_sms'])?'checked':''; ?>>
|
||||
<label for="reg_mb_sms"><?php if($config['cf_use_hp']) { ?>SMS <?php } ?><?php if (isset($app['ap_title']) && $app['ap_title'] && isset($app['ap_key']) && $app['ap_key'] && isset($app['ap_pid']) && $app['ap_pid']) { ?><?php if($config['cf_use_hp']) { ?>및 <?php } ?>Push 알림 <?php } ?>수신동의</label>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<?php if (isset($member['mb_open_date']) && $member['mb_open_date'] <= date("Y-m-d", G5_SERVER_TIME - ($config['cf_open_modify'] * 86400)) || empty($member['mb_open_date'])) { // 정보공개 수정일이 지났다면 수정가능 ?>
|
||||
<div>
|
||||
<input type="checkbox" name="mb_open" value="1" id="reg_mb_open" <?php echo ($w=='' || $member['mb_open'])?'checked':''; ?>>
|
||||
<label for="reg_mb_open">프로필 정보공개 / 쪽지수신 동의</label>
|
||||
<input type="hidden" name="mb_open_default" value="<?php echo $member['mb_open'] ?>">
|
||||
</div>
|
||||
|
||||
<?php if($config['cf_open_modify']) { ?>
|
||||
<div class="help_t_text">
|
||||
정보공개 항목을 변경 하시면 <?php echo (int)$config['cf_open_modify'] ?>일 이내에는 변경을 할 수 없어요.
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
<?php } else { ?>
|
||||
|
||||
|
||||
<div class="help_t_text">
|
||||
<input type="hidden" name="mb_open" value="<?php echo $member['mb_open'] ?>">
|
||||
정보공개 항목을 최근에 변경하신적이 있어요.<br>
|
||||
정보공개는 변경 후 <?php echo (int)$config['cf_open_modify'] ?>일 이내, <?php echo date("Y년 m월 j일", isset($member['mb_open_date']) ? strtotime("{$member['mb_open_date']} 00:00:00")+$config['cf_open_modify']*86400:G5_SERVER_TIME+$config['cf_open_modify']*86400); ?> 까지는 변경 할 수 없어요.
|
||||
</div>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
<?php if ($w == "" && $config['cf_use_recommend']) { ?>
|
||||
<li>
|
||||
<span>추천인아이디</span>
|
||||
<input type="text" name="mb_recommend" id="reg_mb_recommend" class="input" placeholder="추천인아이디">
|
||||
<span class="help_text">
|
||||
추천인 아이디가 있다면 입력해주세요.
|
||||
<?php if($config['cf_recommend_point'] > 0) { ?>
|
||||
<br>입력하신 회원에게 감사의 표시로 <b class="font-B"><?php echo number_format($config['cf_recommend_point']) ?> 포인트</b>가 지급되요 :D
|
||||
<?php } ?>
|
||||
</span>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<li class="is_captcha_use">
|
||||
<?php echo captcha_html(); ?>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
<li>
|
||||
<div class="btn_confirm">
|
||||
<button type="submit" class="btn_submit font-B" accesskey="s"><?php echo $w==''?'회원가입':'정보수정'; ?></button>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
|
||||
|
||||
<li class="join_links">
|
||||
<?php if($w == '') { ?>
|
||||
나중에 가입할래요. <a href="<?php echo G5_URL ?>" class="font-B">회원가입 취소</a>
|
||||
<?php } else { ?>
|
||||
<a href="<?php echo G5_URL ?>" class="font-B">취소</a>
|
||||
<?php } ?>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
$("#reg_zip_find").css("display", "inline-block");
|
||||
var pageTypeParam = "pageType=register";
|
||||
|
||||
<?php if($config['cf_cert_use'] && $config['cf_cert_simple']) { ?>
|
||||
// 이니시스 간편인증
|
||||
var url = "<?php echo G5_INICERT_URL; ?>/ini_request.php";
|
||||
var type = "";
|
||||
var params = "";
|
||||
var request_url = "";
|
||||
|
||||
$(".win_sa_cert").click(function() {
|
||||
if(!cert_confirm()) return false;
|
||||
type = $(this).data("type");
|
||||
params = "?directAgency=" + type + "&" + pageTypeParam;
|
||||
request_url = url + params;
|
||||
call_sa(request_url);
|
||||
});
|
||||
<?php } ?>
|
||||
<?php if($config['cf_cert_use'] && $config['cf_cert_ipin']) { ?>
|
||||
// 아이핀인증
|
||||
var params = "";
|
||||
$("#win_ipin_cert").click(function() {
|
||||
if(!cert_confirm()) return false;
|
||||
params = "?" + pageTypeParam;
|
||||
var url = "<?php echo G5_OKNAME_URL; ?>/ipin1.php"+params;
|
||||
certify_win_open('kcb-ipin', url);
|
||||
return;
|
||||
});
|
||||
|
||||
<?php } ?>
|
||||
<?php if($config['cf_cert_use'] && $config['cf_cert_hp']) { ?>
|
||||
// 휴대폰인증
|
||||
var params = "";
|
||||
$("#win_hp_cert").click(function() {
|
||||
if(!cert_confirm()) return false;
|
||||
params = "?" + pageTypeParam;
|
||||
<?php
|
||||
switch($config['cf_cert_hp']) {
|
||||
case 'kcb':
|
||||
$cert_url = G5_OKNAME_URL.'/hpcert1.php';
|
||||
$cert_type = 'kcb-hp';
|
||||
break;
|
||||
case 'kcp':
|
||||
$cert_url = G5_KCPCERT_URL.'/kcpcert_form.php';
|
||||
$cert_type = 'kcp-hp';
|
||||
break;
|
||||
case 'lg':
|
||||
$cert_url = G5_LGXPAY_URL.'/AuthOnlyReq.php';
|
||||
$cert_type = 'lg-hp';
|
||||
break;
|
||||
default:
|
||||
echo 'alert("기본환경설정에서 휴대폰 본인확인 설정을 해주십시오");';
|
||||
echo 'return false;';
|
||||
break;
|
||||
}
|
||||
?>
|
||||
|
||||
certify_win_open("<?php echo $cert_type; ?>", "<?php echo $cert_url; ?>"+params);
|
||||
return;
|
||||
});
|
||||
<?php } ?>
|
||||
});
|
||||
|
||||
// submit 최종 폼체크
|
||||
function fregisterform_submit(f)
|
||||
{
|
||||
// 회원아이디 검사
|
||||
if (f.w.value == "") {
|
||||
var msg = reg_mb_id_check();
|
||||
if (msg) {
|
||||
alert(msg);
|
||||
f.mb_id.select();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if (f.w.value == "") {
|
||||
if (f.mb_password.value.length < 3) {
|
||||
alert("비밀번호를 3글자 이상 입력하십시오.");
|
||||
f.mb_password.focus();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if (f.mb_password.value != f.mb_password_re.value) {
|
||||
alert("비밀번호가 같지 않습니다.");
|
||||
f.mb_password_re.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
if (f.mb_password.value.length > 0) {
|
||||
if (f.mb_password_re.value.length < 3) {
|
||||
alert("비밀번호를 3글자 이상 입력하십시오.");
|
||||
f.mb_password_re.focus();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
// 이름 검사
|
||||
if (f.w.value=="") {
|
||||
if (f.mb_name.value.length < 1) {
|
||||
alert("이름을 입력하십시오.");
|
||||
f.mb_name.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
/*
|
||||
var pattern = /([^가-힣\x20])/i;
|
||||
if (pattern.test(f.mb_name.value)) {
|
||||
alert("이름은 한글로 입력하십시오.");
|
||||
f.mb_name.select();
|
||||
return false;
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
<?php if($w == '' && $config['cf_cert_use'] && $config['cf_cert_req']) { ?>
|
||||
// 본인확인 체크
|
||||
if(f.cert_no.value=="") {
|
||||
alert("회원가입을 위해서는 본인확인을 해주셔야 합니다.");
|
||||
return false;
|
||||
}
|
||||
<?php } ?>
|
||||
|
||||
// 닉네임 검사
|
||||
if ((f.w.value == "") || (f.w.value == "u" && f.mb_nick.defaultValue != f.mb_nick.value)) {
|
||||
var msg = reg_mb_nick_check();
|
||||
if (msg) {
|
||||
alert(msg);
|
||||
f.reg_mb_nick.select();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
// E-mail 검사
|
||||
if ((f.w.value == "") || (f.w.value == "u" && f.mb_email.defaultValue != f.mb_email.value)) {
|
||||
var msg = reg_mb_email_check();
|
||||
if (msg) {
|
||||
alert(msg);
|
||||
f.reg_mb_email.select();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
<?php if (($config['cf_use_hp'] || $config['cf_cert_hp']) && $config['cf_req_hp']) { ?>
|
||||
// 휴대폰번호 체크
|
||||
var msg = reg_mb_hp_check();
|
||||
if (msg) {
|
||||
alert(msg);
|
||||
f.reg_mb_hp.select();
|
||||
return false;
|
||||
}
|
||||
<?php } ?>
|
||||
|
||||
if (typeof f.mb_icon != "undefined") {
|
||||
if (f.mb_icon.value) {
|
||||
if (!f.mb_icon.value.toLowerCase().match(/.(gif|jpe?g|png)$/i)) {
|
||||
alert("회원아이콘이 이미지 파일이 아닙니다.");
|
||||
f.mb_icon.focus();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (typeof f.mb_img != "undefined") {
|
||||
if (f.mb_img.value) {
|
||||
if (!f.mb_img.value.toLowerCase().match(/.(gif|jpe?g|png)$/i)) {
|
||||
alert("회원이미지가 이미지 파일이 아닙니다.");
|
||||
f.mb_img.focus();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (typeof(f.mb_recommend) != "undefined" && f.mb_recommend.value) {
|
||||
if (f.mb_id.value == f.mb_recommend.value) {
|
||||
alert("본인을 추천할 수 없습니다.");
|
||||
f.mb_recommend.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
var msg = reg_mb_recommend_check();
|
||||
if (msg) {
|
||||
alert(msg);
|
||||
f.mb_recommend.select();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
<?php echo chk_captcha_js(); ?>
|
||||
|
||||
document.getElementById("btn_submit").disabled = "disabled";
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
jQuery(function($){
|
||||
//tooltip
|
||||
$(document).on("click", ".tooltip_icon", function(e){
|
||||
$(this).next(".tooltip").fadeIn(400).css("display","inline-block");
|
||||
}).on("mouseout", ".tooltip_icon", function(e){
|
||||
$(this).next(".tooltip").fadeOut();
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
<!-- } 회원정보 입력/수정 끝 -->
|
||||
@ -0,0 +1,105 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
//----------------------------------------------------------
|
||||
// SMS 문자전송 시작
|
||||
//----------------------------------------------------------
|
||||
|
||||
//추가정보 저장
|
||||
if($w == "" || $_POST['re'] == "re") {
|
||||
if(isset($pa['pa_is']) && $pa['pa_is'] == 1 && isset($pa['pa_use']) && $pa['pa_use'] == 1) {
|
||||
|
||||
if(isset($pa['pa_add_use']) && $pa['pa_add_use'] == 1) {
|
||||
|
||||
if(isset($pa['pa_level']) && $pa['pa_level']) {
|
||||
$re_level = $pa['pa_level'];
|
||||
} else {
|
||||
$re_level = $config['cf_register_level'];
|
||||
}
|
||||
|
||||
memo_auto_send('입점 신청이 승인 되었습니다.', '', $mb_id, "system-msg");
|
||||
|
||||
} else {
|
||||
$re_level = $config['cf_register_level'];
|
||||
}
|
||||
|
||||
|
||||
$sqls = "UPDATE {$g5['member_table']}
|
||||
SET mb_partner = '{$_POST['mb_partner']}',
|
||||
mb_partner_add_time = '" . G5_TIME_YMDHIS . "',
|
||||
mb_bank = '{$_POST['mb_bank']}',
|
||||
mb_level = '{$re_level}'
|
||||
where mb_id = '{$mb_id}' ";
|
||||
sql_query($sqls);
|
||||
|
||||
if(isset($_POST['mb_partner']) && $_POST['mb_partner'] == 1) {
|
||||
memo_auto_send('입점 신청이 접수 되었습니다.', '', $config['cf_admin'], "system-msg");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
} else if ($w == "u") {
|
||||
|
||||
if(isset($pa['pa_is']) && $pa['pa_is'] == 1 && isset($pa['pa_use']) && $pa['pa_use'] == 1) {
|
||||
|
||||
$sqls = "UPDATE {$g5['member_table']}
|
||||
SET mb_bank = '{$_POST['mb_bank']}',
|
||||
where mb_id = '{$mb_id}' ";
|
||||
sql_query($sqls);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$sms_contents = $default['de_sms_cont1'];
|
||||
$sms_contents = str_replace("{이름}", $mb_name, $sms_contents);
|
||||
$sms_contents = str_replace("{회원아이디}", $mb_id, $sms_contents);
|
||||
$sms_contents = str_replace("{회사명}", $default['de_admin_company_name'], $sms_contents);
|
||||
|
||||
// 핸드폰번호에서 숫자만 취한다
|
||||
$receive_number = preg_replace("/[^0-9]/", "", $mb_hp); // 수신자번호 (회원님의 핸드폰번호)
|
||||
$send_number = preg_replace("/[^0-9]/", "", $default['de_admin_company_tel']); // 발신자번호
|
||||
|
||||
if ($w == "" && $default['de_sms_use1'] && $receive_number)
|
||||
{
|
||||
if ($config['cf_sms_use'] == 'icode')
|
||||
{
|
||||
if($config['cf_sms_type'] == 'LMS') {
|
||||
include_once(G5_LIB_PATH.'/icode.lms.lib.php');
|
||||
|
||||
$port_setting = get_icode_port_type($config['cf_icode_id'], $config['cf_icode_pw']);
|
||||
|
||||
// SMS 모듈 클래스 생성
|
||||
if($port_setting !== false) {
|
||||
$SMS = new LMS;
|
||||
$SMS->SMS_con($config['cf_icode_server_ip'], $config['cf_icode_id'], $config['cf_icode_pw'], $port_setting);
|
||||
|
||||
$strDest = array();
|
||||
$strDest[] = $receive_number;
|
||||
$strCallBack = $send_number;
|
||||
$strCaller = iconv_euckr(trim($default['de_admin_company_name']));
|
||||
$strSubject = '';
|
||||
$strURL = '';
|
||||
$strData = iconv_euckr($sms_contents);
|
||||
$strDate = '';
|
||||
$nCount = count($strDest);
|
||||
|
||||
$res = $SMS->Add($strDest, $strCallBack, $strCaller, $strSubject, $strURL, $strData, $strDate, $nCount);
|
||||
|
||||
$SMS->Send();
|
||||
$SMS->Init(); // 보관하고 있던 결과값을 지웁니다.
|
||||
}
|
||||
} else {
|
||||
include_once(G5_LIB_PATH.'/icode.sms.lib.php');
|
||||
|
||||
$SMS = new SMS; // SMS 연결
|
||||
$SMS->SMS_con($config['cf_icode_server_ip'], $config['cf_icode_id'], $config['cf_icode_pw'], $config['cf_icode_server_port']);
|
||||
$SMS->Add($receive_number, $send_number, $config['cf_icode_id'], iconv_euckr(stripslashes($sms_contents)), "");
|
||||
$SMS->Send();
|
||||
$SMS->Init(); // 보관하고 있던 결과값을 지웁니다.
|
||||
}
|
||||
}
|
||||
}
|
||||
//----------------------------------------------------------
|
||||
// SMS 문자전송 끝
|
||||
//----------------------------------------------------------;
|
||||
@ -0,0 +1,60 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
||||
?>
|
||||
|
||||
|
||||
<style>
|
||||
body, html {background-color: #f9fafb;}
|
||||
main {background-color: #f9fafb;}
|
||||
#container_title {display: none;}
|
||||
#header {display: none;}
|
||||
.contents_wrap {padding: 0px !important;}
|
||||
.sub {padding-top: 0px;}
|
||||
</style>
|
||||
|
||||
<div class="rb_member">
|
||||
<div class="rb_login rb_reg">
|
||||
|
||||
|
||||
<ul class="rb_login_box">
|
||||
|
||||
<li class="rb_login_logo">
|
||||
|
||||
<?php if (!empty($rb_builder['bu_logo_pc'])) { ?>
|
||||
<a href="<?php echo G5_URL ?>"><img src="<?php echo G5_URL ?>/data/logos/pc?ver=<?php echo G5_SERVER_TIME ?>" alt="<?php echo $config['cf_title']; ?>" id="logo_img"></a>
|
||||
<?php } else { ?>
|
||||
<a href="<?php echo G5_URL ?>"><img src="<?php echo G5_THEME_URL ?>/rb.img/logos/pc.png?ver=<?php echo G5_SERVER_TIME ?>" alt="<?php echo $config['cf_title']; ?>" id="logo_img"></a>
|
||||
<?php } ?>
|
||||
|
||||
</li>
|
||||
|
||||
<?php if (is_use_email_certify()) { ?>
|
||||
<li class="rb_reg_ok_text font-B">인증메일이 발송 되었어요 :D</li>
|
||||
<li class="rb_reg_sub_title"><?php echo $mb['mb_email'] ?> 으로 발송된 인증메일을 확인해주세요!<br>이메일 주소가 잘못되었다면 관리자에게 문의해주세요.</li>
|
||||
<?php } else { ?>
|
||||
<li class="rb_reg_ok_text font-B">회원가입이 완료 되었어요 :D</li>
|
||||
<li class="rb_reg_sub_title">
|
||||
<?php echo get_text($mb['mb_name']); ?>님 안녕하세요!<br>
|
||||
<?php echo $config['cf_title'] ?> 에 오신것을 진심으로 환영해요!
|
||||
|
||||
<?php if($config['cf_register_point']) { ?>
|
||||
<br><br><b class="font-B"><?php echo number_format($config['cf_register_point']); ?> 포인트</span>가 지급 되었어요.
|
||||
<?php } ?>
|
||||
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<li class="join_links">
|
||||
<a href="<?php echo G5_URL ?>" class="font-B">메인으로</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
33
theme/rb.basic/skin/member/rb.member/scrap.skin.php
Normal file
33
theme/rb.basic/skin/member/rb.member/scrap.skin.php
Normal file
@ -0,0 +1,33 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
||||
?>
|
||||
|
||||
<!-- 스크랩 목록 시작 { -->
|
||||
<div id="scrap" class="new_win">
|
||||
<h1 id="win_title"><?php echo $g5['title'] ?></h1>
|
||||
<ul>
|
||||
<?php for ($i=0; $i<count($list); $i++) { ?>
|
||||
<li>
|
||||
<?php if(IS_MOBILE()) { ?>
|
||||
<a href="<?php echo $list[$i]['opener_href_wr_id'] ?>" class="scrap_tit" target="_blank" onclick="opener.document.location.href='<?php echo $list[$i]['opener_href_wr_id'] ?>'; window.close(); return false;"><?php echo $list[$i]['subject'] ?></a>
|
||||
<?php } else { ?>
|
||||
<a href="<?php echo $list[$i]['opener_href_wr_id'] ?>" class="scrap_tit" target="_blank" onclick="opener.document.location.href='<?php echo $list[$i]['opener_href_wr_id'] ?>'; return false;"><?php echo $list[$i]['subject'] ?></a>
|
||||
<?php } ?>
|
||||
<a href="<?php echo $list[$i]['opener_href'] ?>" class="scrap_cate" target="_blank" onclick="opener.document.location.href='<?php echo $list[$i]['opener_href'] ?>'; return false;"><?php echo $list[$i]['bo_subject'] ?></a>
|
||||
<span class="scrap_datetime"><?php echo $list[$i]['ms_datetime'] ?></span>
|
||||
<a href="<?php echo $list[$i]['del_href']; ?>" onclick="del(this.href); return false;" class="scrap_del"><img src="<?php echo G5_THEME_URL ?>/rb.img/icon/icon_close.svg"></a>
|
||||
</li>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($i == 0) echo "<li class=\"empty_li\">자료가 없습니다.</li>"; ?>
|
||||
</ul>
|
||||
<?php echo get_paging($config['cf_write_pages'], $page, $total_page, "?$qstr&page="); ?>
|
||||
|
||||
<div class="win_btn">
|
||||
<button type="button" onclick="window.close();" class="btn_close">창닫기</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- } 스크랩 목록 끝 -->
|
||||
34
theme/rb.basic/skin/member/rb.member/scrap_popin.skin.php
Normal file
34
theme/rb.basic/skin/member/rb.member/scrap_popin.skin.php
Normal file
@ -0,0 +1,34 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
||||
?>
|
||||
|
||||
<!-- 스크랩 시작 { -->
|
||||
<div id="scrap_do" class="new_win">
|
||||
<h1 id="win_title">스크랩하기</h1>
|
||||
<form name="f_scrap_popin" action="./scrap_popin_update.php" method="post">
|
||||
<input type="hidden" name="bo_table" value="<?php echo $bo_table ?>">
|
||||
<input type="hidden" name="wr_id" value="<?php echo $wr_id ?>">
|
||||
<div class="new_win_con">
|
||||
<h2 class="sound_only">제목 확인 및 댓글 쓰기</h2>
|
||||
<ul>
|
||||
<li class="scrap_tit">
|
||||
<span class="sound_only">제목</span>
|
||||
<?php echo get_text(cut_str($write['wr_subject'], 255)) ?>
|
||||
</li>
|
||||
<li>
|
||||
<label for="wr_content">댓글작성</label>
|
||||
<textarea name="wr_content" id="wr_content"></textarea>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<p class="win_desc">스크랩을 하시면서 감사 혹은 격려의 댓글을 남기실 수 있습니다.</p>
|
||||
|
||||
<div class="win_btn">
|
||||
<button type="submit" class="btn_submit">스크랩 확인</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<!-- } 스크랩 끝 -->
|
||||
490
theme/rb.basic/skin/member/rb.member/style.css
Normal file
490
theme/rb.basic/skin/member/rb.member/style.css
Normal file
@ -0,0 +1,490 @@
|
||||
@charset "utf-8";
|
||||
|
||||
/* ### 기본 스타일 커스터마이징 시작 ### */
|
||||
/* 기본박스 */
|
||||
.mbskin {position:relative;margin:100px auto 0;width:360px;text-align:center}
|
||||
.mbskin:after {right:10px;left:auto;
|
||||
-webkit-transform:skew(8deg) rotate(3deg);
|
||||
-moz-transform:skew(8deg) rotate(3deg);
|
||||
-ms-transform:skew(8deg) rotate(3deg);
|
||||
-o-transform:skew(8deg) rotate(3deg);
|
||||
transform:skew(8deg) rotate(3deg)}
|
||||
.mbskin .mbskin_box{border:1px solid #dde7e9;background:#fff}
|
||||
.mbskin .frm_input {width:100%}
|
||||
.mbskin .btn_submit {width:100%;margin:10px 0 0;height:45px;font-weight:bold;font-size:1.25em}
|
||||
.mbskin h1 {margin:60px 0 30px;font-size:2em}
|
||||
/* ### 기본 스타일 커스터마이징 끝 ### */
|
||||
|
||||
/* 회원가입 약관 */
|
||||
.register {margin:0 auto}
|
||||
.register:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.register .btn_confirm .btn_submit,
|
||||
.register .btn_confirm .btn_close {float:left;height:50px !important;width:49.5%;font-weight:bold;font-size:1.083em}
|
||||
.register .btn_confirm {text-align:left}
|
||||
.register .btn_confirm .btn_submit {margin-left:1%}
|
||||
|
||||
#fregister p {position:relative;text-align:center;color:#fff;height:50px;line-height:50px;font-size:1.1em;background:#f2838f;margin:0 0 10px;border-radius:5px;font-weight:bold}
|
||||
#fregister p:before {content:"";position:absolute;top:0;left:0;width:5px;height:50px;border-radius:5px 0 0 5px;background:#da4453}
|
||||
#fregister p i {font-size:1.2em;vertical-align:middle}
|
||||
#fregister section {margin:10px auto 15px;border:1px solid #dde7e9;position:relative;border-radius:3px}
|
||||
#fregister_chkall {position:relative;text-align:center;background:#f5f7fa;line-height:50px;border:1px solid #e5e9f0;border-radius:3px;margin-bottom:15px}
|
||||
#fregister h2 {text-align:left;padding:20px;border-bottom:1px solid #dde7e9;font-size:1.2em}
|
||||
#fregister textarea {display:block;padding:20px;width:100%;height:150px;background:#fff;border:0;line-height:1.6em}
|
||||
#fregister_private {position:relative}
|
||||
#fregister_private div {padding:20px;background:#fff}
|
||||
#fregister_private table {width:100%;border-collapse:collapse;font-size:1em;}
|
||||
#fregister_private table caption {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
#fregister_private table th {background:#f7f7f9;width:33.33%;color:#000;padding:10px;border:1px solid #d8dbdf}
|
||||
#fregister_private table td {border:1px solid #e7e9ec;padding:10px;border-top:0}
|
||||
|
||||
.fregister_agree {position:absolute;top:0;right:0}
|
||||
.fregister_agree input[type="checkbox"] + label {color:#676e70}
|
||||
.fregister_agree input[type="checkbox"] + label:hover {color:#2172f8}
|
||||
.fregister_agree input[type="checkbox"] + label span {position:absolute;top:20px;right:15px;width:17px;height:17px;display:block;background:#fff;border:1px solid #999;border-radius:3px}
|
||||
.fregister_agree input[type="checkbox"]:checked + label {color:#000}
|
||||
.fregister_agree input[type="checkbox"]:checked + label span {background:url('./img/chk.png') no-repeat 50% 50% #3a8afd;border-color:#1471f6;border-radius:3px}
|
||||
.fregister_agree.chk_all input[type="checkbox"] + label span {top:18px}
|
||||
|
||||
.chk_li {padding-left:20px}
|
||||
|
||||
#sns_register .login-sns,
|
||||
#sns_register h2 {border:0 !important}
|
||||
|
||||
/* 회원가입 입력 */
|
||||
#register_form {background:#fff;margin-bottom:20px}
|
||||
#register_form h2 {padding:20px;border-bottom:1px solid #dde7e9}
|
||||
.register_form_inner {background:#f7f7f7;border:1px solid #dde7e9;border-radius:3px}
|
||||
.register_form_inner ul {padding:20px}
|
||||
.register_form_inner label {display:block;margin-bottom:10px;line-height:24px}
|
||||
.register_form_inner label.inline {display:inline}
|
||||
|
||||
#fregisterform .cert_desc {color:#3a8afd;}
|
||||
#fregisterform .cert_req {margin-left:5px;line-height:35px;}
|
||||
#fregisterform #msg_certify {margin:5px 0;padding:5px;border:1px solid #dbecff;background:#eaf4ff;text-align:center}
|
||||
#fregisterform .frm_address {margin:5px 0 0}
|
||||
#fregisterform #mb_addr3 {display:inline-block;margin:5px 0 0;vertical-align:middle}
|
||||
#fregisterform #mb_addr_jibeon {display:block;margin:5px 0 0}
|
||||
#fregisterform .btn_confirm {text-align:center}
|
||||
#fregisterform .form_01 div {margin:0 0 20px}
|
||||
#fregisterform .captcha {display:block;margin:5px 0 0}
|
||||
#fregisterform .reg_mb_img_file img {max-width:100%;height:auto}
|
||||
#reg_mb_icon, #reg_mb_img {float:right}
|
||||
|
||||
/* 회원가입 완료 */
|
||||
#reg_result {padding:40px 30px;text-align:center;background:#edf3fc;border:1px solid #d6e2f4;border-radius:5px}
|
||||
#reg_result h2 {font-size:2em;margin:0 0 20px}
|
||||
#reg_result h2 strong {color:#ed6478}
|
||||
#reg_result #result_email {margin:20px 0;padding:10px 50px;border-top:1px solid #e9e9e9;border-bottom:1px solid #dde4e9;background:#fff;line-height:2em}
|
||||
#reg_result #result_email span {display:inline-block;width:150px}
|
||||
#reg_result #result_email strong {color:#e8180c;font-size:1.2em}
|
||||
#reg_result p {line-height:1.8em}
|
||||
#reg_result .result_txt {text-align:left}
|
||||
#reg_result .btn_confirm {margin:50px 0}
|
||||
#reg_result i {font-size:3em}
|
||||
#reg_result .reg_result_p {font-size:1.25em;margin:0 0 10px;color:#3684fa}
|
||||
|
||||
.btn_confirm_reg {margin:20px 0;text-align:center}
|
||||
.reg_btn_submit {display:inline-block;background:#3a8afd;color:#fff;text-align:center;border-radius:3px;width:280px;height:57px;line-height:57px;font-size:1.2em;margin:0 auto;font-weight:bold}
|
||||
|
||||
.mb_log_cate h2 {width:50%;float:left;padding:20px 0;text-align:center}
|
||||
.mb_log_cate .join {width:50%;float:left;padding:20px 0;text-align:center;background:#f7f7f7;color:#6e6e6e}
|
||||
.mb_log_cate:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
|
||||
.tooltip_icon {display:inline-block;vertical-align:baseline;color:#b3b5b8;border:0;font-size:1.4em;background:transparent;cursor:pointer}
|
||||
.tooltip_icon:hover {color:#448bf5}
|
||||
.tooltip {position:absolute;width:auto;color:#fff;background:#000;padding:10px;font-size:small;line-height:18px;display:none;z-index:9;font-weight:normal;margin-left:15px;margin-top:10px}
|
||||
.tooltip:before {content:"";position:absolute;top:0;left:-10px;width:0;height:0;border-style:solid;border-top:0px solid transparent;border-bottom:10px solid transparent;border-left:0;border-right:10px solid #000}
|
||||
|
||||
/* 아이디/비밀번호 찾기 */
|
||||
#find_info h3 {display:none;margin-bottom:30px;text-align:center;font-size:1.1em;}
|
||||
#find_info .new_win_con {background:#f7f7f7;}
|
||||
#find_info.cert .new_win_con {width:460px;float:left;}
|
||||
#find_info.cert .new_win_con:nth-child(2) {margin-left:10px;}
|
||||
#find_info.cert h3 {display:block;}
|
||||
#find_info #mb_hp_label {display:inline-block;margin-left:10px}
|
||||
#find_info p {line-height:1.5em}
|
||||
#find_info #mb_email {margin:10px 0}
|
||||
#find_info .find_btn .btn_submit {width:30%;word-break:keep-all;}
|
||||
|
||||
/* 비밀번호 재설정 */
|
||||
#pw_reset #info_fs {margin-bottom: 10px}
|
||||
#pw_reset .frm_input {margin:10px 0 0}
|
||||
|
||||
/* 기존 회원 본인인증 */
|
||||
#member_cert_refresh p {position:relative;text-align:center;color:#fff;height:50px;line-height:50px;font-size:1.1em;background:#f2838f;margin:0 0 10px;border-radius:5px;font-weight:bold}
|
||||
#member_cert_refresh p:before {content:"";position:absolute;top:0;left:0;width:5px;height:50px;border-radius:5px 0 0 5px;background:#da4453}
|
||||
#member_cert_refresh p i {font-size:1.2em;vertical-align:middle}
|
||||
#member_cert_refresh section {margin:10px auto 15px;border:1px solid #dde7e9;position:relative;border-radius:3px}
|
||||
#member_cert_refresh_chkall {position:relative;text-align:center;background:#f5f7fa;line-height:50px;border:1px solid #e5e9f0;border-radius:3px;margin-bottom:15px}
|
||||
#member_cert_refresh h2 {text-align:left;padding:20px;border-bottom:1px solid #dde7e9;font-size:1.2em}
|
||||
#member_cert_refresh textarea {display:block;padding:20px;width:100%;height:150px;background:#fff;border:0;line-height:1.6em}
|
||||
#member_cert_refresh_private {position:relative}
|
||||
#member_cert_refresh_private div {padding:20px;background:#fff}
|
||||
#member_cert_refresh_private table {width:100%;border-collapse:collapse;font-size:1em;}
|
||||
#member_cert_refresh_private table caption {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
#member_cert_refresh_private table th {background:#f7f7f9;width:33.33%;color:#000;padding:10px;border:1px solid #d8dbdf;font-weight:bold;}
|
||||
#member_cert_refresh_private table td {border:1px solid #e7e9ec;padding:10px;border-top:0}
|
||||
|
||||
.member_cert_refresh_agree {position:absolute;top:0;right:0}
|
||||
.member_cert_refresh_agree input[type="checkbox"] + label {color:#676e70}
|
||||
.member_cert_refresh_agree input[type="checkbox"] + label:hover {color:#2172f8}
|
||||
.member_cert_refresh_agree input[type="checkbox"] + label span {position:absolute;top:20px;right:15px;width:17px;height:17px;display:block;background:#fff;border:1px solid #999;border-radius:3px}
|
||||
.member_cert_refresh_agree input[type="checkbox"]:checked + label {color:#000}
|
||||
.member_cert_refresh_agree input[type="checkbox"]:checked + label span {background:url('./img/chk.png') no-repeat 50% 50% #3a8afd;border-color:#1471f6;border-radius:3px}
|
||||
.member_cert_refresh_agree.chk_all input[type="checkbox"] + label span {top:18px}
|
||||
|
||||
#member_cert_refresh #find_info {margin:50px 0}
|
||||
#member_cert_refresh #find_info .find_btn {padding:10px 20px;background:#fff}
|
||||
#member_cert_refresh #find_info .find_btn > div {margin:10px 0}
|
||||
|
||||
/* 로그인 */
|
||||
#mb_login {}
|
||||
#mb_login h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
#login_fs {padding:35px}
|
||||
#mb_login #login_fs .frm_input {margin:0 0 10px}
|
||||
#mb_login #login_fs .btn_submit {margin:0 0 15px}
|
||||
|
||||
#login_info {}
|
||||
#login_info:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#login_info .login_if_auto {float:left}
|
||||
#login_info .login_if_auto label {vertical-align:baseline;padding-left:5px}
|
||||
#login_info .login_if_lpl {float:right}
|
||||
#login_password_lost {display:inline-block;border:1px solid #d5d9dd;color:#3a8afd;border-radius:2px;padding:2px 5px;line-height:20px}
|
||||
|
||||
#mb_login_notmb {margin:30px auto;padding:20px 30px;border: 1px solid #dde7e9}
|
||||
#mb_login_notmb h2 {font-size:1.25em;margin:20px 0 10px}
|
||||
#guest_privacy {border:1px solid #ccc;text-align:left;line-height:1.6em;color:#666;background:#fafafa;padding:10px;height:150px;margin:10px 0;overflow-y:auto}
|
||||
#mb_login_notmb .btn_submit {display:block;text-align:center;line-height:45px}
|
||||
|
||||
#mb_login_od_wr {margin:30px auto;padding:20px 30px;border: 1px solid #dde7e9}
|
||||
#mb_login_od_wr h2 {font-size:1.25em;margin:20px 0 10px}
|
||||
#mb_login_od_wr .frm_input {margin:10px 0 0}
|
||||
#mb_login_od_wr p {background:#f3f3f3;margin:20px 0 0;padding:15px 20px;line-height:1.5em}
|
||||
|
||||
#mb_login #sns_login {margin-top:0;border-color:#edeaea;padding:25px}
|
||||
#mb_login #sns_login:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#mb_login #sns_login h3 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
#mb_login #sns_login .sns-wrap {margin:0 !important}
|
||||
#mb_login #sns_login .sns-icon {width:49% !important;float:left !important}
|
||||
#mb_login #sns_login .sns-icon:nth-child(odd) {margin-right:2%}
|
||||
#mb_login #sns_login .txt {font-size:0.95em;padding-left:5px !important;border-left:0 !important}
|
||||
|
||||
/* 쪽지 */
|
||||
.memo_list {border-top:1px solid #ececec}
|
||||
.memo_list li {border-bottom:1px solid #ececec;background:#fff;padding:10px 15px;list-style:none;position:relative}
|
||||
.memo_list li:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.memo_list li.empty_li {text-align:center;padding:20px 0;color:#666}
|
||||
|
||||
.memo_list .memo_li {float:left}
|
||||
.memo_list .profile_big_img {position:relative;margin-right:15px}
|
||||
.memo_list .profile_big_img img {border-radius:50%;width:52px;height:52px}
|
||||
.memo_list .memo_li.memo_name {padding-top:5px;float:none}
|
||||
.memo_list .memo_preview a{display:block;margin-right:30px;padding-top:10px;font-weight:normal !important;font-size:1.2em}
|
||||
.memo_list .memo_preview a:hover{text-decoration:underline}
|
||||
.memo_list .memo_name a,
|
||||
.memo_list .memo_name .sv_wrap {font-weight:bold}
|
||||
.memo_list .no_read {position:absolute;bottom:0;right:0;display:inline-block;background:#3a8afd;border:1px solid #e1edff;text-indent:-9999px;border-radius:10px;width:10px;height:10px;box-shadow:0 0 10px 3px #9ec3f9}
|
||||
.memo_list .no_read {animation:blinker 1s linear infinite}
|
||||
|
||||
@keyframes blinker {
|
||||
50% {opacity:0}
|
||||
}
|
||||
|
||||
#memo_list h1#win_title {padding:10px 10px 10px 20px}
|
||||
#memo_list .memo_datetime {font-size:0.92em;color:#888d92}
|
||||
#memo_list .memo_del {position:absolute;right:15px;top:15px;padding:10px;color:#c7c9cb;font-size:1.4em}
|
||||
#memo_list .memo_cnt {margin-top:5px;font-weight:normal;display:inline-block;font-size:1.2em}
|
||||
#memo_list .pg_wrap {margin-top:10px;width:100%;float:inherit;text-align:center}
|
||||
|
||||
#memo_view_contents {margin-bottom:20px;border-top:1px solid #ececec;border-bottom:1px solid #ececec}
|
||||
#memo_view_contents h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
|
||||
#memo_view_ul {margin:0;list-style:none;background:#f6f6f6}
|
||||
#memo_view_ul:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.memo_view_li {position:relative;/*padding:10px;float:left;width:50%*/}
|
||||
|
||||
.memo_view_li .profile_img img {display:none}
|
||||
.memo_from {position:relative;background:#fff;border-bottom:1px solid #ececec;padding:15px 20px}
|
||||
.memo_from li {float:left}
|
||||
.memo_from li.memo_profile img {width:40px;height:40px;border-radius:50%}
|
||||
.memo_from li:first-child {margin-right:10px}
|
||||
.memo_from li.memo_view_nick {width:80%}
|
||||
.memo_from li.memo_view_nick a {font-weight:bold !important}
|
||||
.memo_from li.memo_view_date {display:block;color:#555;line-height:24px}
|
||||
.memo_from li.memo_op_btn {position:absolute}
|
||||
.memo_from li.list_btn {right:53px;}
|
||||
.memo_from li.del_btn {right:15px;}
|
||||
.memo_from:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
|
||||
.memo_btn {width:100%}
|
||||
.memo_btn a {display:inline-block;width:50%;font-size:1em;color:#888d92;padding:20px}
|
||||
.memo_btn a.btn_right {float:right;text-align:right}
|
||||
.memo_btn a i {font-size:1.2em;color:#acabab;vertical-align:bottom}
|
||||
|
||||
#memo_view p {padding:10px;min-height:150px;height:auto !important;height:150px;background:#fff;line-height:1.8em}
|
||||
#memo_view textarea {height:100px}
|
||||
|
||||
#memo_write .form_01 {padding:20px;border-top:1px solid #ececec}
|
||||
|
||||
.reply_btn {display:inline-block;width:150px;height:45px;line-height:50px;padding:0 10px;font-weight:bold;background:#3a8afd;color:#fff;border-radius:3px;vertical-align:bottom;margin-right:5px}
|
||||
#memo_write .reply_btn {font-size:1em}
|
||||
|
||||
/* 스크랩 */
|
||||
#scrap li:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#scrap li {position:relative;padding:20px;border-bottom:1px solid #ececec}
|
||||
#scrap .scrap_tit {font-weight:bold;display:block;font-size:1.083em;margin-bottom:10px;line-height:1.3em}
|
||||
#scrap .scrap_cate {float:left;display:block;color:#ac92ec;background:#eeeaf8;padding:3px;border-radius:3px;font-size:0.92em;margin-right:10px}
|
||||
#scrap .scrap_datetime {color:#777;line-height:18px}
|
||||
#scrap .scrap_del {position:absolute;top:15px;right:15px;font-size:18px;color:#c7c9cb}
|
||||
#scrap .scrap_del:hover {color:#3a8afd}
|
||||
|
||||
#scrap_do .new_win_con {padding:0 20px}
|
||||
#scrap_do textarea {width:100%;height:100px}
|
||||
#scrap_do .scrap_tit {margin-bottom:10px;background:#f3f3f3;padding:10px 15px;font-size:1.2em;font-weight:bold}
|
||||
#scrap_do label {display:block;margin:0 0 5px;font-size:1em}
|
||||
#scrap_do .win_btn:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#scrap .win_btn, #scrap_do .win_btn {margin:20px 0;text-align:center}
|
||||
#scrap_do .win_btn .btn_submit {float:inherit}
|
||||
#scrap_do .win_desc {margin:0 20px}
|
||||
|
||||
/*포인트*/
|
||||
#point {text-align:center}
|
||||
#point h1 {text-align:left}
|
||||
#point .point_all {margin:20px 20px 15px;border-radius:5px;background:#edf3fc;border:1px solid #d6e2f4;color:#485172;font-size:1.083em}
|
||||
#point .point_all:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#point .point_all li {float:left;width:50%;padding:20px;text-align:left}
|
||||
#point .point_all li span {float:right;color:#485172;font-weight:bold}
|
||||
#point .point_all li:last-child {border-left:1px solid #d6e2f4}
|
||||
#point .point_all .full_li {width:100%;border-bottom:1px solid #d6e2f4;text-align:left}
|
||||
#point .point_all .full_li span {color:#000;font-weight:bold;font-size:1.2em}
|
||||
#point .point_status{background:#737373;border:0;color:#fff;font-weight:bold;font-size:1.083em;text-align:left}
|
||||
#point .point_status:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
#point .point_status span{margin-left:10px;float:right}
|
||||
|
||||
.point_list {}
|
||||
.point_list li:first-child {border-top:1px solid #ececec}
|
||||
.point_list li {border-bottom:1px solid #ececec;background:#fff;padding:15px;list-style:none;position:relative}
|
||||
.point_list li:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
|
||||
.point_list .point_use {background:#f6f6f6}
|
||||
.point_list .point_use .point_num {font-size:1.25em;color:#ff4f76;font-weight:bold;float:right}
|
||||
.point_list .point_num {font-size:1.25em;color:#3a8afd;font-weight:bold;position:absolute;right:15px;top:25px}
|
||||
.point_list .point_top {line-height:15px;margin:0 0 5px}
|
||||
.point_list .point_top:after {display:block;visibility:hidden;clear:both;content:""}
|
||||
.point_list .point_tit {font-weight:bold;float:left;font-size:1.083em;display:block}
|
||||
.point_list .point_date1 {float:left;color:#888d92}
|
||||
.point_list .point_date {float:left;color:#888d92}
|
||||
.point_list .txt_expired {color:red;margin-left:5px}
|
||||
|
||||
#point .pg_wrap {width:100%;float:inherit;text-align:center}
|
||||
#point .btn_close {margin:20px auto}
|
||||
|
||||
/* 회원 비밀번호 확인 */
|
||||
#mb_confirm {}
|
||||
#mb_confirm h1 {margin:60px 0 30px;font-size:2em}
|
||||
#mb_confirm p {padding:0 20px 40px;border-bottom:1px solid #e9e9e9;font-size:1.083em;line-height:1.4em;color:#656565}
|
||||
#mb_confirm p strong {display:block;color:#3ca1ff;font-size:1.167em;margin:0 0 5px}
|
||||
#mb_confirm fieldset {padding:50px;text-align:left}
|
||||
#mb_confirm fieldset .frm_input {background-color:#fff !important}
|
||||
#mb_confirm label {letter-spacing:-0.1em}
|
||||
#mb_confirm_id {display:block;margin:5px 0 10px;font-weight:bold}
|
||||
#mb_confirm .confirm_id {font-size:0.92em;color:#666}
|
||||
|
||||
/* 비밀글 비밀번호 확인 */
|
||||
#pw_confirm h1 {margin:60px 20px 30px;font-size:2em}
|
||||
#pw_confirm p {padding:0 20px 40px;border-bottom:1px solid #e9e9e9;font-size:1.083em;line-height:1.4em;color:#656565}
|
||||
#pw_confirm p strong {display:block;color:#3ca1ff;font-size:1.167em;margin:0 0 5px}
|
||||
#pw_confirm fieldset {padding:50px;text-align:center}
|
||||
#pw_confirm fieldset .frm_input {background-color:#fff !important}
|
||||
#pw_confirm label {letter-spacing:-0.1em}
|
||||
#pw_confirm_id {display:inline-block;margin-right:20px;font-weight:bold}
|
||||
#mb_confirm_id {}
|
||||
|
||||
/* 폼메일 */
|
||||
#formmail textarea {height:100px}
|
||||
#formmail .formmail_flie {position:relative}
|
||||
#formmail .formmail_flie .file_wr {border:1px solid #ccc;background:#fff;color:#000;vertical-align:middle;border-radius:3px;padding:5px;height:40px;margin:0}
|
||||
#formmail .lb_icon {position:absolute;top:1px;left:1px;border-radius:3px 0 0 3px;height:38px;line-height:38px;width:40px;background:#fff;text-align:center;color:#b2b2b2}
|
||||
#formmail .frm_file {padding-left:50px}
|
||||
#formmail .frm_info {color:#3497d9;font-size:0.92em}
|
||||
.chk_box {position:relative}
|
||||
.chk_box input[type="radio"] {position:absolute;top:0;left:0;width:0;height:0;opacity:0;outline:0;z-index:-1;overflow:hidden}
|
||||
.chk_box input[type="radio"] + label {position:relative;padding-left:23px;display:inline-block;color:#676e70}
|
||||
.chk_box input[type="radio"] + label span {position:absolute;top:0;left:0;width:15px;height:15px;display:block;background:#f7f8f9;border:1px solid #cdd6df;border-radius:50%}
|
||||
.chk_box input[type="radio"]:checked + label {color:#3a8afd}
|
||||
.chk_box input[type="radio"]:checked + label span {border-color:#3a8afd}
|
||||
.chk_box input[type="radio"]:checked + label span:before {width:7px;height:7px;background:#3a8afd;content:'';position:absolute;top:3px;left:3px;border-radius:50%}
|
||||
.chk_box input[type="checkbox"] + label {position:relative;color:#676e70}
|
||||
.chk_box input[type="checkbox"] + label:hover {color:#2172f8}
|
||||
.chk_box input[type="checkbox"] + label span {float:left;width:15px;height:15px;display:block;background:#fff;border:1px solid #d0d4df;border-radius:3px}
|
||||
.chk_box input[type="checkbox"]:checked + label {color:#000}
|
||||
.chk_box input[type="checkbox"]:checked + label span {background:url(./img/chk.png) no-repeat 50% 50% #3a8afd;border-color:#1471f6;border-radius:3px}
|
||||
.selec_chk {position:absolute;top:0;left:0;width:0;height:0;opacity:0;outline:0;z-index:-1;overflow:hidden}
|
||||
|
||||
|
||||
/* 자기소개 */
|
||||
#profile h1 a {}
|
||||
#profile table {margin-bottom:0}
|
||||
#profile table th {text-align:left;padding:10px;width:100px}
|
||||
#profile section {color:#6794d3;background:#fff;padding:10px;border:1px solid #eee;margin:10px 0}
|
||||
#profile h2 {margin:0 0 5px}
|
||||
#profile .profile_name {text-align:center;font-weight:bold}
|
||||
#profile .my_profile_img {display:block;margin:20px 0 5px}
|
||||
#profile .my_profile_img img {border-radius:50%}
|
||||
#profile .profile_img img {border-radius:50%}
|
||||
#profile .profile_name .sv_wrap {font-weight:bold;text-align:left}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**********************
|
||||
여기서부터 빌더전용 CSS입니다.
|
||||
스킨작업은 가급적 CSS를 수정하지마시고,
|
||||
주석 후 새로 라인을 추가해주세요.
|
||||
************************/
|
||||
|
||||
.rb_member {}
|
||||
.rb_member .rb_login {width: 100%; padding-top: 100px; padding-bottom: 100px; box-sizing: border-box;}
|
||||
.rb_member .rb_login .rb_login_box {width: 640px; margin:0 auto; background-color: #fff; border-radius: 20px; padding: 100px; box-sizing: border-box;}
|
||||
.rb_member .rb_login .rb_login_box .rb_login_logo {text-align: center; margin-bottom: 60px;}
|
||||
.rb_member .rb_login .rb_login_box li {margin-bottom: 20px;}
|
||||
.rb_member .rb_login .rb_login_box li span {display: block; font-size: 12px; margin-bottom: 10px; color:#999; font-family:'font-B',sans-serif;}
|
||||
.rb_member .rb_login .rb_login_box li span.ico {margin-bottom: 0px;}
|
||||
.rb_member .rb_login .rb_login_box li .input {width: 100%;}
|
||||
.rb_member .rb_login .rb_login_box li .btn_submit {width: 100%; height:47px; border-radius: 10px; font-size: 16px;}
|
||||
.rb_member .rb_login .rb_login_box li.join_links {margin-top: 30px; border-top:1px solid #ddd; padding-top: 30px; font-size: 16px; text-align: center;}
|
||||
.rb_member .rb_login .rb_login_box li.join_links a {border-bottom:1px solid #aaa;}
|
||||
.rb_member #login_info .login_if_auto label {padding-left: 30px;}
|
||||
.rb_member #login_info .login_if_lpl {line-height: 30px;}
|
||||
.rb_member #sns_login {margin-top: 30px; border-top:0px;}
|
||||
.rb_member #sns_login h3 {display: none;}
|
||||
.rb_member #sns_login .sns-icon {width:40px;}
|
||||
.rb_member #sns_login .sns-wrap {text-align: center;}
|
||||
.rb_member #sns_login .sns-wrap a {display: inline-block; margin-bottom: 0px; border-bottom: 0px; border-radius: 10px;}
|
||||
.rb_member #sns_login .sns-wrap span {display: none;}
|
||||
.rb_member .rb_login .rb_login_box .sns_titles {margin-top: 40px; text-align: center; font-size: 14px;}
|
||||
|
||||
.rb_member .rb_reg .sns_titles {margin-top: 0px !important;}
|
||||
.rb_member .rb_reg #sns_register h2 {display: none;}
|
||||
.rb_member .rb_reg #sns_register {border:0px; padding: 0px;}
|
||||
.rb_member #sns_register .sns-wrap {float:none; text-align: center; width: 100%; padding: 0px;}
|
||||
.rb_member #sns_register .sns-icon {height:40px; width:40px; border-radius: 10px;}
|
||||
.rb_member #sns_register a {background-position: 5px 5px; margin: 0px;}
|
||||
.rb_member .rb_reg_sub_title {text-align: center; font-size: 14px; color:#485172; line-height: 130%;}
|
||||
.rb_member .sns_reg_wrap {border-top:1px solid #ddd; margin-top: 30px; padding-top: 30px;}
|
||||
.rb_member .rb_reg .textarea {border:1px solid #ddd !important; }
|
||||
.rb_member .rb_reg .textarea:focus {border:1px solid #000 !important; }
|
||||
.rb_member .rb_reg #fregister_chkall {border-radius: 10px;}
|
||||
|
||||
.rb_member .rb_reg .rb_reg_ok_text {font-size: 22px; text-align: center;}
|
||||
.rb_member .rb_reg #captcha {text-align: center; width: 100%;}
|
||||
|
||||
.rb_member .rb_join .btn_frmline {background-color: #fff; color:#485172; border:1px solid #485172; border-radius: 10px;}
|
||||
.rb_member .rb_join .help_text {display: block; margin-top: 10px; line-height: 130%; font-family:'font-R',sans-serif !important;}
|
||||
.rb_member .rb_join .twopart_input {width: 50% !important;}
|
||||
.rb_member .rb_join #reg_mb_zip {height:40px; margin-right: 0px;}
|
||||
.rb_member .rb_join .mem_imgs_dd1 {float:right; padding-left: 20px; width: 25%; box-sizing: border-box; text-align: right;}
|
||||
.rb_member .rb_join .mem_imgs_dd2 {float:left;width: 75%;}
|
||||
.rb_member .rb_join #reg_mb_icon, .rb_member .rb_join #reg_mb_img {float:none;}
|
||||
.rb_member .rb_join .files_inp {line-height: 35px; width: 100%;}
|
||||
.rb_member .rb_join #mem_img_icon {border-radius: 50%; margin-top: 7px;}
|
||||
.rb_member .rb_join #mem_img_img {border-radius: 10px; margin-top: 0px;}
|
||||
.rb_member .rb_join .help_t_text {padding: 20px; box-sizing: border-box; background-color: #f9f9f9; border-radius: 10px; word-break: keep-all; color:#777; margin-top: 20px; font-size: 12px;}
|
||||
.rb_member .rb_join #captcha {text-align: center;}
|
||||
.rb_member .rb_join .rb_login_box li .sns-wrap {text-align: left;}
|
||||
.rb_member .rb_join .rb_login_box li .sns-wrap a {border:0px;}
|
||||
.rb_member .rb_join .frm_label {font-size: 12px; color:#999; display: block; font-family: 'font-B', sans-serif;}
|
||||
|
||||
.rb_member .rb_reg .btn_frmline {background-color: #fff; color:#485172; border:1px solid #485172; border-radius: 10px;}
|
||||
.rb_member .rb_reg .cert_btns {text-align: center;}
|
||||
.rb_member a.btn_frmline, button.btn_frmline {width: auto; padding-left: 20px; padding-right: 20px; box-sizing: border-box;}
|
||||
|
||||
.rb_prof {margin-top: 0px; position: relative;}
|
||||
.rb_prof .rb_prof_info_img img {border-radius: 20px;}
|
||||
.rb_prof .rb_prof_info_txt {color:#888; margin-top: 35px;}
|
||||
.rb_prof .rb_prof_info_nick {font-size: 36px; margin-top: 10px;}
|
||||
.rb_prof .rb_prof_info_nick span {font-size: 12px; color:#fff; background-color: #121212; padding: 3px 10px 3px 10px; border-radius: 6px; display: inline-block; vertical-align: middle;}
|
||||
.rb_prof .rb_prof_info {}
|
||||
.rb_prof .rb_prof_btn {position: absolute; right:0px; bottom:0px;}
|
||||
.rb_prof .copy_urls img {width: 35px; height:35px; border-radius: 6px;}
|
||||
.rb_prof .rb_prof_btn .fl_btns {height:35px; background-color: #212121 !important; color:#fff; line-height: 35px; display: inline-block; border-radius: 6px; padding-left: 20px; padding-right: 20px;}
|
||||
.rb_prof .copy_urls {height:35px; line-height: 35px; background-color: #f9f9f9; display: inline-block; border-radius: 6px; text-align: center;}
|
||||
|
||||
.rb_prof_tab #bo_cate {margin-bottom: 0px; margin-top: 30px; display: flex;}
|
||||
.rb_prof_tab #bo_cate #bo_cate_ul {flex:1; position: relative;}
|
||||
.rb_prof_tab #bo_cate a {display: inline-flex; padding: 0px 20px; border:0px; font-size: 16px; color:#000; background-color: transparent; line-height: 56px; position: relative;}
|
||||
.rb_prof_tab #bo_cate a:first-child {padding-left: 0px;}
|
||||
.rb_prof_tab #bo_cate a:hover {background-color: transparent; font-family:'font-B',sans-serif;}
|
||||
.rb_prof_tab #bo_cate #bo_cate_on {background-color: transparent; font-weight: normal; box-shadow: none; color:#AA20FF; border:0px; font-family:'font-B',sans-serif;}
|
||||
.rb_prof_tab #bo_cate li {padding: 0px; display: inline-block;}
|
||||
.rb_prof_tab #bo_cate #bo_cate_ul:before {content: "";bottom: 0;position: absolute;width: 100%;margin: 0;height: 1px;background-color: rgba(0, 0, 0, .1);}
|
||||
.rb_prof_tab #bo_cate #bo_cate_on::after {content: "";position: absolute;bottom: 0;right: 20px;left: 0px;height: 2px;background-color: currentColor;}
|
||||
|
||||
.rb_prof_tab .cont_info_wrap {border-bottom: 1px solid #eee;}
|
||||
.rb_prof_tab .cont_info_wrap_l {float:left; width: 50%;}
|
||||
.rb_prof_tab .cont_info_wrap_l dd {float:left;}
|
||||
.rb_prof_tab .cont_info_wrap_l dd:nth-child(1) {width:30%; line-height: 50px; box-sizing: border-box; padding-left: 20px; color:#999;}
|
||||
.rb_prof_tab .cont_info_wrap_l dd:nth-child(2) {width:70%; line-height: 50px; color:#000;}
|
||||
.rb_prof_tab .cont_info_wrap_r {float:right; width: 50%;}
|
||||
.rb_prof_tab .cont_info_wrap_r dd:nth-child(1) {width:30%; line-height: 50px; box-sizing: border-box; padding-left: 20px; color:#999}
|
||||
.rb_prof_tab .cont_info_wrap_r dd:nth-child(2) {width:70%; line-height: 50px; color:#000;}
|
||||
.rb_prof_tab .cont_info_wrap_r dd {float:left;}
|
||||
.rb_prof_tab .cont_info_wrap_l span {color:#999; font-size: 12px;}
|
||||
.rb_prof_tab .cont_info_wrap_mmt {padding-top: 20px; padding-bottom: 30px; line-height: 140%; border-bottom: 0px;}
|
||||
.rb_prof_tab .cont_info_wrap_mmt h2 {font-size: 18px; margin-bottom:30px;}
|
||||
.memo_list li.read {background-color: #f9f9f9 !important;}
|
||||
|
||||
.rb_prof_r {float:right; width: 30%; margin-top: 30px; position: sticky; top:120px;}
|
||||
.rb_prof_l {float:left; width: 70%; padding-right: 40px; margin-top: 30px;}
|
||||
.cont_info_wrap_mmt .bbs_main {border-top:0px; padding-top: 0px;}
|
||||
.cont_info_wrap_mmt .bbs_main_wrap_tit {margin-bottom: 0px;}
|
||||
|
||||
.rb_prof_r_box {background-color: #f9f9f9; padding: 30px; border-radius: 10px;}
|
||||
|
||||
|
||||
.bbs_main_wrap_thumb_con {box-sizing: border-box; width: 100%}
|
||||
.bbs_main_wrap_thumb_con dd {position: relative; border-top:1px solid #ddd; padding-top: 30px; padding-bottom: 5px;}
|
||||
.bbs_main_wrap_thumb_con dd:last-child {margin-bottom: 0px;}
|
||||
.bbs_main_wrap_thumb_con .bbs_main_wrap_con_ul1 {width: 60px; position: absolute; top:20px; right:20px;}
|
||||
.bbs_main_wrap_thumb_con .bbs_main_wrap_con_ul1 img {width: 100%; height:auto; border-radius: 10px;}
|
||||
.bbs_main_wrap_thumb_con .bbs_main_wrap_con_ul2 {width: 100%; padding-right: 130px;}
|
||||
.bbs_main_wrap_thumb_con .bbs_main_wrap_con_subj {font-size: 18px;}
|
||||
.bbs_main_wrap_thumb_con .bbs_main_wrap_con_subj span {font-size: 14px; display: block; color:#999; margin-bottom: 5px;}
|
||||
.bbs_main_wrap_thumb_con .bbs_main_wrap_con_cont {font-size: 14px; color:#666; word-break: keep-all; margin-top: 15px;}
|
||||
.bbs_main_wrap_thumb_con .bbs_main_wrap_con_cont a {color:#666;}
|
||||
.bbs_main_wrap_thumb_con .bbs_main_wrap_con_info {font-size: 12px; color:#999; margin-top: 5px;}
|
||||
.bbs_main_wrap_thumb_con .bbs_main_wrap_con_writer {margin-top: 10px;}
|
||||
.bbs_main_wrap_thumb_con .bbs_main_wrap_con_writer span {display: inline-block;}
|
||||
.bbs_main_wrap_thumb_con .prof_tiny_image img {width: 30px; height:auto; border-radius: 50%; margin-right: 5px;}
|
||||
.bbs_main_wrap_thumb_con .prof_tiny_name {font-size: 12px; color:#999; line-height: 20px; margin-right: 10px;}
|
||||
.bbs_main_wrap_thumb_con .bbs_list_label {line-height: 17px; font-size: 11px; border-radius: 4px; padding-left: 5px; padding-right: 5px;}
|
||||
|
||||
.bbs_main_wrap_thumb_con .bbs_list_label.label1 {background-color: #FFC700; color:#fff;}
|
||||
.bbs_main_wrap_thumb_con .bbs_list_label.label2 {background-color: #00A3FF; color:#fff;}
|
||||
.bbs_main_wrap_thumb_con .bbs_list_label.label3 {background-color: #8ED100; color:#fff;}
|
||||
.bbs_main_wrap_thumb_con .bbs_list_label.label4 {background-color: #AA20FF; color:#fff;}
|
||||
.bbs_main_wrap_thumb_con .bbs_list_label.label5 {background-color: #25282B; color:#fff;}
|
||||
.bbs_main_wrap_thumb_con .bbs_list_label.label6 {background-color: #D6DCE0; color:#000;}
|
||||
|
||||
.bbs_main_wrap_thumb_con dd {border:1px solid #eee !important; border-radius: 10px; padding: 20px; box-sizing: border-box; min-height: 161px; cursor: pointer}
|
||||
.bbs_main_wrap_thumb_con dd:hover {border:1px solid #ccc !important;}
|
||||
.bbs_main_wrap_thumb_con dd.no_data {margin-top: 0px;}
|
||||
|
||||
@media all and (max-width:1024px) {
|
||||
.rb_prof {padding-left: 20px; padding-right: 20px;}
|
||||
.rb_prof .rb_prof_btn {right:20px;}
|
||||
.rb_prof_tab {padding-left: 20px; padding-right: 20px;}
|
||||
.rb_prof_l {float:none; width: 100%; padding-right: 0px;}
|
||||
.rb_prof_r {float:none; width: 100%;}
|
||||
.rb_prof_tab .cont_info_wrap_l {float:none; width: 100%;}
|
||||
.rb_prof_tab .cont_info_wrap_r {float:none; width: 100%;}
|
||||
.rb_prof_tab .cont_info_wrap {border:0px;}
|
||||
.rb_prof_tab .cont_info_wrap_l dd:nth-child(1) {padding-left: 0px;}
|
||||
.rb_prof_tab .cont_info_wrap_r dd:nth-child(1) {padding-left: 0px;}
|
||||
.rb_prof .rb_prof_btn {top:3px;}
|
||||
.bbs_main_wrap_thumb_con dd {min-height: auto;}
|
||||
}
|
||||
Reference in New Issue
Block a user