사용자: 멤버스킨 basic kcpcert 동기화
This commit is contained in:
73
mobile/skin/member/basic/password_lost2.skin.php
Normal file
73
mobile/skin/member/basic/password_lost2.skin.php
Normal file
@ -0,0 +1,73 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
include_once(G4_LIB_PATH.'/mailer.lib.php');
|
||||
|
||||
$email = trim($_POST['mb_email']);
|
||||
|
||||
if (!$email)
|
||||
alert_close('메일주소 오류입니다.');
|
||||
|
||||
$sql = " select count(*) as cnt from {$g4['member_table']} where mb_email = '$email' ";
|
||||
$row = sql_fetch($sql);
|
||||
if ($row['cnt'] > 1)
|
||||
alert('동일한 메일주소가 2개 이상 존재합니다.\\n\\n관리자에게 문의하여 주십시오.');
|
||||
|
||||
$sql = " select mb_no, mb_id, mb_name, mb_nick, mb_email, mb_datetime from {$g4['member_table']} where mb_email = '$email' ";
|
||||
$mb = sql_fetch($sql);
|
||||
if (!$mb['mb_id'])
|
||||
alert('존재하지 않는 회원입니다.');
|
||||
else if (is_admin($mb['mb_id']))
|
||||
alert('관리자 아이디는 접근 불가합니다.');
|
||||
|
||||
// 난수 발생
|
||||
srand(time());
|
||||
$randval = rand(4, 6);
|
||||
|
||||
$change_password = substr(md5(get_microtime()), 0, $randval);
|
||||
|
||||
$mb_lost_certify = sql_password($change_password);
|
||||
$mb_datetime = sql_password($mb['mb_datetime']);
|
||||
|
||||
// 회원테이블에 필드를 추가
|
||||
sql_query(" ALTER TABLE `{$g4['member_table']}` ADD `mb_lost_certify` VARCHAR( 255 ) NOT NULL AFTER `mb_memo` ", false);
|
||||
|
||||
$sql = " update {$g4['member_table']}
|
||||
set mb_lost_certify = '$mb_lost_certify'
|
||||
where mb_id = '{$mb['mb_id']}' ";
|
||||
sql_query($sql);
|
||||
|
||||
$href = G4_BBS_URL.'/password_lost_certify.php?mb_no='.$mb['mb_no'].'&mb_datetime='.$mb_datetime.'&mb_lost_certify='.$mb_lost_certify;
|
||||
|
||||
$subject = "[".$config['cf_title']."] 요청하신 회원 아이디/패스워드 정보입니다.";
|
||||
|
||||
$content = "";
|
||||
|
||||
$content .= "<div style=\"margin:30px auto;width:600px;border:10px solid #f7f7f7\">";
|
||||
$content .= "<div style=\"border:1px solid #dedede\">";
|
||||
$content .= "<h1 style=\"padding:30px 30px 0;background:#f7f7f7;color:#555;font-size:1.4em\">";
|
||||
$content .= "회원 패스워드가 변경되었습니다.";
|
||||
$content .= "</h1>";
|
||||
$content .= "<span style=\"display:block;padding:10px 30px 30px;background:#f7f7f7;text-align:right\">";
|
||||
$content .= "<a href=\"".G4_URL."\" target=\"_blank\">".$config['cf_title']."</a>";
|
||||
$content .= "</span>";
|
||||
$content .= "<p style=\"margin:20px 0 0;padding:30px 30px 30px;border-bottom:1px solid #eee;line-height:1.7em\">";
|
||||
$content .= addslashes($mb['mb_name'])." (".addslashes($mb['mb_nick']).")"." 회원님은 ".G4_TIME_YMDHIS." 에 회원정보 찾기 요청을 하셨습니다.<br>";
|
||||
$content .= "저희 사이트는 관리자라도 회원님의 비밀번호를 알 수 없기 때문에, 비밀번호를 알려드리는 대신 새로운 비밀번호를 생성하여 안내 해드리고 있습니다.<br>";
|
||||
$content .= "다음에서 변경될 패스워드를 확인하신 후, <span style=\"color:#ff3061\"><strong>패스워드 변경</strong> 링크를 클릭 하십시오.</span><br>";
|
||||
$content .= "패스워드가 변경되었다는 인증 메세지가 출력되면, 홈페이지에서 회원아이디와 변경된 패스워드를 입력하시고 로그인 하십시오.<br>";
|
||||
$content .= "로그인 후에는 정보수정 메뉴에서 새 패스워드로 변경하십시오.";
|
||||
$content .= "</p>";
|
||||
$content .= "<p style=\"margin:0;padding:30px 30px 30px;border-bottom:1px solid #eee;line-height:1.7em\">";
|
||||
$content .= "<span style=\"display:inline-block;width:100px\">회원아이디</span> ".$mb['mb_id']."<br>";
|
||||
$content .= "<span style=\"display:inline-block;width:100px\">변경될 패스워드</span> <strong style=\"color:#ff3061\">".$change_password."</strong>";
|
||||
$content .= "</p>";
|
||||
$content .= "<a href=\"".$href."/\" style=\"display:block;padding:30px 0;background:#484848;color:#fff;text-decoration:none;text-align:center\">패스워드 변경</a>";
|
||||
$content .= "</div>";
|
||||
$content .= "</div>";
|
||||
|
||||
$admin = get_admin('super');
|
||||
mailer($admin['mb_nick'], $admin['mb_email'], $mb['mb_email'], $subject, $content, 1);
|
||||
|
||||
alert_close($email.' 메일로 회원아이디와 패스워드를 인증할 수 있는 메일이 발송 되었습니다.\\n\\n메일을 확인하여 주십시오.');
|
||||
?>
|
||||
@ -19,16 +19,16 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<? if (!$is_member) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="fnick">이름<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="text" id="fnick" name="fnick" required class="frm_input required"></td>
|
||||
<td><input type="text" name="fnick" id="fnick" required class="frm_input required"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="fmail">E-mail<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="text" id="fmail" name="fmail" required class="frm_input required"></td>
|
||||
<td><input type="text" name="fmail" id="fmail" required class="frm_input required"></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="subject">제목<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="text" id="subject" name="subject" required class="frm_input required"></td>
|
||||
<td><input type="text" name="subject" id="subject" required class="frm_input required"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">형식</th>
|
||||
|
||||
@ -8,11 +8,9 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<form name="flogin" action="<?=$login_action_url?>" onsubmit="return flogin_submit(this);" method="post">
|
||||
<input type="hidden" name="url" value='<?=$login_url?>'>
|
||||
|
||||
<fieldset class="cbg">
|
||||
<label for="login_id" class="login_id">회원아이디<strong class="sound_only">필수</strong></label>
|
||||
<input type="text" name="mb_id" id="login_id" required class="fs_input" size="20" maxLength="20">
|
||||
<label for="login_pw" class="login_pw">패스워드<strong class="sound_only">필수</strong></label>
|
||||
<input type="password" name="mb_password" id="login_pw" required class="fs_input" size="20" maxLength="20">
|
||||
<fieldset>
|
||||
<input type="text" name="mb_id" id="login_id" title="아이디(필수)" placeholder="아이디(필수)" required class="frm_input required" maxLength="20">
|
||||
<input type="password" name="mb_password" id="login_pw" title="패스워드(필수)" placeholder="패스워드(필수)" required class="frm_input required" maxLength="20">
|
||||
<input type="submit" value="로그인" class="btn_submit">
|
||||
<input type="checkbox" name="auto_login" id="login_auto_login">
|
||||
<label for="login_auto_login">자동로그인</label>
|
||||
@ -25,7 +23,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
아직 회원이 아니시라면 회원으로 가입 후 이용해 주십시오.
|
||||
</p>
|
||||
<div>
|
||||
<a href="<?=G4_BBS_URL?>/password_lost.php" target="win_password_lost" id="login_password_lost" class="btn02">아이디 패스워드 찾기</a>
|
||||
<a href="<?=$g4['bbs_url']?>/password_lost.php" target="win_password_lost" id="login_password_lost" class="btn02">아이디 패스워드 찾기</a>
|
||||
<a href="./register.php" class="btn01">회원 가입</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@ -17,10 +17,8 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<fieldset>
|
||||
회원아이디
|
||||
<span id="mb_confirm_id"><?=$member[mb_id]?></span>
|
||||
|
||||
<label for="confirm_mb_password">패스워드<strong class="sound_only">필수</strong></label>
|
||||
<input type="password" name="mb_password" id="confirm_mb_password" required class="fs_input" size="15" maxLength="20">
|
||||
<input type="submit" value="확인" id="btn_submit" class="fs_submit">
|
||||
<input type="password" name="mb_password" id="mb_confirm_pw" title="패스워드(필수)"placeholder="패스워드(필수)" required class="frm_input" size="15" maxLength="20">
|
||||
<input type="submit" value="확인" id="btn_submit" class="btn_submit">
|
||||
</fieldset>
|
||||
|
||||
</form>
|
||||
@ -32,8 +30,6 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
</div>
|
||||
|
||||
<script>
|
||||
document.onload = document.fmemberconfirm.mb_password.focus();
|
||||
|
||||
function fmemberconfirm_submit(f)
|
||||
{
|
||||
document.getElementById("btn_submit").disabled = true;
|
||||
|
||||
@ -26,7 +26,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<tbody>
|
||||
<? for ($i=0; $i<count($list); $i++) { ?>
|
||||
<tr>
|
||||
<td><div><?=$list[$i]['name']?></div></td>
|
||||
<td><?=$list[$i]['name']?></td>
|
||||
<td class="td_datetime"><a href="<?=$list[$i]['view_href']?>"><?=$list[$i]['send_datetime']?></font></td>
|
||||
<td class="td_datetime"><a href="<?=$list[$i]['view_href']?>"><?=$list[$i]['read_datetime']?></font></td>
|
||||
<td class="td_mng"><a href="<?=$list[$i]['del_href']?>" onclick="del(this.href); return false;">삭제</a></td>
|
||||
|
||||
@ -12,14 +12,14 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
</ul>
|
||||
|
||||
<div class="cbox">
|
||||
<form name="fmemoform" action="./memo_form_update.php" onsubmit="return fmemoform_submit(this);"method="post" autocomplete="off">
|
||||
<form name="fmemoform" action="./memo_form_update.php" onsubmit="return fmemoform_submit(this);" method="post" autocomplete="off">
|
||||
<table class="frm_tbl">
|
||||
<caption>쪽지쓰기</caption>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row"><label for="me_recv_mb_id">받는 회원아이디<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<input type="text" name="me_recv_mb_id" value="<?=$me_recv_mb_id?>" id="me_recv_mb_id" required class="frm_input required" size="47">
|
||||
<input type="text" name="me_recv_mb_id" value="<?=$me_recv_mb_id?>" id="me_recv_mb_id" required class="frm_input required">
|
||||
<span class="frm_info">여러 회원에게 보낼때는 컴마(,)로 구분하세요.</span>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@ -32,9 +32,8 @@ else $g4['title'] = $g4['title'];
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
|
||||
<fieldset>
|
||||
<label for="password_wr_password">패스워드<strong class="sound_only">필수</strong></label>
|
||||
<input type="password" name="wr_password" id="password_wr_password" required class="fs_input required" size="15" maxLength="20">
|
||||
<input type="submit" class="fs_submit" value="확인">
|
||||
<input type="password" name="wr_password" id="pw_wr_password" title="패스워드(필수)" placeholder="패스워드(필수)" required class="frm_input required" maxLength="20">
|
||||
<input type="submit" class="btn_submit" value="확인">
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
@ -43,7 +42,3 @@ else $g4['title'] = $g4['title'];
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
document.fboardpassword.wr_password.focus();
|
||||
</script>
|
||||
|
||||
@ -4,6 +4,8 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
<form name="fregister" id="fregister" action="<?=$register_action_url?>" onsubmit="return fregister_submit(this);" method="POST" autocomplete="off">
|
||||
|
||||
<p>회원가입약관 및 개인정보수집이용안내의 내용에 동의하셔야 회원가입 하실 수 있습니다.</p>
|
||||
|
||||
<section id="fregister_term">
|
||||
<h2>회원가입약관</h2>
|
||||
<textarea readonly><?=get_text($config['cf_stipulation'])?></textarea>
|
||||
@ -23,8 +25,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
</section>
|
||||
|
||||
<div class="btn_confirm">
|
||||
<p>회원가입약관 및 개인정보수집이용안내의 내용에 동의하셔야 회원가입 하실 수 있습니다.</p>
|
||||
<input type="submit" value="회원가입" class="btn_submit">
|
||||
<input type="submit" class="btn_submit" value="회원가입">
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
@ -1,28 +1,5 @@
|
||||
<?
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// 자신만의 코드를 넣어주세요.
|
||||
|
||||
// 휴대폰번호 포맷(010-0000-0000) 변경해서 기록
|
||||
// $reg_mb_hp 는 rigister_form_update.head.skin.php 파일
|
||||
$sql = " update {$g4['member_table']}
|
||||
set mb_hp = '$reg_mb_hp'
|
||||
where mb_id = '$mb_id' ";
|
||||
sql_query($sql);
|
||||
|
||||
/* =========================================================================== */
|
||||
/* = 휴대폰인증 및 성인인증 = */
|
||||
/* =========================================================================== */
|
||||
if($_POST['kcpcert_no']) {
|
||||
$mb_adult = 'N';
|
||||
if(get_session('ss_adult_check') == 'Y')
|
||||
$mb_adult = 'Y';
|
||||
|
||||
$sql = " update {$g4['member_table']}
|
||||
set mb_hp_certify = '{$_POST['kcpcert_time']}',
|
||||
mb_adult = '$mb_adult'
|
||||
where mb_id = '$mb_id' ";
|
||||
sql_query($sql);
|
||||
}
|
||||
/* =========================================================================== */
|
||||
?>
|
||||
|
||||
@ -9,20 +9,16 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<caption>스크랩 목록</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">번호</th>
|
||||
<th scope="col">게시판</th>
|
||||
<th scope="col">제목</th>
|
||||
<th scope="col">보관일시</th>
|
||||
<th scope="col">삭제</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<? for ($i=0; $i<count($list); $i++) { ?>
|
||||
<tr>
|
||||
<td class="td_num"><?=$list[$i]['num']?></td>
|
||||
<td class="td_board"><a href="<?=$list[$i]['opener_href']?>" target="_blank" onclick="opener.document.location.href='<?=$list[$i]['opener_href']?>'; return false;"><?=$list[$i]['bo_subject']?></a></td>
|
||||
<td><a href="<?=$list[$i]['opener_href_wr_id']?>" target="_blank" onclick="opener.document.location.href='<?=$list[$i]['opener_href_wr_id']?>'; return false;"><?=$list[$i]['subject']?></a></td>
|
||||
<td class="td_datetime"><?=$list[$i]['ms_datetime']?></td>
|
||||
<td class="td_mng"><a href="<? echo $list[$i]['del_href']; ?>" onclick="del(this.href); return false;">삭제</a></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
@ -31,7 +27,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<?=get_paging($config['cf_write_pages'], $page, $total_page, "?$qstr&page=");?>
|
||||
<?=get_paging($config['cf_mobile_pages'], $page, $total_page, "?$qstr&page=");?>
|
||||
|
||||
<div class="btn_win"><a href="javascript:;" onclick="window.close();">창닫기</a></div>
|
||||
</div>
|
||||
|
||||
@ -28,7 +28,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
</p>
|
||||
|
||||
<div class="btn_win">
|
||||
<input type="submit" value="스크랩" class="btn_submit">
|
||||
<input type="submit" class="btn_submit" value="스크랩 확인">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
94
mobile/skin/member/kcpcert/style.css
Normal file
94
mobile/skin/member/kcpcert/style.css
Normal file
@ -0,0 +1,94 @@
|
||||
/* 회원가입 약관 */
|
||||
#fregister section {padding:1.5em;border-bottom:1px solid #eee;background:#fafafa}
|
||||
#fregister h2 {margin:0 0 1.5em;text-align:center}
|
||||
#fregister textarea {display:block;margin-bottom:1em;padding:0.3em;width:99%;height:150px;border:1px solid #cfded8;background:#f7f7f7}
|
||||
#fregister textarea:focus {background:#21272e;color:#fff}
|
||||
.fregister_agree {padding:1em 0 0;text-align:right}
|
||||
.fregister_agree label {display:inline-block;margin-right:0.3em}
|
||||
#fregister p {color:#e8180c;text-align:center}
|
||||
#fregister .btn_confirm {margin:1.5em 0}
|
||||
|
||||
/* 회원가입 입력 */
|
||||
#fregisterform textarea {height:50px}
|
||||
|
||||
/* 회원가입 완료 */
|
||||
#reg_result {padding:4em 1em 0}
|
||||
#reg_result_logo {margin-bottom:50px;text-align:center}
|
||||
#reg_result_email {padding:10px 50px;border-top:1px solid #eee;border-bottom:1px solid #eee;background:#fff;line-height:2em}
|
||||
#reg_result_email span {display:inline-block;width:150px}
|
||||
#reg_result_email strong {color:#e8180c;font-size:1.2em}
|
||||
#reg_result .btn_confirm {margin:50px 0}
|
||||
|
||||
/* 아이디/패스워드 찾기 */
|
||||
#find_info_fs {margin:0 auto 1em;padding:1em;border-bottom:1px solid #eee}
|
||||
#find_info_fs #mb_email {width:100%}
|
||||
#find_info #captcha {margin:0 0 1em;padding:0 1em 1em}
|
||||
#find_info #captcha input {margin-left:0.3em}
|
||||
|
||||
/* 로그인 */
|
||||
#mb_login {margin:2em 0}
|
||||
#mb_login h1 {margin:0 0 1.5em;padding:0 1em;font-size:1.3em}
|
||||
#mb_login h2 {margin:0}
|
||||
#mb_login fieldset {position:relative;padding:0 0.5em;font-size:1em}
|
||||
#mb_login .frm_input {display:block;margin-bottom:0.3em;padding:0;width:80%;height:1.8em;line-height:1.8em}
|
||||
#mb_login .btn_submit {position:absolute;top:0em;right:0.5em;padding:0 !important;width:18%;height:4em !important;text-align:center}
|
||||
#mb_login section {margin:30px 0;padding:1.5em 1em;border:1px solid #cfded8;background:#f7f7f7}
|
||||
#mb_login section div {text-align:right}
|
||||
|
||||
/* 쪽지 */
|
||||
#memo_view section {padding:1em}
|
||||
#memo_view section h2 {width:0;height:0;font-size:0;line-height:0;overflow:hidden}
|
||||
#memo_view_ul {margin:0;padding:0 0 1em;border-bottom:1px solid #eee;list-style:none}
|
||||
.memo_view_li {position:relative;padding:0.3em 0}
|
||||
.memo_view_subj {display:inline-block;width:65px}
|
||||
#memo_view_ul a {}
|
||||
#memo_view section p {min-height:150px;height:auto !important;height:150px}
|
||||
|
||||
#memo_write #me_recv_mb_id {width:98%}
|
||||
#memo_write textarea {width:99%;height:100px}
|
||||
|
||||
/* 스크랩 */
|
||||
#scrap td:nth-of-type(1) {width:150px}
|
||||
#scrap td:nth-last-of-type(1) {width:50px;text-align:center}
|
||||
|
||||
#scrap_do table {margin:0 0 1em;width:100%}
|
||||
#scrap_do textarea {width:99%;height:100px}
|
||||
|
||||
/* 회원 패스워드 확인 */
|
||||
#mb_confirm {margin:30px 0}
|
||||
#mb_confirm h1 {margin:0 0 1.5em;padding:0 1em;font-size:1.3em}
|
||||
#mb_confirm p {padding:1.5em 1em;border-bottom:1px solid #cfded8;border-bottom:0;background:#fff}
|
||||
#mb_confirm p strong {display:block}
|
||||
#mb_confirm fieldset {position:relative;margin:0 0 3em;padding:2em 1em;border-bottom:1px solid #cfded8;background:#f7f7f7}
|
||||
#mb_confirm_pw {display:block;margin-top:1em;padding:0;width:80%;line-height:1.8em}
|
||||
#mb_confirm .btn_submit {position:absolute;bottom:2em;right:1em;width:18%;height:1.9em !important;line-height:1.9em}
|
||||
|
||||
/* 비밀글 패스워드 확인 */
|
||||
#pw_confirm {margin:30px 0}
|
||||
#pw_confirm h1 {margin:0 0 1.5em;padding:0 1em;font-size:1.3em}
|
||||
#pw_confirm p {padding:1.5em 1em;border-bottom:1px solid #cfded8;border-bottom:0;background:#fff}
|
||||
#pw_confirm p strong {display:block}
|
||||
#pw_confirm fieldset {position:relative;margin:0 0 3em;padding:0.5em 0.5em 1em;border-bottom:1px solid #cfded8;background:#f7f7f7}
|
||||
#pw_wr_password {display:block;margin-top:1em;padding:0;width:80%;line-height:1.8em}
|
||||
#pw_confirm .btn_submit {position:absolute;bottom:1em;right:0.5em;width:18%;height:1.9em !important;line-height:1.9em}
|
||||
|
||||
/* 폼메일 */
|
||||
#formmail #subject {width:98%}
|
||||
#formmail textarea {width:99%;height:100px}
|
||||
|
||||
/* 자기소개 */
|
||||
#profile table {margin-bottom:0}
|
||||
#profile section {padding:1em}
|
||||
#profile h2 {margin:0}
|
||||
#profile .sv_wrap a {margin:0 0 0.3em;padding:0;font-weight:bold;line-height:1em}
|
||||
|
||||
/* 우편번호 검색 */
|
||||
#post_code fieldset {margin:0 auto 10px;padding:1em;text-align:center}
|
||||
#post_code dl {margin:0 0 1em;padding:1.5em 1em;background:#fff}
|
||||
#post_code dt {margin-bottom:15px;color:#000}
|
||||
#post_code dd {margin:0;padding:0}
|
||||
#post_code ul {margin:0;padding:0;list-style:none}
|
||||
#post_code li a {display:block;padding:0.7em 0;border-bottom:1px solid #eee;color:#000;text-decoration:none}
|
||||
#post_code p {margin:0 auto 30px;padding:0 1em}
|
||||
#post_code .btn_submit {height:1.9em !important;line-height:1.9em !important}
|
||||
.post_code {display:inline-block;width:100px;color:#999}
|
||||
@ -6,16 +6,15 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<h1><?=$g4['title']?></h1>
|
||||
|
||||
<form name="fzip" method="get" autocomplete="off">
|
||||
<input type="hidden" name="frm_name" value="<?=$frm_name?>">
|
||||
<input type="hidden" name="frm_zip1" value="<?=$frm_zip1?>">
|
||||
<input type="hidden" name="frm_zip2" value="<?=$frm_zip2?>">
|
||||
<input type="hidden" name="frm_name" value="<?=$frm_name?>">
|
||||
<input type="hidden" name="frm_zip1" value="<?=$frm_zip1?>">
|
||||
<input type="hidden" name="frm_zip2" value="<?=$frm_zip2?>">
|
||||
<input type="hidden" name="frm_addr1" value="<?=$frm_addr1?>">
|
||||
<input type="hidden" name="frm_addr2" value="<?=$frm_addr2?>">
|
||||
|
||||
<fieldset>
|
||||
<label for="addr1">동/읍/면/리 검색</label>
|
||||
<input type="text" name="addr1" value="<?=$addr1?>" id="addr1" required class="fs_input" minlength="2">
|
||||
<input type="submit" value="검색" class="fs_submit">
|
||||
<input type="text" name="addr1" value="<?=$addr1?>" id="addr1" title="동/읍/면/리(필수)" placeholder="동/읍/면/리(필수)" required class="frm_input" minlength=2>
|
||||
<input type="submit" class="btn_submit" value="검색">
|
||||
</fieldset>
|
||||
|
||||
<!-- 검색결과 여기서부터 -->
|
||||
|
||||
@ -19,16 +19,16 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<? if (!$is_member) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="fnick">이름<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="text" id="fnick" name="fnick" required class="frm_input required"></td>
|
||||
<td><input type="text"name="fnick" id="fnick" required class="frm_input required"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="fmail">E-mail<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="text" id="fmail" name="fmail" required class="frm_input required"></td>
|
||||
<td><input type="text" name="fmail" id="fmail" required class="frm_input required"></td>
|
||||
</tr>
|
||||
<? } ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="subject">제목<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="text" id="subject" name="subject" required class="frm_input required"></td>
|
||||
<td><input type="text" name="subject" id="subject" required class="frm_input required"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">형식</th>
|
||||
@ -44,7 +44,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="file1">첨부 1</label></th>
|
||||
<td><input type="file" name="file1" id="file1" class="frm_input"></td>
|
||||
<td><input type="file"name="file1" id="file1" class="frm_input"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="file2">첨부 2</label></th>
|
||||
|
||||
@ -10,9 +10,9 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
<fieldset class="cbg">
|
||||
<label for="login_id" class="login_id">회원아이디<strong class="sound_only">필수</strong></label>
|
||||
<input type="text" name="mb_id" id="login_id" required class="required fs_input" size="20" maxLength="20">
|
||||
<input type="text" name="mb_id" id="login_id" required class="frm_input required" size="20" maxLength="20">
|
||||
<label for="login_pw" class="login_pw">패스워드<strong class="sound_only">필수</strong></label>
|
||||
<input type="password" name="mb_password" id="login_pw" required class="required fs_input" size="20" maxLength="20">
|
||||
<input type="password" name="mb_password" id="login_pw" required class="frm_input required" size="20" maxLength="20">
|
||||
<input type="submit" value="로그인" class="btn_submit">
|
||||
<input type="checkbox" name="auto_login" id="login_auto_login">
|
||||
<label for="login_auto_login">자동로그인</label>
|
||||
|
||||
@ -32,8 +32,6 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
</div>
|
||||
|
||||
<script>
|
||||
document.onload = document.fmemberconfirm.mb_password.focus();
|
||||
|
||||
function fmemberconfirm_submit(f)
|
||||
{
|
||||
document.getElementById("btn_submit").disabled = true;
|
||||
|
||||
@ -26,7 +26,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<tbody>
|
||||
<? for ($i=0; $i<count($list); $i++) { ?>
|
||||
<tr>
|
||||
<td><div><?=$list[$i]['name']?></div></td>
|
||||
<td><?=$list[$i]['name']?></td>
|
||||
<td class="td_datetime"><a href="<?=$list[$i]['view_href']?>"><?=$list[$i]['send_datetime']?></font></td>
|
||||
<td class="td_datetime"><a href="<?=$list[$i]['view_href']?>"><?=$list[$i]['read_datetime']?></font></td>
|
||||
<td class="td_mng"><a href="<?=$list[$i]['del_href']?>" onclick="del(this.href); return false;">삭제</a></td>
|
||||
|
||||
@ -12,7 +12,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
</ul>
|
||||
|
||||
<div class="cbox">
|
||||
<form name="fmemoform" action="./memo_form_update.php" onsubmit="return fmemoform_submit(this);"method="post" autocomplete="off">
|
||||
<form name="fmemoform" action="./memo_form_update.php" onsubmit="return fmemoform_submit(this);" method="post" autocomplete="off">
|
||||
<table class="frm_tbl">
|
||||
<caption>쪽지쓰기</caption>
|
||||
<tbody>
|
||||
@ -25,7 +25,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="me_memo">내용</label></th>
|
||||
<td><textarea name="me_memo" id="me_memo" required><?=$content?></textarea></td>
|
||||
<td><textarea name="me_memo" id="me_memo" required class="required"><?=$content?></textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">자동등록방지</th>
|
||||
|
||||
@ -32,9 +32,9 @@ else $g4['title'] = $g4['title'];
|
||||
<input type="hidden" name="page" value="<?=$page?>">
|
||||
|
||||
<fieldset>
|
||||
<label for="password_wr_password">패스워드<strong class="sound_only">필수</strong></label>
|
||||
<label for="pw_wr_password">패스워드<strong class="sound_only">필수</strong></label>
|
||||
<input type="password" name="wr_password" id="password_wr_password" required class="fs_input required" size="15" maxLength="20">
|
||||
<input type="submit" class="fs_submit" value="확인">
|
||||
<input type="submit" value="확인" class="fs_submit">
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
@ -43,7 +43,3 @@ else $g4['title'] = $g4['title'];
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
document.fboardpassword.wr_password.focus();
|
||||
</script>
|
||||
|
||||
@ -2,7 +2,9 @@
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<form name="fregister" id="fregister" action="<?=$register_action_url?>" onsubmit="return fregister_submit(this);" method="POST" autocomplete="off">
|
||||
<form name="fregister" id="fregister" action="<?=$register_action_url?>" onsubmit="return fregister_submit(this);" method="POST" autocomplete="off">
|
||||
|
||||
<p>회원가입약관 및 개인정보수집이용안내의 내용에 동의하셔야 회원가입 하실 수 있습니다.</p>
|
||||
|
||||
<section id="fregister_term">
|
||||
<h2>회원가입약관</h2>
|
||||
@ -23,8 +25,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
</section>
|
||||
|
||||
<div class="btn_confirm">
|
||||
<p>회원가입약관 및 개인정보수집이용안내의 내용에 동의하셔야 회원가입 하실 수 있습니다.</p>
|
||||
<input type="submit" value="회원가입" class="btn_submit">
|
||||
<input type="submit" class="btn_submit" value="회원가입">
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
@ -1,54 +1,5 @@
|
||||
<?
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// 자신만의 코드를 넣어주세요.
|
||||
|
||||
// 핸드폰번호 체크
|
||||
if ($msg = valid_mb_hp($mb_hp)) alert($msg, "", true, true);
|
||||
if ($msg = exist_mb_hp($mb_hp, $mb_id)) alert($msg, "", true, true);
|
||||
|
||||
$reg_hp = preg_replace("/[^0-9]/", "", $mb_hp);
|
||||
$hp_len = strlen($reg_hp);
|
||||
|
||||
if($hp_len == 10)
|
||||
$reg_mb_hp = preg_replace("/([0-9]{3})([0-9]{3})([0-9]{4})/", "\\1-\\2-\\3", $reg_hp);
|
||||
else if($hp_len == 11)
|
||||
$reg_mb_hp = preg_replace("/([0-9]{3})([0-9]{4})([0-9]{4})/", "\\1-\\2-\\3", $reg_hp);
|
||||
|
||||
/* ======================================================================================================= */
|
||||
/* = 휴대폰인증 및 성인인증 = */
|
||||
/* ======================================================================================================= */
|
||||
if($w == '') {
|
||||
// 본인인증체크
|
||||
$kcpcert_no = trim($_POST['kcpcert_no']);
|
||||
if(!$kcpcert_no)
|
||||
alert('휴대폰인증이 되지 않았습니다. 휴대폰인증을 해주세요.', "", true, true);
|
||||
|
||||
// 본인인증 hash 체크
|
||||
$reg_hash = md5($reg_hp.$mb_name.$kcpcert_no);
|
||||
if(get_session('ss_kcpcert_hash') != $reg_hash)
|
||||
alert('휴대폰인증 정보가 올바르지 않습니다. 정상적인 방법으로 이용해 주세요.', "", true, true);
|
||||
|
||||
// 성인인증을 사용한다면
|
||||
if($config['cf_adult_check']) {
|
||||
if(get_session('ss_adult_check') != 'Y')
|
||||
alert('성인인증이 되지 않았습니다. 다음에 다시 가입해 주세요.', "", true, true);
|
||||
}
|
||||
} else if($w == 'u') {
|
||||
// 휴대폰번호 변경체크
|
||||
$old_hp = preg_replace("/[^0-9]/", "", $_POST['old_mb_hp']);
|
||||
|
||||
if($old_hp != $reg_hp) {
|
||||
// 본인인증체크
|
||||
$kcpcert_no = trim($_POST['kcpcert_no']);
|
||||
if(!$kcpcert_no)
|
||||
alert('휴대폰번호가 변경됐습니다. 휴대폰인증을 해주세요.', "", true, true);
|
||||
|
||||
// 본인인증 hash 체크
|
||||
$reg_hash = md5($reg_hp.$mb_name.$kcpcert_no);
|
||||
if(get_session('ss_kcpcert_hash') != $reg_hash)
|
||||
alert('휴대폰인증 정보가 올바르지 않습니다. 정상적인 방법으로 이용해 주세요.', "", true, true);
|
||||
}
|
||||
}
|
||||
/* ======================================================================================================= */
|
||||
?>
|
||||
?>
|
||||
|
||||
@ -1,28 +1,5 @@
|
||||
<?
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// 자신만의 코드를 넣어주세요.
|
||||
|
||||
// 휴대폰번호 포맷(010-0000-0000) 변경해서 기록
|
||||
// $reg_mb_hp 는 rigister_form_update.head.skin.php 파일
|
||||
$sql = " update {$g4['member_table']}
|
||||
set mb_hp = '$reg_mb_hp'
|
||||
where mb_id = '$mb_id' ";
|
||||
sql_query($sql);
|
||||
|
||||
/* =========================================================================== */
|
||||
/* = 휴대폰인증 및 성인인증 = */
|
||||
/* =========================================================================== */
|
||||
if($_POST['kcpcert_no']) {
|
||||
$mb_adult = 'N';
|
||||
if(get_session('ss_adult_check') == 'Y')
|
||||
$mb_adult = 'Y';
|
||||
|
||||
$sql = " update {$g4['member_table']}
|
||||
set mb_hp_certify = '{$_POST['kcpcert_time']}',
|
||||
mb_adult = '$mb_adult'
|
||||
where mb_id = '$mb_id' ";
|
||||
sql_query($sql);
|
||||
}
|
||||
/* =========================================================================== */
|
||||
?>
|
||||
|
||||
@ -19,7 +19,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
<tr>
|
||||
<th scope="row"><label for="wr_content">댓글</label></th>
|
||||
<td><textarea name="wr_content" id="wr_content"></textarea></td>
|
||||
</tr>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
@ -28,7 +28,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
</p>
|
||||
|
||||
<div class="btn_win">
|
||||
<input type="submit" value="스크랩" class="btn_submit">
|
||||
<input type="submit" value="스크랩 확인" class="btn_submit">
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
@ -14,7 +14,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
<fieldset>
|
||||
<label for="addr1">동/읍/면/리 검색</label>
|
||||
<input type="text" name="addr1" value="<?=$addr1?>" id="addr1" required class="fs_input" minlength="2">
|
||||
<input type="text" name="addr1" value="<?=$addr1?>" id="addr1" required class="required fs_input" minlength="2">
|
||||
<input type="submit" value="검색" class="fs_submit">
|
||||
</fieldset>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user