g4s 13-04-26일자 코드 반영

This commit is contained in:
chicpro
2013-04-26 10:54:44 +09:00
parent 091092b46a
commit 478605e149
286 changed files with 4409 additions and 3599 deletions

View File

@ -1,22 +1,24 @@
<?
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
?>
<link rel="stylesheet" href="<?php echo $member_skin_url ?>/style.css">
<div id="formmail" class="new_win">
<h1><?=$name?>님께 메일보내기</h1>
<h1><?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="<?=$email?>">
<input type="hidden" name="to" value="<?php echo $email ?>">
<input type="hidden" name="attach" value="2">
<input type="hidden" name="token" value="<?=$token?>">
<? if ($is_member) { // 회원이면 ?>
<input type="hidden" name="fnick" value="<?=$member['mb_nick']?>">
<input type="hidden" name="fmail" value="<?=$member['mb_email']?>">
<? } ?>
<input type="hidden" name="token" value="<?php echo $token ?>">
<?php if ($is_member) { // 회원이면 ?>
<input type="hidden" name="fnick" value="<?php echo $member['mb_nick'] ?>">
<input type="hidden" name="fmail" value="<?php echo $member['mb_email'] ?>">
<?php } ?>
<table class="frm_tbl">
<caption>메일쓰기</caption>
<tbody>
<? if (!$is_member) { ?>
<?php if (!$is_member) { ?>
<tr>
<th scope="row"><label for="fnick">이름<strong class="sound_only">필수</strong></label></th>
<td><input type="text"name="fnick" id="fnick" required class="frm_input required"></td>
@ -25,7 +27,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<th scope="row"><label for="fmail">E-mail<strong class="sound_only">필수</strong></label></th>
<td><input type="text" name="fmail" id="fmail" required class="frm_input required"></td>
</tr>
<? } ?>
<?php } ?>
<tr>
<th scope="row"><label for="subject">제목<strong class="sound_only">필수</strong></label></th>
<td><input type="text" name="subject" id="subject" required class="frm_input required"></td>
@ -52,7 +54,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
</tr>
<tr>
<th scope="row">자동등록방지</th>
<td><?=captcha_html();?></td>
<td><?php echo captcha_html(); ?></td>
</tr>
</tbody>
</table>
@ -78,7 +80,7 @@ with (document.fformmail) {
function fformmail_submit(f)
{
<? echo chk_captcha_js(); ?>
<?php echo chk_captcha_js(); ?>
if (f.file1.value || f.file2.value) {
// 4.00.11

View File

@ -1,12 +1,14 @@
<?
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
?>
<div id="mb_login">
<h1><?=$g4['title']?></h1>
<link rel="stylesheet" href="<?php echo $member_skin_url ?>/style.css">
<form name="flogin" action="<?=$login_action_url?>" onsubmit="return flogin_submit(this);" method="post">
<input type="hidden" name="url" value='<?=$login_url?>'>
<div id="mb_login">
<h1><?php echo $g4['title'] ?></h1>
<form name="flogin" action="<?php echo $login_action_url ?>" onsubmit="return flogin_submit(this);" method="post">
<input type="hidden" name="url" value='<?php echo $login_url ?>'>
<fieldset class="cbg">
<label for="login_id" class="login_id">회원아이디<strong class="sound_only">필수</strong></label>
@ -25,13 +27,13 @@ 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="<?php echo 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>
<div class="btn_confirm">
<a href="<?=G4_URL?>/">메인으로 돌아가기</a>
<a href="<?php echo G4_URL ?>/">메인으로 돌아가기</a>
</div>
</form>

View File

@ -1,4 +1,4 @@
<?
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
// 자신만의 코드를 넣어주세요.

View File

@ -1,26 +1,28 @@
<?
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
?>
<link rel="stylesheet" href="<?php echo $member_skin_url ?>/style.css">
<div id="mb_confirm">
<h1><?=$g4['title']?></h1>
<h1><?php echo $g4['title'] ?></h1>
<p>
<strong>패스워드를 한번 더 입력해주세요.</strong>
<? if ($url == 'member_leave.php') {?>
<?php if ($url == 'member_leave.php') { ?>
패스워드를 입력하시면 회원탈퇴가 완료됩니다.
<?}else{?>
<?php }else{ ?>
회원님의 정보를 안전하게 보호하기 위해 패스워드를 한번 더 확인합니다.
<? } ?>
<?php } ?>
</p>
<form name="fmemberconfirm" onsubmit="return fmemberconfirm_submit(this);" method="post">
<input type="hidden" name="mb_id" value="<?=$member[mb_id]?>">
<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">
<fieldset>
회원아이디
<span id="mb_confirm_id"><?=$member[mb_id]?></span>
<span id="mb_confirm_id"><?php echo $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="required frm_input" size="15" maxLength="20">
@ -30,7 +32,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
</form>
<div class="btn_confirm">
<a href="<?=G4_URL?>">메인으로 돌아가기</a>
<a href="<?php echo G4_URL ?>">메인으로 돌아가기</a>
</div>
</div>
@ -40,7 +42,6 @@ function fmemberconfirm_submit(f)
{
document.getElementById("btn_submit").disabled = true;
f.action = "<?=$url?>";
return true;
}
</script>

View File

@ -1,9 +1,11 @@
<?
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
?>
<link rel="stylesheet" href="<?php echo $member_skin_url ?>/style.css">
<div id="memo_list" class="new_win">
<h1><?=$g4['title']?></h1>
<h1><?php echo $g4['title'] ?></h1>
<ul class="new_win_ul">
<li><a href="./memo.php?kind=recv">받은쪽지</a></li>
@ -13,31 +15,31 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<table class="basic_tbl">
<caption>
전체 <?=$kind_title?>쪽지 <?=$total_count?>통<br>
전체 <?php echo $kind_title ?>쪽지 <?php echo $total_count ?>통<br>
</caption>
<thead>
<tr>
<th scope="col"><?= ($kind == "recv") ? "보낸사람" : "받는사람"; ?></th>
<th scope="col"><?php echo ($kind == "recv") ? "보낸사람" : "받는사람"; ?></th>
<th scope="col">보낸시간</th>
<th scope="col">읽은시간</th>
<th scope="col">관리</th>
</tr>
</thead>
<tbody>
<? for ($i=0; $i<count($list); $i++) { ?>
<?php for ($i=0; $i<count($list); $i++) { ?>
<tr>
<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>
<td><?php echo $list[$i]['name'] ?></td>
<td class="td_datetime"><a href="<?php echo $list[$i]['view_href'] ?>"><?php echo $list[$i]['send_datetime'] ?></font></td>
<td class="td_datetime"><a href="<?php echo $list[$i]['view_href'] ?>"><?php echo $list[$i]['read_datetime'] ?></font></td>
<td class="td_mng"><a href="<?php echo $list[$i]['del_href'] ?>" onclick="del(this.href); return false;">삭제</a></td>
</tr>
<? } ?>
<? if ($i==0) { echo "<tr><td colspan=\"4\" class=\"empty_table\">자료가 없습니다.</td></tr>"; } ?>
<?php } ?>
<?php if ($i==0) { echo "<tr><td colspan=\"4\" class=\"empty_table\">자료가 없습니다.</td></tr>"; } ?>
</tbody>
</table>
<p class="new_win_desc">
쪽지 보관일수는 최장 <strong><?=$config['cf_memo_del']?></strong>일 입니다.
쪽지 보관일수는 최장 <strong><?php echo $config['cf_memo_del'] ?></strong>일 입니다.
</p>
<div class="btn_win"><a href="javascript:;" onclick="window.close();">창닫기</a></div>

View File

@ -1,7 +1,9 @@
<?
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
?>
<link rel="stylesheet" href="<?php echo $member_skin_url ?>/style.css">
<div id="memo_write" class="new_win">
<h1>쪽지보내기</h1>
@ -19,18 +21,18 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<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="<?php echo $me_recv_mb_id ?>" id="me_recv_mb_id" required class="frm_input required" size="47">
<span class="frm_info">여러 회원에게 보낼때는 컴마(,)로 구분하세요.</span>
</td>
</tr>
<tr>
<th scope="row"><label for="me_memo">내용</label></th>
<td><textarea name="me_memo" id="me_memo" required class="required"><?=$content?></textarea></td>
<td><textarea name="me_memo" id="me_memo" required class="required"><?php echo $content ?></textarea></td>
</tr>
<tr>
<th scope="row">자동등록방지</th>
<td>
<?=captcha_html();?>
<?php echo captcha_html(); ?>
</td>
</tr>
</tbody>
@ -50,7 +52,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<script>
function fmemoform_submit(f)
{
<? echo chk_captcha_js(); ?>
<?php echo chk_captcha_js(); ?>
return true;
}

View File

@ -1,4 +1,4 @@
<?
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
$nick = get_sideview($mb['mb_id'], $mb['mb_nick'], $mb['mb_email'], $mb['mb_homepage']);
if($kind == "recv") {
@ -11,8 +11,10 @@ else {
}
?>
<link rel="stylesheet" href="<?php echo $member_skin_url ?>/style.css">
<div id="memo_view" class="new_win">
<h1><?=$g4['title']?></h1>
<h1><?php echo $g4['title'] ?></h1>
<ul class="new_win_ul">
<li><a href="./memo.php?kind=recv">받은쪽지</a></li>
<li><a href="./memo.php?kind=send">보낸쪽지</a></li>
@ -22,27 +24,27 @@ else {
<h2>쪽지 내용</h2>
<ul id="memo_view_ul">
<li class="memo_view_li">
<span class="memo_view_subj"><?=$kind_str?>사람</span>
<strong><?=$nick?></strong>
<span class="memo_view_subj"><?php echo $kind_str ?>사람</span>
<strong><?php echo $nick ?></strong>
</li>
<li class="memo_view_li">
<span class="memo_view_subj"><?=$kind_date?>시간</span>
<strong><?=$memo['me_send_datetime']?></strong>
<span class="memo_view_subj"><?php echo $kind_date ?>시간</span>
<strong><?php echo $memo['me_send_datetime'] ?></strong>
</li>
</ul>
<p>
<?=conv_content($memo['me_memo'], 0)?>
<?php echo conv_content($memo['me_memo'], 0) ?>
</p>
</section>
<div class="btn_win">
<? if($prev_link) { ?>
<a href="<?=$prev_link?>">이전쪽지</a>
<? } ?>
<? if($next_link) { ?>
<a href="<?=$next_link?>">다음쪽지</a>
<? } ?>
<? if ($kind == 'recv') { ?><a href="./memo_form.php?me_recv_mb_id=<?=$mb['mb_id']?>&amp;me_id=<?=$memo['me_id']?>" class="btn01">답장</a><? } ?>
<a href="./memo.php?kind=<?=$kind?>">목록보기</a>
<?php if($prev_link) { ?>
<a href="<?php echo $prev_link ?>">이전쪽지</a>
<?php } ?>
<?php if($next_link) { ?>
<a href="<?php echo $next_link ?>">다음쪽지</a>
<?php } ?>
<?php if ($kind == 'recv') { ?><a href="./memo_form.php?me_recv_mb_id=<?php echo $mb['mb_id'] ?>&amp;me_id=<?php echo $memo['me_id'] ?>" class="btn01">답장</a><?php } ?>
<a href="./memo.php?kind=<?php echo $kind ?>">목록보기</a>
<a href="javascript:;" onclick="window.close();">창닫기</a>
</div>
</div>

View File

@ -1,4 +1,4 @@
<?
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
$delete_str = "";
if ($w == 'x') $delete_str = "";
@ -7,29 +7,31 @@ else if ($w == 'd' || $w == 'x') $g4['title'] = $delete_str."글 삭제";
else $g4['title'] = $g4['title'];
?>
<link rel="stylesheet" href="<?php echo $member_skin_url ?>/style.css">
<div id="pw_confirm">
<h1><?=$g4['title']?></h1>
<h1><?php echo $g4['title'] ?></h1>
<p>
<? if ($w == 'u') {?>
<?php if ($w == 'u') { ?>
<strong>작성자만 글을 수정할 수 있습니다.</strong>
작성자 본인이라면, 글 작성시 입력한 패스워드를 입력하여 글을 수정할 수 있습니다.
<? } else if ($w == 'd' || $w == 'x') { ?>
<?php } else if ($w == 'd' || $w == 'x') { ?>
<strong>작성자만 글을 삭제할 수 있습니다.</strong>
작성자 본인이라면, 글 작성시 입력한 패스워드를 입력하여 글을 삭제할 수 있습니다.
<? } else { ?>
<?php } else { ?>
<strong>비밀글 기능으로 보호된 글입니다.</strong>
작성자와 관리자만 열람하실 수 있습니다. 본인이라면 패스워드를 입력하세요.
<? } ?>
<?php } ?>
</p>
<form name="fboardpassword" action="<? echo $action; ?>" method="post">
<input type="hidden" name="w" value="<?=$w?>">
<input type="hidden" name="bo_table" value="<?=$bo_table?>">
<input type="hidden" name="wr_id" value="<?=$wr_id?>">
<input type="hidden" name="comment_id" value="<?=$comment_id?>">
<input type="hidden" name="sfl" value="<?=$sfl?>">
<input type="hidden" name="stx" value="<?=$stx?>">
<input type="hidden" name="page" value="<?=$page?>">
<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 ?>">
<fieldset>
<label for="pw_wr_password">패스워드<strong class="sound_only">필수</strong></label>
@ -39,7 +41,7 @@ else $g4['title'] = $g4['title'];
</form>
<div class="btn_confirm">
<a href="<?=$return_url?>">돌아가기</a>
<a href="<?php echo $return_url ?>">돌아가기</a>
</div>
</div>

View File

@ -1,11 +1,13 @@
<?
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
?>
<link rel="stylesheet" href="<?php echo $member_skin_url ?>/style.css">
<div id="find_info" class="new_win">
<h1>회원정보 찾기</h1>
<form name="fpasswordlost" action="<?=$action_url?>" onsubmit="return fpasswordlost_submit(this);" method="post" autocomplete="off">
<form name="fpasswordlost" action="<?php echo $action_url ?>" onsubmit="return fpasswordlost_submit(this);" method="post" autocomplete="off">
<fieldset id="find_info_fs">
<p>
회원가입 시 등록하신 이메일 주소를 입력해 주세요.<br>
@ -14,7 +16,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<label for="mb_email">E-mail 주소<strong class="sound_only">필수</strong></label>
<input type="text" name="mb_email" id="mb_email" required class="required frm_input email" size="30">
</fieldset>
<?=captcha_html(); ?>
<?php echo captcha_html(); ?>
<div class="btn_win">
<input type="submit" value="확인" class="btn_submit">
<a href="javascript:window.close();" class="btn_cancel">창닫기</a>
@ -25,7 +27,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<script>
function fpasswordlost_submit(f)
{
<? echo chk_captcha_js(); ?>
<?php echo chk_captcha_js(); ?>
return true;
}

View File

@ -1,40 +1,42 @@
<?
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
?>
<link rel="stylesheet" href="<?php echo $member_skin_url ?>/style.css">
<div id="profile" class="new_win">
<h1><?=$mb_nick?>님의 프로필</h1>
<h1><?php echo $mb_nick ?>님의 프로필</h1>
<table class="frm_tbl">
<tbody>
<tr>
<th scope="row">회원권한</th>
<td><?=$mb['mb_level']?></td>
<td><?php echo $mb['mb_level'] ?></td>
</tr>
<tr>
<th scope="row">포인트</th>
<td><?=number_format($mb['mb_point'])?></td>
<td><?php echo number_format($mb['mb_point']) ?></td>
</tr>
<? if ($mb_homepage) { ?>
<?php if ($mb_homepage) { ?>
<tr>
<th scope="row">홈페이지</th>
<td><a href="<?=$mb_homepage?>" target="_blank"><?=$mb_homepage?></a></td>
<td><a href="<?php echo $mb_homepage ?>" target="_blank"><?php echo $mb_homepage ?></a></td>
</tr>
<? } ?>
<?php } ?>
<tr>
<th scope="row">회원가입일</th>
<td><?=($member['mb_level'] >= $mb['mb_level']) ? substr($mb['mb_datetime'],0,10) ." (".number_format($mb_reg_after)." 일)" : "알 수 없음"; ?></td>
<td><?php echo ($member['mb_level'] >= $mb['mb_level']) ? substr($mb['mb_datetime'],0,10) ." (".number_format($mb_reg_after)." 일)" : "알 수 없음"; ?></td>
</tr>
<tr>
<th scope="row">최종접속일</th>
<td><?=($member['mb_level'] >= $mb['mb_level']) ? $mb['mb_today_login'] : "알 수 없음";?></td>
<td><?php echo ($member['mb_level'] >= $mb['mb_level']) ? $mb['mb_today_login'] : "알 수 없음"; ?></td>
</tr>
</tbody>
</table>
<section>
<h2>인사말</h2>
<p><?=$mb_profile?></p>
<p><?php echo $mb_profile ?></p>
</section>
<div class="btn_win">

View File

@ -1,14 +1,15 @@
<?
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
?>
<form name="fregister" id="fregister" action="<?=$register_action_url?>" onsubmit="return fregister_submit(this);" method="POST" autocomplete="off">
<link rel="stylesheet" href="<?php echo $member_skin_url ?>/style.css">
<form name="fregister" id="fregister" action="<?php echo $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>
<textarea readonly><?php echo get_text($config['cf_stipulation']) ?></textarea>
<fieldset class="fregister_agree">
<label for="agree11">회원가입약관의 내용에 동의합니다.</label>
<input type="checkbox" name="agree" value="1" id="agree11">
@ -17,7 +18,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<section id="fregister_private">
<h2>개인정보수집이용안내</h2>
<textarea readonly><?=get_text($config['cf_privacy'])?></textarea>
<textarea readonly><?php echo get_text($config['cf_privacy']) ?></textarea>
<fieldset class="fregister_agree">
<label for="agree21">개인정보수집이용안내의 내용에 동의합니다.</label>
<input type="checkbox" name="agree2" value="1" id="agree21">

View File

@ -1,19 +1,20 @@
<?
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
?>
<script src="<?=G4_JS_URL?>/jquery.register_form.js"></script>
<link rel="stylesheet" href="<?php echo $member_skin_url ?>/style.css">
<script src="<?php echo G4_JS_URL ?>/jquery.register_form.js"></script>
<form name="fregisterform" id="fregisterform" action="<?=$register_action_url?>" onsubmit="return fregisterform_submit(this);" method="post" enctype="multipart/form-data" autocomplete="off">
<input type="hidden" name="w" value="<?=$w?>">
<input type="hidden" name="url" value="<?=$urlencode?>">
<input type="hidden" name="agree" value="<?=$agree?>">
<input type="hidden" name="agree2" value="<?=$agree2?>">
<? if (isset($member['mb_sex'])) { ?><input type="hidden" name="mb_sex" value="<?=$member['mb_sex']?>"><? } ?>
<? if (isset($member['mb_nick_date']) && $member['mb_nick_date'] > date("Y-m-d", G4_SERVER_TIME - ($config['cf_nick_modify'] * 86400))) { // 별명수정일이 지나지 않았다면 ?>
<input type="hidden" name="mb_nick_default" value="<?=$member['mb_nick']?>">
<input type="hidden" name="mb_nick" value="<?=$member['mb_nick']?>">
<? } ?>
<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 ?>">
<?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", G4_SERVER_TIME - ($config['cf_nick_modify'] * 86400))) { // 별명수정일이 지나지 않았다면 ?>
<input type="hidden" name="mb_nick_default" value="<?php echo $member['mb_nick'] ?>">
<input type="hidden" name="mb_nick" value="<?php echo $member['mb_nick'] ?>">
<?php } ?>
<table class="frm_tbl">
<caption>사이트 이용정보 입력</caption>
@ -21,17 +22,17 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<th scope="row"><label for="reg_mb_id">아이디<strong class="sound_only">필수</strong></label></th>
<td>
<span class="frm_info">영문자, 숫자, _ 만 입력 가능. 최소 3자이상 입력하세요.</span>
<input type="text" name="mb_id" value="<?=$member['mb_id']?>" id="reg_mb_id" <?=$required?> <?=$readonly?> class="frm_input minlength_3 <?=$required?> <?=$readonly?>"maxlength="20">
<input type="text" name="mb_id" value="<?php echo $member['mb_id'] ?>" id="reg_mb_id" <?php echo $required ?> <?php echo $readonly ?> class="frm_input minlength_3 <?php echo $required ?> <?php echo $readonly ?>"maxlength="20">
<span id="msg_mb_id"></span>
</td>
</tr>
<tr>
<th scope="row"><label for="reg_mb_password">패스워드<strong class="sound_only">필수</strong></label></th>
<td><input type="password" name="mb_password" id="reg_mb_password" <?=$required?> class="frm_input minlength_3 <?=$required?>" maxlength="20"></td>
<td><input type="password" name="mb_password" id="reg_mb_password" <?php echo $required ?> class="frm_input minlength_3 <?php echo $required ?>" maxlength="20"></td>
</tr>
<tr>
<th scope="row"><label for="reg_mb_password_re">패스워드 확인<strong class="sound_only">필수</strong></label></th>
<td><input type="password" name="mb_password_re" id="reg_mb_password_re" <?=$required?> class="frm_input minlength_3 <?=$required?>" maxlength="20"></td>
<td><input type="password" name="mb_password_re" id="reg_mb_password_re" <?php echo $required ?> class="frm_input minlength_3 <?php echo $required ?>" maxlength="20"></td>
</tr>
</table>
@ -40,182 +41,218 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<tr>
<th scope="row"><label for="reg_mb_name">이름<strong class="sound_only">필수</strong></label></th>
<td>
<? if ($w=='') { echo "<span class=\"frm_info\">공백없이 한글만 입력하세요.</span>"; } ?>
<input type="text" name="mb_name" value="<?=$member['mb_name']?>" id="reg_mb_name" <?=$required?> <?=$readonly?> class="frm_input hangul nospace <?=$required?> <?=$readonly?>" size="10">
<?php/* if ($w=='') { echo "<span class=\"frm_info\">공백없이 한글만 입력하세요.</span>"; } */ ?>
<?php echo $config['cf_kcpcert_use'] ? '<span class="frm_info">이름과 휴대폰번호는 아래의 휴대폰 본인확인 기능을 사용하여 입력해 주십시오.</span>' : ''; ?>
<?php echo ($config['cf_kcpcert_use']==-1) ? '<span class="frm_info">테스트의 경우 이동통신사는 반드시 KT를 선택해 주십시오. 나머지 항목은 임의로 입력하시면 됩니다.</span>' : ''; ?>
<input type="text" id="reg_mb_name" name="mb_name" value="<?php echo $member['mb_name'] ?>" <?php echo $required ?> <?php if ($config['cf_kcpcert_use']||$w=='u') echo 'readonly'; ?> class="frm_input nospace <?php echo $required ?> <?php echo $readonly ?>" size="10">
</td>
</tr>
<? if ($req_nick) { ?>
<?php if ($req_nick) { ?>
<tr>
<th scope="row"><label for="reg_mb_nick">별명<strong class="sound_only">필수</strong></label></th>
<td>
<span class="frm_info">
공백없이 한글,영문,숫자만 입력 가능 (한글2자, 영문4자 이상)<br>
별명을 바꾸시면 앞으로 <?=(int)$config['cf_nick_modify']?>일 이내에는 변경 할 수 없습니다.
별명을 바꾸시면 앞으로 <?php echo (int)$config['cf_nick_modify'] ?>일 이내에는 변경 할 수 없습니다.
</span>
<input type="hidden" name="mb_nick_default" value="<?=isset($member['mb_nick'])?$member['mb_nick']:'';?>">
<input type="text" name="mb_nick" value="<?=isset($member['mb_nick'])?$member['mb_nick']:'';?>" id="reg_mb_nick" required class="frm_input required nospace" size="10" maxlength="20">
<input type="hidden" name="mb_nick_default" value="<?php echo isset($member['mb_nick'])?$member['mb_nick']:''; ?>">
<input type="text" name="mb_nick" value="<?php echo isset($member['mb_nick'])?$member['mb_nick']:''; ?>" id="reg_mb_nick" required class="frm_input required nospace" size="10" maxlength="20">
<span id="msg_mb_nick"></span>
</td>
</tr>
<? } ?>
<?php } ?>
<tr>
<th scope="row"><label for="reg_mb_email">E-mail<strong class="sound_only">필수</strong></label></th>
<td>
<? if ($config['cf_use_email_certify']) { ?>
<?php if ($config['cf_use_email_certify']) { ?>
<span class="frm_info">
<? if ($w=='') { echo "E-mail 로 발송된 내용을 확인한 후 인증하셔야 회원가입이 완료됩니다."; } ?>
<? if ($w=='u') { echo "E-mail 주소를 변경하시면 다시 인증하셔야 합니다."; } ?>
<?php if ($w=='') { echo "E-mail 로 발송된 내용을 확인한 후 인증하셔야 회원가입이 완료됩니다."; } ?>
<?php if ($w=='u') { echo "E-mail 주소를 변경하시면 다시 인증하셔야 합니다."; } ?>
</span>
<? } ?>
<input type="hidden" name="old_email" value="<?=$member['mb_email']?>">
<input type="text" name="mb_email" value="<?=isset($member['mb_email'])?$member['mb_email']:'';?>" id="reg_mb_email" required class="frm_input email required" size="50" maxlength="100">
<?php } ?>
<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="frm_input email required" size="50" maxlength="100">
</td>
</tr>
<? if ($config['cf_use_homepage']) { ?>
<?php if ($config['cf_use_homepage']) { ?>
<tr>
<th scope="row"><label for="reg_mb_homepage">홈페이지<? if ($config['cf_req_homepage']){?><strong class="sound_only">필수</strong><?}?></label></th>
<td><input type="text" name="mb_homepage" value="<?=$member['mb_homepage']?>" id="reg_mb_homepage" <?=$config['cf_req_homepage']?"required":"";?> class="frm_input <?=$config['cf_req_homepage']?"required":"";?>" size="50" maxlength="255"></td>
<th scope="row"><label for="reg_mb_homepage">홈페이지<?php if ($config['cf_req_homepage']){ ?><strong class="sound_only">필수</strong><?php } ?></label></th>
<td><input type="text" name="mb_homepage" value="<?php echo $member['mb_homepage'] ?>" id="reg_mb_homepage" <?php echo $config['cf_req_homepage']?"required":""; ?> class="frm_input <?php echo $config['cf_req_homepage']?"required":""; ?>" size="50" maxlength="255"></td>
</tr>
<? } ?>
<?php } ?>
<? if ($config['cf_use_tel']) { ?>
<?php if ($config['cf_use_tel']) { ?>
<tr>
<th scope="row"><label for="reg_mb_tel">전화번호<? if ($config['cf_req_tel']) {?><strong class="sound_only">필수</strong><?}?></label></th>
<td><input type="text" name="mb_tel" value="<?=$member['mb_tel']?>" id="reg_mb_tel" <?=$config['cf_req_tel']?"required":"";?> class="frm_input <?=$config['cf_req_tel']?"required":"";?>" maxlength="20"></td>
<th scope="row"><label for="reg_mb_tel">전화번호<?php if ($config['cf_req_tel']) { ?><strong class="sound_only">필수</strong><?php } ?></label></th>
<td><input type="text" name="mb_tel" value="<?php echo $member['mb_tel'] ?>" id="reg_mb_tel" <?php echo $config['cf_req_tel']?"required":""; ?> class="frm_input <?php echo $config['cf_req_tel']?"required":""; ?>" maxlength="20"></td>
</tr>
<? } ?>
<?php } ?>
<? if ($config['cf_use_hp']) { ?>
<?php if ($config['cf_use_hp'] || $config['cf_kcpcert_use']) { ?>
<tr>
<th scope="row"><label for="reg_mb_hp">핸드폰번호<? if ($config['cf_req_hp']) {?><strong class="sound_only">필수</strong><?}?></label></th>
<td><input type="text" name="mb_hp" value="<?=$member[mb_hp]?>" id="reg_mb_hp" <?=$config['cf_req_hp']?"required":"";?> class="frm_input <?=$config['cf_req_hp']?"required":"";?>" maxlength="20"></td>
<th scope="row"><label for="reg_mb_hp">휴대폰번호<?php if ($config['cf_req_hp']) { ?><strong class="sound_only">필수</strong><?php } ?></label></th>
<td>
<?php if ($config['cf_kcpcert_use']) { ?>
<span class="frm_info">휴대폰번호는 휴대폰 본인확인 기능을 이용하여 입력하세요.</span>
<?php } ?>
<input type="text" name="mb_hp" value="<?php echo $member[mb_hp] ?>" id="reg_mb_hp" <?php echo ($config['cf_req_hp']||$config['cf_kcpcert_use'])?"required":""; ?> class="frm_input <?php echo ($config['cf_req_hp']||$config['cf_kcpcert_use'])?"required":""; ?>" <?php echo $config['cf_kcpcert_use']?"readonly":""; ?> maxlength="20">
<?php if ($config['cf_kcpcert_use']) { ?>
<input type="hidden" name="old_mb_hp" value="<?php echo $member['mb_hp'] ?>">
<button type="button" id="win_kcpcert" class="btn_frmline">휴대폰 본인확인</button>
<noscript>휴대폰 본인확인을 위해서는 자바스크립트 사용이 가능해야합니다.</noscript>
<?php } ?>
</td>
</tr>
<? } ?>
<?php } ?>
<? if ($config['cf_use_addr']) {?>
<?php if ($config['cf_use_addr']) { ?>
<tr>
<th scope="row">
주소
<? if ($config['cf_req_addr']) {?><strong class="sound_only">필수</strong><? } ?>
<?php if ($config['cf_req_addr']) { ?><strong class="sound_only">필수</strong><?php } ?>
</th>
<td>
<input type="text" name="mb_zip1" value="<?=$member['mb_zip1']?>" id="reg_mb_zip1" <?=$config['cf_req_addr']?"required":"";?> title="우편번호 앞자리<?=$config['cf_req_addr']?"(필수)":"";?>" class="frm_input <?=$config['cf_req_addr']?"required":"";?>" size="2" maxlength="3">
<label for="reg_mb_zip1" class="sound_only">우편번호 앞자리<?php echo $config['cf_req_addr']?'<strong class="sound_only"> 필수</strong>':''; ?></label>
<input type="text" name="mb_zip1" value="<?php echo $member['mb_zip1'] ?>" id="reg_mb_zip1" <?php echo $config['cf_req_addr']?"required":""; ?> class="frm_input <?php echo $config['cf_req_addr']?"required":""; ?>" size="2" maxlength="3">
-
<input type="text" name="mb_zip2" value="<?=$member['mb_zip2']?>" id="reg_mb_zip2" <?=$config['cf_req_addr']?"required":"";?> title="우편번호 뒷자리<?=$config['cf_req_addr']?"(필수)":"";?>" class="frm_input <?=$config['cf_req_addr']?"required":"";?>" size="2" maxlength="3">
<label for="reg_mb_zip2" class="sound_only">우편번호 뒷자리<?php echo $config['cf_req_addr']?'<strong class="sound_only"> 필수</strong>':''; ?></label>
<input type="text" name="mb_zip2" value="<?php echo $member['mb_zip2'] ?>" id="reg_mb_zip2" <?php echo $config['cf_req_addr']?"required":""; ?> class="frm_input <?php echo $config['cf_req_addr']?"required":""; ?>" size="2" maxlength="3">
<span id="reg_win_zip" style="display:block"></span>
<input type="text" name="mb_addr1" value="<?=$member['mb_addr1']?>" id="reg_mb_addr1" <?=$config['cf_req_addr']?"required":"";?> title="행정구역주소<?=$config['cf_req_addr']?"(필수)":"";?>" class="frm_input frm_address <?=$config['cf_req_addr']?"required":"";?>" size="50">
<input type="text" name="mb_addr2" value="<?=$member['mb_addr2']?>" id="reg_mb_addr2" <?=$config['cf_req_addr']?"required":"";?> title="상세주소<?=$config['cf_req_addr']?"(필수)":"";?>" class="frm_input frm_address <?=$config['cf_req_addr']?"required":"";?>" size="50">
<label for="reg_mb_addr1" class="sound_only">주소<?php echo $config['cf_req_addr']?'<strong class="sound_only"> 필수</strong>':''; ?></label>
<input type="text" name="mb_addr1" value="<?php echo $member['mb_addr1'] ?>" id="reg_mb_addr1" <?php echo $config['cf_req_addr']?"required":""; ?> class="frm_input frm_address <?php echo $config['cf_req_addr']?"required":""; ?>" size="50">
<label for="reg_mb_addr2" class="sound_only">상세주소<?php echo $config['cf_req_addr']?'<strong class="sound_only"> 필수</strong>':''; ?></label>
<input type="text" name="mb_addr2" value="<?php echo $member['mb_addr2'] ?>" id="reg_mb_addr2" <?php echo $config['cf_req_addr']?"required":""; ?> class="frm_input frm_address <?php echo $config['cf_req_addr']?"required":""; ?>" size="50">
<script>
// 우편번호 자바스크립트 비활성화 대응을 위한 코드
$('<a href="<?=G4_BBS_URL?>/zip.php?frm_name=fregisterform&amp;frm_zip1=mb_zip1&amp;frm_zip2=mb_zip2&amp;frm_addr1=mb_addr1&amp;frm_addr2=mb_addr2" id="reg_zip_find" class="btn_frmline win_zip_find" target="_blank">우편번호 검색</a><br>').appendTo('#reg_win_zip');
$('<a href="<?php echo G4_BBS_URL ?>/zip.php?frm_name=fregisterform&amp;frm_zip1=mb_zip1&amp;frm_zip2=mb_zip2&amp;frm_addr1=mb_addr1&amp;frm_addr2=mb_addr2" id="reg_zip_find" class="btn_frmline win_zip_find" target="_blank">우편번호 검색</a><br>').appendTo('#reg_win_zip');
$("#reg_win_zip").css("display", "inline");
$("#reg_mb_zip1, #reg_mb_zip2, #reg_mb_addr1").attr('readonly', 'readonly');
</script>
</td>
</tr>
<? } ?>
<?php } ?>
</table>
<table class="frm_tbl">
<caption>기타 개인설정</caption>
<? if ($config['cf_use_signature']) { ?>
<?php if ($config['cf_use_signature']) { ?>
<tr>
<th scope="row"><label for="reg_mb_signature">서명<? if ($config['cf_req_signature']){?><strong class="sound_only">필수</strong><?}?></label></th>
<td><textarea name="mb_signature" id="reg_mb_signature" <?=$config['cf_req_signature']?"required":"";?> class="<?=$config['cf_req_signature']?"required":"";?>"><?=$member['mb_signature']?></textarea></td>
<th scope="row"><label for="reg_mb_signature">서명<?php if ($config['cf_req_signature']){ ?><strong class="sound_only">필수</strong><?php } ?></label></th>
<td><textarea name="mb_signature" id="reg_mb_signature" <?php echo $config['cf_req_signature']?"required":""; ?> class="<?php echo $config['cf_req_signature']?"required":""; ?>"><?php echo $member['mb_signature'] ?></textarea></td>
</tr>
<? } ?>
<?php } ?>
<? if ($config['cf_use_profile']) { ?>
<?php if ($config['cf_use_profile']) { ?>
<tr>
<th scope="row"><label for="reg_mb_profile">자기소개</label></th>
<td><textarea name="mb_profile" id="reg_mb_profile" <?=$config['cf_req_profile']?"required":"";?> class="<?=$config['cf_req_profile']?"required":"";?>"><?=$member['mb_profile']?></textarea></td>
<td><textarea name="mb_profile" id="reg_mb_profile" <?php echo $config['cf_req_profile']?"required":""; ?> class="<?php echo $config['cf_req_profile']?"required":""; ?>"><?php echo $member['mb_profile'] ?></textarea></td>
</tr>
<? } ?>
<?php } ?>
<? if ($config['cf_use_member_icon'] && $member['mb_level'] >= $config['cf_icon_level']) { ?>
<?php if ($config['cf_use_member_icon'] && $member['mb_level'] >= $config['cf_icon_level']) { ?>
<tr>
<th scope="row"><label for="reg_mb_icon">회원아이콘</label></th>
<td>
<span class="frm_info">
이미지 크기는 가로 <?=$config['cf_member_icon_width']?>픽셀, 세로 <?=$config['cf_member_icon_height']?>픽셀 이하로 해주세요.<br>
gif만 가능하며 용량 <?=number_format($config['cf_member_icon_size'])?>바이트 이하만 등록됩니다.
이미지 크기는 가로 <?php echo $config['cf_member_icon_width'] ?>픽셀, 세로 <?php echo $config['cf_member_icon_height'] ?>픽셀 이하로 해주세요.<br>
gif만 가능하며 용량 <?php echo number_format($config['cf_member_icon_size']) ?>바이트 이하만 등록됩니다.
</span>
<input type="file" name="mb_icon" id="reg_mb_icon" class="frm_input">
<? if ($w == 'u' && file_exists($mb_icon)) { ?>
<?php if ($w == 'u' && file_exists($mb_icon)) { ?>
<input type="checkbox" name="del_mb_icon" value="1" id="del_mb_icon">
<label for="del_mb_icon">삭제</label>
<? } ?>
<?php } ?>
</td>
</tr>
<? } ?>
<?php } ?>
<tr>
<th scope="row"><label for="reg_mb_mailling">메일링서비스</label></th>
<td>
<input type="checkbox" name="mb_mailling" value="1" id="reg_mb_mailling" <?=($w=='' || $member['mb_mailling'])?'checked':'';?>>
<input type="checkbox" name="mb_mailling" value="1" id="reg_mb_mailling" <?php echo ($w=='' || $member['mb_mailling'])?'checked':''; ?>>
정보 메일을 받겠습니다.
</td>
</tr>
<? if ($config['cf_use_hp']) { ?>
<?php if ($config['cf_use_hp']) { ?>
<tr>
<th scope="row"><label for="reg_mb_sms">SMS 수신여부</label></th>
<td>
<input type="checkbox" name="mb_sms" value="1" id="reg_mb_sms" <?=($w=='' || $member['mb_sms'])?'checked':'';?>>
핸드폰 문자메세지를 받겠습니다.
<input type="checkbox" name="mb_sms" value="1" id="reg_mb_sms" <?php echo ($w=='' || $member['mb_sms'])?'checked':''; ?>>
휴대폰 문자메세지를 받겠습니다.
</td>
</tr>
<? } ?>
<?php } ?>
<? if (isset($member['mb_open_date']) && $member['mb_open_date'] <= date("Y-m-d", G4_SERVER_TIME - ($config['cf_open_modify'] * 86400)) || empty($member['mb_open_date'])) { // 정보공개 수정일이 지났다면 수정가능 ?>
<?php if (isset($member['mb_open_date']) && $member['mb_open_date'] <= date("Y-m-d", G4_SERVER_TIME - ($config['cf_open_modify'] * 86400)) || empty($member['mb_open_date'])) { // 정보공개 수정일이 지났다면 수정가능 ?>
<tr>
<th scope="row"><label for="reg_mb_open">정보공개</label></th>
<td>
<span class="frm_info">
정보공개를 바꾸시면 앞으로 <?=(int)$config['cf_open_modify']?>일 이내에는 변경이 안됩니다.
정보공개를 바꾸시면 앞으로 <?php echo (int)$config['cf_open_modify'] ?>일 이내에는 변경이 안됩니다.
</span>
<input type="hidden" name="mb_open_default" value="<?=$member['mb_open']?>">
<input type="checkbox" name="mb_open" value="1" <?=($w=='' || $member['mb_open'])?'checked':'';?> id="reg_mb_open">
<input type="hidden" name="mb_open_default" value="<?php echo $member['mb_open'] ?>">
<input type="checkbox" name="mb_open" value="1" <?php echo ($w=='' || $member['mb_open'])?'checked':''; ?> id="reg_mb_open">
다른분들이 나의 정보를 볼 수 있도록 합니다.
</td>
</tr>
<? } else { ?>
<?php } else { ?>
<tr>
<th scope="row">정보공개</th>
<td>
<span class="frm_info">
정보공개는 수정후 <?=(int)$config['cf_open_modify']?>일 이내, <?=date("Y년 m월 j일", isset($member['mb_open_date']) ? strtotime("{$member['mb_open_date']} 00:00:00")+$config['cf_open_modify']*86400:G4_SERVER_TIME+$config['cf_open_modify']*86400);?> 까지는 변경이 안됩니다.<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:G4_SERVER_TIME+$config['cf_open_modify']*86400); ?> 까지는 변경이 안됩니다.<br>
이렇게 하는 이유는 잦은 정보공개 수정으로 인하여 쪽지를 보낸 후 받지 않는 경우를 막기 위해서 입니다.
</span>
<input type="hidden" name="mb_open" value="<?=$member['mb_open']?>">
<input type="hidden" name="mb_open" value="<?php echo $member['mb_open'] ?>">
</td>
</tr>
<? } ?>
<?php } ?>
<? if ($w == "" && $config['cf_use_recommend']) { ?>
<?php if ($w == "" && $config['cf_use_recommend']) { ?>
<tr>
<th scope="row"><label for="reg_mb_recommend">추천인아이디</label></th>
<td><input type="text" name="mb_recommend" id="reg_mb_recommend" class="frm_input"></td>
</tr>
<? } ?>
<?php } ?>
<tr>
<th scope="row">자동등록방지</th>
<td><?=$captcha_html?></td>
<td><?php echo $captcha_html ?></td>
</tr>
</table>
<div class="btn_confirm">
<p>
작성하신 내용를 발송하시려면 <strong><?=$w==''?'회원가입':'정보수정';?></strong> 버튼을, 작성을 취소하고 창을 닫으시려면 <strong>취소</strong> 링크를 누르세요.
작성하신 내용를 발송하시려면 <strong><?php echo $w==''?'회원가입':'정보수정'; ?></strong> 버튼을, 작성을 취소하고 창을 닫으시려면 <strong>취소</strong> 링크를 누르세요.
</p>
<input type="submit" value="<?=$w==''?'회원가입':'정보수정';?>" class="btn_submit" accesskey="s">
<a href="<?=$g4['path']?>/" class="btn_cancel">취소</a>
<input type="submit" value="<?php echo $w==''?'회원가입':'정보수정'; ?>" class="btn_submit" accesskey="s">
<a href="<?php echo $g4['path'] ?>/" class="btn_cancel">취소</a>
</div>
</form>
<?php
if ($config['cf_kcpcert_use']) {
// 휴대폰인증 form
include_once(G4_KCP_PATH.'/kcpcert_form.php');
?>
<script>
$(function() {
$("#reg_zip_find").css("display", "inline-block");
$("#reg_mb_zip1, #reg_mb_zip2, #reg_mb_addr1").attr("readonly", true);
// 휴대폰인증
$('#win_kcpcert').click(function() {
auth_type_check($("#reg_mb_name").val());
return false;
});
});
</script>
<?php } ?>
<script>
// submit 최종 폼체크
function fregisterform_submit(f)
@ -260,12 +297,14 @@ function fregisterform_submit(f)
return false;
}
/*
var pattern = /([^가-힣\x20])/i;
if (pattern.test(f.mb_name.value)) {
alert('이름은 한글로 입력하십시오.');
f.mb_name.select();
return false;
}
*/
}
// 별명 검사
@ -306,7 +345,32 @@ function fregisterform_submit(f)
}
}
<? echo chk_captcha_js(); ?>
<?php if ($config['cf_kcpcert_use']) { ?>
var error = "";
$.ajax({
url: "<?php echo G4_KCP_URL ?>/kcpcert.ajax.php",
type: "POST",
data: {
"w": f.w.value,
"mb_name": f.mb_name.value,
"mb_hp": f.mb_hp.value,
"old_mb_hp":f.old_mb_hp.value
},
dataType: "json",
async: false,
cache: false,
success: function(data, textStatus) {
error = data.error;
}
});
if (error) {
alert(error);
return false;
}
<?php } ?>
<?php echo chk_captcha_js(); ?>
return true;
}

View File

@ -1,5 +1,7 @@
<?
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
// 자신만의 코드를 넣어주세요.
?>
if ($config['cf_kcpcert_use']) {
include_once(G4_KCP_PATH.'/kcpcert.head.skin.php');
}
?>

View File

@ -1,5 +1,7 @@
<?
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
// 자신만의 코드를 넣어주세요.
if ($config['cf_kcpcert_use']) {
include_once(G4_KCP_PATH.'/kcpcert.tail.skin.php');
}
?>

View File

@ -1,30 +1,32 @@
<?
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
?>
<link rel="stylesheet" href="<?php echo $member_skin_url ?>/style.css">
<div id="reg_result">
<div id="reg_result_logo"><img src="<?=$member_skin_url?>/img/reg_result_logo.jpg" alt=""></div>
<div id="reg_result_logo"><img src="<?php echo $member_skin_url ?>/img/reg_result_logo.jpg" alt=""></div>
<p>
<strong><?=$mb['mb_name']?></strong>님의 회원가입을 진심으로 축하합니다.<br>
<strong><?php echo $mb['mb_name'] ?></strong>님의 회원가입을 진심으로 축하합니다.<br>
</p>
<? if ($config['cf_use_email_certify']) { ?>
<?php if ($config['cf_use_email_certify']) { ?>
<p>
회원 가입 시 입력하신 이메일 주소로 인증메일이 발송되었습니다.<br>
발송된 인증메일을 확인하신 후 인증처리를 하시면 사이트를 원활하게 이용하실 수 있습니다.
</p>
<div id="reg_result_email">
<span>아이디</span>
<strong><?=$mb['mb_id']?></strong><br>
<strong><?php echo $mb['mb_id'] ?></strong><br>
<span>이메일 주소</span>
<strong><?=$mb['mb_email']?></strong>
<strong><?php echo $mb['mb_email'] ?></strong>
</div>
<p>
이메일 주소를 잘못 입력하셨다면, 사이트 관리자에게 문의해주시기 바랍니다.
</p>
<? } ?>
<?php } ?>
<p>
회원님의 패스워드는 아무도 알 수 없는 암호화 코드로 저장되므로 안심하셔도 좋습니다.<br>
@ -37,7 +39,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
</p>
<div class="btn_confirm">
<a href="<?=G4_URL?>/" class="btn02">메인으로</a>
<a href="<?php echo G4_URL ?>/" class="btn02">메인으로</a>
</div>
</div>

View File

@ -1,9 +1,11 @@
<?
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
?>
<link rel="stylesheet" href="<?php echo $member_skin_url ?>/style.css">
<div id="scrap" class="new_win">
<h1><?=$g4['title']?></h1>
<h1><?php echo $g4['title'] ?></h1>
<table class="basic_tbl">
<caption>스크랩 목록</caption>
@ -17,21 +19,21 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
</tr>
</thead>
<tbody>
<? for ($i=0; $i<count($list); $i++) { ?>
<?php 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>
<td class="td_num"><?php echo $list[$i]['num'] ?></td>
<td class="td_board"><a href="<?php echo $list[$i]['opener_href'] ?>" target="_blank" onclick="opener.document.location.href='<?php echo $list[$i]['opener_href'] ?>'; return false;"><?php echo $list[$i]['bo_subject'] ?></a></td>
<td><a href="<?php echo $list[$i]['opener_href_wr_id'] ?>" target="_blank" onclick="opener.document.location.href='<?php echo $list[$i]['opener_href_wr_id'] ?>'; return false;"><?php echo $list[$i]['subject'] ?></a></td>
<td class="td_datetime"><?php echo $list[$i]['ms_datetime'] ?></td>
<td class="td_mng"><a href="<?php echo $list[$i]['del_href']; ?>" onclick="del(this.href); return false;">삭제</a></td>
</tr>
<? } ?>
<?php } ?>
<? if ($i == 0) echo "<tr><td colspan=\"5\" class=\"empty_table\">자료가 없습니다.</td></tr>"; ?>
<?php if ($i == 0) echo "<tr><td colspan=\"5\" class=\"empty_table\">자료가 없습니다.</td></tr>"; ?>
</tbody>
</table>
<?=get_paging($config['cf_write_pages'], $page, $total_page, "?$qstr&amp;page=");?>
<?php echo get_paging($config['cf_write_pages'], $page, $total_page, "?$qstr&amp;page="); ?>
<div class="btn_win"><a href="javascript:;" onclick="window.close();">창닫기</a></div>
</div>

View File

@ -1,20 +1,22 @@
<?
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
?>
<link rel="stylesheet" href="<?php echo $member_skin_url ?>/style.css">
<div id="scrap_do" class="new_win">
<h1>스크랩하기</h1>
<form name="f_scrap_popin" action="./scrap_popin_update.php" method="post">
<input type="hidden" name="bo_table" value="<?=$bo_table?>">
<input type="hidden" name="wr_id" value="<?=$wr_id?>">
<input type="hidden" name="bo_table" value="<?php echo $bo_table ?>">
<input type="hidden" name="wr_id" value="<?php echo $wr_id ?>">
<table class="frm_tbl">
<caption>제목 확인 및 댓글 쓰기</caption>
<tbody>
<tr>
<th scope="row">제목</th>
<td><?=get_text(cut_str($write['wr_subject'], 255))?></td>
<td><?php echo get_text(cut_str($write['wr_subject'], 255)) ?></td>
</tr>
<tr>
<th scope="row"><label for="wr_content">댓글</label></th>

View File

@ -32,7 +32,7 @@
#find_info_result_wrap {margin:0 auto 20px;padding:10px 20px 15px;width:87%;border-right:1px solid #eee;border-bottom:1px solid #eee;background:#fff}
/* 로그인 */
#mb_login {margin:100px auto;width:500px}
#mb_login {margin:0 auto;padding:100px 0;width:500px}
#mb_login h1 {margin:0 0 20px;font-size:1.3em}
#mb_login h2 {margin:0}
#mb_login fieldset {position:relative;margin:0;padding:20px 20px 20px 95px;border:1px solid #cfded8;border-bottom:0;background:#fff}
@ -61,7 +61,7 @@
#scrap_do textarea {height:100px}
/* 회원 패스워드 확인 */
#mb_confirm {margin:100px auto;width:500px}
#mb_confirm {margin:0 auto;padding:100px 0;width:500px}
#mb_confirm h1 {margin:0 0 20px;font-size:1.3em}
#mb_confirm p {padding:20px;border:1px solid #cfded8;border-bottom:0;background:#fff}
#mb_confirm p strong {display:block}
@ -70,7 +70,7 @@
#mb_confirm_id {display:inline-block;margin-right:20px;font-weight:bold}
/* 비밀글 패스워드 확인 */
#pw_confirm {margin:100px auto;width:500px}
#pw_confirm {margin:0 auto;padding:100px 0;width:500px}
#pw_confirm h1 {margin:0 0 20px;font-size:1.3em}
#pw_confirm p {padding:20px;border:1px solid #cfded8;border-bottom:0;background:#fff}
#pw_confirm p strong {display:block}

View File

@ -1,20 +1,22 @@
<?
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
?>
<link rel="stylesheet" href="<?php echo $member_skin_url ?>/style.css">
<div id="post_code" class="new_win">
<h1><?=$g4['title']?></h1>
<h1><?php echo $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_addr1" value="<?=$frm_addr1?>">
<input type="hidden" name="frm_addr2" value="<?=$frm_addr2?>">
<input type="hidden" name="frm_name" value="<?php echo $frm_name ?>">
<input type="hidden" name="frm_zip1" value="<?php echo $frm_zip1 ?>">
<input type="hidden" name="frm_zip2" value="<?php echo $frm_zip2 ?>">
<input type="hidden" name="frm_addr1" value="<?php echo $frm_addr1 ?>">
<input type="hidden" name="frm_addr2" value="<?php echo $frm_addr2 ?>">
<fieldset>
<label for="addr1">동/읍/면/리 검색</label>
<input type="text" name="addr1" value="<?=$addr1?>" id="addr1" required class="required frm_input" minlength="2">
<input type="text" name="addr1" value="<?php echo $addr1 ?>" id="addr1" required class="required frm_input" minlength="2">
<input type="submit" value="검색" class="btn_submit">
</fieldset>
@ -25,14 +27,14 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
</script>
<? if ($search_count > 0) { ?>
<?php if ($search_count > 0) { ?>
<dl>
<dt>총 <?=$search_count?>건 가나다순 정렬</dt>
<dt>총 <?php echo $search_count ?>건 가나다순 정렬</dt>
<dd>
<ul>
<? for ($i=0; $i<count($list); $i++) { ?>
<li><a href='javascript:;' onclick="find_zip('<?=$list[$i][zip1]?>', '<?=$list[$i][zip2]?>', '<?=$list[$i][addr]?>');"><span class="post_code"><?=$list[$i][zip1]?>-<?=$list[$i][zip2]?></span> <?=$list[$i][addr]?> <?=$list[$i][bunji]?></a></li>
<? } ?>
<?php for ($i=0; $i<count($list); $i++) { ?>
<li><a href='javascript:;' onclick="find_zip('<?php echo $list[$i][zip1] ?>', '<?php echo $list[$i][zip2] ?>', '<?php echo $list[$i][addr] ?>');"><span class="post_code"><?php echo $list[$i][zip1] ?>-<?php echo $list[$i][zip2] ?></span> <?php echo $list[$i][addr] ?> <?php echo $list[$i][bunji] ?></a></li>
<?php } ?>
</ul>
</dd>
</dl>
@ -46,17 +48,17 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<script>
function find_zip(zip1, zip2, addr1)
{
var of = opener.document.<?=$frm_name?>;
var of = opener.document.<?php echo $frm_name ?>;
of.<?=$frm_zip1?>.value = zip1;
of.<?=$frm_zip2?>.value = zip2;
of.<?php echo $frm_zip1 ?>.value = zip1;
of.<?php echo $frm_zip2 ?>.value = zip2;
of.<?=$frm_addr1?>.value = addr1;
of.<?php echo $frm_addr1 ?>.value = addr1;
of.<?=$frm_addr2?>.focus();
of.<?php echo $frm_addr2 ?>.focus();
window.close();
return false;
}
</script>
<? } ?>
<?php } ?>
</div>