unmanaged codestyle update
This commit is contained in:
parent
99e42ff33c
commit
ca0a04bc24
46 changed files with 2879 additions and 2222 deletions
|
|
@ -1,8 +1,9 @@
|
|||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit;
|
||||
if (!defined('_GNUBOARD_'))
|
||||
exit;
|
||||
|
||||
// 방문자수 출력
|
||||
function visit($skin_dir='basic')
|
||||
function visit($skin_dir = 'basic')
|
||||
{
|
||||
global $config, $g5;
|
||||
|
||||
|
|
@ -18,11 +19,11 @@ function visit($skin_dir='basic')
|
|||
settype($visit[3], "integer");
|
||||
settype($visit[4], "integer");
|
||||
|
||||
$visit_skin_path = G5_SKIN_PATH.'/visit/'.$skin_dir;
|
||||
$visit_skin_url = G5_SKIN_URL.'/visit/'.$skin_dir;
|
||||
$visit_skin_path = G5_SKIN_PATH . '/visit/' . $skin_dir;
|
||||
$visit_skin_url = G5_SKIN_URL . '/visit/' . $skin_dir;
|
||||
|
||||
ob_start();
|
||||
include_once ($visit_skin_path.'/visit.skin.php');
|
||||
include_once($visit_skin_path . '/visit.skin.php');
|
||||
$content = ob_get_contents();
|
||||
ob_end_clean();
|
||||
|
||||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,17 +1,18 @@
|
|||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined("_GNUBOARD_"))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
|
||||
// 1. S : 탐색 (성공여부, 획득아이템 ID, 획득아이템이름, 인벤 ID)
|
||||
?>
|
||||
|
||||
<div class="log-item-box data-S">
|
||||
|
||||
<?php if($data_log[1] == 'S') { ?>
|
||||
<?php if ($data_log[1] == 'S') { ?>
|
||||
<em>
|
||||
<img src="<?=get_item_img($data_log[2])?>" />
|
||||
<img src="<?= get_item_img($data_log[2]) ?>" />
|
||||
</em>
|
||||
<p>
|
||||
<span><strong><?=$data_log[3]?></strong><?=j($data_log[3], '을')?> 제작했습니다!</span>
|
||||
<span><strong><?= $data_log[3] ?></strong><?= j($data_log[3], '을') ?> 제작했습니다!</span>
|
||||
</p>
|
||||
<?php } else { ?>
|
||||
<em></em>
|
||||
|
|
|
|||
|
|
@ -1,17 +1,18 @@
|
|||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined("_GNUBOARD_"))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
|
||||
// 1. S : 탐색 (성공여부, 획득아이템 ID, 획득아이템이름, 인벤 ID)
|
||||
?>
|
||||
|
||||
<div class="log-item-box data-S">
|
||||
|
||||
<?php if($data_log[1] == 'S') { ?>
|
||||
<?php if ($data_log[1] == 'S') { ?>
|
||||
<em>
|
||||
<img src="<?=get_item_img($data_log[2])?>" />
|
||||
<img src="<?= get_item_img($data_log[2]) ?>" />
|
||||
</em>
|
||||
<p>
|
||||
<span>탐색하여 <strong><?=$data_log[3]?></strong><?=j($data_log[3], '을')?> 획득했습니다!</span>
|
||||
<span>탐색하여 <strong><?= $data_log[3] ?></strong><?= j($data_log[3], '을') ?> 획득했습니다!</span>
|
||||
</p>
|
||||
<?php } else { ?>
|
||||
<em></em>
|
||||
|
|
|
|||
|
|
@ -1,41 +1,44 @@
|
|||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined("_GNUBOARD_"))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
|
||||
// 아이템 ID / 이름 / 기능 / 값 / 내용 / 효능
|
||||
?>
|
||||
|
||||
<?php if($item_log[0] == 'D') {
|
||||
<?php if ($item_log[0] == 'D') {
|
||||
// 일반 템 사용
|
||||
IF($item_log[1]) {
|
||||
?>
|
||||
<div class="log-item-box data-item">
|
||||
if ($item_log[1]) {
|
||||
?>
|
||||
<div class="log-item-box data-item">
|
||||
<em>
|
||||
<img src="<?=get_item_img($item_log[1])?>" />
|
||||
<img src="<?= get_item_img($item_log[1]) ?>" />
|
||||
</em>
|
||||
<p>
|
||||
<span><strong><?=$item_log[2]?></strong><?=j($item_log[2], '을')?> 사용했습니다! (<?=$item_log[6]?>)</span>
|
||||
<span><strong><?= $item_log[2] ?></strong><?= j($item_log[2], '을') ?> 사용했습니다! (<?= $item_log[6] ?>)</span>
|
||||
</p>
|
||||
</div>
|
||||
<?php } } else if($item_log[0] == 'S') {
|
||||
</div>
|
||||
<?php }
|
||||
} else if ($item_log[0] == 'S') {
|
||||
// 뽑기 획득에 성공
|
||||
?>
|
||||
<div class="log-item-box data-item">
|
||||
?>
|
||||
<div class="log-item-box data-item">
|
||||
<em>
|
||||
<img src="<?=get_item_img($item_log[3])?>" />
|
||||
<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>
|
||||
</div>
|
||||
|
||||
<?php } else {
|
||||
// 뽑기 획득에 실패
|
||||
?>
|
||||
<div class="log-item-box data-item">
|
||||
?>
|
||||
<div class="log-item-box data-item">
|
||||
<em></em>
|
||||
<p>
|
||||
<span><strong><?=$item_log[2]?></strong><?=j($item_log[2], '을')?> 사용했지만 <strong>아무것도 획득하지 못했습니다</strong>...</span>
|
||||
<span><strong><?= $item_log[2] ?></strong><?= j($item_log[2], '을') ?> 사용했지만 <strong>아무것도 획득하지 못했습니다</strong>...</span>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php } ?>
|
||||
|
|
|
|||
|
|
@ -1,17 +1,17 @@
|
|||
<?php
|
||||
include_once "./_common.php";
|
||||
|
||||
if($is_member) {
|
||||
if ($is_member) {
|
||||
$is_favorite = sql_fetch("select ms_id from {$g5['scrap_table']} where mb_id = '{$mb_id}' and wr_id = '{$wr_id}' and bo_table = '{$bo_table}'");
|
||||
|
||||
if($is_favorite['ms_id']) {
|
||||
if ($is_favorite['ms_id']) {
|
||||
// 즐겨찾기 내역이 이미 존재할 경우
|
||||
// 해당 내역을 제거한다.
|
||||
sql_query("delete from {$g5['scrap_table']} where ms_id = '{$is_favorite['ms_id']}'");
|
||||
echo "off";
|
||||
} else {
|
||||
// 즐겨찾기 내역 추가
|
||||
sql_query(" insert {$g5['scrap_table']} set bo_table = '{$bo_table}', wr_id = '{$wr_id}', mb_id = '{$member['mb_id']}', ms_datetime = '".G5_TIME_YMDHIS."' ");
|
||||
sql_query(" insert {$g5['scrap_table']} set bo_table = '{$bo_table}', wr_id = '{$wr_id}', mb_id = '{$member['mb_id']}', ms_datetime = '" . G5_TIME_YMDHIS . "' ");
|
||||
echo "on";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,10 +2,10 @@
|
|||
fn_layout_setting();
|
||||
|
||||
// 화면 사이즈가 변경 될 시, 레이아웃 셋팅 실행
|
||||
window.onresize = function() { fn_layout_setting(); };
|
||||
window.onresize = function () { fn_layout_setting(); };
|
||||
|
||||
// 즐겨찾기 추가 - Ajax
|
||||
$('a[data-function="favorite"]').on('click', function() {
|
||||
$('a[data-function="favorite"]').on('click', function () {
|
||||
var formData = new FormData();
|
||||
var idx = $(this).data('idx');
|
||||
var obj = $(this);
|
||||
|
|
@ -14,16 +14,16 @@ $('a[data-function="favorite"]').on('click', function() {
|
|||
formData.append("mb_id", avo_mb_id);
|
||||
|
||||
$.ajax({
|
||||
url:avo_board_skin_url + '/ajax/add_favorite.php'
|
||||
url: avo_board_skin_url + '/ajax/add_favorite.php'
|
||||
, data: formData
|
||||
, processData: false
|
||||
, contentType: false
|
||||
, type: 'POST'
|
||||
, success: function(data){
|
||||
if(data == 'on') {
|
||||
, success: function (data) {
|
||||
if (data == 'on') {
|
||||
obj.removeClass('on');
|
||||
obj.addClass(data);
|
||||
}else if(data == 'off') {
|
||||
} else if (data == 'off') {
|
||||
obj.removeClass('on');
|
||||
}
|
||||
}
|
||||
|
|
@ -33,21 +33,21 @@ $('a[data-function="favorite"]').on('click', function() {
|
|||
});
|
||||
|
||||
|
||||
$('a.ui-open-log').on('click', function() {
|
||||
$('a.ui-open-log').on('click', function () {
|
||||
|
||||
var obj = $(this).closest('.pic-data').children('div');
|
||||
var state = $(obj).hasClass('on');
|
||||
var original_height = $(obj).find('img').height();
|
||||
var setting_height = 470;
|
||||
|
||||
if(state){
|
||||
if (state) {
|
||||
//닫기
|
||||
$(obj).stop().animate({height: setting_height + "px"}, 1000);
|
||||
$(obj).stop().animate({ height: setting_height + "px" }, 1000);
|
||||
$(obj).removeClass('on');
|
||||
$(this).text("OPEN");
|
||||
} else {
|
||||
// 열기
|
||||
$(obj).stop().animate({height: original_height + "px"}, 1000);
|
||||
$(obj).stop().animate({ height: original_height + "px" }, 1000);
|
||||
$(obj).addClass('on');
|
||||
$(this).text("CLOSE");
|
||||
}
|
||||
|
|
@ -55,38 +55,38 @@ $('a.ui-open-log').on('click', function() {
|
|||
return false;
|
||||
});
|
||||
|
||||
$('a.ui-remove-blind').on('click', function() {
|
||||
$('a.ui-remove-blind').on('click', function () {
|
||||
$(this).closest('.pic-data').removeClass('ui-blind');
|
||||
$(this).fadeOut();
|
||||
return false;
|
||||
});
|
||||
|
||||
$('.send_memo').on('click', function() {
|
||||
$('.send_memo').on('click', function () {
|
||||
var target = $(this).attr('href');
|
||||
window.open(target, 'memo', "width=500, height=300");
|
||||
return false;
|
||||
});
|
||||
|
||||
$('.btn-search-guide').on('click', function() {
|
||||
$('.btn-search-guide').on('click', function () {
|
||||
$('#searc_keyword').toggleClass('on');
|
||||
return false;
|
||||
});
|
||||
|
||||
$(window).ready(function() {
|
||||
$(window).ready(function () {
|
||||
$('#load_log_board').css('opacity', '1.0');
|
||||
});
|
||||
|
||||
function fn_layout_setting() {
|
||||
$('#log_list > .item').each(function(){
|
||||
$('#log_list > .item').each(function () {
|
||||
var log_data_width = $(this).find('.ui-pic').data('width');
|
||||
var log_width = $(this).find('.pic-data').find('img').width();
|
||||
|
||||
if(log_data_width < log_width && log_width > 300) {
|
||||
if (log_data_width < log_width && log_width > 300) {
|
||||
log_data_width = log_width;
|
||||
}
|
||||
|
||||
var comment_width = $('#log_list .item-inner').width() - log_data_width + 10;
|
||||
if(comment_width > 320) {
|
||||
if (comment_width > 320) {
|
||||
$(this).removeClass('both');
|
||||
$(this).find('.ui-comment').css('width', comment_width - 20 + "px");
|
||||
} else {
|
||||
|
|
@ -96,7 +96,7 @@ function fn_layout_setting() {
|
|||
});
|
||||
};
|
||||
|
||||
$('.new_win').on('click', function() {
|
||||
$('.new_win').on('click', function () {
|
||||
var target = $(this).attr('href');
|
||||
window.open(target, 'emoticon', "width=400, height=600");
|
||||
return false;
|
||||
|
|
|
|||
|
|
@ -1,15 +1,17 @@
|
|||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
if (!defined('_GNUBOARD_'))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
||||
add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.css">', 0);
|
||||
?>
|
||||
|
||||
<!-- 폼메일 시작 { -->
|
||||
<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) { // 회원이면 ?>
|
||||
|
|
@ -75,15 +77,14 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
|
|||
</div>
|
||||
|
||||
<script>
|
||||
with (document.fformmail) {
|
||||
with (document.fformmail) {
|
||||
if (typeof fname != "undefined")
|
||||
fname.focus();
|
||||
else if (typeof subject != "undefined")
|
||||
subject.focus();
|
||||
}
|
||||
}
|
||||
|
||||
function fformmail_submit(f)
|
||||
{
|
||||
function fformmail_submit(f) {
|
||||
<?php echo chk_captcha_js(); ?>
|
||||
|
||||
if (f.file1.value || f.file2.value) {
|
||||
|
|
@ -95,6 +96,6 @@ function fformmail_submit(f)
|
|||
document.getElementById('btn_submit').disabled = true;
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<!-- } 폼메일 끝 -->
|
||||
|
|
@ -1,8 +1,9 @@
|
|||
<?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);
|
||||
add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.admin.css">', 0);
|
||||
?>
|
||||
|
||||
<div id="login_page_box">
|
||||
|
|
@ -11,10 +12,10 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.admin.cs
|
|||
<div class="inner">
|
||||
<h1>
|
||||
<em>
|
||||
<strong><?=$config['cf_title']?> 관리자</strong> 로그인
|
||||
<strong><?= $config['cf_title'] ?> 관리자</strong> 로그인
|
||||
</em>
|
||||
<span>
|
||||
AVOCADO EDITION Ver.<?=G5_GNUBOARD_VER?>
|
||||
AVOCADO EDITION Ver.<?= G5_GNUBOARD_VER ?>
|
||||
</span>
|
||||
<sup>
|
||||
관리자 비번을 잊을 시, DB 접속을 통해 직접 변경 하여야 합니다.<br />
|
||||
|
|
@ -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>
|
||||
|
||||
|
|
@ -66,18 +68,17 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.admin.cs
|
|||
|
||||
|
||||
<script>
|
||||
$(function(){
|
||||
$("#login_auto_login").click(function(){
|
||||
$(function () {
|
||||
$("#login_auto_login").click(function () {
|
||||
if (this.checked) {
|
||||
this.checked = confirm("자동로그인을 사용하시면 다음부터 회원아이디와 비밀번호를 입력하실 필요가 없습니다.\n\n공공장소에서는 개인정보가 유출될 수 있으니 사용을 자제하여 주십시오.\n\n자동로그인을 사용하시겠습니까?");
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
function flogin_submit(f)
|
||||
{
|
||||
function flogin_submit(f) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<!-- } 로그인 끝 -->
|
||||
|
|
@ -1,50 +1,55 @@
|
|||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
if(strstr($url, 'adm')) {
|
||||
include_once($member_skin_path.'/login.admin.skin.php');
|
||||
if (!defined('_GNUBOARD_'))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
if (strstr($url, 'adm')) {
|
||||
include_once($member_skin_path . '/login.admin.skin.php');
|
||||
} else {
|
||||
|
||||
add_stylesheet('<link rel="stylesheet" href="'.G5_CSS_URL.'/login.css">', 0);
|
||||
add_stylesheet('<link rel="stylesheet" href="' . G5_CSS_URL . '/login.css">', 0);
|
||||
|
||||
|
||||
/*********** Logo Data ************/
|
||||
$logo = get_logo();
|
||||
$m_logo = get_logo();
|
||||
/*********** Logo Data ************/
|
||||
$logo = get_logo();
|
||||
$m_logo = get_logo();
|
||||
|
||||
$logo_data = "";
|
||||
if($logo) $logo_data .= "<img src='".$logo."' />";
|
||||
/*********************************/
|
||||
?>
|
||||
<div class="loginWrap">
|
||||
$logo_data = "";
|
||||
if ($logo)
|
||||
$logo_data .= "<img src='" . $logo . "' />";
|
||||
/*********************************/
|
||||
?>
|
||||
<div class="loginWrap">
|
||||
<div class="login-inner">
|
||||
<?php
|
||||
// 등록된 로고 파일이 있을 경우에만 출력 한다.
|
||||
if($logo_data) { ?>
|
||||
if ($logo_data) { ?>
|
||||
<div class="login-logo">
|
||||
<?=$logo_data?>
|
||||
<?= $logo_data ?>
|
||||
</div>
|
||||
<hr class="padding" />
|
||||
<?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>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
function flogin_submit(f) {
|
||||
</div>
|
||||
<script>
|
||||
function flogin_submit(f) {
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
<!-- } 로그인 끝 -->
|
||||
}
|
||||
</script>
|
||||
<!-- } 로그인 끝 -->
|
||||
<?php } ?>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
if (!defined('_GNUBOARD_'))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
|
||||
// 자신만의 코드를 넣어주세요.
|
||||
?>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
||||
if (!defined('_GNUBOARD_'))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.css">', 0);
|
||||
?>
|
||||
|
||||
|
||||
|
|
@ -12,14 +13,15 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
|
|||
<strong>비밀번호를 한번 더 입력해주세요.</strong>
|
||||
<?php if ($url == 'member_leave.php') { ?>
|
||||
비밀번호를 입력하시면 회원탈퇴가 완료됩니다.
|
||||
<?php }else{ ?>
|
||||
<?php } else { ?>
|
||||
회원님의 정보를 안전하게 보호하기 위해 비밀번호를 한번 더 확인합니다.
|
||||
<?php } ?>
|
||||
</p>
|
||||
|
||||
<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,10 +48,9 @@ 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;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<!-- } 회원 비밀번호 확인 끝 -->
|
||||
|
|
@ -1,8 +1,9 @@
|
|||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
if (!defined('_GNUBOARD_'))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
||||
add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.css">', 0);
|
||||
|
||||
?>
|
||||
<script>
|
||||
|
|
|
|||
|
|
@ -1,13 +1,15 @@
|
|||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
if (!defined('_GNUBOARD_'))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
||||
add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.css">', 0);
|
||||
?>
|
||||
|
||||
<!-- 쪽지 보내기 시작 { -->
|
||||
<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,11 +41,10 @@ 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;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<!-- } 쪽지 보내기 끝 -->
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
goto_url('./memo_form.php?me_recv_mb_id='.$mb['mb_id']);
|
||||
?>
|
||||
if (!defined('_GNUBOARD_'))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
goto_url('./memo_form.php?me_recv_mb_id=' . $mb['mb_id']);
|
||||
|
|
|
|||
|
|
@ -1,13 +1,18 @@
|
|||
<?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);
|
||||
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">
|
||||
|
|
|
|||
|
|
@ -1,15 +1,17 @@
|
|||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
if (!defined('_GNUBOARD_'))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
||||
add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.css">', 0);
|
||||
?>
|
||||
|
||||
<!-- 회원정보 찾기 시작 { -->
|
||||
<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,14 +29,13 @@ 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;
|
||||
}
|
||||
}
|
||||
|
||||
$(function() {
|
||||
$(function () {
|
||||
var sw = screen.width;
|
||||
var sh = screen.height;
|
||||
var cw = document.body.clientWidth;
|
||||
|
|
@ -42,6 +43,6 @@ $(function() {
|
|||
var top = sh / 2 - ch / 2 - 100;
|
||||
var left = sw / 2 - cw / 2;
|
||||
moveTo(left, top);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<!-- } 회원정보 찾기 끝 -->
|
||||
|
|
@ -1,8 +1,9 @@
|
|||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
if (!defined('_GNUBOARD_'))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
||||
add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.css">', 0);
|
||||
?>
|
||||
|
||||
<div id="point" class="new_win">
|
||||
|
|
@ -29,10 +30,10 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
|
|||
{$sql_order}
|
||||
limit {$from_record}, {$rows} ";
|
||||
$result = sql_query($sql);
|
||||
for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
for ($i = 0; $row = sql_fetch_array($result); $i++) {
|
||||
$point1 = $point2 = 0;
|
||||
if ($row['po_point'] > 0) {
|
||||
$point1 = '+' .number_format($row['po_point']);
|
||||
$point1 = '+' . number_format($row['po_point']);
|
||||
$sum_point1 += $row['po_point'];
|
||||
} else {
|
||||
$point2 = number_format($row['po_point']);
|
||||
|
|
@ -42,7 +43,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
|
|||
$po_content = $row['po_content'];
|
||||
|
||||
$expr = '';
|
||||
if($row['po_expired'] == 1)
|
||||
if ($row['po_expired'] == 1)
|
||||
$expr = ' txt_expired';
|
||||
?>
|
||||
<tr>
|
||||
|
|
@ -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' ? ' ' : $row['po_expire_date']; ?>
|
||||
<?php } else
|
||||
echo $row['po_expire_date'] == '9999-12-31' ? ' ' : $row['po_expire_date']; ?>
|
||||
</td>
|
||||
<td class="td_numbig"><?php echo $point1; ?></td>
|
||||
<td class="td_numbig"><?php echo $point2; ?></td>
|
||||
|
|
@ -82,7 +84,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
|
|||
</table>
|
||||
</div>
|
||||
|
||||
<?php echo get_paging(G5_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, $_SERVER['SCRIPT_NAME'].'?'.$qstr.'&page='); ?>
|
||||
<?php echo get_paging(G5_IS_MOBILE ? $config['cf_mobile_pages'] : $config['cf_write_pages'], $page, $total_page, $_SERVER['SCRIPT_NAME'] . '?' . $qstr . '&page='); ?>
|
||||
|
||||
<div class="win_btn"><button type="button" onclick="javascript:window.close();">창닫기</button></div>
|
||||
</div>
|
||||
|
|
@ -1,8 +1,9 @@
|
|||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
if (!defined('_GNUBOARD_'))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
||||
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>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
||||
if (!defined('_GNUBOARD_'))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.css">', 0);
|
||||
?>
|
||||
|
||||
|
||||
|
|
@ -14,12 +15,13 @@ 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>
|
||||
<div class="theme-box">
|
||||
<?=nl2br($config['cf_stipulation'])?>
|
||||
<?= nl2br($config['cf_stipulation']) ?>
|
||||
</div>
|
||||
<fieldset class="check-agree">
|
||||
<input type="checkbox" name="agree" value="1" id="agree11">
|
||||
|
|
@ -30,7 +32,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
|
|||
<section id="fregister_private">
|
||||
<h2>캐릭터 유의사항</h2>
|
||||
<div class="theme-box">
|
||||
<?=nl2br($config['cf_privacy'])?>
|
||||
<?= nl2br($config['cf_privacy']) ?>
|
||||
</div>
|
||||
<fieldset class="check-agree">
|
||||
<input type="checkbox" name="agree2" value="1" id="agree21">
|
||||
|
|
@ -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();
|
||||
|
|
@ -64,7 +65,5 @@ function fregister_submit(f)
|
|||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,23 +1,25 @@
|
|||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
||||
if (!defined('_GNUBOARD_'))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.css">', 0);
|
||||
?>
|
||||
|
||||
<script src="<?php echo G5_JS_URL ?>/jquery.register_form.js"></script>
|
||||
<?php if($config['cf_cert_use'] && ($config['cf_cert_ipin'] || $config['cf_cert_hp'])) { ?>
|
||||
<script src="<?php echo G5_JS_URL ?>/certify.js?v=<?php echo G5_JS_VER; ?>"></script>
|
||||
<?php if ($config['cf_cert_use'] && ($config['cf_cert_ipin'] || $config['cf_cert_hp'])) { ?>
|
||||
<script src="<?php echo G5_JS_URL ?>/certify.js?v=<?php echo G5_JS_VER; ?>"></script>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
<div id="member_page">
|
||||
|
||||
<h1 class="member-title">
|
||||
<strong>계정 정보 <?=$w == '' ? "등록" : "수정"?></strong>
|
||||
<strong>계정 정보 <?= $w == '' ? "등록" : "수정" ?></strong>
|
||||
<span>《 Community Register Form 》</span>
|
||||
</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();
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
if (!defined('_GNUBOARD_'))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
||||
add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.css">', 0);
|
||||
?>
|
||||
|
||||
<div id="member_page">
|
||||
|
|
@ -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,13 +29,14 @@ 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>
|
||||
|
||||
<div class="ui-button-box txt-center">
|
||||
<button class="ui-btn point" onclick="location.href='<?=G5_URL?>';">메인화면으로</button>
|
||||
<button class="ui-btn point" onclick="location.href='<?= G5_URL ?>';">메인화면으로</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
if (!defined('_GNUBOARD_'))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
||||
add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.css">', 0);
|
||||
?>
|
||||
|
||||
<!-- 스크랩 목록 시작 { -->
|
||||
|
|
@ -22,17 +23,23 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
|
|||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php for ($i=0; $i<count($list); $i++) { ?>
|
||||
<?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>
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
if (!defined('_GNUBOARD_'))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">', 0);
|
||||
add_stylesheet('<link rel="stylesheet" href="' . $member_skin_url . '/style.css">', 0);
|
||||
?>
|
||||
|
||||
<!-- 스크랩 시작 { -->
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
@ -36,14 +47,14 @@ html, body { position: relative; height: 100%; background: #fff; }
|
|||
right: 0;
|
||||
height: 50%;
|
||||
|
||||
background: rgba(0,0,0,0);
|
||||
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 65%, rgba(0,0,0,0.5) 100%);
|
||||
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0,0,0,0)), color-stop(65%, rgba(0,0,0,0)), color-stop(100%, rgba(0,0,0,0.5)));
|
||||
background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 65%, rgba(0,0,0,0.5) 100%);
|
||||
background: -o-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 65%, rgba(0,0,0,0.5) 100%);
|
||||
background: -ms-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 65%, rgba(0,0,0,0.5) 100%);
|
||||
background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 65%, rgba(0,0,0,0.5) 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#000000', GradientType=0 );
|
||||
background: rgba(0, 0, 0, 0);
|
||||
background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 65%, rgba(0, 0, 0, 0.5) 100%);
|
||||
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(65%, rgba(0, 0, 0, 0)), color-stop(100%, rgba(0, 0, 0, 0.5)));
|
||||
background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 65%, rgba(0, 0, 0, 0.5) 100%);
|
||||
background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 65%, rgba(0, 0, 0, 0.5) 100%);
|
||||
background: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 65%, rgba(0, 0, 0, 0.5) 100%);
|
||||
background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 65%, rgba(0, 0, 0, 0.5) 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#000000', endColorstr='#000000', GradientType=0);
|
||||
}
|
||||
|
||||
#login_title {
|
||||
|
|
@ -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;
|
||||
|
|
@ -108,9 +124,9 @@ html, body { position: relative; height: 100%; background: #fff; }
|
|||
transform: translateX(-50%) translateY(-50%);
|
||||
background: #fff;
|
||||
|
||||
-webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.49);
|
||||
-moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.49);
|
||||
box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.49);
|
||||
-webkit-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.49);
|
||||
-moz-box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.49);
|
||||
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.49);
|
||||
|
||||
z-index: 5;
|
||||
}
|
||||
|
|
@ -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%;
|
||||
|
|
|
|||
|
|
@ -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,8 +51,12 @@
|
|||
padding-top: 10px;
|
||||
text-align: right;
|
||||
}
|
||||
#member_page .check-agree input { display: none; }
|
||||
#member_page .check-agree input + label:before {
|
||||
|
||||
#member_page .check-agree input {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#member_page .check-agree input+label:before {
|
||||
content: "\ea53";
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
|
|
@ -53,7 +64,8 @@
|
|||
margin-right: 5px;
|
||||
font-size: 18px;
|
||||
}
|
||||
#member_page .check-agree input:checked + label:before {
|
||||
|
||||
#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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,13 +1,15 @@
|
|||
<?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);
|
||||
add_stylesheet('<link rel="stylesheet" href="' . $new_skin_url . '/style.css">', 0);
|
||||
?>
|
||||
|
||||
<!-- 전체게시물 검색 시작 { -->
|
||||
|
|
@ -41,15 +43,15 @@ add_stylesheet('<link rel="stylesheet" href="'.$new_skin_url.'/style.css">', 0);
|
|||
|
||||
<!-- 전체게시물 목록 시작 { -->
|
||||
<form name="fnewlist" method="post" action="#" onsubmit="return fnew_submit(this);">
|
||||
<input type="hidden" name="sw" value="move">
|
||||
<input type="hidden" name="view" value="<?php echo $view; ?>">
|
||||
<input type="hidden" name="sfl" value="<?php echo $sfl; ?>">
|
||||
<input type="hidden" name="stx" value="<?php echo $stx; ?>">
|
||||
<input type="hidden" name="bo_table" value="<?php echo $bo_table; ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page; ?>">
|
||||
<input type="hidden" name="pressed" value="">
|
||||
<input type="hidden" name="sw" value="move">
|
||||
<input type="hidden" name="view" value="<?php echo $view; ?>">
|
||||
<input type="hidden" name="sfl" value="<?php echo $sfl; ?>">
|
||||
<input type="hidden" name="stx" value="<?php echo $stx; ?>">
|
||||
<input type="hidden" name="bo_table" value="<?php echo $bo_table; ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page; ?>">
|
||||
<input type="hidden" name="pressed" value="">
|
||||
|
||||
<div class="tbl_head01 tbl_wrap">
|
||||
<div class="tbl_head01 tbl_wrap">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
|
|
@ -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);
|
||||
|
|
@ -78,66 +79,70 @@ add_stylesheet('<link rel="stylesheet" href="'.$new_skin_url.'/style.css">', 0);
|
|||
<tr>
|
||||
<?php if ($is_admin) { ?>
|
||||
<td class="td_chk">
|
||||
<label for="chk_bn_id_<?php echo $i; ?>" class="sound_only"><?php echo $num?>번</label>
|
||||
<label for="chk_bn_id_<?php echo $i; ?>" class="sound_only"><?php echo $num ?>번</label>
|
||||
<input type="checkbox" name="chk_bn_id[]" value="<?php echo $i; ?>" id="chk_bn_id_<?php echo $i; ?>">
|
||||
<input type="hidden" name="bo_table[<?php echo $i; ?>]" value="<?php echo $list[$i]['bo_table']; ?>">
|
||||
<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 } ?>
|
||||
|
||||
<?php if ($i == 0)
|
||||
echo '<tr><td colspan="'.$colspan.'" class="empty_table">게시물이 없습니다.</td></tr>';
|
||||
echo '<tr><td colspan="' . $colspan . '" class="empty_table">게시물이 없습니다.</td></tr>';
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if ($is_admin) { ?>
|
||||
<div class="sir_bw02 sir_bw">
|
||||
<?php if ($is_admin) { ?>
|
||||
<div class="sir_bw02 sir_bw">
|
||||
<input type="submit" onclick="document.pressed=this.value" value="선택삭제" class="btn_submit">
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</form>
|
||||
|
||||
<?php if ($is_admin) { ?>
|
||||
<script>
|
||||
$(function(){
|
||||
$('#all_chk').click(function(){
|
||||
<script>
|
||||
$(function () {
|
||||
$('#all_chk').click(function () {
|
||||
$('[name="chk_bn_id[]"]').attr('checked', this.checked);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
function fnew_submit(f)
|
||||
{
|
||||
function fnew_submit(f) {
|
||||
f.pressed.value = document.pressed;
|
||||
|
||||
var cnt = 0;
|
||||
for (var i=0; i<f.length; i++) {
|
||||
for (var i = 0; i < f.length; i++) {
|
||||
if (f.elements[i].name == "chk_bn_id[]" && f.elements[i].checked)
|
||||
cnt++;
|
||||
}
|
||||
|
||||
if (!cnt) {
|
||||
alert(document.pressed+"할 게시물을 하나 이상 선택하세요.");
|
||||
alert(document.pressed + "할 게시물을 하나 이상 선택하세요.");
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!confirm("선택한 게시물을 정말 "+document.pressed+" 하시겠습니까?\n\n한번 삭제한 자료는 복구할 수 없습니다")) {
|
||||
if (!confirm("선택한 게시물을 정말 " + document.pressed + " 하시겠습니까?\n\n한번 삭제한 자료는 복구할 수 없습니다")) {
|
||||
return false;
|
||||
}
|
||||
|
||||
f.action = "./new_delete.php";
|
||||
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
}
|
||||
</script>
|
||||
<?php } ?>
|
||||
|
||||
<?php echo $write_pages ?>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,11 +1,12 @@
|
|||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$outlogin_skin_url.'/style.css">', 0);
|
||||
if (!defined("_GNUBOARD_"))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
add_stylesheet('<link rel="stylesheet" href="' . $outlogin_skin_url . '/style.css">', 0);
|
||||
?>
|
||||
|
||||
|
||||
<div class="login-skin-basic">
|
||||
<form name="foutlogin" action="<?php echo $outlogin_action_url ?>" method="post" autocomplete="off">
|
||||
<form name="foutlogin" action="<?php echo $outlogin_action_url ?>" method="post" autocomplete="off">
|
||||
|
||||
<fieldset class="box-id">
|
||||
<!-- 아이디 입력 -->
|
||||
|
|
@ -22,13 +23,13 @@ add_stylesheet('<link rel="stylesheet" href="'.$outlogin_skin_url.'/style.css">'
|
|||
<button type="submit" class="ui-btn point">로그인</button>
|
||||
</fieldset>
|
||||
|
||||
<?php if($is_add_register) {
|
||||
<?php if ($is_add_register) {
|
||||
// 사이트 설정이 계정 생성이 가능할 시
|
||||
?>
|
||||
?>
|
||||
<fieldset class="box-join">
|
||||
<a href="<?php echo G5_BBS_URL ?>/register.php" class="ui-btn">계정생성</a>
|
||||
</fieldset>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
|
||||
</form>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,54 +1,55 @@
|
|||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$outlogin_skin_url.'/style.css">', 0);
|
||||
if (!defined("_GNUBOARD_"))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
add_stylesheet('<link rel="stylesheet" href="' . $outlogin_skin_url . '/style.css">', 0);
|
||||
?>
|
||||
|
||||
|
||||
<div class="logined-skin-basic">
|
||||
<div class="ui-thumb">
|
||||
<?php if($character['ch_id']) {
|
||||
if($character['ch_thumb']) {
|
||||
<?php if ($character['ch_id']) {
|
||||
if ($character['ch_thumb']) {
|
||||
echo "
|
||||
<a href='".G5_URL."/mypage/character/viewer.php?ch_id={$character['ch_id']}' class='thumb-box'>
|
||||
<a href='" . G5_URL . "/mypage/character/viewer.php?ch_id={$character['ch_id']}' class='thumb-box'>
|
||||
<img src='{$character['ch_thumb']}' />
|
||||
</a>";
|
||||
} else {
|
||||
echo "<span class='ui-btn etc'></span>";
|
||||
}
|
||||
} else {
|
||||
if($is_add_character) {
|
||||
echo "<a href='".G5_URL."/mypage/character/character_form.php' class='ui-btn point'>캐릭터 생성</a>";
|
||||
} else {
|
||||
if ($is_add_character) {
|
||||
echo "<a href='" . G5_URL . "/mypage/character/character_form.php' class='ui-btn point'>캐릭터 생성</a>";
|
||||
} else {
|
||||
echo "<span class='ui-btn etc'></span>";
|
||||
}
|
||||
} ?>
|
||||
} ?>
|
||||
</div>
|
||||
|
||||
<div class="info">
|
||||
<?php
|
||||
if($character['ch_name']) {
|
||||
<?php
|
||||
if ($character['ch_name']) {
|
||||
echo "<p class='character txt-point'>{$character['ch_name']}</p>";
|
||||
}
|
||||
?>
|
||||
?>
|
||||
<p class="name">
|
||||
<?php echo $nick ?>
|
||||
<?php if($is_admin) { ?>
|
||||
<a href="<?=G5_ADMIN_URL?>" class="ui-btn admin" target="_blank">관리자</a>
|
||||
<?php if ($is_admin) { ?>
|
||||
<a href="<?= G5_ADMIN_URL ?>" class="ui-btn admin" target="_blank">관리자</a>
|
||||
<?php } ?>
|
||||
</p>
|
||||
<?php
|
||||
if(!$character['ch_name']) {
|
||||
if($is_add_character) {
|
||||
<?php
|
||||
if (!$character['ch_name']) {
|
||||
if ($is_add_character) {
|
||||
echo "<p class='descript'>보유중인 캐릭터가 없습니다.</p>";
|
||||
} else {
|
||||
echo "<p class='descript'>캐릭터 생성기간이 아닙니다.</p>";
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
<ul class="control-group">
|
||||
<li class="link-memo">
|
||||
<?php if($memo_not_read) { // 새로운 쪽지가 도착 했을 때
|
||||
<?php if ($memo_not_read) { // 새로운 쪽지가 도착 했을 때
|
||||
?>
|
||||
<a href="<?php echo G5_URL ?>/mypage/memo/" class="ui-btn point">
|
||||
쪽지
|
||||
|
|
@ -73,4 +74,3 @@ add_stylesheet('<link rel="stylesheet" href="'.$outlogin_skin_url.'/style.css">'
|
|||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
@ -102,7 +130,7 @@
|
|||
font-weight: 600;
|
||||
}
|
||||
|
||||
.logined-skin-basic .info .character + .name {
|
||||
.logined-skin-basic .info .character+.name {
|
||||
padding-top: 5px;
|
||||
font-size: 13px;
|
||||
font-weight: 400;
|
||||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,40 +1,43 @@
|
|||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined("_GNUBOARD_"))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$poll_skin_url.'/style.css">', 0);
|
||||
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">
|
||||
<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;">
|
||||
<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;">
|
||||
<header>
|
||||
<h2><?php echo $po['po_subject'] ?></h2>
|
||||
</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>
|
||||
<?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>
|
||||
<?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&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&skin_dir=" . urlencode($skin_dir); ?>"
|
||||
target="_blank" onclick="poll_result(this.href); return false;" class="ui-btn">결과보기</a>
|
||||
</footer>
|
||||
</section>
|
||||
</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; ";
|
||||
?>
|
||||
|
||||
var chk = false;
|
||||
for (i=0; i<f.gb_poll.length;i ++) {
|
||||
for (i = 0; i < f.gb_poll.length; i++) {
|
||||
if (f.gb_poll[i].checked == true) {
|
||||
chk = f.gb_poll[i].value;
|
||||
break;
|
||||
|
|
@ -50,16 +53,15 @@ function fpoll_submit(f)
|
|||
f.target = "win_poll";
|
||||
|
||||
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; ";
|
||||
?>
|
||||
|
||||
win_poll(url);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<!-- } 설문조사 끝 -->
|
||||
|
|
@ -1,8 +1,9 @@
|
|||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined("_GNUBOARD_"))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$poll_skin_url.'/style.css">', 0);
|
||||
add_stylesheet('<link rel="stylesheet" href="' . $poll_skin_url . '/style.css">', 0);
|
||||
?>
|
||||
|
||||
<!-- 설문조사 결과 시작 { -->
|
||||
|
|
@ -15,7 +16,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$poll_skin_url.'/style.css">', 0)
|
|||
<dt><span>전체 <?php echo $nf_total_po_cnt ?>표</span></dt>
|
||||
<dd>
|
||||
<ol>
|
||||
<?php for ($i=1; $i<=count($list); $i++) { ?>
|
||||
<?php for ($i = 1; $i <= count($list); $i++) { ?>
|
||||
<li>
|
||||
<p>
|
||||
<?php echo $list[$i]['content'] ?>
|
||||
|
|
@ -38,7 +39,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$poll_skin_url.'/style.css">', 0)
|
|||
<section id="poll_result_cmt" class="theme-box">
|
||||
<h2>기타의견</h2>
|
||||
|
||||
<?php for ($i=0; $i<count($list2); $i++) { ?>
|
||||
<?php for ($i = 0; $i < count($list2); $i++) { ?>
|
||||
<article>
|
||||
<header>
|
||||
<h1><?php echo $list2[$i]['pc_name'] ?><span class="sound_only">님의 의견</span></h1>
|
||||
|
|
@ -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>
|
||||
|
|
@ -98,8 +104,10 @@ 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'] ?>&skin_dir=<?php echo $skin_dir ?>">[<?php echo $list3[$i]['date'] ?>] <?php echo $list3[$i]['subject'] ?></a></li>
|
||||
<?php for ($i = 0; $i < count($list3); $i++) { ?>
|
||||
<li><a
|
||||
href="./poll_result.php?po_id=<?php echo $list3[$i]['po_id'] ?>&skin_dir=<?php echo $skin_dir ?>">[<?php echo $list3[$i]['date'] ?>]
|
||||
<?php echo $list3[$i]['subject'] ?></a></li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
</aside>
|
||||
|
|
@ -108,18 +116,19 @@ add_stylesheet('<link rel="stylesheet" href="'.$poll_skin_url.'/style.css">', 0)
|
|||
</div>
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
$(".poll_delete").click(function() {
|
||||
if(!confirm("해당 기타의견을 삭제하시겠습니까?"))
|
||||
$(function () {
|
||||
$(".poll_delete").click(function () {
|
||||
if (!confirm("해당 기타의견을 삭제하시겠습니까?"))
|
||||
return false;
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
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;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<!-- } 설문조사 결과 끝 -->
|
||||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined("_GNUBOARD_"))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$popular_skin_url.'/style.css">', 0);
|
||||
add_stylesheet('<link rel="stylesheet" href="' . $popular_skin_url . '/style.css">', 0);
|
||||
?>
|
||||
|
||||
<!-- 인기검색어 시작 { -->
|
||||
|
|
@ -10,8 +11,10 @@ add_stylesheet('<link rel="stylesheet" href="'.$popular_skin_url.'/style.css">',
|
|||
<div>
|
||||
<h2>인기검색어</h2>
|
||||
<ul>
|
||||
<?php for ($i=0; $i<count($list); $i++) { ?>
|
||||
<li><a href="<?php echo G5_BBS_URL ?>/search.php?sfl=wr_subject&sop=and&stx=<?php echo urlencode($list[$i]['pp_word']) ?>"><?php echo get_text($list[$i]['pp_word']); ?></a></li>
|
||||
<?php for ($i = 0; $i < count($list); $i++) { ?>
|
||||
<li><a
|
||||
href="<?php echo G5_BBS_URL ?>/search.php?sfl=wr_subject&sop=and&stx=<?php echo urlencode($list[$i]['pp_word']) ?>"><?php echo get_text($list[$i]['pp_word']); ?></a>
|
||||
</li>
|
||||
<?php } ?>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -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 {}
|
||||
|
|
|
|||
|
|
@ -1,21 +1,23 @@
|
|||
<?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);
|
||||
add_stylesheet('<link rel="stylesheet" href="' . $qa_skin_url . '/style.css">', 0);
|
||||
?>
|
||||
|
||||
|
||||
<?php if($qaconfig['qa_content_head']) { ?>
|
||||
<div class="board-notice">
|
||||
<?=conv_content($qaconfig['qa_content_head'], 1);?>
|
||||
</div>
|
||||
<hr class="padding" />
|
||||
<?php if ($qaconfig['qa_content_head']) { ?>
|
||||
<div class="board-notice">
|
||||
<?= conv_content($qaconfig['qa_content_head'], 1); ?>
|
||||
</div>
|
||||
<hr class="padding" />
|
||||
<?php } ?>
|
||||
|
||||
|
||||
|
|
@ -47,14 +49,15 @@ add_stylesheet('<link rel="stylesheet" href="'.$qa_skin_url.'/style.css">', 0);
|
|||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
for ($i=0; $i<count($list); $i++) {
|
||||
for ($i = 0; $i < count($list); $i++) {
|
||||
?>
|
||||
<tr>
|
||||
<td class="td_num txt-center"><?php echo $list[$i]['num']; ?></td>
|
||||
<?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>
|
||||
|
|
@ -88,10 +95,10 @@ add_stylesheet('<link rel="stylesheet" href="'.$qa_skin_url.'/style.css">', 0);
|
|||
</form>
|
||||
</div>
|
||||
|
||||
<?php if($is_checkbox) { ?>
|
||||
<noscript>
|
||||
<p>자바스크립트를 사용하지 않는 경우<br>별도의 확인 절차 없이 바로 선택삭제 처리하므로 주의하시기 바랍니다.</p>
|
||||
</noscript>
|
||||
<?php if ($is_checkbox) { ?>
|
||||
<noscript>
|
||||
<p>자바스크립트를 사용하지 않는 경우<br>별도의 확인 절차 없이 바로 선택삭제 처리하므로 주의하시기 바랍니다.</p>
|
||||
</noscript>
|
||||
<?php } ?>
|
||||
|
||||
<!-- 페이지 -->
|
||||
|
|
@ -104,27 +111,28 @@ 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>
|
||||
<!-- } 게시판 검색 끝 -->
|
||||
|
||||
<?php if ($is_checkbox) { ?>
|
||||
<script>
|
||||
function all_checked(sw) {
|
||||
<script>
|
||||
function all_checked(sw) {
|
||||
var f = document.fqalist;
|
||||
|
||||
for (var i=0; i<f.length; i++) {
|
||||
for (var i = 0; i < f.length; i++) {
|
||||
if (f.elements[i].name == "chk_qa_id[]")
|
||||
f.elements[i].checked = sw;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function fqalist_submit(f) {
|
||||
function fqalist_submit(f) {
|
||||
var chk_count = 0;
|
||||
|
||||
for (var i=0; i<f.length; i++) {
|
||||
for (var i = 0; i < f.length; i++) {
|
||||
if (f.elements[i].name == "chk_qa_id[]" && f.elements[i].checked)
|
||||
chk_count++;
|
||||
}
|
||||
|
|
@ -134,13 +142,13 @@ function fqalist_submit(f) {
|
|||
return false;
|
||||
}
|
||||
|
||||
if(document.pressed == "선택삭제") {
|
||||
if (document.pressed == "선택삭제") {
|
||||
if (!confirm("선택한 게시물을 정말 삭제하시겠습니까?\n\n한번 삭제한 자료는 복구할 수 없습니다"))
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
}
|
||||
</script>
|
||||
<?php } ?>
|
||||
<!-- } 게시판 목록 끝 -->
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined("_GNUBOARD_"))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<table class="theme-form">
|
||||
|
|
@ -24,10 +25,10 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
|||
</tbody>
|
||||
</table>
|
||||
<div id="ans_add" class="txt-center" style="padding: 20px 0;">
|
||||
<?php if($answer_update_href) { ?>
|
||||
<?php if ($answer_update_href) { ?>
|
||||
<a href="<?php echo $answer_update_href; ?>" class="ui-btn">답변수정</a>
|
||||
<?php } ?>
|
||||
<?php if($answer_delete_href) { ?>
|
||||
<?php if ($answer_delete_href) { ?>
|
||||
<a href="<?php echo $answer_delete_href; ?>" class="ui-btn admin" onclick="del(this.href); return false;">답변삭제</a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
|
@ -1,15 +1,17 @@
|
|||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined("_GNUBOARD_"))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<section id="bo_v_ans">
|
||||
<?php
|
||||
if($is_admin) // 관리자이면 답변등록
|
||||
if ($is_admin) // 관리자이면 답변등록
|
||||
{
|
||||
?>
|
||||
<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 ?>">
|
||||
|
|
@ -23,7 +25,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
|||
if ($is_dhtml_editor) {
|
||||
$option_hidden .= '<input type="hidden" name="qa_html" value="1">';
|
||||
} else {
|
||||
$option .= "\n".'<input type="checkbox" id="qa_html" name="qa_html" onclick="html_auto_br(this);" value="'.$html_value.'" '.$html_checked.'>'."\n".'<label for="qa_html">html</label>';
|
||||
$option .= "\n" . '<input type="checkbox" id="qa_html" name="qa_html" onclick="html_auto_br(this);" value="' . $html_value . '" ' . $html_checked . '>' . "\n" . '<label for="qa_html">html</label>';
|
||||
}
|
||||
|
||||
echo $option_hidden;
|
||||
|
|
@ -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,14 +68,13 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
|||
obj.value = "";
|
||||
}
|
||||
|
||||
function fwrite_submit(f)
|
||||
{
|
||||
function fwrite_submit(f) {
|
||||
<?php echo $editor_js; // 에디터 사용시 자바스크립트에서 내용을 폼필드로 넣어주며 내용이 입력되었는지 검사함 ?>
|
||||
|
||||
var subject = "";
|
||||
var content = "";
|
||||
$.ajax({
|
||||
url: g5_bbs_url+"/ajax.filter.php",
|
||||
url: g5_bbs_url + "/ajax.filter.php",
|
||||
type: "POST",
|
||||
data: {
|
||||
"subject": f.qa_subject.value,
|
||||
|
|
@ -82,21 +83,21 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
|||
dataType: "json",
|
||||
async: false,
|
||||
cache: false,
|
||||
success: function(data, textStatus) {
|
||||
success: function (data, textStatus) {
|
||||
subject = data.subject;
|
||||
content = data.content;
|
||||
}
|
||||
});
|
||||
|
||||
if (subject) {
|
||||
alert("제목에 금지단어('"+subject+"')가 포함되어있습니다");
|
||||
alert("제목에 금지단어('" + subject + "')가 포함되어있습니다");
|
||||
f.qa_subject.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
if (content) {
|
||||
alert("내용에 금지단어('"+content+"')가 포함되어있습니다");
|
||||
if (typeof(ed_qa_content) != "undefined")
|
||||
alert("내용에 금지단어('" + content + "')가 포함되어있습니다");
|
||||
if (typeof (ed_qa_content) != "undefined")
|
||||
ed_qa_content.returnFalse();
|
||||
else
|
||||
f.qa_content.focus();
|
||||
|
|
@ -109,9 +110,7 @@ if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
|||
}
|
||||
</script>
|
||||
<?php
|
||||
}
|
||||
else
|
||||
{
|
||||
} else {
|
||||
?>
|
||||
<p id="ans_msg">고객님의 문의에 대한 답변을 준비 중입니다.</p>
|
||||
<?php
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
include_once(G5_LIB_PATH.'/thumbnail.lib.php');
|
||||
if (!defined("_GNUBOARD_"))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
include_once(G5_LIB_PATH . '/thumbnail.lib.php');
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$qa_skin_url.'/style.css">', 0);
|
||||
add_stylesheet('<link rel="stylesheet" href="' . $qa_skin_url . '/style.css">', 0);
|
||||
?>
|
||||
|
||||
<script src="<?php echo G5_JS_URL; ?>/viewimageresize.js"></script>
|
||||
|
|
@ -17,7 +18,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$qa_skin_url.'/style.css">', 0);
|
|||
|
||||
<tr>
|
||||
<th>제목</th>
|
||||
<td><?=$view['subject']?></td>
|
||||
<td><?= $view['subject'] ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>작성자</th>
|
||||
|
|
@ -27,13 +28,13 @@ add_stylesheet('<link rel="stylesheet" href="'.$qa_skin_url.'/style.css">', 0);
|
|||
<th>작성일</th>
|
||||
<td><?php echo $view['datetime']; ?></td>
|
||||
</tr>
|
||||
<?php if($view['download_count'] > 0) { ?>
|
||||
<?php if ($view['download_count'] > 0) { ?>
|
||||
<tr>
|
||||
<th>첨부파일</th>
|
||||
<td>
|
||||
<?php
|
||||
// 가변 파일
|
||||
for ($i=0; $i<$view['download_count']; $i++) {
|
||||
for ($i = 0; $i < $view['download_count']; $i++) {
|
||||
?>
|
||||
<li>
|
||||
<a href="<?php echo $view['download_href'][$i]; ?>" class="view_file_download">
|
||||
|
|
@ -51,10 +52,10 @@ add_stylesheet('<link rel="stylesheet" href="'.$qa_skin_url.'/style.css">', 0);
|
|||
<td colspan="2">
|
||||
<?php
|
||||
// 파일 출력
|
||||
if($view['img_count']) {
|
||||
if ($view['img_count']) {
|
||||
echo "<div id=\"bo_v_img\">\n";
|
||||
|
||||
for ($i=0; $i<$view['img_count']; $i++) {
|
||||
for ($i = 0; $i < $view['img_count']; $i++) {
|
||||
//echo $view['img_file'][$i];
|
||||
echo get_view_thumbnail($view['img_file'][$i], $qaconfig['qa_image_width']);
|
||||
}
|
||||
|
|
@ -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
|
||||
|
|
@ -97,11 +99,11 @@ add_stylesheet('<link rel="stylesheet" href="'.$qa_skin_url.'/style.css">', 0);
|
|||
|
||||
<?php
|
||||
// 질문글에서 답변이 있으면 답변 출력, 답변이 없고 관리자이면 답변등록폼 출력
|
||||
if(!$view['qa_type']) {
|
||||
if($view['qa_status'] && $answer['qa_id'])
|
||||
include_once($qa_skin_path.'/view.answer.skin.php');
|
||||
if (!$view['qa_type']) {
|
||||
if ($view['qa_status'] && $answer['qa_id'])
|
||||
include_once($qa_skin_path . '/view.answer.skin.php');
|
||||
else
|
||||
include_once($qa_skin_path.'/view.answerform.skin.php');
|
||||
include_once($qa_skin_path . '/view.answerform.skin.php');
|
||||
}
|
||||
?>
|
||||
|
||||
|
|
@ -116,13 +118,13 @@ add_stylesheet('<link rel="stylesheet" href="'.$qa_skin_url.'/style.css">', 0);
|
|||
<!-- } 게시판 읽기 끝 -->
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
$("a.view_image").click(function() {
|
||||
$(function () {
|
||||
$("a.view_image").click(function () {
|
||||
window.open(this.href, "large_image", "location=yes,links=no,toolbar=no,top=10,left=10,width=10,height=10,resizable=yes,scrollbars=no,status=no");
|
||||
return false;
|
||||
});
|
||||
|
||||
// 이미지 리사이즈
|
||||
$("#bo_v_atc").viewimageresize();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -1,32 +1,34 @@
|
|||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
if (!defined('_GNUBOARD_'))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$qa_skin_url.'/style.css">', 0);
|
||||
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">
|
||||
<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 ?>">
|
||||
<input type="hidden" name="stx" value="<?php echo $stx ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page ?>">
|
||||
<?php
|
||||
$option = '';
|
||||
$option_hidden = '';
|
||||
$option = '';
|
||||
<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 ?>">
|
||||
<input type="hidden" name="stx" value="<?php echo $stx ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page ?>">
|
||||
<?php
|
||||
$option = '';
|
||||
$option_hidden = '';
|
||||
$option = '';
|
||||
|
||||
if ($is_dhtml_editor) {
|
||||
if ($is_dhtml_editor) {
|
||||
$option_hidden .= '<input type="hidden" name="qa_html" value="1">';
|
||||
} else {
|
||||
$option .= "\n".'<input type="checkbox" id="qa_html" name="qa_html" onclick="html_auto_br(this);" value="'.$html_value.'" '.$html_checked.'>'."\n".'<label for="qa_html">html</label>';
|
||||
}
|
||||
} else {
|
||||
$option .= "\n" . '<input type="checkbox" id="qa_html" name="qa_html" onclick="html_auto_br(this);" value="' . $html_value . '" ' . $html_checked . '>' . "\n" . '<label for="qa_html">html</label>';
|
||||
}
|
||||
|
||||
echo $option_hidden;
|
||||
?>
|
||||
echo $option_hidden;
|
||||
?>
|
||||
|
||||
<table class="theme-form write">
|
||||
<table class="theme-form write">
|
||||
<colgroup>
|
||||
<col style="width: 100px;" />
|
||||
<col />
|
||||
|
|
@ -36,7 +38,7 @@ echo $option_hidden;
|
|||
<tr>
|
||||
<th scope="row"><label for="qa_category">분류<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<select name="qa_category" id="qa_category" required class="required" >
|
||||
<select name="qa_category" id="qa_category" required class="required">
|
||||
<option value="">선택하세요</option>
|
||||
<?php echo $category_option ?>
|
||||
</select>
|
||||
|
|
@ -48,8 +50,9 @@ echo $option_hidden;
|
|||
<tr>
|
||||
<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="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"'; ?>>
|
||||
<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">
|
||||
<?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="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>
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -82,27 +88,28 @@ 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">
|
||||
<?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="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>
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</table>
|
||||
|
||||
<hr class="padding" />
|
||||
<hr class="padding" />
|
||||
|
||||
<div class="btn_confirm txt-center">
|
||||
<div class="btn_confirm txt-center">
|
||||
<input type="submit" value="작성완료" id="btn_submit" accesskey="s" class="ui-btn point">
|
||||
<a href="<?php echo $list_href; ?>" class="ui-btn">목록</a>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<script>
|
||||
function html_auto_br(obj)
|
||||
{
|
||||
function html_auto_br(obj) {
|
||||
if (obj.checked) {
|
||||
result = confirm("자동 줄바꿈을 하시겠습니까?\n\n자동 줄바꿈은 게시물 내용중 줄바뀐 곳을<br>태그로 변환하는 기능입니다.");
|
||||
if (result)
|
||||
|
|
@ -112,16 +119,15 @@ function html_auto_br(obj)
|
|||
}
|
||||
else
|
||||
obj.value = "";
|
||||
}
|
||||
}
|
||||
|
||||
function fwrite_submit(f)
|
||||
{
|
||||
function fwrite_submit(f) {
|
||||
<?php echo $editor_js; // 에디터 사용시 자바스크립트에서 내용을 폼필드로 넣어주며 내용이 입력되었는지 검사함 ?>
|
||||
|
||||
var subject = "";
|
||||
var content = "";
|
||||
$.ajax({
|
||||
url: g5_bbs_url+"/ajax.filter.php",
|
||||
url: g5_bbs_url + "/ajax.filter.php",
|
||||
type: "POST",
|
||||
data: {
|
||||
"subject": f.qa_subject.value,
|
||||
|
|
@ -130,21 +136,21 @@ function fwrite_submit(f)
|
|||
dataType: "json",
|
||||
async: false,
|
||||
cache: false,
|
||||
success: function(data, textStatus) {
|
||||
success: function (data, textStatus) {
|
||||
subject = data.subject;
|
||||
content = data.content;
|
||||
}
|
||||
});
|
||||
|
||||
if (subject) {
|
||||
alert("제목에 금지단어('"+subject+"')가 포함되어있습니다");
|
||||
alert("제목에 금지단어('" + subject + "')가 포함되어있습니다");
|
||||
f.qa_subject.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
if (content) {
|
||||
alert("내용에 금지단어('"+content+"')가 포함되어있습니다");
|
||||
if (typeof(ed_qa_content) != "undefined")
|
||||
alert("내용에 금지단어('" + content + "')가 포함되어있습니다");
|
||||
if (typeof (ed_qa_content) != "undefined")
|
||||
ed_qa_content.returnFalse();
|
||||
else
|
||||
f.qa_content.focus();
|
||||
|
|
@ -153,7 +159,7 @@ function fwrite_submit(f)
|
|||
|
||||
<?php if ($is_hp) { ?>
|
||||
var hp = f.qa_hp.value.replace(/[0-9\-]/g, "");
|
||||
if(hp.length > 0) {
|
||||
if (hp.length > 0) {
|
||||
alert("휴대폰번호는 숫자, - 으로만 입력해 주십시오.");
|
||||
return false;
|
||||
}
|
||||
|
|
@ -162,6 +168,6 @@ function fwrite_submit(f)
|
|||
document.getElementById("btn_submit").disabled = "disabled";
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<!-- } 게시물 작성/수정 끝 -->
|
||||
|
|
@ -1,34 +1,36 @@
|
|||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined("_GNUBOARD_"))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$search_skin_url.'/style.css">', 0);
|
||||
add_stylesheet('<link rel="stylesheet" href="' . $search_skin_url . '/style.css">', 0);
|
||||
?>
|
||||
|
||||
<!-- 전체검색 시작 { -->
|
||||
<form name="fsearch" onsubmit="return fsearch_submit(this);" method="get">
|
||||
<input type="hidden" name="srows" value="<?php echo $srows ?>">
|
||||
<fieldset id="sch_res_detail">
|
||||
<input type="hidden" name="srows" value="<?php echo $srows ?>">
|
||||
<fieldset id="sch_res_detail">
|
||||
<legend>상세검색</legend>
|
||||
<?php echo $group_select ?>
|
||||
<script>document.getElementById("gr_id").value = "<?php echo $gr_id ?>";</script>
|
||||
|
||||
<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"<?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>
|
||||
<option value="wr_name"<?php echo get_selected($_GET['sfl'], "wr_name") ?>>이름</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>
|
||||
<option value="wr_name" <?php echo get_selected($_GET['sfl'], "wr_name") ?>>이름</option>
|
||||
</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();
|
||||
|
|
@ -38,7 +40,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$search_skin_url.'/style.css">',
|
|||
|
||||
// 검색에 많은 부하가 걸리는 경우 이 주석을 제거하세요.
|
||||
var cnt = 0;
|
||||
for (var i=0; i<f.stx.value.length; i++) {
|
||||
for (var i = 0; i < f.stx.value.length; i++) {
|
||||
if (f.stx.value.charAt(i) == ' ')
|
||||
cnt++;
|
||||
}
|
||||
|
|
@ -58,7 +60,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$search_skin_url.'/style.css">',
|
|||
<label for="sop_or">OR</label>
|
||||
<input type="radio" value="and" <?php echo ($sop == "and") ? "checked" : ""; ?> id="sop_and" name="sop">
|
||||
<label for="sop_and">AND</label>
|
||||
</fieldset>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
<div id="sch_result">
|
||||
|
|
@ -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++) {
|
||||
$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] ?>&<?php echo $search_query ?>"><?php echo $bo_subject[$idx] ?> 게시판 내 결과</a></h2>
|
||||
<h2><a
|
||||
href="./board.php?bo_table=<?php echo $search_table[$idx] ?>&<?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'])
|
||||
{
|
||||
for ($i = 0; $i < count($list[$idx]) && $k < $rows; $i++, $k++) {
|
||||
if ($list[$idx][$i]['wr_is_comment']) {
|
||||
$comment_def = '<span class="cmt_def">댓글 | </span>';
|
||||
$comment_href = '#c_'.$list[$idx][$i]['wr_id'];
|
||||
}
|
||||
else
|
||||
{
|
||||
$comment_href = '#c_' . $list[$idx][$i]['wr_id'];
|
||||
} 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] ?>&<?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] ?>&<?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 ?>
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 {}
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined("_GNUBOARD_"))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
|
||||
global $is_admin;
|
||||
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$visit_skin_url.'/style.css">', 0);
|
||||
add_stylesheet('<link rel="stylesheet" href="' . $visit_skin_url . '/style.css">', 0);
|
||||
?>
|
||||
|
||||
<!-- 접속자집계 시작 { -->
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue