unmanaged codestyle update

This commit is contained in:
Amberstone 2024-09-23 11:45:33 +09:00
parent 99e42ff33c
commit ca0a04bc24
Signed by: amber
GPG key ID: 094B0E55F98D8BF1
46 changed files with 2879 additions and 2222 deletions

View file

@ -1,5 +1,6 @@
<?php
if (!defined('_GNUBOARD_')) exit;
if (!defined('_GNUBOARD_'))
exit;
// 방문자수 출력
function visit($skin_dir = 'basic')
@ -36,16 +37,27 @@ function get_brow($agent)
//echo $agent; echo "<br/>";
if (preg_match("/msie ([1-9][0-9]\.[0-9]+)/", $agent, $m)) { $s = 'MSIE '.$m[1]; }
else if(preg_match("/firefox/", $agent)) { $s = "FireFox"; }
else if(preg_match("/chrome/", $agent)) { $s = "Chrome"; }
else if(preg_match("/x11/", $agent)) { $s = "Netscape"; }
else if(preg_match("/opera/", $agent)) { $s = "Opera"; }
else if(preg_match("/gec/", $agent)) { $s = "Gecko"; }
else if(preg_match("/bot|slurp/", $agent)) { $s = "Robot"; }
else if(preg_match("/internet explorer/", $agent)) { $s = "IE"; }
else if(preg_match("/mozilla/", $agent)) { $s = "Mozilla"; }
else { $s = "기타"; }
if (preg_match("/msie ([1-9][0-9]\.[0-9]+)/", $agent, $m)) {
$s = 'MSIE ' . $m[1];
} else if (preg_match("/firefox/", $agent)) {
$s = "FireFox";
} else if (preg_match("/chrome/", $agent)) {
$s = "Chrome";
} else if (preg_match("/x11/", $agent)) {
$s = "Netscape";
} else if (preg_match("/opera/", $agent)) {
$s = "Opera";
} else if (preg_match("/gec/", $agent)) {
$s = "Gecko";
} else if (preg_match("/bot|slurp/", $agent)) {
$s = "Robot";
} else if (preg_match("/internet explorer/", $agent)) {
$s = "IE";
} else if (preg_match("/mozilla/", $agent)) {
$s = "Mozilla";
} else {
$s = "기타";
}
return $s;
}
@ -56,26 +68,47 @@ function get_os($agent)
//echo $agent; echo "<br/>";
if (preg_match("/windows 98/", $agent)) { $s = "98"; }
else if(preg_match("/windows 95/", $agent)) { $s = "95"; }
else if(preg_match("/windows nt 4\.[0-9]*/", $agent)) { $s = "NT"; }
else if(preg_match("/windows nt 5\.0/", $agent)) { $s = "2000"; }
else if(preg_match("/windows nt 5\.1/", $agent)) { $s = "XP"; }
else if(preg_match("/windows nt 5\.2/", $agent)) { $s = "2003"; }
else if(preg_match("/windows nt 6\.0/", $agent)) { $s = "Vista"; }
else if(preg_match("/windows nt 6\.1/", $agent)) { $s = "Windows7"; }
else if(preg_match("/windows nt 6\.2/", $agent)) { $s = "Windows8"; }
else if(preg_match("/windows 9x/", $agent)) { $s = "ME"; }
else if(preg_match("/windows ce/", $agent)) { $s = "CE"; }
else if(preg_match("/mac/", $agent)) { $s = "MAC"; }
else if(preg_match("/linux/", $agent)) { $s = "Linux"; }
else if(preg_match("/sunos/", $agent)) { $s = "sunOS"; }
else if(preg_match("/irix/", $agent)) { $s = "IRIX"; }
else if(preg_match("/phone/", $agent)) { $s = "Phone"; }
else if(preg_match("/bot|slurp/", $agent)) { $s = "Robot"; }
else if(preg_match("/internet explorer/", $agent)) { $s = "IE"; }
else if(preg_match("/mozilla/", $agent)) { $s = "Mozilla"; }
else { $s = "기타"; }
if (preg_match("/windows 98/", $agent)) {
$s = "98";
} else if (preg_match("/windows 95/", $agent)) {
$s = "95";
} else if (preg_match("/windows nt 4\.[0-9]*/", $agent)) {
$s = "NT";
} else if (preg_match("/windows nt 5\.0/", $agent)) {
$s = "2000";
} else if (preg_match("/windows nt 5\.1/", $agent)) {
$s = "XP";
} else if (preg_match("/windows nt 5\.2/", $agent)) {
$s = "2003";
} else if (preg_match("/windows nt 6\.0/", $agent)) {
$s = "Vista";
} else if (preg_match("/windows nt 6\.1/", $agent)) {
$s = "Windows7";
} else if (preg_match("/windows nt 6\.2/", $agent)) {
$s = "Windows8";
} else if (preg_match("/windows 9x/", $agent)) {
$s = "ME";
} else if (preg_match("/windows ce/", $agent)) {
$s = "CE";
} else if (preg_match("/mac/", $agent)) {
$s = "MAC";
} else if (preg_match("/linux/", $agent)) {
$s = "Linux";
} else if (preg_match("/sunos/", $agent)) {
$s = "sunOS";
} else if (preg_match("/irix/", $agent)) {
$s = "IRIX";
} else if (preg_match("/phone/", $agent)) {
$s = "Phone";
} else if (preg_match("/bot|slurp/", $agent)) {
$s = "Robot";
} else if (preg_match("/internet explorer/", $agent)) {
$s = "IE";
} else if (preg_match("/mozilla/", $agent)) {
$s = "Mozilla";
} else {
$s = "기타";
}
return $s;
}

View file

@ -1,5 +1,6 @@
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
if (!defined("_GNUBOARD_"))
exit; // 개별 페이지 접근 불가
// 1. S : 탐색 (성공여부, 획득아이템 ID, 획득아이템이름, 인벤 ID)
?>

View file

@ -1,5 +1,6 @@
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
if (!defined("_GNUBOARD_"))
exit; // 개별 페이지 접근 불가
// 1. S : 탐색 (성공여부, 획득아이템 ID, 획득아이템이름, 인벤 ID)
?>

View file

@ -1,12 +1,13 @@
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
if (!defined("_GNUBOARD_"))
exit; // 개별 페이지 접근 불가
// 아이템 ID / 이름 / 기능 / 값 / 내용 / 효능
?>
<?php if ($item_log[0] == 'D') {
// 일반 템 사용
IF($item_log[1]) {
if ($item_log[1]) {
?>
<div class="log-item-box data-item">
<em>
@ -16,7 +17,8 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<span><strong><?= $item_log[2] ?></strong><?= j($item_log[2], '을') ?> 사용했습니다! (<?= $item_log[6] ?>)</span>
</p>
</div>
<?php } } else if($item_log[0] == 'S') {
<?php }
} else if ($item_log[0] == 'S') {
// 뽑기 획득에 성공
?>
<div class="log-item-box data-item">
@ -24,7 +26,8 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<img src="<?= get_item_img($item_log[3]) ?>" />
</em>
<p>
<span><strong><?=$item_log[2]?></strong><?=j($item_log[2], '을')?> 사용해서 <strong><?=$item_log[4]?></strong><?=j($item_log[4], '을')?> 획득하였습니다!</span>
<span><strong><?= $item_log[2] ?></strong><?= j($item_log[2], '을') ?> 사용해서
<strong><?= $item_log[4] ?></strong><?= j($item_log[4], '을') ?> 획득하였습니다!</span>
</p>
</div>

View file

@ -1,5 +1,6 @@
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
if (!defined('_GNUBOARD_'))
exit; // 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.css">', 0);
@ -9,7 +10,8 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
<div id="formmail" class="new_win mbskin">
<h1 id="win_title"><?php echo $name ?>님께 메일보내기</h1>
<form name="fformmail" action="./formmail_send.php" onsubmit="return fformmail_submit(this);" method="post" enctype="multipart/form-data" style="margin:0px;">
<form name="fformmail" action="./formmail_send.php" onsubmit="return fformmail_submit(this);" method="post"
enctype="multipart/form-data" style="margin:0px;">
<input type="hidden" name="to" value="<?php echo $email ?>">
<input type="hidden" name="attach" value="2">
<?php if ($is_member) { // 회원이면 ?>
@ -82,8 +84,7 @@ with (document.fformmail) {
subject.focus();
}
function fformmail_submit(f)
{
function fformmail_submit(f) {
<?php echo chk_captcha_js(); ?>
if (f.file1.value || f.file2.value) {

View file

@ -1,5 +1,6 @@
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
if (!defined('_GNUBOARD_'))
exit; // 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.admin.css">', 0);
@ -38,7 +39,8 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.admin.cs
<label for="login_id" class="login_id">회원아이디<strong class="sound_only"> 필수</strong></label>
</fieldset>
<fieldset class="input">
<input type="password" name="mb_password" id="login_pw" required class="frm_input required" size="20" maxLength="20">
<input type="password" name="mb_password" id="login_pw" required class="frm_input required" size="20"
maxLength="20">
<label for="login_pw" class="login_pw">비밀번호<strong class="sound_only"> 필수</strong></label>
</fieldset>
@ -75,8 +77,7 @@ $(function(){
});
function flogin_submit(f)
{
function flogin_submit(f) {
return true;
}
</script>

View file

@ -1,5 +1,6 @@
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
if (!defined('_GNUBOARD_'))
exit; // 개별 페이지 접근 불가
if (strstr($url, 'adm')) {
include_once($member_skin_path . '/login.admin.skin.php');
} else {
@ -12,7 +13,8 @@ $logo = get_logo();
$m_logo = get_logo();
$logo_data = "";
if($logo) $logo_data .= "<img src='".$logo."' />";
if ($logo)
$logo_data .= "<img src='" . $logo . "' />";
/*********************************/
?>
<div class="loginWrap">
@ -27,13 +29,16 @@ if($logo) $logo_data .= "<img src='".$logo."' />";
<?php } ?>
<div class="login-form-box theme-box">
<div class="inner">
<form name="flogin" action="<?php echo $login_action_url ?>" onsubmit="return flogin_submit(this);" method="post">
<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>
<input type="text" name="mb_id" id="login_id" required class="frm_input required" size="20" maxLength="20" placeholder="아이디">
<input type="text" name="mb_id" id="login_id" required class="frm_input required" size="20" maxLength="20"
placeholder="아이디">
</fieldset>
<fieldset>
<input type="password" name="mb_password" id="login_pw" required class="frm_input required" size="20" maxLength="20" placeholder="비밀번호">
<input type="password" name="mb_password" id="login_pw" required class="frm_input required" size="20"
maxLength="20" placeholder="비밀번호">
</fieldset>
<button type="submit" class="ui-btn point">LOGIN</button>
</form>

View file

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

View file

@ -1,5 +1,6 @@
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
if (!defined('_GNUBOARD_'))
exit; // 개별 페이지 접근 불가
add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.css">', 0);
?>
@ -19,7 +20,8 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
<div class="pass-form">
<form name="fmemberconfirm" action="<?php echo $url ?>" onsubmit="return fmemberconfirm_submit(this);" method="post">
<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">
@ -27,7 +29,8 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
<span id="mb_confirm_id" class="form-input"><?php echo $member['mb_id'] ?></span>
</fieldset>
<fieldset class="box-pw">
<input type="password" name="mb_password" id="confirm_mb_password" required class="required frm_input" size="15" maxLength="20">
<input type="password" name="mb_password" id="confirm_mb_password" required class="required frm_input"
size="15" maxLength="20">
</fieldset>
<fieldset class="box-btn">
@ -45,8 +48,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
</div>
<script>
function fmemberconfirm_submit(f)
{
function fmemberconfirm_submit(f) {
document.getElementById("btn_submit").disabled = true;
return true;
}

View file

@ -1,5 +1,6 @@
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
if (!defined('_GNUBOARD_'))
exit; // 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.css">', 0);

View file

@ -1,5 +1,6 @@
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
if (!defined('_GNUBOARD_'))
exit; // 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.css">', 0);
@ -7,7 +8,8 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
<!-- 쪽지 보내기 시작 { -->
<div id="memo_write" class="new_win mbskin">
<form name="fmemoform" action="<?php echo $memo_action_url; ?>" onsubmit="return fmemoform_submit(this);" method="post" autocomplete="off">
<form name="fmemoform" action="<?php echo $memo_action_url; ?>" onsubmit="return fmemoform_submit(this);"
method="post" autocomplete="off">
<table class="theme-form">
<colgroup>
<col style="width: 80px;" />
@ -17,13 +19,15 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
<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="<?php echo $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" style="min-height: 140px;"><?php echo $content ?></textarea></td>
<td><textarea name="me_memo" id="me_memo" required class="required"
style="min-height: 140px;"><?php echo $content ?></textarea></td>
</tr>
</tbody>
@ -37,8 +41,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
</div>
<script>
function fmemoform_submit(f)
{
function fmemoform_submit(f) {
<?php echo chk_captcha_js(); ?>
return true;

View file

@ -1,4 +1,4 @@
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
if (!defined('_GNUBOARD_'))
exit; // 개별 페이지 접근 불가
goto_url('./memo_form.php?me_recv_mb_id=' . $mb['mb_id']);
?>

View file

@ -1,10 +1,15 @@
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
if (!defined('_GNUBOARD_'))
exit; // 개별 페이지 접근 불가
$delete_str = "";
if ($w == 'x') $delete_str = "";
if ($w == 'u') $g5['title'] = $delete_str."글 수정";
else if ($w == 'd' || $w == 'x') $g5['title'] = $delete_str."글 삭제";
else $g5['title'] = $g5['title'];
if ($w == 'x')
$delete_str = "";
if ($w == 'u')
$g5['title'] = $delete_str . "글 수정";
else if ($w == 'd' || $w == 'x')
$g5['title'] = $delete_str . "글 삭제";
else
$g5['title'] = $g5['title'];
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.css">', 0);
@ -39,7 +44,8 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
<input type="hidden" name="page" value="<?php echo $page ?>">
<fieldset class="box-pw">
<input type="password" name="wr_password" id="password_wr_password" required class="frm_input required" size="15" maxLength="20">
<input type="password" name="wr_password" id="password_wr_password" required class="frm_input required"
size="15" maxLength="20">
</fieldset>
<fieldset class="box-btn">

View file

@ -1,5 +1,6 @@
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
if (!defined('_GNUBOARD_'))
exit; // 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.css">', 0);
@ -9,7 +10,8 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
<div id="find_info" class="new_win mbskin">
<h1 id="win_title">회원정보 찾기</h1>
<form name="fpasswordlost" action="<?php echo $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="info_fs">
<p>
회원가입 등록하신 이메일 주소를 입력해 주세요.<br>
@ -27,8 +29,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
</div>
<script>
function fpasswordlost_submit(f)
{
function fpasswordlost_submit(f) {
<?php echo chk_captcha_js(); ?>
return true;

View file

@ -1,5 +1,6 @@
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
if (!defined('_GNUBOARD_'))
exit; // 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.css">', 0);
@ -51,7 +52,8 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
<td class="td_date<?php echo $expr; ?>">
<?php if ($row['po_expired'] == 1) { ?>
만료<?php echo substr(str_replace('-', '', $row['po_expire_date']), 2); ?>
<?php } else echo $row['po_expire_date'] == '9999-12-31' ? '&nbsp;' : $row['po_expire_date']; ?>
<?php } else
echo $row['po_expire_date'] == '9999-12-31' ? '&nbsp;' : $row['po_expire_date']; ?>
</td>
<td class="td_numbig"><?php echo $point1; ?></td>
<td class="td_numbig"><?php echo $point2; ?></td>

View file

@ -1,5 +1,6 @@
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
if (!defined('_GNUBOARD_'))
exit; // 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.css">', 0);
@ -28,7 +29,9 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
<?php } ?>
<tr>
<th scope="row">회원가입일</th>
<td><?php echo ($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>

View file

@ -1,5 +1,6 @@
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
if (!defined('_GNUBOARD_'))
exit; // 개별 페이지 접근 불가
add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.css">', 0);
?>
@ -14,7 +15,8 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
<!-- 회원가입약관 동의 시작 { -->
<div class="member-contents agree-pannel">
<form name="fregister" id="fregister" action="<?php echo $register_action_url ?>" onsubmit="return fregister_submit(this);" method="POST" autocomplete="off">
<form name="fregister" id="fregister" action="<?php echo $register_action_url ?>"
onsubmit="return fregister_submit(this);" method="POST" autocomplete="off">
<section id="fregister_term">
<h2>커뮤니티 활동 규칙</h2>
@ -49,8 +51,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
</div>
<script>
function fregister_submit(f)
{
function fregister_submit(f) {
if (!f.agree.checked) {
alert("커뮤니티 활동 규칙의 내용에 동의하셔야 회원가입 하실 수 있습니다.");
f.agree.focus();
@ -66,5 +67,3 @@ function fregister_submit(f)
return true;
}
</script>

View file

@ -1,5 +1,6 @@
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
if (!defined('_GNUBOARD_'))
exit; // 개별 페이지 접근 불가
add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.css">', 0);
?>
@ -17,7 +18,8 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
</h1>
<div class="member-contents register-pannel">
<form id="fregisterform" name="fregisterform" action="<?php echo $register_action_url ?>" onsubmit="return fregisterform_submit(this);" method="post" enctype="multipart/form-data" autocomplete="off">
<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 ?>">
@ -27,7 +29,8 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
<input type="hidden" name="mb_open_default" value="<?php echo $member['mb_open'] ?>">
<input type="hidden" name="mb_open" value="1">
<?php if (isset($member['mb_sex'])) { ?><input type="hidden" name="mb_sex" value="<?php echo $member['mb_sex'] ?>"><?php } ?>
<?php if (isset($member['mb_sex'])) { ?><input type="hidden" name="mb_sex"
value="<?php echo $member['mb_sex'] ?>"><?php } ?>
<?php if (isset($member['mb_nick_date']) && $member['mb_nick_date'] > date("Y-m-d", G5_SERVER_TIME - ($config['cf_nick_modify'] * 86400))) { // 닉네임수정일이 지나지 않았다면 ?>
<input type="hidden" name="mb_nick_default" value="<?php echo get_text($member['mb_nick']) ?>">
<input type="hidden" name="mb_nick" value="<?php echo get_text($member['mb_nick']) ?>">
@ -42,17 +45,20 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
<tr>
<th>아이디</th>
<td>
<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 <?php echo $required ?> <?php echo $readonly ?>" minlength="3" 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 <?php echo $required ?> <?php echo $readonly ?>"
minlength="3" maxlength="20">
<span id="msg_mb_id"></span>
</td>
</tr>
<tr>
<th scope="row">비밀번호</th>
<td><input type="password" name="mb_password" id="reg_mb_password" <?php echo $required ?> class="frm_input <?php echo $required ?>" minlength="3" maxlength="20"></td>
<td><input type="password" name="mb_password" id="reg_mb_password" <?php echo $required ?>
class="frm_input <?php echo $required ?>" minlength="3" maxlength="20"></td>
</tr>
<tr>
<th scope="row">비밀번호 확인</th>
<td><input type="password" name="mb_password_re" id="reg_mb_password_re" <?php echo $required ?> class="frm_input <?php echo $required ?>" minlength="3" maxlength="20"></td>
<td><input type="password" name="mb_password_re" id="reg_mb_password_re" <?php echo $required ?>
class="frm_input <?php echo $required ?>" minlength="3" maxlength="20"></td>
</tr>
</tbody>
</table>
@ -66,20 +72,25 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
<tr>
<th scope="row">닉네임</th>
<td>
<input type="text" name="mb_name" value="<?php echo isset($member['mb_name'])?get_text($member['mb_name']):''; ?>" required class="frm_input required" size="10" maxlength="20">
<input type="text" name="mb_name"
value="<?php echo isset($member['mb_name']) ? get_text($member['mb_name']) : ''; ?>" required
class="frm_input required" size="10" maxlength="20">
</td>
</tr>
<tr>
<th scope="row">생년</th>
<td>
<input type="text" name="mb_birth" value="<?php echo isset($member['mb_birth'])?$member['mb_birth']:''; ?>" required class="frm_input required" size="5" maxlength="100">
<input type="text" name="mb_birth"
value="<?php echo isset($member['mb_birth']) ? $member['mb_birth'] : ''; ?>" required
class="frm_input required" size="5" maxlength="100">
</td>
</tr>
</tbody>
</table>
<div class="btn_confirm txt-center">
<button type="submit" id="btn_submit" class="ui-btn point" accesskey="s"><?php echo $w==''?'회원가입':'정보수정'; ?></button>
<button type="submit" id="btn_submit" class="ui-btn point"
accesskey="s"><?php echo $w == '' ? '회원가입' : '정보수정'; ?></button>
<a href="<?php echo G5_URL ?>" class="ui-btn">취소</a>
</div>
</form>
@ -89,8 +100,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
<script>
// submit 최종 폼체크
function fregisterform_submit(f)
{
function fregisterform_submit(f) {
// 회원아이디 검사
if (f.w.value == "") {
var msg = reg_mb_id_check();

View file

@ -1,5 +1,6 @@
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
if (!defined('_GNUBOARD_'))
exit; // 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.css">', 0);
@ -17,7 +18,8 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
<section>
<h2>정보관리 안내</h2>
<div class="theme-box">
<p><strong class="txt-point">"<?php echo get_text($mb['mb_name']); ?>"</strong>님의 <strong><?=$config['cf_title']?></strong> 가입을 진심으로 축하합니다.</p>
<p><strong class="txt-point">"<?php echo get_text($mb['mb_name']); ?>"</strong>님의
<strong><?= $config['cf_title'] ?></strong> 가입을 진심으로 축하합니다.</p>
<p>회원님의 비밀번호는 아무도 없는 암호화 코드로 저장되므로 안심하셔도 좋습니다.</p>
<p>아이디, 비밀번호 분실시에는 총괄에게 문의해 주시길 바랍니다.</p>
</div>
@ -27,7 +29,8 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
<h2>캐릭터 생성</h2>
<div class="theme-box">
<p>캐릭터 생성은 신청기간 동안 생성하실 있습니다.</p>
<p>로그인 <strong>[ <a href="<?=G5_URL?>/mypage/">MY PAGE</a> > <a href="<?=G5_URL?>/mypage/character/">CHARACTER</a> ]</strong> 메뉴를 통해 생성 수정 관리를 하실 있습니다.</p>
<p>로그인 <strong>[ <a href="<?= G5_URL ?>/mypage/">MY PAGE</a> > <a
href="<?= G5_URL ?>/mypage/character/">CHARACTER</a> ]</strong> 메뉴를 통해 생성 수정 관리를 하실 있습니다.</p>
<p>신청기간이 끝난 뒤에 합격된 캐릭터들은 관리자 승인 MEMBER LIST 자동으로 등록됩니다.</p>
</div>
</section>

View file

@ -1,5 +1,6 @@
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
if (!defined('_GNUBOARD_'))
exit; // 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.css">', 0);
@ -25,14 +26,20 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
<?php for ($i = 0; $i < count($list); $i++) { ?>
<tr>
<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_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>
<td class="td_mng"><a href="<?php echo $list[$i]['del_href']; ?>"
onclick="del(this.href); return false;">삭제</a></td>
</tr>
<?php } ?>
<?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>
</div>

View file

@ -1,5 +1,6 @@
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
if (!defined('_GNUBOARD_'))
exit; // 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.css">', 0);

View file

@ -1,5 +1,6 @@
@charset "utf-8";
@import url(//fonts.googleapis.com/earlyaccess/notosanskr.css);
@font-face {
font-family: 'icon';
src: url('../../../css/fonts/icomoon.eot?y5isk6');
@ -11,9 +12,18 @@
font-style: normal;
}
html, body { position: relative; height: 100%; background: #fff; }
html,
body {
position: relative;
height: 100%;
background: #fff;
}
#login_page_box {
position: relative;
height: 100%;
}
#login_page_box { position: relative; height: 100%; }
#login_page_box:before {
content: "";
display: block;
@ -27,6 +37,7 @@ html, body { position: relative; height: 100%; background: #fff; }
background: url('./img/bak_admin_login_top_pattern.png');
z-index: 0;
}
#login_page_box:after {
content: "";
display: block;
@ -54,11 +65,13 @@ html, body { position: relative; height: 100%; background: #fff; }
box-sizing: border-box;
z-index: 3;
}
#login_title .inner {
position: relative;
width: 100%;
height: 100%;
}
#login_title h1 {
position: absolute;
top: 50%;
@ -75,9 +88,11 @@ html, body { position: relative; height: 100%; background: #fff; }
text-align: center;
line-height: 1.5em;
}
#login_title em strong {
color: #fff;
}
#login_title span {
display: block;
font-size: 16px;
@ -85,6 +100,7 @@ html, body { position: relative; height: 100%; background: #fff; }
color: #999;
text-align: center;
}
#login_title sup {
display: block;
position: relative;
@ -140,6 +156,7 @@ html, body { position: relative; height: 100%; background: #fff; }
margin-bottom: 5px;
margin-right: 130px;
}
#mb_login fieldset.input input {
display: block;
width: 100%;
@ -154,7 +171,10 @@ html, body { position: relative; height: 100%; background: #fff; }
outline: none;
border: 1px solid #eaeaea;
}
#mb_login fieldset.input input:focus { border: 2px solid #ecc6c6; }
#mb_login fieldset.input input:focus {
border: 2px solid #ecc6c6;
}
#mb_login fieldset.input label {
display: block;
@ -168,6 +188,7 @@ html, body { position: relative; height: 100%; background: #fff; }
text-indent: -999px;
}
#mb_login fieldset.input label:before {
display: block;
position: absolute;
@ -181,9 +202,18 @@ html, body { position: relative; height: 100%; background: #fff; }
font-size: 16px;
color: #ccc;
}
#mb_login fieldset.input input:focus + label:before { color: #ecc6c6; }
#mb_login fieldset.input label.login_id:before { content: "\e976"; }
#mb_login fieldset.input label.login_pw:before { content: "\e98e"; }
#mb_login fieldset.input input:focus+label:before {
color: #ecc6c6;
}
#mb_login fieldset.input label.login_id:before {
content: "\e976";
}
#mb_login fieldset.input label.login_pw:before {
content: "\e98e";
}
#mb_login fieldset.input input:-webkit-autofill {
transition: background-color 50000s ease-in-out 0s;
@ -201,7 +231,10 @@ html, body { position: relative; height: 100%; background: #fff; }
margin: 5px 130px 5px 0;
font-size: 11px;
}
#mb_login fieldset.check label { cursor: pointer; }
#mb_login fieldset.check label {
cursor: pointer;
}
#mb_login fieldset.button {
display: block;
@ -211,6 +244,7 @@ html, body { position: relative; height: 100%; background: #fff; }
width: 126px;
height: 128px;
}
#mb_login fieldset.button .btn_submit {
display: block;
width: 100%;

View file

@ -18,12 +18,19 @@
padding-top: 20px;
text-align: center;
}
#member_page .member-title * { display: block; }
#member_page .member-title * {
display: block;
}
#member_page .member-title span {
font-size: 15px;
font-weight: 600;
}
#member_page .member-contents { padding-top: 20px; }
#member_page .member-contents {
padding-top: 20px;
}
#member_page .member-contents h2 {
font-size: 16px;
@ -44,7 +51,11 @@
padding-top: 10px;
text-align: right;
}
#member_page .check-agree input { display: none; }
#member_page .check-agree input {
display: none;
}
#member_page .check-agree input+label:before {
content: "\ea53";
display: inline-block;
@ -53,6 +64,7 @@
margin-right: 5px;
font-size: 18px;
}
#member_page .check-agree input:checked+label:before {
content: "\ea52";
}
@ -63,6 +75,7 @@
width: 100%;
margin-bottom: 30px;
}
.member-form th {
font-size: 13px;
font-weight: 400;
@ -73,14 +86,48 @@
/*** PASSWORD ***/
#password_box {display:block; position:absolute; top:50%; left:50%; width:300px; transform:translate(-50%, -50%); -webkit-transform:translate(-50%, -50%);}
#password_box {
display: block;
position: absolute;
top: 50%;
left: 50%;
width: 300px;
transform: translate(-50%, -50%);
-webkit-transform: translate(-50%, -50%);
}
#password_box h1 {
display: block;
width: 100%;
height: auto;
padding: .5em;
font-size: 1.2em;
text-align: center;
}
#password_box h1+.theme-box {
border-top-width: 0;
margin-bottom: 3px;
}
#password_box .descript strong {
display: block;
}
#password_box .pass-form {
position: relative;
padding-right: 80px;
margin-top: 10px;
}
#password_box .pass-form fieldset {
display: block;
}
#password_box .pass-form fieldset+fieldset {
margin-top: 3px;
}
#password_box h1 {display:block; width:100%; height:auto; padding:.5em; font-size:1.2em; text-align:center;}
#password_box h1 + .theme-box { border-top-width: 0; margin-bottom: 3px; }
#password_box .descript strong {display:block;}
#password_box .pass-form {position:relative; padding-right:80px; margin-top:10px;}
#password_box .pass-form fieldset { display: block; }
#password_box .pass-form fieldset + fieldset { margin-top: 3px; }
#password_box .pass-form .box-btn {
display: block;
position: absolute;
@ -90,10 +137,17 @@
bottom: 0;
width: 70px;
}
#password_box .pass-form input[type="password"] { width: 100%; }
#password_box .pass-form input[type="password"] {
width: 100%;
}
#password_box .pass-form .box-btn .ui-btn {
width: 100%;
height: 100%;
padding: 0;
}
#password_box .btn_confirm {padding:0;}
#password_box .btn_confirm {
padding: 0;
}

View file

@ -1,10 +1,12 @@
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
if (!defined("_GNUBOARD_"))
exit; // 개별 페이지 접근 불가
// 선택삭제으로 인해 셀합치기가 가변적으로 변함
$colspan = 5;
if ($is_admin) $colspan++;
if ($is_admin)
$colspan++;
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="' . $new_skin_url . '/style.css">', 0);
@ -68,8 +70,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$new_skin_url.'/style.css">', 0);
</thead>
<tbody>
<?php
for ($i=0; $i<count($list); $i++)
{
for ($i = 0; $i < count($list); $i++) {
$num = $total_count - ($page - 1) * $config['cf_page_rows'] - $i;
$gr_subject = cut_str($list[$i]['gr_subject'], 20);
$bo_subject = cut_str($list[$i]['bo_subject'], 20);
@ -84,10 +85,15 @@ add_stylesheet('<link rel="stylesheet" href="'.$new_skin_url.'/style.css">', 0);
<input type="hidden" name="wr_id[<?php echo $i; ?>]" value="<?php echo $list[$i]['wr_id']; ?>">
</td>
<?php } ?>
<td class="td_group"><a href="./new.php?gr_id=<?php echo $list[$i]['gr_id'] ?>"><?php echo $gr_subject ?></a></td>
<td class="td_board"><a href="./board.php?bo_table=<?php echo $list[$i]['bo_table'] ?>"><?php echo $bo_subject ?></a></td>
<td><a href="<?php echo $list[$i]['href'] ?>"><?php echo $list[$i]['comment'] ?><?php echo $wr_subject ?></a></td>
<td class="td_name"><div><?php echo $list[$i]['name'] ?></div></td>
<td class="td_group"><a href="./new.php?gr_id=<?php echo $list[$i]['gr_id'] ?>"><?php echo $gr_subject ?></a>
</td>
<td class="td_board"><a
href="./board.php?bo_table=<?php echo $list[$i]['bo_table'] ?>"><?php echo $bo_subject ?></a></td>
<td><a href="<?php echo $list[$i]['href'] ?>"><?php echo $list[$i]['comment'] ?><?php echo $wr_subject ?></a>
</td>
<td class="td_name">
<div><?php echo $list[$i]['name'] ?></div>
</td>
<td class="td_date"><?php echo $list[$i]['datetime2'] ?></td>
</tr>
<?php } ?>
@ -114,8 +120,7 @@ $(function(){
});
});
function fnew_submit(f)
{
function fnew_submit(f) {
f.pressed.value = document.pressed;
var cnt = 0;

View file

@ -2,6 +2,24 @@
/* SIR 지운아빠 */
/* 최근게시물 스킨 (new) */
#new_sch {margin-bottom:10px;text-align:right}
#new_sch legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden}
#new_sch p {padding:5px 0 0;font-size:0.95em;text-align:right;letter-spacing:-0.1em}
#new_sch {
margin-bottom: 10px;
text-align: right
}
#new_sch legend {
position: absolute;
margin: 0;
padding: 0;
font-size: 0;
line-height: 0;
text-indent: -9999em;
overflow: hidden
}
#new_sch p {
padding: 5px 0 0;
font-size: 0.95em;
text-align: right;
letter-spacing: -0.1em
}

View file

@ -1,5 +1,6 @@
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
if (!defined("_GNUBOARD_"))
exit; // 개별 페이지 접근 불가
add_stylesheet('<link rel="stylesheet" href="' . $outlogin_skin_url . '/style.css">', 0);
?>

View file

@ -1,5 +1,6 @@
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
if (!defined("_GNUBOARD_"))
exit; // 개별 페이지 접근 불가
add_stylesheet('<link rel="stylesheet" href="' . $outlogin_skin_url . '/style.css">', 0);
?>
@ -73,4 +74,3 @@ add_stylesheet('<link rel="stylesheet" href="'.$outlogin_skin_url.'/style.css">'
</ul>
</div>
</div>

View file

@ -11,8 +11,14 @@
margin-bottom: 3px;
margin-right: 75px;
}
.login-skin-basic fieldset input[type="text"],
.login-skin-basic fieldset input[type="password"] { display: block; width: 100%; padding-left: 30px; }
.login-skin-basic fieldset input[type="password"] {
display: block;
width: 100%;
padding-left: 30px;
}
.login-skin-basic .box-id:before {
content: "\e976";
font-family: 'icon';
@ -23,6 +29,7 @@
left: 10px;
line-height: 30px;
}
.login-skin-basic .box-pw:before {
content: "\e98d";
font-family: 'icon';
@ -43,9 +50,19 @@
margin-right: 0;
}
.login-skin-basic fieldset.box-btn button { width: 100%; height: 100%; }
.login-skin-basic fieldset.box-join { margin-right: 0; }
.login-skin-basic fieldset.box-join .ui-btn { width: 100%; }
.login-skin-basic fieldset.box-btn button {
width: 100%;
height: 100%;
}
.login-skin-basic fieldset.box-join {
margin-right: 0;
}
.login-skin-basic fieldset.box-join .ui-btn {
width: 100%;
}
.logined-skin-basic {
@ -53,6 +70,7 @@
padding-left: 80px;
height: 90px;
}
.logined-skin-basic .ui-thumb {
position: absolute;
top: 0;
@ -61,6 +79,7 @@
height: 90px;
overflow: hidden;
}
.logined-skin-basic .ui-thumb .thumb-box {
display: block;
position: relative;
@ -69,11 +88,13 @@
overflow: hidden;
background: rgba(0, 0, 0, 0.5);
}
.logined-skin-basic .ui-thumb .thumb-box img {
min-width: 100%;
height: 100%;
max-width: 120%;
}
.logined-skin-basic .ui-thumb .ui-btn {
display: block;
width: 100%;
@ -81,6 +102,7 @@
line-height: 1.2em;
padding: 8px;
}
.logined-skin-basic .ui-thumb .ui-btn:before {
content: "\e973";
display: block;
@ -89,11 +111,17 @@
font-family: 'icon';
font-size: 20px;
}
.logined-skin-basic .ui-thumb .ui-btn.etc:before {
content: "\ea4e";
padding-top: 30px;
}
.logined-skin-basic .info { position: relative; height: 100%; }
.logined-skin-basic .info {
position: relative;
height: 100%;
}
.logined-skin-basic .info .name,
.logined-skin-basic .info .character {
display: block;
@ -129,12 +157,14 @@
bottom: 0;
overflow: hidden;
}
.logined-skin-basic .control-group li {
display: block;
position: relative;
width: 33.33%;
float: left;
}
.logined-skin-basic .control-group .ui-btn {
display: block;
width: 100%;
@ -142,6 +172,7 @@
font-size: 12px;
padding: 0 5px;
}
.logined-skin-basic .control-group .ui-btn i {
display: inline-block;
width: 18px;
@ -155,4 +186,7 @@
font-size: 11px;
}
.logined-skin-basic .control-group li + li .ui-btn { border-left-width: 0; }
.logined-skin-basic .control-group li+li .ui-btn {
border-left-width: 0;
}

View file

@ -1,12 +1,14 @@
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
if (!defined("_GNUBOARD_"))
exit; // 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="' . $poll_skin_url . '/style.css">', 0);
?>
<!-- 설문조사 시작 { -->
<form name="fpoll" action="<?php echo G5_BBS_URL ?>/poll_update.php" onsubmit="return fpoll_submit(this);" method="post">
<form name="fpoll" action="<?php echo G5_BBS_URL ?>/poll_update.php" onsubmit="return fpoll_submit(this);"
method="post">
<input type="hidden" name="po_id" value="<?php echo $po_id ?>">
<input type="hidden" name="skin_dir" value="<?php echo urlencode($skin_dir); ?>">
<section id="poll" class="theme-box" style="margin: 10px;">
@ -15,19 +17,20 @@ add_stylesheet('<link rel="stylesheet" href="'.$poll_skin_url.'/style.css">', 0)
</header>
<ul>
<?php for ($i = 1; $i <= 9 && $po["po_poll{$i}"]; $i++) { ?>
<li><input type="radio" name="gb_poll" value="<?php echo $i ?>" id="gb_poll_<?php echo $i ?>"> <label for="gb_poll_<?php echo $i ?>"><?php echo $po['po_poll'.$i] ?></label></li>
<li><input type="radio" name="gb_poll" value="<?php echo $i ?>" id="gb_poll_<?php echo $i ?>"> <label
for="gb_poll_<?php echo $i ?>"><?php echo $po['po_poll' . $i] ?></label></li>
<?php } ?>
</ul>
<footer>
<input type="submit" value="투표하기" class="ui-btn point">
<a href="<?php echo G5_BBS_URL."/poll_result.php?po_id=$po_id&amp;skin_dir=".urlencode($skin_dir); ?>" target="_blank" onclick="poll_result(this.href); return false;" class="ui-btn">결과보기</a>
<a href="<?php echo G5_BBS_URL . "/poll_result.php?po_id=$po_id&amp;skin_dir=" . urlencode($skin_dir); ?>"
target="_blank" onclick="poll_result(this.href); return false;" class="ui-btn">결과보기</a>
</footer>
</section>
</form>
<script>
function fpoll_submit(f)
{
function fpoll_submit(f) {
<?php
if ($member['mb_level'] < $po['po_level'])
echo " alert('권한 {$po['po_level']} 이상의 회원만 투표에 참여하실 수 있습니다.'); return false; ";
@ -52,8 +55,7 @@ function fpoll_submit(f)
return true;
}
function poll_result(url)
{
function poll_result(url) {
<?php
if ($member['mb_level'] < $po['po_level'])
echo " alert('권한 {$po['po_level']} 이상의 회원만 결과를 보실 수 있습니다.'); return false; ";

View file

@ -1,5 +1,6 @@
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
if (!defined("_GNUBOARD_"))
exit; // 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="' . $poll_skin_url . '/style.css">', 0);
@ -49,17 +50,21 @@ add_stylesheet('<link rel="stylesheet" href="'.$poll_skin_url.'/style.css">', 0)
<?php echo $list2[$i]['idea'] ?>
</p>
<footer>
<span class="poll_cmt_del"><?php if ($list2[$i]['del']) { echo $list2[$i]['del']."삭제</a>"; } ?></span>
<span class="poll_cmt_del"><?php if ($list2[$i]['del']) {
echo $list2[$i]['del'] . "삭제</a>";
} ?></span>
</footer>
</article>
<?php } ?>
<?php if ($member['mb_level'] >= $po['po_level']) { ?>
<form name="fpollresult" action="./poll_etc_update.php" onsubmit="return fpollresult_submit(this);" method="post" autocomplete="off">
<form name="fpollresult" action="./poll_etc_update.php" onsubmit="return fpollresult_submit(this);" method="post"
autocomplete="off">
<input type="hidden" name="po_id" value="<?php echo $po_id ?>">
<input type="hidden" name="w" value="">
<input type="hidden" name="skin_dir" value="<?php echo $skin_dir ?>">
<?php if ($is_member) { ?><input type="hidden" name="pc_name" value="<?php echo get_text(cut_str($member['mb_nick'],255)); ?>"><?php } ?>
<?php if ($is_member) { ?><input type="hidden" name="pc_name"
value="<?php echo get_text(cut_str($member['mb_nick'], 255)); ?>"><?php } ?>
<h3><?php echo $po_etc ?></h3>
<div class="tbl_frm01 tbl_wrap">
@ -73,7 +78,8 @@ add_stylesheet('<link rel="stylesheet" href="'.$poll_skin_url.'/style.css">', 0)
<?php } ?>
<tr>
<th scope="row"><label for="pc_idea">의견<strong class="sound_only">필수</strong></label></th>
<td><input type="text" id="pc_idea" name="pc_idea" required class="frm_input full required" maxlength="100"></td>
<td><input type="text" id="pc_idea" name="pc_idea" required class="frm_input full required"
maxlength="100"></td>
</tr>
<?php if ($is_guest) { ?>
<tr>
@ -99,7 +105,9 @@ add_stylesheet('<link rel="stylesheet" href="'.$poll_skin_url.'/style.css">', 0)
<aside id="poll_result_oth" class="theme-box">
<ul>
<?php for ($i = 0; $i < count($list3); $i++) { ?>
<li><a href="./poll_result.php?po_id=<?php echo $list3[$i]['po_id'] ?>&amp;skin_dir=<?php echo $skin_dir ?>">[<?php echo $list3[$i]['date'] ?>] <?php echo $list3[$i]['subject'] ?></a></li>
<li><a
href="./poll_result.php?po_id=<?php echo $list3[$i]['po_id'] ?>&amp;skin_dir=<?php echo $skin_dir ?>">[<?php echo $list3[$i]['date'] ?>]
<?php echo $list3[$i]['subject'] ?></a></li>
<?php } ?>
</ul>
</aside>
@ -115,9 +123,10 @@ $(function() {
});
});
function fpollresult_submit(f)
{
<?php if ($is_guest) { echo chk_captcha_js(); } ?>
function fpollresult_submit(f) {
<?php if ($is_guest) {
echo chk_captcha_js();
} ?>
return true;
}

View file

@ -3,20 +3,33 @@
/* ### 기본 스타일 커스터마이징 시작 ### */
#poll a.btn_admin {} /* 관리자 전용 버튼 */
#poll a.btn_admin:focus, #poll a.btn_admin:hover {}
#poll a.btn_admin {}
/* 관리자 전용 버튼 */
#poll a.btn_admin:focus,
#poll a.btn_admin:hover {}
#poll_result .tbl_frm table {}
#poll_result .tbl_frm .frm_info {}
#poll_result .tbl_frm .frm_address {}
#poll_result .tbl_frm .frm_file {}
#poll_result .tbl_frm caption {}
#poll_result .tbl_frm01 {}
#poll_result .tbl_frm01 th {}
#poll_result .tbl_frm01 td {}
#poll_result .tbl_frm01 textarea, #poll_result tbl_frm01 .frm_input {}
#poll_result .tbl_frm01 textarea,
#poll_result tbl_frm01 .frm_input {}
#poll_result .tbl_frm01 textarea {}
/*
#poll_result .tbl_frm01 #captcha {}
#poll_result .tbl_frm01 #captcha input {}
@ -24,64 +37,245 @@
#poll_result .tbl_frm01 a {}
/* 필수입력 */
#poll_result .required, #poll_result textarea.required {}
#poll_result .required,
#poll_result textarea.required {}
#poll_result .btn_confirm {} /* 서식단계 진행 */
#poll_result .btn_confirm {}
/* 서식단계 진행 */
#poll_result .btn_submit {}
#poll_result button.btn_submit {}
#poll_result .win_btn {} /* 새창용 */
#poll_result .win_btn {}
/* 새창용 */
#poll_result .win_btn button {}
#poll_result .win_btn input {}
#poll_result .win_btn a {}
#poll_result .win_btn a:focus, #poll_result .win_btn a:hover {}
#poll_result .win_btn a:focus,
#poll_result .win_btn a:hover {}
/* ### 기본 스타일 커스터마이징 끝 ### */
/* 설문조사 스킨 */
#poll header {position:relative;padding:15px 14px 0}
#poll h2 { text-align: center; border-bottom: 1px solid #fff; padding-bottom: 20px; margin-bottom: 20px; }
#poll header .btn_admin {margin-top:5px;width:158px;text-align:center}
#poll header p {padding:5px 0 0}
#poll ul {margin:0 0 10px;padding:5px 14px;list-style:none}
#poll li {padding:3px 0}
#poll footer {padding:0 14px 14px; text-align: center;}
#poll header {
position: relative;
padding: 15px 14px 0
}
#poll h2 {
text-align: center;
border-bottom: 1px solid #fff;
padding-bottom: 20px;
margin-bottom: 20px;
}
#poll header .btn_admin {
margin-top: 5px;
width: 158px;
text-align: center
}
#poll header p {
padding: 5px 0 0
}
#poll ul {
margin: 0 0 10px;
padding: 5px 14px;
list-style: none
}
#poll li {
padding: 3px 0
}
#poll footer {
padding: 0 14px 14px;
text-align: center;
}
/* 설문조사 결과 (새창) */
#poll_result { padding: 20px 0; }
#poll_result section {margin:0 20px 20px;padding:15px;}
#poll_result .tbl_wrap {margin:0}
#poll_result h2 {margin:0;padding:20px 0}
#poll_result {
padding: 20px 0;
}
#poll_result section {
margin: 0 20px 20px;
padding: 15px;
}
#poll_result .tbl_wrap {
margin: 0
}
#poll_result h2 {
margin: 0;
padding: 20px 0
}
#poll_result a {}
#poll_result .sv_member,
#poll_result .sv_guest {font-weight:bold}
#poll_result_list {margin:0 auto 20px}
#poll_result_list h2 {text-align:center}
#poll_result .sv_guest {
font-weight: bold
}
#poll_result_list {
margin: 0 auto 20px
}
#poll_result_list h2 {
text-align: center
}
#poll_result_list dl,
#poll_result_list dt,
#poll_result_list dd {margin:0;padding:0}
#poll_result_list dl {padding-bottom:30px}
#poll_result_list dt {margin-right:5%;color:#e8180d;text-align:right}
#poll_result_list ol {margin:0;padding-left:30px}
#poll_result_list li {margin-top:10px}
#poll_result_list p {position:relative;margin:0;padding:5px 0}
#poll_result_list p strong {position:absolute;top:5px;right:5%;padding-right:80px;width:100px;text-align:right}
#poll_result_list p span {position:absolute;top:5px;right:5%;width:80px;color:#68999c;text-align:right}
.poll_result_graph {position:relative;margin-right:5%;height:5px;background:#eee}
.poll_result_graph span {position:absolute;top:0;left:0;height:5px;background:#565e60;font-size:0.1em}
#poll_result_list dd {
margin: 0;
padding: 0
}
#poll_result_list dl {
padding-bottom: 30px
}
#poll_result_list dt {
margin-right: 5%;
color: #e8180d;
text-align: right
}
#poll_result_list ol {
margin: 0;
padding-left: 30px
}
#poll_result_list li {
margin-top: 10px
}
#poll_result_list p {
position: relative;
margin: 0;
padding: 5px 0
}
#poll_result_list p strong {
position: absolute;
top: 5px;
right: 5%;
padding-right: 80px;
width: 100px;
text-align: right
}
#poll_result_list p span {
position: absolute;
top: 5px;
right: 5%;
width: 80px;
color: #68999c;
text-align: right
}
.poll_result_graph {
position: relative;
margin-right: 5%;
height: 5px;
background: #eee
}
.poll_result_graph span {
position: absolute;
top: 0;
left: 0;
height: 5px;
background: #565e60;
font-size: 0.1em
}
#poll_result_cmt {}
#poll_result_cmt h2 {text-align:center}
#poll_result_cmt h3 {margin:0 0 10px}
#poll_result_cmt article {margin:0 0 15px;border-bottom:1px solid #eee}
#poll_result_cmt h1 {position:absolute;margin:0;padding:0;border:0;font-size:0;text-indent:-9999em;line-height:0;overflow:hidden}
.poll_datetime {display:inline-block;margin-left:10px}
#poll_result_cmt p {padding:3px 0}
#poll_result_cmt fieldset {margin-bottom:0;text-align:left}
#poll_result_cmt fieldset p {margin:0 0 15px;padding:3px 0 0px;text-align:left}
#poll_result_cmt footer {text-align:right}
#poll_result_wcmt {margin:0 0 10px}
.poll_cmt_del a {display:inline-block;padding-bottom:10px}
#poll_result_oth {margin:0 auto 20px;width:93%}
#poll_result_oth h2 {padding:0 0 10px}
#poll_result_oth ul {margin:0;padding:0;list-style:none}
#poll_result_oth a {display:block;padding:10px 0;border-bottom:1px solid #eee}
#poll_result_cmt h2 {
text-align: center
}
#poll_result_cmt h3 {
margin: 0 0 10px
}
#poll_result_cmt article {
margin: 0 0 15px;
border-bottom: 1px solid #eee
}
#poll_result_cmt h1 {
position: absolute;
margin: 0;
padding: 0;
border: 0;
font-size: 0;
text-indent: -9999em;
line-height: 0;
overflow: hidden
}
.poll_datetime {
display: inline-block;
margin-left: 10px
}
#poll_result_cmt p {
padding: 3px 0
}
#poll_result_cmt fieldset {
margin-bottom: 0;
text-align: left
}
#poll_result_cmt fieldset p {
margin: 0 0 15px;
padding: 3px 0 0px;
text-align: left
}
#poll_result_cmt footer {
text-align: right
}
#poll_result_wcmt {
margin: 0 0 10px
}
.poll_cmt_del a {
display: inline-block;
padding-bottom: 10px
}
#poll_result_oth {
margin: 0 auto 20px;
width: 93%
}
#poll_result_oth h2 {
padding: 0 0 10px
}
#poll_result_oth ul {
margin: 0;
padding: 0;
list-style: none
}
#poll_result_oth a {
display: block;
padding: 10px 0;
border-bottom: 1px solid #eee
}

View file

@ -1,5 +1,6 @@
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
if (!defined("_GNUBOARD_"))
exit; // 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="' . $popular_skin_url . '/style.css">', 0);
@ -11,7 +12,9 @@ add_stylesheet('<link rel="stylesheet" href="'.$popular_skin_url.'/style.css">',
<h2>인기검색어</h2>
<ul>
<?php for ($i = 0; $i < count($list); $i++) { ?>
<li><a href="<?php echo G5_BBS_URL ?>/search.php?sfl=wr_subject&amp;sop=and&amp;stx=<?php echo urlencode($list[$i]['pp_word']) ?>"><?php echo get_text($list[$i]['pp_word']); ?></a></li>
<li><a
href="<?php echo G5_BBS_URL ?>/search.php?sfl=wr_subject&amp;sop=and&amp;stx=<?php echo urlencode($list[$i]['pp_word']) ?>"><?php echo get_text($list[$i]['pp_word']); ?></a>
</li>
<?php } ?>
</ul>
</div>

View file

@ -2,11 +2,44 @@
/* SIR 지운아빠 */
/* 인기검색어 */
#popular {border-bottom:1px dotted #dde4e9}
#popular div {margin:0 auto;width:970px;zoom:1}
#popular div:after {display:block;visibility:hidden;clear:both;content:""}
#popular h2 {float:left;padding:10px 45px 10px 0}
#popular ul {float:left;margin:0;padding:0;list-style:none}
#popular li {float:left}
#popular a {display:inline-block;padding:10px;text-decoration:none}
#popular a:focus, #popular a:hover {}
#popular {
border-bottom: 1px dotted #dde4e9
}
#popular div {
margin: 0 auto;
width: 970px;
zoom: 1
}
#popular div:after {
display: block;
visibility: hidden;
clear: both;
content: ""
}
#popular h2 {
float: left;
padding: 10px 45px 10px 0
}
#popular ul {
float: left;
margin: 0;
padding: 0;
list-style: none
}
#popular li {
float: left
}
#popular a {
display: inline-block;
padding: 10px;
text-decoration: none
}
#popular a:focus,
#popular a:hover {}

View file

@ -1,10 +1,12 @@
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
if (!defined('_GNUBOARD_'))
exit; // 개별 페이지 접근 불가
// 선택옵션으로 인해 셀합치기가 가변적으로 변함
$colspan = 6;
if ($is_checkbox) $colspan++;
if ($is_checkbox)
$colspan++;
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="' . $qa_skin_url . '/style.css">', 0);
@ -54,7 +56,8 @@ add_stylesheet('<link rel="stylesheet" href="'.$qa_skin_url.'/style.css">', 0);
<?php if ($is_checkbox) { ?>
<td class="td_chk txt-center">
<label for="chk_qa_id_<?php echo $i ?>" class="sound_only"><?php echo $list[$i]['subject']; ?></label>
<input type="checkbox" name="chk_qa_id[]" value="<?php echo $list[$i]['qa_id'] ?>" id="chk_qa_id_<?php echo $i ?>">
<input type="checkbox" name="chk_qa_id[]" value="<?php echo $list[$i]['qa_id'] ?>"
id="chk_qa_id_<?php echo $i ?>">
</td>
<?php } ?>
<td class="td_subject">
@ -64,14 +67,17 @@ add_stylesheet('<link rel="stylesheet" href="'.$qa_skin_url.'/style.css">', 0);
<?php echo $list[$i]['icon_file']; ?>
</td>
<td class="td_name txt-center"><?php echo $list[$i]['name']; ?></td>
<td class="td_stat txt-center <?php echo ($list[$i]['qa_status'] ? 'txt_done' : 'txt_rdy'); ?>"><?php echo ($list[$i]['qa_status'] ? '답변완료' : '답변대기'); ?></td>
<td class="td_stat txt-center <?php echo ($list[$i]['qa_status'] ? 'txt_done' : 'txt_rdy'); ?>">
<?php echo ($list[$i]['qa_status'] ? '답변완료' : '답변대기'); ?></td>
<td class="td_date txt-center"><?php echo $list[$i]['date']; ?></td>
</tr>
<?php
}
?>
<?php if ($i == 0) { echo '<tr><td colspan="'.$colspan.'" class="no-data">게시물이 없습니다.</td></tr>'; } ?>
<?php if ($i == 0) {
echo '<tr><td colspan="' . $colspan . '" class="no-data">게시물이 없습니다.</td></tr>';
} ?>
</tbody>
</table>
@ -80,7 +86,8 @@ add_stylesheet('<link rel="stylesheet" href="'.$qa_skin_url.'/style.css">', 0);
<div class="btn_bo_user txt-right">
<?php if ($is_checkbox) { ?><input type="submit" name="btn_submit" class="ui-btn admin" value="선택삭제" onclick="document.pressed=this.value"><?php } ?>
<?php if ($is_checkbox) { ?><input type="submit" name="btn_submit" class="ui-btn admin" value="선택삭제"
onclick="document.pressed=this.value"><?php } ?>
<?php if ($list_href) { ?><a href="<?php echo $list_href ?>" class="ui-btn">목록</a><?php } ?>
<?php if ($write_href) { ?><a href="<?php echo $write_href ?>" class="ui-btn point">문의등록</a><?php } ?>
</div>
@ -104,7 +111,8 @@ add_stylesheet('<link rel="stylesheet" href="'.$qa_skin_url.'/style.css">', 0);
<form name="fsearch" method="get">
<input type="hidden" name="sca" value="<?php echo $sca ?>">
<label for="stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
<input type="text" name="stx" value="<?php echo stripslashes($stx) ?>" id="stx" required class="frm_input required" size="15" maxlength="15">
<input type="text" name="stx" value="<?php echo stripslashes($stx) ?>" id="stx" required class="frm_input required"
size="15" maxlength="15">
<input type="submit" value="검색" class="ui-btn">
</form>
</fieldset>

View file

@ -2,8 +2,18 @@
/** Notice Box **/
.board-notice { width: 264px; padding: 10px; margin: 0 auto; text-align: center; box-sizing: border-box; }
.btn_bo_user { padding: 15px 0; }
.board-notice {
width: 264px;
padding: 10px;
margin: 0 auto;
text-align: center;
box-sizing: border-box;
}
.btn_bo_user {
padding: 15px 0;
}
/*
@media all and (max-width: 640px) {

View file

@ -1,5 +1,6 @@
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
if (!defined("_GNUBOARD_"))
exit; // 개별 페이지 접근 불가
?>
<table class="theme-form">

View file

@ -1,5 +1,6 @@
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
if (!defined("_GNUBOARD_"))
exit; // 개별 페이지 접근 불가
?>
<section id="bo_v_ans">
@ -9,7 +10,8 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<h2 style="padding-bottom: 20px; padding-left: 20px;">답변등록</h2>
<form name="fanswer" method="post" action="./qawrite_update.php" onsubmit="return fwrite_submit(this);" autocomplete="off">
<form name="fanswer" method="post" action="./qawrite_update.php" onsubmit="return fwrite_submit(this);"
autocomplete="off">
<input type="hidden" name="qa_id" value="<?php echo $view['qa_id']; ?>">
<input type="hidden" name="w" value="a">
<input type="hidden" name="sca" value="<?php echo $sca ?>">
@ -36,7 +38,8 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
<tbody>
<tr>
<th><label for="qa_subject">제목</label></th>
<td><input type="text" name="qa_subject" value="" id="qa_subject" required class="frm_input required full" maxlength="255"></td>
<td><input type="text" name="qa_subject" value="" id="qa_subject" required class="frm_input required full"
maxlength="255"></td>
</tr>
<tr>
<th scope="row"><label for="qa_content">내용<strong class="sound_only">필수</strong></label></th>
@ -53,8 +56,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
</form>
<script>
function html_auto_br(obj)
{
function html_auto_br(obj) {
if (obj.checked) {
result = confirm("자동 줄바꿈을 하시겠습니까?\n\n자동 줄바꿈은 게시물 내용중 줄바뀐 곳을<br>태그로 변환하는 기능입니다.");
if (result)
@ -66,8 +68,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
obj.value = "";
}
function fwrite_submit(f)
{
function fwrite_submit(f) {
<?php echo $editor_js; // 에디터 사용시 자바스크립트에서 내용을 폼필드로 넣어주며 내용이 입력되었는지 검사함 ?>
var subject = "";
@ -109,9 +110,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
}
</script>
<?php
}
else
{
} else {
?>
<p id="ans_msg">고객님의 문의에 대한 답변을 준비 중입니다.</p>
<?php

View file

@ -1,5 +1,6 @@
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
if (!defined("_GNUBOARD_"))
exit; // 개별 페이지 접근 불가
include_once(G5_LIB_PATH . '/thumbnail.lib.php');
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
@ -85,7 +86,8 @@ add_stylesheet('<link rel="stylesheet" href="'.$qa_skin_url.'/style.css">', 0);
<?php if ($next_href) { ?><a href="<?php echo $next_href ?>" class="ui-btn">다음글</a><?php } ?>
<?php if ($update_href) { ?><a href="<?php echo $update_href ?>" class="ui-btn">수정</a><?php } ?>
<?php if ($delete_href) { ?><a href="<?php echo $delete_href ?>" class="ui-btn" onclick="del(this.href); return false;">삭제</a><?php } ?>
<?php if ($delete_href) { ?><a href="<?php echo $delete_href ?>" class="ui-btn"
onclick="del(this.href); return false;">삭제</a><?php } ?>
<a href="<?php echo $list_href ?>" class="ui-btn">목록</a>
<?php if ($write_href) { ?><a href="<?php echo $write_href ?>" class="ui-btn">글쓰기</a><?php } ?>
<?php

View file

@ -1,12 +1,14 @@
<?php
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
if (!defined('_GNUBOARD_'))
exit; // 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="' . $qa_skin_url . '/style.css">', 0);
?>
<!-- 게시물 작성/수정 시작 { -->
<form name="fwrite" id="fwrite" action="<?php echo $action_url ?>" onsubmit="return fwrite_submit(this);" method="post" enctype="multipart/form-data" autocomplete="off">
<form name="fwrite" id="fwrite" action="<?php echo $action_url ?>" onsubmit="return fwrite_submit(this);" method="post"
enctype="multipart/form-data" autocomplete="off">
<input type="hidden" name="w" value="<?php echo $w ?>">
<input type="hidden" name="qa_id" value="<?php echo $qa_id ?>">
<input type="hidden" name="sca" value="<?php echo $sca ?>">
@ -49,7 +51,8 @@ echo $option_hidden;
<th scope="row"><label for="qa_email">이메일</label></th>
<td>
<input type="text" name="qa_email" value="<?php echo get_text($write['qa_email']); ?>" id="qa_email" <?php echo $req_email; ?> class="<?php echo $req_email . ' '; ?>frm_input email" size="50" maxlength="100">
<input type="checkbox" name="qa_email_recv" value="1" <?php if($write['qa_email_recv']) echo 'checked="checked"'; ?>>
<input type="checkbox" name="qa_email_recv" value="1" <?php if ($write['qa_email_recv'])
echo 'checked="checked"'; ?>>
<label for="qa_email_recv">답변받기</label>
</td>
</tr>
@ -58,7 +61,8 @@ echo $option_hidden;
<tr>
<th scope="row"><label for="qa_subject">제목<strong class="sound_only">필수</strong></label></th>
<td>
<input type="text" name="qa_subject" value="<?php echo get_text($write['qa_subject']); ?>" id="qa_subject" required class="frm_input required" size="50" maxlength="255">
<input type="text" name="qa_subject" value="<?php echo get_text($write['qa_subject']); ?>" id="qa_subject"
required class="frm_input required" size="50" maxlength="255">
</td>
</tr>
@ -72,9 +76,11 @@ echo $option_hidden;
<tr>
<th scope="row">파일 #1</th>
<td>
<input type="file" name="bf_file[1]" title="파일첨부 1 : 용량 <?php echo $upload_max_filesize; ?> 이하만 업로드 가능" class="frm_file frm_input">
<input type="file" name="bf_file[1]" title="파일첨부 1 : 용량 <?php echo $upload_max_filesize; ?> 이하만 업로드 가능"
class="frm_file frm_input">
<?php if ($w == 'u' && $write['qa_file1']) { ?>
<input type="checkbox" id="bf_file_del1" name="bf_file_del[1]" value="1"> <label for="bf_file_del1"><?php echo $write['qa_source1']; ?> 파일 삭제</label>
<input type="checkbox" id="bf_file_del1" name="bf_file_del[1]" value="1"> <label
for="bf_file_del1"><?php echo $write['qa_source1']; ?> 파일 삭제</label>
<?php } ?>
</td>
</tr>
@ -82,9 +88,11 @@ echo $option_hidden;
<tr>
<th scope="row">파일 #2</th>
<td>
<input type="file" name="bf_file[2]" title="파일첨부 2 : 용량 <?php echo $upload_max_filesize; ?> 이하만 업로드 가능" class="frm_file frm_input">
<input type="file" name="bf_file[2]" title="파일첨부 2 : 용량 <?php echo $upload_max_filesize; ?> 이하만 업로드 가능"
class="frm_file frm_input">
<?php if ($w == 'u' && $write['qa_file2']) { ?>
<input type="checkbox" id="bf_file_del2" name="bf_file_del[2]" value="1"> <label for="bf_file_del2"><?php echo $write['qa_source2']; ?> 파일 삭제</label>
<input type="checkbox" id="bf_file_del2" name="bf_file_del[2]" value="1"> <label
for="bf_file_del2"><?php echo $write['qa_source2']; ?> 파일 삭제</label>
<?php } ?>
</td>
</tr>
@ -101,8 +109,7 @@ echo $option_hidden;
</form>
<script>
function html_auto_br(obj)
{
function html_auto_br(obj) {
if (obj.checked) {
result = confirm("자동 줄바꿈을 하시겠습니까?\n\n자동 줄바꿈은 게시물 내용중 줄바뀐 곳을<br>태그로 변환하는 기능입니다.");
if (result)
@ -114,8 +121,7 @@ function html_auto_br(obj)
obj.value = "";
}
function fwrite_submit(f)
{
function fwrite_submit(f) {
<?php echo $editor_js; // 에디터 사용시 자바스크립트에서 내용을 폼필드로 넣어주며 내용이 입력되었는지 검사함 ?>
var subject = "";

View file

@ -1,5 +1,6 @@
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
if (!defined("_GNUBOARD_"))
exit; // 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="' . $search_skin_url . '/style.css">', 0);
@ -15,7 +16,8 @@ add_stylesheet('<link rel="stylesheet" href="'.$search_skin_url.'/style.css">',
<label for="sfl" class="sound_only">검색조건</label>
<select name="sfl" id="sfl">
<option value="wr_subject||wr_content"<?php echo get_selected($_GET['sfl'], "wr_subject||wr_content") ?>>제목+내용</option>
<option value="wr_subject||wr_content" <?php echo get_selected($_GET['sfl'], "wr_subject||wr_content") ?>>제목+내용
</option>
<option value="wr_subject" <?php echo get_selected($_GET['sfl'], "wr_subject") ?>>제목</option>
<option value="wr_content" <?php echo get_selected($_GET['sfl'], "wr_content") ?>>내용</option>
<option value="mb_id" <?php echo get_selected($_GET['sfl'], "mb_id") ?>>회원아이디</option>
@ -23,12 +25,12 @@ add_stylesheet('<link rel="stylesheet" href="'.$search_skin_url.'/style.css">',
</select>
<label for="stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
<input type="text" name="stx" value="<?php echo $text_stx ?>" id="stx" required class="frm_input required" maxlength="20">
<input type="text" name="stx" value="<?php echo $text_stx ?>" id="stx" required class="frm_input required"
maxlength="20">
<input type="submit" class="btn_submit" value="검색">
<script>
function fsearch_submit(f)
{
function fsearch_submit(f) {
if (f.stx.value.length < 2) {
alert("검색어는 두글자 이상 입력하십시오.");
f.stx.select();
@ -94,33 +96,35 @@ add_stylesheet('<link rel="stylesheet" href="'.$search_skin_url.'/style.css">',
} else {
?>
<div class="empty_list">검색된 자료가 하나도 없습니다.</div>
<?php } } ?>
<?php }
} ?>
<hr>
<?php if ($stx && $board_count) { ?><section class="sch_res_list"><?php } ?>
<?php if ($stx && $board_count) { ?>
<section class="sch_res_list"><?php } ?>
<?php
$k = 0;
for ($idx = $table_index, $k = 0; $idx < count($search_table) && $k < $rows; $idx++) {
?>
<h2><a href="./board.php?bo_table=<?php echo $search_table[$idx] ?>&amp;<?php echo $search_query ?>"><?php echo $bo_subject[$idx] ?> 게시판 내 결과</a></h2>
<h2><a
href="./board.php?bo_table=<?php echo $search_table[$idx] ?>&amp;<?php echo $search_query ?>"><?php echo $bo_subject[$idx] ?>
게시판 결과</a></h2>
<ul>
<?php
for ($i = 0; $i < count($list[$idx]) && $k < $rows; $i++, $k++) {
if ($list[$idx][$i]['wr_is_comment'])
{
if ($list[$idx][$i]['wr_is_comment']) {
$comment_def = '<span class="cmt_def">댓글 | </span>';
$comment_href = '#c_' . $list[$idx][$i]['wr_id'];
}
else
{
} else {
$comment_def = '';
$comment_href = '';
}
?>
<li>
<a href="<?php echo $list[$idx][$i]['href'] ?><?php echo $comment_href ?>" class="sch_res_title"><?php echo $comment_def ?><?php echo $list[$idx][$i]['subject'] ?></a>
<a href="<?php echo $list[$idx][$i]['href'] ?><?php echo $comment_href ?>"
class="sch_res_title"><?php echo $comment_def ?><?php echo $list[$idx][$i]['subject'] ?></a>
<a href="<?php echo $list[$idx][$i]['href'] ?><?php echo $comment_href ?>" target="_blank">새창</a>
<p><?php echo $list[$idx][$i]['content'] ?></p>
<?php echo $list[$idx][$i]['name'] ?>
@ -128,11 +132,14 @@ add_stylesheet('<link rel="stylesheet" href="'.$search_skin_url.'/style.css">',
</li>
<?php } ?>
</ul>
<div class="sch_more"><a href="./board.php?bo_table=<?php echo $search_table[$idx] ?>&amp;<?php echo $search_query ?>"><strong><?php echo $bo_subject[$idx] ?></strong> 결과 더보기</a></div>
<div class="sch_more"><a
href="./board.php?bo_table=<?php echo $search_table[$idx] ?>&amp;<?php echo $search_query ?>"><strong><?php echo $bo_subject[$idx] ?></strong>
결과 더보기</a></div>
<hr>
<?php } ?>
<?php if ($stx && $board_count) { ?></section><?php } ?>
<?php if ($stx && $board_count) { ?>
</section><?php } ?>
<?php echo $write_pages ?>

View file

@ -2,28 +2,140 @@
/* SIR 지운아빠 */
/* 전체검색결과 스킨 */
#sch_res_detail {padding:0 0 10px;border-bottom:1px solid #e9e9e9;text-align:center}
#sch_res_detail legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden}
#sch_res_ov {margin:0 0 10px;padding:10px;border-bottom:1px solid #e9e9e9;background:#f5f6fa;zoom:1}
#sch_res_ov:after {display:block;visibility:hidden;clear:both;content:""}
#sch_res_ov h2 {float:left}
#sch_res_ov dl {float:left;margin:0 0 0 10px}
#sch_res_ov dt {float:left}
#sch_res_ov dd {float:left;margin:0 10px 0 5px}
#sch_res_ov p {float:right;margin:0;padding:0;line-height:1em}
#sch_res_detail {
padding: 0 0 10px;
border-bottom: 1px solid #e9e9e9;
text-align: center
}
#sch_res_board {margin:0 0 10px;padding-left:1px;list-style:none;zoom:1}
#sch_res_board:after {display:block;visibility:hidden;clear:both;content:""}
#sch_res_board li {float:left;margin-bottom:-1px}
#sch_res_board a {display:block;position:relative;margin-left:-1px;padding:6px 0 5px;width:180px;border:1px solid #ddd;text-align:center;letter-spacing:-0.1em;line-height:1.2em;cursor:pointer}
#sch_res_board a:focus, #sch_res_board a:hover, #sch_res_board a:active {text-decoration:none}
#sch_res_board .cnt_cmt {font-weight:normal !important}
#sch_res_detail legend {
position: absolute;
margin: 0;
padding: 0;
font-size: 0;
line-height: 0;
text-indent: -9999em;
overflow: hidden
}
.sch_res_list {margin:0 0 10px;padding:10px 0 15px}
.sch_res_list h2 {margin:0 0 15px;font-size:1.2em}
.sch_res_list ul {margin:0;padding:0;list-style:none}
.sch_res_list li {margin:0 0 10px;padding:0 0 10px;border-bottom:1px solid #e9e9e9}
.sch_res_title {display:inline-block;margin:0 0 5px}
.sch_res_list p {margin:0 0 10px;line-height:1.8em}
.sch_more {text-align:right}
.sch_on {color:#ff3061}
#sch_res_ov {
margin: 0 0 10px;
padding: 10px;
border-bottom: 1px solid #e9e9e9;
background: #f5f6fa;
zoom: 1
}
#sch_res_ov:after {
display: block;
visibility: hidden;
clear: both;
content: ""
}
#sch_res_ov h2 {
float: left
}
#sch_res_ov dl {
float: left;
margin: 0 0 0 10px
}
#sch_res_ov dt {
float: left
}
#sch_res_ov dd {
float: left;
margin: 0 10px 0 5px
}
#sch_res_ov p {
float: right;
margin: 0;
padding: 0;
line-height: 1em
}
#sch_res_board {
margin: 0 0 10px;
padding-left: 1px;
list-style: none;
zoom: 1
}
#sch_res_board:after {
display: block;
visibility: hidden;
clear: both;
content: ""
}
#sch_res_board li {
float: left;
margin-bottom: -1px
}
#sch_res_board a {
display: block;
position: relative;
margin-left: -1px;
padding: 6px 0 5px;
width: 180px;
border: 1px solid #ddd;
text-align: center;
letter-spacing: -0.1em;
line-height: 1.2em;
cursor: pointer
}
#sch_res_board a:focus,
#sch_res_board a:hover,
#sch_res_board a:active {
text-decoration: none
}
#sch_res_board .cnt_cmt {
font-weight: normal !important
}
.sch_res_list {
margin: 0 0 10px;
padding: 10px 0 15px
}
.sch_res_list h2 {
margin: 0 0 15px;
font-size: 1.2em
}
.sch_res_list ul {
margin: 0;
padding: 0;
list-style: none
}
.sch_res_list li {
margin: 0 0 10px;
padding: 0 0 10px;
border-bottom: 1px solid #e9e9e9
}
.sch_res_title {
display: inline-block;
margin: 0 0 5px
}
.sch_res_list p {
margin: 0 0 10px;
line-height: 1.8em
}
.sch_more {
text-align: right
}
.sch_on {
color: #ff3061
}

View file

@ -2,12 +2,51 @@
/* SIR 지운아빠 */
/* 방문자 집계 */
#visit {border-bottom:1px dotted #dde4e9}
#visit div {margin:0 auto;width:970px;zoom:1}
#visit div:after {display:block;visibility:hidden;clear:both;content:""}
#visit h2 {float:left;padding:10px 45px 10px 0}
#visit dl {float:left;margin:0 0 0 10px;padding:0}
#visit dt {float:left;margin:0;padding:10px 0 10px}
#visit dd {float:left;margin:0 30px 0 0;padding:10px}
#visit a {display:inline-block;padding:10px;text-decoration:none}
#visit a:focus, #visit a:hover {}
#visit {
border-bottom: 1px dotted #dde4e9
}
#visit div {
margin: 0 auto;
width: 970px;
zoom: 1
}
#visit div:after {
display: block;
visibility: hidden;
clear: both;
content: ""
}
#visit h2 {
float: left;
padding: 10px 45px 10px 0
}
#visit dl {
float: left;
margin: 0 0 0 10px;
padding: 0
}
#visit dt {
float: left;
margin: 0;
padding: 10px 0 10px
}
#visit dd {
float: left;
margin: 0 30px 0 0;
padding: 10px
}
#visit a {
display: inline-block;
padding: 10px;
text-decoration: none
}
#visit a:focus,
#visit a:hover {}

View file

@ -1,5 +1,6 @@
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
if (!defined("_GNUBOARD_"))
exit; // 개별 페이지 접근 불가
global $is_admin;

View file

@ -12,7 +12,8 @@
</div>
<ul>
<li>
<a href="<?= G5_URL ?>/bgm.php?action=play" target="bgm_frame" class="play" onclick="return fn_control_bgm('play')">
<a href="<?= G5_URL ?>/bgm.php?action=play" target="bgm_frame" class="play"
onclick="return fn_control_bgm('play')">
재생
</a>
</li>