Merge branch 'master' of github.com:gnuboard/g4s

This commit is contained in:
gnuboard
2013-03-05 15:08:21 +09:00
26 changed files with 238 additions and 121 deletions

View File

@ -132,7 +132,7 @@ $colspan = 5;
</div>
<?
$pagelist = get_paging($config['cf_write_pages'], $page, $total_page, $_SERVER['PHP_SELF'].'?'.$qstr.'&amp;page=');
$pagelist = get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, $_SERVER['PHP_SELF'].'?'.$qstr.'&amp;page=');
echo $pagelist;
?>

View File

@ -136,7 +136,7 @@ $colspan = 8;
<?=get_skin_select('board', 'bo_skin_'.$i, "bo_skin[$i]", $row['bo_skin']);?>
</td>
<td>
<?=get_mobile_skin_select('board', 'bo_skin_'.$i, "bo_skin[$i]", $row['bo_skin']);?>
<?=get_mobile_skin_select('board', 'bo_mobile_skin_'.$i, "bo_mobile_skin[$i]", $row['bo_mobile_skin']);?>
</td>
<td><input type="text" id="bo_subject[<?=$i?>]" name="bo_subject[<?=$i?>]" class="required frm_input" value="<?=get_text($row['bo_subject'])?>" title="게시판제목" size="10" required="required"></td>
<td><input type="text" name="bo_read_point[<?=$i?>]" class="frm_input" value="<?=$row['bo_read_point']?>" size="2" title="읽기포인트"></td>
@ -175,7 +175,7 @@ $colspan = 8;
</form>
</section>
<?=get_paging($config['cf_write_pages'], $page, $total_page, $_SERVER['PHP_SELF'].'?'.$qstr.'&amp;page=');?>
<?=get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, $_SERVER['PHP_SELF'].'?'.$qstr.'&amp;page=');?>
<script>
function fboardlist_submit(f)

View File

@ -178,7 +178,7 @@ $colspan = 8;
</section>
<?
$pagelist = get_paging($config['cf_write_pages'], $page, $total_page, $_SERVER['PHP_SELF'].'?'.$qstr.'&amp;page=');
$pagelist = get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, $_SERVER['PHP_SELF'].'?'.$qstr.'&amp;page=');
echo $pagelist;
?>

View File

@ -132,7 +132,7 @@ $colspan = 7;
</form>
</section>
<?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;gr_id=$gr_id&page=");?>
<?=get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;gr_id=$gr_id&page=");?>
<script>
function fboardgroupmember_submit(f)

View File

@ -217,7 +217,7 @@ $colspan = 15;
</form>
</section>
<?=get_paging($config['cf_write_pages'], $page, $total_page, '?'.$qstr.'&amp;page=');?>
<?=get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, '?'.$qstr.'&amp;page=');?>
<script>
function fmemberlist_submit(f)

View File

@ -173,7 +173,7 @@ function point_clear()
</form>
</section>
<?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;page=");?>
<?=get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;page=");?>
<section id="point_mng" class="cbox">
<h2>개별회원 포인트 증감 설정</h2>

View File

@ -133,7 +133,7 @@ $colspan = 6;
</form>
</section>
<?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;page=");?>
<?=get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;page=");?>
<script>
$(function() {

View File

@ -141,7 +141,7 @@ var list_delete_php = 'popular_list.php';
</form>
</section>
<?=get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;page=");?>
<?=get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;page=");?>
<script>
$(function() {

View File

@ -27,7 +27,7 @@ $sql = " select pp_word, count(*) as cnt {$sql_common} {$sql_search} {$sql_group
$result = sql_query($sql);
$listall = '';
if (!empty($_GET['fr_date']) || !empty($_GET['to_date']))
if (!empty($_GET['fr_date']) || !empty($_GET['to_date']))
$listall = '<a href="'.$_SERVER['PHP_SELF'].'">전체목록</a>';
$g4['title'] = '인기검색어순위';
@ -95,7 +95,7 @@ $colspan = 3;
</section>
<?
echo get_paging($config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;page=");
echo get_paging(G4_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, "{$_SERVER['PHP_SELF']}?$qstr&amp;page=");
?>
<?

View File

@ -5,23 +5,23 @@ include_once(G4_GCAPTCHA_PATH.'/gcaptcha.lib.php');
if ($is_guest)
alert_close('회원만 이용하실 수 있습니다.');
if (!$member[mb_open] && $is_admin != 'super' && $member[mb_id] != $mb_id)
alert_close('자신의 정보를 공개하지 않으면 다른분에게 쪽지를 보낼 수 없습니다.'.PHP_EOL.PHP_EOL.'정보공개 설정은 회원정보수정에서 하실 수 있습니다.');
if (!$member['mb_open'] && $is_admin != 'super' && $member['mb_id'] != $mb_id)
alert_close("자신의 정보를 공개하지 않으면 다른분에게 쪽지를 보낼 수 없습니다. 정보공개 설정은 회원정보수정에서 하실 수 있습니다.");
$content = "";
// 탈퇴한 회원에게 쪽지 보낼 수 없음
if ($me_recv_mb_id)
{
$mb = get_member($me_recv_mb_id);
if (!$mb[mb_id])
if (!$mb['mb_id'])
alert_close('회원정보가 존재하지 않습니다.'.PHP_EOL.PHP_EOL.'탈퇴하였을 수 있습니다.');
if (!$mb[mb_open] && $is_admin != 'super')
if (!$mb['mb_open'] && $is_admin != 'super')
alert_close('정보공개를 하지 않았습니다.');
// 4.00.15
$row = sql_fetch(" select me_memo from {$g4[memo_table]} where me_id = '{$me_id}' and (me_recv_mb_id = '{$member[mb_id]}' or me_send_mb_id = '{$member[mb_id]}') ");
if ($row[me_memo])
$row = sql_fetch(" select me_memo from {$g4['memo_table']} where me_id = '{$me_id}' and (me_recv_mb_id = '{$member['mb_id']}' or me_send_mb_id = '{$member['mb_id']}') ");
if ($row['me_memo'])
{
$content = PHP_EOL.PHP_EOL.PHP_EOL.' >'
.PHP_EOL.' >'

View File

@ -1,4 +1,4 @@
/* SIR SOFT 지운아빠 Feb. 2013 */
/* SIR SOFT 지운아빠 Mar. 2013 */
/* 초기화 */
html {overflow-y:scroll}

View File

@ -1,4 +1,4 @@
/* SIR SOFT 지운아빠 Feb. 2013 */
/* SIR SOFT 지운아빠 Mar. 2013 */
/* 초기화 */
html {overflow-y:scroll}
@ -329,7 +329,6 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
#scrap_do table {margin:0 0 10px;width:100%}
#scrap_do textarea {height:100px}
/* 회원 패스워드 확인 */
#mb_confirm {margin:100px auto;width:500px}
#mb_confirm h1 {margin:0 0 20px;font-size:1.3em}
@ -438,7 +437,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
#sch_result_bo .sch_on {width:150px;border-color:#cfded8;border-right:0;background:#fff;color:#000;font-weight:bold}
#sch_result_bo .cnt_cmt {color:#fff}
#sch_result_bo .sch_on .cnt_cmt {color:#000}
#sch_result_atc {float:left;margin:0;padding:15px 25px;width:506px;border:1px solid #cfded8;background:#fff}
#sch_result_atc {float:left;margin:-1px 0 0;padding:15px 25px;width:506px;border:1px solid #cfded8;background:#fff}
#sch_result_atc dt a {display:inline-block;margin-bottom:15px;color:#000;font-size:1.2em;font-weight:bold;text-decoration:none}
#sch_result_atc dd {margin:0 0 15px}
#sch_result_atc dd a {}
@ -449,7 +448,6 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
#sch_result_atc .cmt_def {display:inline-block;margin:0 10px 0 0}
.sch_more {padding:10px 0 15px;text-align:right}
.sch_more a {}
.sch_sideview {position:relative;padding-top:5px}
.sch_datetime {display:inline-block;margin-right:15px;color:#999}
.sch_word {font-weight:bold} /* 검색어 강조 */
@ -580,6 +578,8 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
#bo_vc header {position:relative;padding:15px 0 5px}
#bo_vc header .icon_reply {position:absolute;top:15px;left:-20px}
#bo_vc .sv_wrap {margin-right:15px}
#bo_vc .member,
#bo_vc .guest,
#bo_vc .sv_member,
#bo_vc .sv_guest {font-weight:bold}
.bo_vc_hdinfo {display:inline-block;margin:0 15px 0 5px}

View File

@ -1,4 +1,4 @@
/* SIR SOFT 지운아빠 Feb. 2013 */
/* SIR SOFT 지운아빠 Mar. 2013 */
/* 초기화 */
html {overflow-y:scroll}
@ -14,8 +14,9 @@ input[type=text],
input[type=password],
input[type=submit],
input[type=image],
button {border-radius:0 !important;font-size:1em;-webkit-appearance:none} /* 모바일에서만 사용 */
button {border-radius:0 !important;font-size:1em} /* 모바일에서만 사용 */
select, textarea {font-size:1em}
textarea {border-radius:0;-webkit-appearance:none}
p {margin:0;padding:1em 0;line-height:1.7em;word-break:break-all}
hr {display:none}
pre {overflow-x:scroll;font-size:1.1em}
@ -27,8 +28,8 @@ pre {overflow-x:scroll;font-size:1.1em}
.img_fix {float:left;width:100%;height:auto}
/* 캡챠 자동등록(입력)방지 기본 */
#captcha img {border:1px solid #cfded8;border-right:0}
#captcha_wav img {border:1px solid #cfded8;border-left:0;background:#494949}
#captcha img {height:1.8em;border:1px solid #cfded8;border-right:0}
#captcha_wav img {padding:0.2em;height:22px !important;border:1px solid #cfded8;border-left:0;background:#494949}
/* 상단 레이아웃 */
#hd {background:#fff;zoom:1}
@ -38,7 +39,7 @@ pre {overflow-x:scroll;font-size:1.1em}
#logo {float:left;padding:0.3em 0;margin-left:1em}
#schall {position:absolute;top:0.7em;right:1em}
#schall_stx {padding-left:0.3em;width:100px;height:1.5em;border:1px solid #aaa;border-right:0;background:#f7f7f2;line-height:1.5em}
#schall_stx {padding-left:0.3em;width:100px;height:1.5em;border:1px solid #aaa;border-right:0;background:#f7f7f7;line-height:1.5em}
#schall_submit {border:1px solid #aaa;border-left:0}
#snb {clear:both;border-top:1px solid #e7f1ed;background:#151515;text-align:center}
@ -110,7 +111,7 @@ pre {overflow-x:scroll;font-size:1.1em}
.btn_cancel {display:inline-block;padding:0 1em;height:2.5em;border:1px solid #ccc;background:#fafafa;color:#000;font-size:1em;text-decoration:none;line-height:2.5em}
.btn_frmline {display:inline-block;padding:0 7px 0 0.3em;height:22px;border:0;background:#333;color:#fff !important;letter-spacing:-0.1em;text-decoration:none;vertical-align:top;line-height:1.4em} /* 우편번호검색버튼 등 */
.btn_win {clear:both;margin-bottom:1.5em;text-align:center} /* 새창용 */
.btn_win a {display:inline-block;padding:0 1em;height:2.5em;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none;line-height:2.5em;cursor:pointer}
.btn_win a {display:inline-block;padding:0 1em;height:2.5em;border:1px solid #ccc;background:#fafafa;color:#000;text-decoration:none;vertical-align:middle;line-height:2.5em;cursor:pointer}
/* 게시판용 버튼 */
.btn_b01 {display:inline-block;margin:0 0 0.3em;padding:0 1em;border:1px solid #eee !important;background:#fafafa !important;color:#000 !important;text-decoration:none !important;line-height:2em;vertical-align:middle}
.btn_b01:focus,
@ -140,13 +141,13 @@ td.empty_table {padding:5em 0;text-align:center}
/* 폼 테이블 */
.frm_tbl {margin-bottom:1.5em;width:100%;border-collapse:collapse;border-spacing:0}
.frm_tbl caption {padding:1em 0;color:#4b8b99;font-weight:bold;text-align:left}
.frm_tbl th {padding-left:1em;width:100px;border-top:1px solid #eee;border-bottom:1px solid #eee;font-weight:normal;text-align:left}
.frm_tbl caption {padding:1em;color:#4b8b99;font-weight:bold;text-align:left}
.frm_tbl th {padding-left:1em;width:110px;border-top:1px solid #eee;border-bottom:1px solid #eee;font-weight:normal;text-align:left}
.frm_tbl td {padding:0.4em 0.5em;border-top:1px solid #e9e9e9;border-bottom:1px solid #e9e9e9;background:transparent}
.frm_tbl textarea,
.frm_input {padding:2px 2px 3px;border:1px solid #b8c9c2;background:#f7f7f7;vertical-align:middle}
.frm_input {border:1px solid #b8c9c2;background:#f7f7f7;vertical-align:middle;line-height:1.8em;-webkit-appearance:none}
.frm_input:focus,
input.required:focus {padding:3px 3px 4px;border:0;background:#21272e !important;color:#fff}
input.required:focus {border:0;background:#21272e !important;color:#fff;line-height:1.8em}
.frm_tbl textarea {width:90%;height:150px}
.frm_address {display:block;margin-top:0.3em}
.frm_file {display:block;margin-bottom:0.3em}
@ -154,14 +155,6 @@ input.required:focus {padding:3px 3px 4px;border:0;background:#21272e !important
.frm_tbl #captcha input {margin-left:0.3em;text-align:center}
.frm_tbl a {text-decoration:none}
/* 폼 컨트롤 */
.fs_input,
fieldset textarea {padding:3px 3px 4px;border:1px solid #b8c9c2;background:#f7f7f7;vertical-align:middle}
.fs_input:focus {background:#21272e;color:#fff}
.fs_submit,
fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;line-height:1.7em;vertical-align:middle;cursor:pointer}
.frm_info {display:block;padding:0.3em 0 0;color:#666;line-height:1.3em}
/* 광고 레이아웃 */
@ -173,21 +166,38 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
.new_win h1 {margin-bottom:1.5em;padding:0 1.5em;height:3em;border-top:3px solid #4e5d60;border-bottom:1px solid #e9e9e9;font-size:1.2em;line-height:3.5em}
.new_win table {margin:0 auto 1.5em !important;width:100% !important}
.new_win caption {padding:1em}
.new_win_ul {margin:-20px 0 1.5em 0;padding:0 0 0 1.5em;border-bottom:1px solid #455255;background:#484848;list-style:none;zoom:1}
.new_win_ul {margin:-1.8em 0 1.5em 0;padding:0 0 0 1.5em;border-bottom:1px solid #455255;background:#484848;list-style:none;zoom:1}
.new_win_ul:after {display:block;visibility:hidden;clear:both;content:""}
.new_win_ul li {float:left;margin-left:-1px}
.new_win_ul a {display:block;padding:1em 1em 8px;border-right:1px solid #455255;border-left:1px solid #455255;color:#fff;font-family:"dotum";font-weight:bold;text-decoration:none}
.new_win_desc {padding:1em}
/* 회원가입 약관 */
#fregister section {margin:0 0 1.5em;padding:1.5em;border-bottom:3px solid #eee}
#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:98%;height:150px;border:1px solid #cfded8;background:#f7f7f7}
#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-bottom:1.5em}
#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}
@ -196,7 +206,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
#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:#f7f7f2}
#mb_login section {margin:30px 0;padding:1.5em 1em;border:1px solid #cfded8;background:#f7f7f7}
#mb_login section div {text-align:right}
/* 쪽지 */
@ -208,19 +218,22 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
#memo_view_ul a {}
#memo_view section p {min-height:150px;height:auto !important;height:150px}
#memo_write textarea {height:100px}
#memo_write #me_recv_mb_id {width:98%}
#memo_write textarea {width:99%;height:100px}
/* 스크랩 */
#scrap_do .cbg {margin:0 auto 1.5em;padding:1.5em;width:87%}
#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 {height:100px}
#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:#f7f7f2}
#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}
@ -229,12 +242,22 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
#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:#f7f7f2}
#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}
/* 최근게시물 스킨 (latest) */
.lt {float:left}
.lt ul {display:none}
@ -251,7 +274,6 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
#current_connect_tbl th:nth-of-type(2) {width:120px}
#current_connect_tbl td:nth-of-type(1) {padding:1em 0;text-align:center}
#current_connect_tbl .sv {display:none}
/* 새글 */
#new_sch {margin:0 0 0.3em;padding:0.3em 0.7em}
@ -261,7 +283,33 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
#new_tbl td:nth-of-type(3) {text-align:center}
/* 전체검색결과 스킨 */
#sch_result_detail {}
#sch_result_detail {margin:0;padding:0.5em 1em;border:0}
#sch_result {padding:0 1em}
#sch_result_hd dt {width:0;height:0;overflow:hidden}
#sch_result_hd dd {margin:0}
#sch_result_hd ul {margin:0;padding:0;border-top:1px solid #eee;border-bottom:1px solid #eee;list-style:none;zoom:1}
#sch_result_hd ul:after {display:block;visibility:hidden;clear:both;content:""}
#sch_result_hd li {float:left;padding:0.5em 0;width:33%;text-align:center}
#sch_result_bo dt {width:0;height:0;overflow:hidden}
#sch_result_bo dd {margin:0}
#sch_result_bo ul {margin:0;padding:0;list-style:none}
#sch_result_bo li {border-bottom:1px solid #fff;background:#f7f7f7}
#sch_result_bo a {display:block;padding:0.5em;color:#000;text-decoration:none}
#sch_result_bo .cnt_cmt {display:inline-block;margin:0 0 0 0.5em;color:#ff3061}
#sch_result_atc a {color:#000}
#sch_result_atc dt {padding:0.5em 1em;background:#484848;color:#fff}
#sch_result_atc dt a {color:#fff;text-decoration:none}
#sch_result_atc dd {margin:0}
#sch_result_atc ul {margin:0;padding:0;list-style:none}
#sch_result_atc li {padding:1em;border-bottom:1px solid #eee}
.sch_more {padding:10px 0 15px;text-align:right}
.sch_more a {}
.sch_datetime {display:inline-block;margin-right:15px;color:#999}
.sch_word {font-weight:bold} /* 검색어 강조 */
/* 게시판 목록 */
#bo_list_title {padding:0 1em}
@ -295,7 +343,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
.btn_bo_adm {float:left}
.btn_bo_adm li {float:left;margin-right:0.3em}
.btn_bo_adm input {padding:0 1em;height:25px;border:1px solid #e8180c !important;background:#e8180c;color:#fff;text-decoration:none;vertical-align:middle;cursor:pointer}
.bo_notice td {background:#f7f7f2}
.bo_notice td {background:#f7f7f7}
.bo_notice td a {font-weight:bold}
.td_num strong {color:#000}
.bo_cate_link {display:inline-block;margin:0 3px 0 0;padding:0 6px 0 0;border-right:1px solid #e7f1ed;color:#999 !important;font-weight:bold;text-decoration:none} /* 글제목줄 분류스타일 */
@ -320,7 +368,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
#bo_v_file {}
#bo_v_file h2 {margin:0;padding:0;height:0;overflow:hidden}
#bo_v_file ul {margin:0;padding:0;list-style:none}
#bo_v_file li {padding:0 1em;border-bottom:1px solid #eee;background:#f7f7f2}
#bo_v_file li {padding:0 1em;border-bottom:1px solid #eee;background:#f7f7f7}
#bo_v_file a {display:inline-block;padding:0.5em 0;color:#000}
#bo_v_file a:focus,
#bo_v_file a:hover,
@ -330,7 +378,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
#bo_v_link {}
#bo_v_link h2 {margin:0;padding:0;height:0;overflow:hidden}
#bo_v_link ul {margin:0;padding:0;list-style:none}
#bo_v_link li {padding:0 1em;border-bottom:1px solid #eee;background:#f7f7f2}
#bo_v_link li {padding:0 1em;border-bottom:1px solid #eee;background:#f7f7f7}
#bo_v_link a {display:inline-block;padding:0.5em 0;color:#000}
#bo_v_link a:focus,
#bo_v_link a:hover,
@ -371,7 +419,7 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
#bo_v form {padding-top:1.5em}
/* 게시판 댓글 */
#bo_vc {margin:0 0 0.5em;padding:1.5em 1.5em 0.5em;border-top:1px solid #cfded8;border-bottom:1px solid #cfded8;background:#f7f7f2}
#bo_vc {margin:0 0 0.5em;padding:1.5em 1.5em 0.5em;border-top:1px solid #cfded8;border-bottom:1px solid #cfded8;background:#f7f7f7}
#bo_vc h2 {margin-bottom:0.5em}
#bo_vc article {padding:0 0 0.5em;border-top:1px dotted #ccc}
#bo_vc header {position:relative;padding:1.3em 0 0.3em}
@ -396,9 +444,15 @@ fieldset button {padding:0 15px;height:24px;border:0;background:#333;color:#fff;
#bo_vc_w {position:relative;margin-bottom:1em;padding:0 1.5em 1.5em;border-bottom:1px solid #cfded8}
#bo_vc_w h2 {padding:1em 0 0.3em}
#bo_vc_w #char_cnt {display:block;margin-bottom:0.3em}
#bo_vc_w textarea {width:99%}
#bo_vc form {padding:0}
/* 사이드뷰 */
.sv_wrap {display:inline-block;position:relative;font-weight:normal}
.sv_wrap img {vertical-align:middle}
.sv_wrap a {display:inline-block;color:#000;text-decoration:none;vertical-align:middle}
/* pagination */
.pg_wrap {clear:both;margin:0 0 1em;padding-top:1em;text-align:center}
.pg {display:inline-block;border:1px solid #cfded8;letter-spacing:-4px}

View File

@ -161,6 +161,6 @@ if ($config['cf_include_head']) {
<div id="container">
<? if ((!$bo_table || $w == 's' ) && !defined("_INDEX_")) {?><h1 id="wrapper_title"><?=$g4['title']?></h1><?}?>
<div id="text_size">
<button>크게</button>
<button>작게</button>
<button id="text_increase" class="no_text_resize">크게</button>
<button id="text_decrease" class="no_text_resize">작게</button>
</div>

View File

@ -519,6 +519,75 @@ var win_poll = function(href) {
new_win.focus();
}
/**
* 텍스트 크게
**/
function text_increase()
{
var $elements = $("#container *:visible");
var fs = tx = unit = "";
var fsize;
var x = 0;
$elements.each(function() {
if($(this).hasClass("no_text_resize"))
return true;
fs = $(this).css("font-size");
tx = $(this).html();
unit = fs.replace(/[0-9]/g, "");
fsize = parseFloat(fs.replace(/[^0-9\.]/g, ""));
if(!fsize)
return true;
if(tx.search("<") > -1)
return true;
if(unit == "em")
x = 1;
nfsize = (fsize * 1.2);
nfsize = nfsize.toFixed(x);
$(this).css("font-size", nfsize+unit);
});
}
/**
* 텍스트 작게
**/
function text_decrease()
{
var $elements = $("#container *:visible");
var fs = tx = unit = "";
var fsize;
var x = 0;
$elements.each(function() {
if($(this).hasClass("no_text_resize"))
return true;
fs = $(this).css("font-size");
tx = $(this).html();
unit = fs.replace(/[0-9]/g, "");
fsize = parseFloat(fs.replace(/[^0-9\.]/g, ""));
if(!fsize)
return true;
if(tx.search("<") > -1)
return true;
if(unit == "em")
x = 1;
nfsize = (fsize * 0.8);
nfsize = nfsize.toFixed(x);
$(this).css("font-size", nfsize+unit);
});
}
$(function(){
$('.win_point').click(function() {
win_point(this.href);
@ -608,4 +677,15 @@ $(function(){
$('.sv').removeClass('sv_on');
}
});
// 텍스트 리사이즈
$("#text_increase").click(function() {
text_increase();
return false;
});
$("#text_decrease").click(function() {
text_decrease();
return false;
});
});

View File

@ -28,7 +28,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<? } ?>
<tr>
<th scope="row"><label for="subject">제목<strong class="sound_only">필수</strong></label></th>
<td><input type=text id="subject" name="subject" class="frm_input required" required></td>
<td><input type="text" id="subject" name="subject" class="frm_input required" required></td>
</tr>
<tr>
<th scope="row">형식</th>

View File

@ -19,7 +19,7 @@ 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" id="me_recv_mb_id" name="me_recv_mb_id" class="frm_input required" size="47" required value="<?=$me_recv_mb_id?>">
<input type="text" id="me_recv_mb_id" name="me_recv_mb_id" class="frm_input required" required value="<?=$me_recv_mb_id?>">
<span class="frm_info">여러 회원에게 보낼때는 컴마(,)로 구분하세요.</span>
</td>
</tr>

View File

@ -11,8 +11,7 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
회원가입 시 등록하신 이메일 주소를 입력해 주세요.<br>
해당 이메일로 아이디와 패스워드 정보를 보내드립니다.
</p>
<label for="mb_email">E-mail 주소<strong class="sound_only">필수</strong></label>
<input type="text" id="mb_email" name="mb_email" class="fs_input email" required size="30">
<input type="text" id="mb_email" name="mb_email" class="frm_input email" required placeholder="이메일주소(필수)" title="이메일주소(필수)">
</fieldset>
<?=captcha_html(); ?>
<div class="btn_win">
@ -30,9 +29,6 @@ function fpasswordlost_submit(f)
return true;
}
self.focus();
document.fpasswordlost.mb_email.focus();
$(function() {
var sw = screen.width;
var sh = screen.height;

View File

@ -20,9 +20,9 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<tr>
<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" id="reg_mb_id" name="mb_id" class="frm_input minlength_3 <?=$required?> <?=$readonly?>" value="<?=$member['mb_id']?>" maxlength="20" <?=$required?> <?=$readonly?>>
<span id="msg_mb_id"></span>
<span class="frm_info">영문자, 숫자, _ 만 입력 가능. 최소 3자이상 입력하세요.</span>
</td>
</tr>
<tr>
@ -40,21 +40,21 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<tr>
<th scope="row"><label for="reg_mb_name">이름<strong class="sound_only">필수</strong></label></th>
<td>
<input id="reg_mb_name" name="mb_name" class="frm_input hangul nospace <?=$required?> <?=$readonly?>" value="<?=$member['mb_name']?>" size="10" <?=$required?> <?=$readonly?>>
<? if ($w=='') { echo "<span class=\"frm_info\">공백없이 한글만 입력하세요.</span>"; } ?>
<input type="text" id="reg_mb_name" name="mb_name" class="frm_input hangul nospace <?=$required?> <?=$readonly?>" value="<?=$member['mb_name']?>" <?=$required?> <?=$readonly?>>
</td>
</tr>
<? if ($req_nick) { ?>
<tr>
<th scope="row"><label for="reg_mb_nick">별명<strong class="sound_only">필수</strong></label></th>
<td>
<input type="hidden" name="mb_nick_default" value="<?=isset($member['mb_nick'])?$member['mb_nick']:'';?>">
<input type="text" id="reg_mb_nick" name="mb_nick" class="frm_input required nospace" maxlength="20" size="10" value="<?=isset($member['mb_nick'])?$member['mb_nick']:'';?>" required>
<span id="msg_mb_nick"></span>
<span class="frm_info">
공백없이 한글,영문,숫자만 입력 가능 (한글2자, 영문4자 이상)<br>
별명을 바꾸시면 앞으로 <?=(int)$config['cf_nick_modify']?>일 이내에는 변경 할 수 없습니다.
</span>
<input type="hidden" name="mb_nick_default" value="<?=isset($member['mb_nick'])?$member['mb_nick']:'';?>">
<input type="text" id="reg_mb_nick" name="mb_nick" class="frm_input required nospace" maxlength="20" value="<?=isset($member['mb_nick'])?$member['mb_nick']:'';?>" required>
<span id="msg_mb_nick"></span>
</td>
</tr>
<? } ?>
@ -62,21 +62,21 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<tr>
<th scope="row"><label for="reg_mb_email">E-mail<? if ($config['cf_use_email_certify']) {?><strong class="sound_only">필수</strong><?}?></label></th>
<td>
<input type="hidden" name="old_email" value="<?=$member['mb_email']?>">
<input type="text" id="reg_mb_email" name="mb_email" class="frm_input email <?=$config['cf_use_email_certify']?"required":"";?>" maxlength="100" size="50" value='<?=isset($member['mb_email'])?$member['mb_email']:'';?>' <?=$config['cf_use_email_certify']?"required":"";?>>
<? if ($config['cf_use_email_certify']) { ?>
<span class="frm_info">
<? if ($w=='') { echo "E-mail 로 발송된 내용을 확인한 후 인증하셔야 회원가입이 완료됩니다."; } ?>
<? if ($w=='u') { echo "E-mail 주소를 변경하시면 다시 인증하셔야 합니다."; } ?>
</span>
<? } ?>
<input type="hidden" name="old_email" value="<?=$member['mb_email']?>">
<input type="text" id="reg_mb_email" name="mb_email" class="frm_input email <?=$config['cf_use_email_certify']?"required":"";?>" maxlength="100" value='<?=isset($member['mb_email'])?$member['mb_email']:'';?>' <?=$config['cf_use_email_certify']?"required":"";?>>
</td>
</tr>
<? 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" id="reg_mb_homepage" name="mb_homepage" class="frm_input <?=$config['cf_req_homepage']?"required":"";?>" maxlength="255" size="50" <?=$config['cf_req_homepage']?"required":"";?> value="<?=$member['mb_homepage']?>"></td>
<td><input type="text" id="reg_mb_homepage" name="mb_homepage" class="frm_input <?=$config['cf_req_homepage']?"required":"";?>" maxlength="255" <?=$config['cf_req_homepage']?"required":"";?> value="<?=$member['mb_homepage']?>"></td>
</tr>
<? } ?>
@ -103,12 +103,12 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<? if ($config['cf_req_addr']) {?><strong class="sound_only">필수</strong><? } ?>
</th>
<td>
<input type="text" id="reg_mb_zip1" name="mb_zip1" class="frm_input <?=$config['cf_req_addr']?"required":"";?>" size="2" maxlength="3" <?=$config['cf_req_addr']?"required":"";?> value="<?=$member['mb_zip1']?>" title="우편번호 앞자리">
<input type="text" id="reg_mb_zip1" name="mb_zip1" class="frm_input <?=$config['cf_req_addr']?"required":"";?>" maxlength="3" <?=$config['cf_req_addr']?"required":"";?> value="<?=$member['mb_zip1']?>" title="우편번호 앞자리">
-
<input type="text" id="reg_mb_zip2" name="mb_zip2" class="frm_input <?=$config['cf_req_addr']?"required":"";?>" size="2" maxlength="3" <?=$config['cf_req_addr']?"required":"";?> value="<?=$member['mb_zip2']?>" title="우편번호 뒷자리">
<input type="text" id="reg_mb_zip2" name="mb_zip2" class="frm_input <?=$config['cf_req_addr']?"required":"";?>" maxlength="3" <?=$config['cf_req_addr']?"required":"";?> value="<?=$member['mb_zip2']?>" title="우편번호 뒷자리">
<a href="<? echo $zip_href; ?>" id="reg_zip_find" class="btn_frmline win_zip_find" target="_blank">주소찾기</a>
<input type="text" id="reg_mb_addr1" name="mb_addr1" class="frm_input frm_address <?=$config['cf_req_addr']?"required":"";?>" size="50" <?=$config['cf_req_addr']?"required":"";?> value="<?=$member['mb_addr1']?>" title="행정구역주소">
<input type="text" id="reg_mb_addr2" name="mb_addr2" class="frm_input frm_address <?=$config['cf_req_addr']?"required":"";?>" size="50" <?=$config['cf_req_addr']?"required":"";?> value="<?=$member['mb_addr2']?>" title="상세주소">
<input type="text" id="reg_mb_addr1" name="mb_addr1" class="frm_input frm_address <?=$config['cf_req_addr']?"required":"";?>" <?=$config['cf_req_addr']?"required":"";?> value="<?=$member['mb_addr1']?>" title="행정구역주소">
<input type="text" id="reg_mb_addr2" name="mb_addr2" class="frm_input frm_address <?=$config['cf_req_addr']?"required":"";?>" <?=$config['cf_req_addr']?"required":"";?> value="<?=$member['mb_addr2']?>" title="상세주소">
</td>
</tr>
<? } ?>
@ -134,15 +134,15 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<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'])?>바이트 이하만 등록됩니다.
</span>
<input type="file" id="reg_mb_icon" name="mb_icon" class="frm_input">
<? if ($w == 'u' && file_exists($mb_icon)) { ?>
<input type="checkbox" id="del_mb_icon" name="del_mb_icon" value="1">
<label for="del_mb_icon">삭제</label>
<? } ?>
<span class="frm_info">
이미지 크기는 가로 <?=$config['cf_member_icon_width']?>픽셀, 세로 <?=$config['cf_member_icon_height']?>픽셀 이하로 해주세요.<br>
gif만 가능하며 용량 <?=number_format($config['cf_member_icon_size'])?>바이트 이하만 등록됩니다.
</span>
</td>
</tr>
<? } ?>
@ -169,23 +169,23 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<tr>
<th scope="row"><label for="reg_mb_open">정보공개</label></th>
<td>
<input type="hidden" name="mb_open_default" value="<?=$member['mb_open']?>">
<input type="checkbox" id="reg_mb_open" name="mb_open" value="1" <?=($w=='' || $member['mb_open'])?'checked':'';?>>
다른분들이 나의 정보를 볼 수 있도록 합니다.
<span class="frm_info">
정보공개를 바꾸시면 앞으로 <?=(int)$config['cf_open_modify']?>일 이내에는 변경이 안됩니다.
</span>
<input type="hidden" name="mb_open_default" value="<?=$member['mb_open']?>">
<input type="checkbox" id="reg_mb_open" name="mb_open" value="1" <?=($w=='' || $member['mb_open'])?'checked':'';?>>
다른분들이 나의 정보를 볼 수 있도록 합니다.
</td>
</tr>
<? } else { ?>
<tr>
<th scope="row">정보공개</th>
<td>
<input type="hidden" name="mb_open" value="<?=$member['mb_open']?>">
<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>
이렇게 하는 이유는 잦은 정보공개 수정으로 인하여 쪽지를 보낸 후 받지 않는 경우를 막기 위해서 입니다.
</span>
<input type="hidden" name="mb_open" value="<?=$member['mb_open']?>">
</td>
</tr>
<? } ?>

View File

@ -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>
<? } ?>

View File

@ -5,7 +5,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<form name="fsearch" method="get" onsubmit="return fsearch_submit(this);">
<input type="hidden" name="srows" value="<?=$srows?>">
<fieldset id="sch_result_detail">
<legend class="sound_only">상세검색</legend>
<legend>상세검색</legend>
<?=$group_select?>
<script>document.getElementById("gr_id").value = "<?=$gr_id?>";</script>
@ -17,8 +17,8 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<option value="wr_name"<?=get_selected($_GET['sfl'], "wr_name")?>>이름</option>
</select>
<input type="text" name="stx" class="fs_input" class="required" value="<?=$text_stx?>" maxlength="20" required title="검색어(필수)">
<input type="submit" class="fs_submit" value="검색">
<input type="text" name="stx" class="required" value="<?=$text_stx?>" maxlength="20" required title="검색어(필수)">
<input type="submit" value="검색">
<script>
function fsearch_submit(f)
@ -63,9 +63,9 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<dt><strong><?=$stx?></strong>에 대한 검색 결과입니다.</dt>
<dd>
<ul>
<li><span style="color:<?=$config['cf_search_color']?>"><?=$board_count?></span>개의 게시판</li>
<li><span style="color:<?=$config['cf_search_color']?>"><?=number_format($total_count)?></span>개의 게시물</li>
<li>현재 <?=number_format($page)?>/<?=number_format($total_page)?> 페이지 열람 중</li>
<li>게시판 <span style="color:<?=$config['cf_search_color']?>"><?=$board_count?></span>개</li>
<li>게시물 <span style="color:<?=$config['cf_search_color']?>"><?=number_format($total_count)?></span>개</li>
<li><?=number_format($page)?>/<?=number_format($total_page)?> 페이지</li>
</ul>
</dd>
</dl>
@ -115,7 +115,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<a href="<?=$list[$idx][$i][href]?><?=$comment_href?>" class="sch_result_title"><?=$comment_def?><?=$list[$idx][$i][subject]?></a>
<a href="<?=$list[$idx][$i][href]?><?=$comment_href?>" target="_blank">새창</a>
<p><?=$list[$idx][$i][content]?></p>
<div class="sch_sideview"><?=$list[$idx][$i][name]?></div>
<?=$list[$idx][$i][name]?>
<span class="sch_datetime"><?=$list[$idx][$i][wr_datetime]?></span>
</li>
<? } ?>

View File

@ -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;

View File

@ -43,7 +43,3 @@ else $g4['title'] = $g4['title'];
</div>
</div>
<script>
document.fboardpassword.wr_password.focus();
</script>

View File

@ -30,9 +30,6 @@ function fpasswordlost_submit(f)
return true;
}
self.focus();
document.fpasswordlost.mb_email.focus();
$(function() {
var sw = screen.width;
var sh = screen.height;

View File

@ -20,9 +20,9 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<tr>
<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" id="reg_mb_id" name="mb_id" class="frm_input minlength_3 <?=$required?> <?=$readonly?>" value="<?=$member['mb_id']?>" maxlength="20" <?=$required?> <?=$readonly?>>
<span id="msg_mb_id"></span>
<span class="frm_info">영문자, 숫자, _ 만 입력 가능. 최소 3자이상 입력하세요.</span>
</td>
</tr>
<tr>
@ -40,21 +40,21 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<tr>
<th scope="row"><label for="reg_mb_name">이름<strong class="sound_only">필수</strong></label></th>
<td>
<input id="reg_mb_name" name="mb_name" class="frm_input hangul nospace <?=$required?> <?=$readonly?>" value="<?=$member['mb_name']?>" size="10" <?=$required?> <?=$readonly?>>
<? if ($w=='') { echo "<span class=\"frm_info\">공백없이 한글만 입력하세요.</span>"; } ?>
<input id="reg_mb_name" name="mb_name" class="frm_input hangul nospace <?=$required?> <?=$readonly?>" value="<?=$member['mb_name']?>" size="10" <?=$required?> <?=$readonly?>>
</td>
</tr>
<? if ($req_nick) { ?>
<tr>
<th scope="row"><label for="reg_mb_nick">별명<strong class="sound_only">필수</strong></label></th>
<td>
<input type="hidden" name="mb_nick_default" value="<?=isset($member['mb_nick'])?$member['mb_nick']:'';?>">
<input type="text" id="reg_mb_nick" name="mb_nick" class="frm_input required nospace" maxlength="20" size="10" value="<?=isset($member['mb_nick'])?$member['mb_nick']:'';?>" required>
<span id="msg_mb_nick"></span>
<span class="frm_info">
공백없이 한글,영문,숫자만 입력 가능 (한글2자, 영문4자 이상)<br>
별명을 바꾸시면 앞으로 <?=(int)$config['cf_nick_modify']?>일 이내에는 변경 할 수 없습니다.
</span>
<input type="hidden" name="mb_nick_default" value="<?=isset($member['mb_nick'])?$member['mb_nick']:'';?>">
<input type="text" id="reg_mb_nick" name="mb_nick" class="frm_input required nospace" maxlength="20" size="10" value="<?=isset($member['mb_nick'])?$member['mb_nick']:'';?>" required>
<span id="msg_mb_nick"></span>
</td>
</tr>
<? } ?>
@ -62,14 +62,14 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<tr>
<th scope="row"><label for="reg_mb_email">E-mail<? if ($config['cf_use_email_certify']) {?><strong class="sound_only">필수</strong><?}?></label></th>
<td>
<input type="hidden" name="old_email" value="<?=$member['mb_email']?>">
<input type="text" id="reg_mb_email" name="mb_email" class="frm_input email <?=$config['cf_use_email_certify']?"required":"";?>" maxlength="100" size="50" value='<?=isset($member['mb_email'])?$member['mb_email']:'';?>' <?=$config['cf_use_email_certify']?"required":"";?>>
<? if ($config['cf_use_email_certify']) { ?>
<span class="frm_info">
<? if ($w=='') { echo "E-mail 로 발송된 내용을 확인한 후 인증하셔야 회원가입이 완료됩니다."; } ?>
<? if ($w=='u') { echo "E-mail 주소를 변경하시면 다시 인증하셔야 합니다."; } ?>
</span>
<? } ?>
<input type="hidden" name="old_email" value="<?=$member['mb_email']?>">
<input type="text" id="reg_mb_email" name="mb_email" class="frm_input email <?=$config['cf_use_email_certify']?"required":"";?>" maxlength="100" size="50" value='<?=isset($member['mb_email'])?$member['mb_email']:'';?>' <?=$config['cf_use_email_certify']?"required":"";?>>
</td>
</tr>
@ -134,15 +134,15 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<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'])?>바이트 이하만 등록됩니다.
</span>
<input type="file" id="reg_mb_icon" name="mb_icon" class="frm_input">
<? if ($w == 'u' && file_exists($mb_icon)) { ?>
<input type="checkbox" id="del_mb_icon" name="del_mb_icon" value="1">
<label for="del_mb_icon">삭제</label>
<? } ?>
<span class="frm_info">
이미지 크기는 가로 <?=$config['cf_member_icon_width']?>픽셀, 세로 <?=$config['cf_member_icon_height']?>픽셀 이하로 해주세요.<br>
gif만 가능하며 용량 <?=number_format($config['cf_member_icon_size'])?>바이트 이하만 등록됩니다.
</span>
</td>
</tr>
<? } ?>
@ -169,23 +169,23 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
<tr>
<th scope="row"><label for="reg_mb_open">정보공개</label></th>
<td>
<input type="hidden" name="mb_open_default" value="<?=$member['mb_open']?>">
<input type="checkbox" id="reg_mb_open" name="mb_open" value="1" <?=($w=='' || $member['mb_open'])?'checked':'';?>>
다른분들이 나의 정보를 볼 수 있도록 합니다.
<span class="frm_info">
정보공개를 바꾸시면 앞으로 <?=(int)$config['cf_open_modify']?>일 이내에는 변경이 안됩니다.
</span>
<input type="hidden" name="mb_open_default" value="<?=$member['mb_open']?>">
<input type="checkbox" id="reg_mb_open" name="mb_open" value="1" <?=($w=='' || $member['mb_open'])?'checked':'';?>>
다른분들이 나의 정보를 볼 수 있도록 합니다.
</td>
</tr>
<? } else { ?>
<tr>
<th scope="row">정보공개</th>
<td>
<input type="hidden" name="mb_open" value="<?=$member['mb_open']?>">
<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>
이렇게 하는 이유는 잦은 정보공개 수정으로 인하여 쪽지를 보낸 후 받지 않는 경우를 막기 위해서 입니다.
</span>
<input type="hidden" name="mb_open" value="<?=$member['mb_open']?>">
</td>
</tr>
<? } ?>

View File

@ -115,7 +115,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<a href="<?=$list[$idx][$i][href]?><?=$comment_href?>" class="sch_result_title"><?=$comment_def?><?=$list[$idx][$i][subject]?></a>
<a href="<?=$list[$idx][$i][href]?><?=$comment_href?>" target="_blank">새창</a>
<p><?=$list[$idx][$i][content]?></p>
<div class="sch_sideview"><?=$list[$idx][$i][name]?></div>
<?=$list[$idx][$i][name]?>
<span class="sch_datetime"><?=$list[$idx][$i][wr_datetime]?></span>
</li>
<? } ?>