unmanaged codestyle update
This commit is contained in:
parent
99e42ff33c
commit
ca0a04bc24
46 changed files with 2879 additions and 2222 deletions
|
|
@ -1,81 +1,114 @@
|
|||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit;
|
||||
if (!defined('_GNUBOARD_'))
|
||||
exit;
|
||||
|
||||
// 방문자수 출력
|
||||
function visit($skin_dir='basic')
|
||||
function visit($skin_dir = 'basic')
|
||||
{
|
||||
global $config, $g5;
|
||||
global $config, $g5;
|
||||
|
||||
// visit 배열변수에
|
||||
// $visit[1] = 오늘
|
||||
// $visit[2] = 어제
|
||||
// $visit[3] = 최대
|
||||
// $visit[4] = 전체
|
||||
// 숫자가 들어감
|
||||
preg_match("/오늘:(.*),어제:(.*),최대:(.*),전체:(.*)/", $config['cf_visit'], $visit);
|
||||
settype($visit[1], "integer");
|
||||
settype($visit[2], "integer");
|
||||
settype($visit[3], "integer");
|
||||
settype($visit[4], "integer");
|
||||
// visit 배열변수에
|
||||
// $visit[1] = 오늘
|
||||
// $visit[2] = 어제
|
||||
// $visit[3] = 최대
|
||||
// $visit[4] = 전체
|
||||
// 숫자가 들어감
|
||||
preg_match("/오늘:(.*),어제:(.*),최대:(.*),전체:(.*)/", $config['cf_visit'], $visit);
|
||||
settype($visit[1], "integer");
|
||||
settype($visit[2], "integer");
|
||||
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');
|
||||
$content = ob_get_contents();
|
||||
ob_end_clean();
|
||||
ob_start();
|
||||
include_once($visit_skin_path . '/visit.skin.php');
|
||||
$content = ob_get_contents();
|
||||
ob_end_clean();
|
||||
|
||||
return $content;
|
||||
return $content;
|
||||
}
|
||||
|
||||
// get_browser() 함수는 이미 있음
|
||||
function get_brow($agent)
|
||||
{
|
||||
$agent = strtolower($agent);
|
||||
$agent = strtolower($agent);
|
||||
|
||||
//echo $agent; echo "<br/>";
|
||||
//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;
|
||||
return $s;
|
||||
}
|
||||
|
||||
function get_os($agent)
|
||||
{
|
||||
$agent = strtolower($agent);
|
||||
$agent = strtolower($agent);
|
||||
|
||||
//echo $agent; echo "<br/>";
|
||||
//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;
|
||||
return $s;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,22 +1,23 @@
|
|||
<?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') { ?>
|
||||
<em>
|
||||
<img src="<?=get_item_img($data_log[2])?>" />
|
||||
</em>
|
||||
<p>
|
||||
<span><strong><?=$data_log[3]?></strong><?=j($data_log[3], '을')?> 제작했습니다!</span>
|
||||
</p>
|
||||
<?php } else { ?>
|
||||
<em></em>
|
||||
<p>
|
||||
제작에 실패하였습니다.
|
||||
</p>
|
||||
<?php } ?>
|
||||
<?php if ($data_log[1] == 'S') { ?>
|
||||
<em>
|
||||
<img src="<?= get_item_img($data_log[2]) ?>" />
|
||||
</em>
|
||||
<p>
|
||||
<span><strong><?= $data_log[3] ?></strong><?= j($data_log[3], '을') ?> 제작했습니다!</span>
|
||||
</p>
|
||||
<?php } else { ?>
|
||||
<em></em>
|
||||
<p>
|
||||
제작에 실패하였습니다.
|
||||
</p>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,22 +1,23 @@
|
|||
<?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') { ?>
|
||||
<em>
|
||||
<img src="<?=get_item_img($data_log[2])?>" />
|
||||
</em>
|
||||
<p>
|
||||
<span>탐색하여 <strong><?=$data_log[3]?></strong><?=j($data_log[3], '을')?> 획득했습니다!</span>
|
||||
</p>
|
||||
<?php } else { ?>
|
||||
<em></em>
|
||||
<p>
|
||||
탐색했지만 아무것도 얻지 못했습니다.
|
||||
</p>
|
||||
<?php } ?>
|
||||
<?php if ($data_log[1] == 'S') { ?>
|
||||
<em>
|
||||
<img src="<?= get_item_img($data_log[2]) ?>" />
|
||||
</em>
|
||||
<p>
|
||||
<span>탐색하여 <strong><?= $data_log[3] ?></strong><?= j($data_log[3], '을') ?> 획득했습니다!</span>
|
||||
</p>
|
||||
<?php } else { ?>
|
||||
<em></em>
|
||||
<p>
|
||||
탐색했지만 아무것도 얻지 못했습니다.
|
||||
</p>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,41 +1,44 @@
|
|||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined("_GNUBOARD_"))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
|
||||
// 아이템 ID / 이름 / 기능 / 값 / 내용 / 효능
|
||||
?>
|
||||
|
||||
<?php if($item_log[0] == 'D') {
|
||||
// 일반 템 사용
|
||||
IF($item_log[1]) {
|
||||
?>
|
||||
<div class="log-item-box data-item">
|
||||
<em>
|
||||
<img src="<?=get_item_img($item_log[1])?>" />
|
||||
</em>
|
||||
<p>
|
||||
<span><strong><?=$item_log[2]?></strong><?=j($item_log[2], '을')?> 사용했습니다! (<?=$item_log[6]?>)</span>
|
||||
</p>
|
||||
</div>
|
||||
<?php } } else if($item_log[0] == 'S') {
|
||||
// 뽑기 획득에 성공
|
||||
?>
|
||||
<div class="log-item-box data-item">
|
||||
<em>
|
||||
<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>
|
||||
</p>
|
||||
</div>
|
||||
<?php if ($item_log[0] == 'D') {
|
||||
// 일반 템 사용
|
||||
if ($item_log[1]) {
|
||||
?>
|
||||
<div class="log-item-box data-item">
|
||||
<em>
|
||||
<img src="<?= get_item_img($item_log[1]) ?>" />
|
||||
</em>
|
||||
<p>
|
||||
<span><strong><?= $item_log[2] ?></strong><?= j($item_log[2], '을') ?> 사용했습니다! (<?= $item_log[6] ?>)</span>
|
||||
</p>
|
||||
</div>
|
||||
<?php }
|
||||
} else if ($item_log[0] == 'S') {
|
||||
// 뽑기 획득에 성공
|
||||
?>
|
||||
<div class="log-item-box data-item">
|
||||
<em>
|
||||
<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>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<?php } else {
|
||||
// 뽑기 획득에 실패
|
||||
?>
|
||||
<div class="log-item-box data-item">
|
||||
<em></em>
|
||||
<p>
|
||||
<span><strong><?=$item_log[2]?></strong><?=j($item_log[2], '을')?> 사용했지만 <strong>아무것도 획득하지 못했습니다</strong>...</span>
|
||||
</p>
|
||||
</div>
|
||||
// 뽑기 획득에 실패
|
||||
?>
|
||||
<div class="log-item-box data-item">
|
||||
<em></em>
|
||||
<p>
|
||||
<span><strong><?= $item_log[2] ?></strong><?= j($item_log[2], '을') ?> 사용했지만 <strong>아무것도 획득하지 못했습니다</strong>...</span>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<?php } ?>
|
||||
|
|
|
|||
|
|
@ -1,17 +1,17 @@
|
|||
<?php
|
||||
include_once "./_common.php";
|
||||
|
||||
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_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']) {
|
||||
// 즐겨찾기 내역이 이미 존재할 경우
|
||||
// 해당 내역을 제거한다.
|
||||
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."' ");
|
||||
echo "on";
|
||||
}
|
||||
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 . "' ");
|
||||
echo "on";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,102 +2,102 @@
|
|||
fn_layout_setting();
|
||||
|
||||
// 화면 사이즈가 변경 될 시, 레이아웃 셋팅 실행
|
||||
window.onresize = function() { fn_layout_setting(); };
|
||||
window.onresize = function () { fn_layout_setting(); };
|
||||
|
||||
// 즐겨찾기 추가 - Ajax
|
||||
$('a[data-function="favorite"]').on('click', function() {
|
||||
var formData = new FormData();
|
||||
var idx = $(this).data('idx');
|
||||
var obj = $(this);
|
||||
formData.append("wr_id", idx);
|
||||
formData.append("bo_table", g5_bo_table);
|
||||
formData.append("mb_id", avo_mb_id);
|
||||
$('a[data-function="favorite"]').on('click', function () {
|
||||
var formData = new FormData();
|
||||
var idx = $(this).data('idx');
|
||||
var obj = $(this);
|
||||
formData.append("wr_id", idx);
|
||||
formData.append("bo_table", g5_bo_table);
|
||||
formData.append("mb_id", avo_mb_id);
|
||||
|
||||
$.ajax({
|
||||
url:avo_board_skin_url + '/ajax/add_favorite.php'
|
||||
, data: formData
|
||||
, processData: false
|
||||
, contentType: false
|
||||
, type: 'POST'
|
||||
, success: function(data){
|
||||
if(data == 'on') {
|
||||
obj.removeClass('on');
|
||||
obj.addClass(data);
|
||||
}else if(data == 'off') {
|
||||
obj.removeClass('on');
|
||||
}
|
||||
}
|
||||
});
|
||||
$.ajax({
|
||||
url: avo_board_skin_url + '/ajax/add_favorite.php'
|
||||
, data: formData
|
||||
, processData: false
|
||||
, contentType: false
|
||||
, type: 'POST'
|
||||
, success: function (data) {
|
||||
if (data == 'on') {
|
||||
obj.removeClass('on');
|
||||
obj.addClass(data);
|
||||
} else if (data == 'off') {
|
||||
obj.removeClass('on');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
return false;
|
||||
return false;
|
||||
});
|
||||
|
||||
|
||||
$('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;
|
||||
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){
|
||||
//닫기
|
||||
$(obj).stop().animate({height: setting_height + "px"}, 1000);
|
||||
$(obj).removeClass('on');
|
||||
$(this).text("OPEN");
|
||||
} else {
|
||||
// 열기
|
||||
$(obj).stop().animate({height: original_height + "px"}, 1000);
|
||||
$(obj).addClass('on');
|
||||
$(this).text("CLOSE");
|
||||
}
|
||||
if (state) {
|
||||
//닫기
|
||||
$(obj).stop().animate({ height: setting_height + "px" }, 1000);
|
||||
$(obj).removeClass('on');
|
||||
$(this).text("OPEN");
|
||||
} else {
|
||||
// 열기
|
||||
$(obj).stop().animate({ height: original_height + "px" }, 1000);
|
||||
$(obj).addClass('on');
|
||||
$(this).text("CLOSE");
|
||||
}
|
||||
|
||||
return false;
|
||||
return false;
|
||||
});
|
||||
|
||||
$('a.ui-remove-blind').on('click', function() {
|
||||
$(this).closest('.pic-data').removeClass('ui-blind');
|
||||
$(this).fadeOut();
|
||||
return false;
|
||||
$('a.ui-remove-blind').on('click', function () {
|
||||
$(this).closest('.pic-data').removeClass('ui-blind');
|
||||
$(this).fadeOut();
|
||||
return false;
|
||||
});
|
||||
|
||||
$('.send_memo').on('click', function() {
|
||||
var target = $(this).attr('href');
|
||||
window.open(target, 'memo', "width=500, height=300");
|
||||
return false;
|
||||
$('.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() {
|
||||
$('#searc_keyword').toggleClass('on');
|
||||
return false;
|
||||
$('.btn-search-guide').on('click', function () {
|
||||
$('#searc_keyword').toggleClass('on');
|
||||
return false;
|
||||
});
|
||||
|
||||
$(window).ready(function() {
|
||||
$('#load_log_board').css('opacity', '1.0');
|
||||
$(window).ready(function () {
|
||||
$('#load_log_board').css('opacity', '1.0');
|
||||
});
|
||||
|
||||
function fn_layout_setting() {
|
||||
$('#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();
|
||||
$('#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) {
|
||||
log_data_width = log_width;
|
||||
}
|
||||
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) {
|
||||
$(this).removeClass('both');
|
||||
$(this).find('.ui-comment').css('width', comment_width - 20 + "px");
|
||||
} else {
|
||||
$(this).addClass('both');
|
||||
$(this).find('.ui-comment').css('width', "auto");
|
||||
}
|
||||
});
|
||||
var comment_width = $('#log_list .item-inner').width() - log_data_width + 10;
|
||||
if (comment_width > 320) {
|
||||
$(this).removeClass('both');
|
||||
$(this).find('.ui-comment').css('width', comment_width - 20 + "px");
|
||||
} else {
|
||||
$(this).addClass('both');
|
||||
$(this).find('.ui-comment').css('width', "auto");
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
$('.new_win').on('click', function() {
|
||||
var target = $(this).attr('href');
|
||||
window.open(target, 'emoticon', "width=400, height=600");
|
||||
return false;
|
||||
$('.new_win').on('click', function () {
|
||||
var target = $(this).attr('href');
|
||||
window.open(target, 'emoticon', "width=400, height=600");
|
||||
return false;
|
||||
});
|
||||
|
|
@ -1,100 +1,101 @@
|
|||
<?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>
|
||||
<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) { // 회원이면 ?>
|
||||
<input type="hidden" name="fnick" value="<?php echo get_text($member['mb_nick']); ?>">
|
||||
<input type="hidden" name="fmail" value="<?php echo $member['mb_email'] ?>">
|
||||
<?php } ?>
|
||||
<input type="hidden" name="fnick" value="<?php echo get_text($member['mb_nick']); ?>">
|
||||
<input type="hidden" name="fmail" value="<?php echo $member['mb_email'] ?>">
|
||||
<?php } ?>
|
||||
|
||||
<div class="tbl_frm01 tbl_form">
|
||||
<table>
|
||||
<table>
|
||||
<caption>메일쓰기</caption>
|
||||
<tbody>
|
||||
<?php if (!$is_member) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="fnick">이름<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="text" name="fnick" id="fnick" required class="frm_input required"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="fmail">E-mail<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="text" name="fmail" id="fmail" required class="frm_input required"></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<tr>
|
||||
<?php if (!$is_member) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="fnick">이름<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="text" name="fnick" id="fnick" required class="frm_input required"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="fmail">E-mail<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="text" name="fmail" id="fmail" required class="frm_input required"></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="subject">제목<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="text" name="subject" id="subject" required class="frm_input required"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">형식</th>
|
||||
<td>
|
||||
<input type="radio" name="type" value="0" id="type_text" checked> <label for="type_text">TEXT</label>
|
||||
<input type="radio" name="type" value="1" id="type_html"> <label for="type_html">HTML</label>
|
||||
<input type="radio" name="type" value="2" id="type_both"> <label for="type_both">TEXT+HTML</label>
|
||||
<input type="radio" name="type" value="0" id="type_text" checked> <label for="type_text">TEXT</label>
|
||||
<input type="radio" name="type" value="1" id="type_html"> <label for="type_html">HTML</label>
|
||||
<input type="radio" name="type" value="2" id="type_both"> <label for="type_both">TEXT+HTML</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="content">내용<strong class="sound_only">필수</strong></label></th>
|
||||
<td><textarea name="content" id="content" required class="required"></textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="file1">첨부 파일 1</label></th>
|
||||
<td>
|
||||
<input type="file" name="file1" id="file1" class="frm_input">
|
||||
첨부 파일은 누락될 수 있으므로 메일을 보낸 후 파일이 첨부 되었는지 반드시 확인해 주시기 바랍니다.
|
||||
<input type="file" name="file1" id="file1" class="frm_input">
|
||||
첨부 파일은 누락될 수 있으므로 메일을 보낸 후 파일이 첨부 되었는지 반드시 확인해 주시기 바랍니다.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="file2">첨부 파일 2</label></th>
|
||||
<td><input type="file" name="file2" id="file2" class="frm_input"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">자동등록방지</th>
|
||||
<td><?php echo captcha_html(); ?></td>
|
||||
</tr>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="win_btn">
|
||||
<input type="submit" value="메일발송" id="btn_submit" class="btn_submit">
|
||||
<button type="button" onclick="window.close();">창닫기</button>
|
||||
<input type="submit" value="메일발송" id="btn_submit" class="btn_submit">
|
||||
<button type="button" onclick="window.close();">창닫기</button>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
with (document.fformmail) {
|
||||
with (document.fformmail) {
|
||||
if (typeof fname != "undefined")
|
||||
fname.focus();
|
||||
fname.focus();
|
||||
else if (typeof subject != "undefined")
|
||||
subject.focus();
|
||||
}
|
||||
subject.focus();
|
||||
}
|
||||
|
||||
function fformmail_submit(f)
|
||||
{
|
||||
<?php echo chk_captcha_js(); ?>
|
||||
function fformmail_submit(f) {
|
||||
<?php echo chk_captcha_js(); ?>
|
||||
|
||||
if (f.file1.value || f.file2.value) {
|
||||
// 4.00.11
|
||||
if (!confirm("첨부파일의 용량이 큰경우 전송시간이 오래 걸립니다.\n\n메일보내기가 완료되기 전에 창을 닫거나 새로고침 하지 마십시오."))
|
||||
return false;
|
||||
// 4.00.11
|
||||
if (!confirm("첨부파일의 용량이 큰경우 전송시간이 오래 걸립니다.\n\n메일보내기가 완료되기 전에 창을 닫거나 새로고침 하지 마십시오."))
|
||||
return false;
|
||||
}
|
||||
|
||||
document.getElementById('btn_submit').disabled = true;
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<!-- } 폼메일 끝 -->
|
||||
|
|
@ -1,83 +1,84 @@
|
|||
<?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">
|
||||
|
||||
<div id="login_title">
|
||||
<div class="inner">
|
||||
<h1>
|
||||
<em>
|
||||
<strong><?=$config['cf_title']?> 관리자</strong> 로그인
|
||||
</em>
|
||||
<span>
|
||||
AVOCADO EDITION Ver.<?=G5_GNUBOARD_VER?>
|
||||
</span>
|
||||
<sup>
|
||||
관리자 비번을 잊을 시, DB 접속을 통해 직접 변경 하여야 합니다.<br />
|
||||
최대한 비밀번호를 잊지 않도록 조심해 주시길 바랍니다.<br />
|
||||
DB 관리툴은 호스팅 업체에 문의해 주시길 바랍니다.
|
||||
</sup>
|
||||
</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div id="login_title">
|
||||
<div class="inner">
|
||||
<h1>
|
||||
<em>
|
||||
<strong><?= $config['cf_title'] ?> 관리자</strong> 로그인
|
||||
</em>
|
||||
<span>
|
||||
AVOCADO EDITION Ver.<?= G5_GNUBOARD_VER ?>
|
||||
</span>
|
||||
<sup>
|
||||
관리자 비번을 잊을 시, DB 접속을 통해 직접 변경 하여야 합니다.<br />
|
||||
최대한 비밀번호를 잊지 않도록 조심해 주시길 바랍니다.<br />
|
||||
DB 관리툴은 호스팅 업체에 문의해 주시길 바랍니다.
|
||||
</sup>
|
||||
</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- 로그인 시작 { -->
|
||||
<div id="mb_login" class="mbskin">
|
||||
<div class="inner">
|
||||
<!-- 로그인 시작 { -->
|
||||
<div id="mb_login" class="mbskin">
|
||||
<div class="inner">
|
||||
|
||||
<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 ?>">
|
||||
<form name="flogin" action="<?php echo $login_action_url ?>" onsubmit="return flogin_submit(this);" method="post">
|
||||
<input type="hidden" name="url" value="<?php echo $login_url ?>">
|
||||
|
||||
<fieldset class="input">
|
||||
<input type="text" name="mb_id" id="login_id" required class="frm_input required" size="20" maxLength="20">
|
||||
<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">
|
||||
<label for="login_pw" class="login_pw">비밀번호<strong class="sound_only"> 필수</strong></label>
|
||||
</fieldset>
|
||||
<fieldset class="input">
|
||||
<input type="text" name="mb_id" id="login_id" required class="frm_input required" size="20" maxLength="20">
|
||||
<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">
|
||||
<label for="login_pw" class="login_pw">비밀번호<strong class="sound_only"> 필수</strong></label>
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="check">
|
||||
<input type="checkbox" name="auto_login" id="login_auto_login">
|
||||
<label for="login_auto_login">자동로그인</label>
|
||||
</fieldset>
|
||||
<fieldset class="check">
|
||||
<input type="checkbox" name="auto_login" id="login_auto_login">
|
||||
<label for="login_auto_login">자동로그인</label>
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="button">
|
||||
<button type="submit" class="btn_submit">로그인</button>
|
||||
</fieldset>
|
||||
</form>
|
||||
<fieldset class="button">
|
||||
<button type="submit" class="btn_submit">로그인</button>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
<p id="copyright">
|
||||
COPYRIGHT © 2017 System by Avocado<br />
|
||||
-<br />
|
||||
GNU BOARD 5.2.7
|
||||
</p>
|
||||
<p id="copyright">
|
||||
COPYRIGHT © 2017 System by Avocado<br />
|
||||
-<br />
|
||||
GNU BOARD 5.2.7
|
||||
</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<script>
|
||||
$(function(){
|
||||
$("#login_auto_login").click(function(){
|
||||
if (this.checked) {
|
||||
this.checked = confirm("자동로그인을 사용하시면 다음부터 회원아이디와 비밀번호를 입력하실 필요가 없습니다.\n\n공공장소에서는 개인정보가 유출될 수 있으니 사용을 자제하여 주십시오.\n\n자동로그인을 사용하시겠습니까?");
|
||||
}
|
||||
$(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">
|
||||
<div class="login-inner">
|
||||
<?php
|
||||
// 등록된 로고 파일이 있을 경우에만 출력 한다.
|
||||
if($logo_data) { ?>
|
||||
<div class="login-logo">
|
||||
<?=$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">
|
||||
<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="아이디">
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<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) {
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
<!-- } 로그인 끝 -->
|
||||
$logo_data = "";
|
||||
if ($logo)
|
||||
$logo_data .= "<img src='" . $logo . "' />";
|
||||
/*********************************/
|
||||
?>
|
||||
<div class="loginWrap">
|
||||
<div class="login-inner">
|
||||
<?php
|
||||
// 등록된 로고 파일이 있을 경우에만 출력 한다.
|
||||
if ($logo_data) { ?>
|
||||
<div class="login-logo">
|
||||
<?= $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">
|
||||
<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="아이디">
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<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) {
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
<!-- } 로그인 끝 -->
|
||||
<?php } ?>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
if (!defined('_GNUBOARD_'))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
|
||||
// 자신만의 코드를 넣어주세요.
|
||||
?>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,54 +1,56 @@
|
|||
<?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);
|
||||
?>
|
||||
|
||||
|
||||
<div id="password_box" class="theme-box">
|
||||
<h1>비밀번호 확인</h1>
|
||||
<hr class="line" />
|
||||
<div class="descript">
|
||||
<p>
|
||||
<strong>비밀번호를 한번 더 입력해주세요.</strong>
|
||||
<?php if ($url == 'member_leave.php') { ?>
|
||||
비밀번호를 입력하시면 회원탈퇴가 완료됩니다.
|
||||
<?php }else{ ?>
|
||||
회원님의 정보를 안전하게 보호하기 위해 비밀번호를 한번 더 확인합니다.
|
||||
<?php } ?>
|
||||
</p>
|
||||
<h1>비밀번호 확인</h1>
|
||||
<hr class="line" />
|
||||
<div class="descript">
|
||||
<p>
|
||||
<strong>비밀번호를 한번 더 입력해주세요.</strong>
|
||||
<?php if ($url == 'member_leave.php') { ?>
|
||||
비밀번호를 입력하시면 회원탈퇴가 완료됩니다.
|
||||
<?php } else { ?>
|
||||
회원님의 정보를 안전하게 보호하기 위해 비밀번호를 한번 더 확인합니다.
|
||||
<?php } ?>
|
||||
</p>
|
||||
|
||||
<div class="pass-form">
|
||||
<div class="pass-form">
|
||||
|
||||
<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">
|
||||
<form name="fmemberconfirm" action="<?php echo $url ?>" onsubmit="return fmemberconfirm_submit(this);"
|
||||
method="post">
|
||||
<input type="hidden" name="mb_id" value="<?php echo $member['mb_id'] ?>">
|
||||
<input type="hidden" name="w" value="u">
|
||||
|
||||
<fieldset class="box-id">
|
||||
<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">
|
||||
</fieldset>
|
||||
<fieldset class="box-id">
|
||||
<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">
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="box-btn">
|
||||
<button type="submit" id="btn_submit" class="ui-btn point">확인</button>
|
||||
</fieldset>
|
||||
<fieldset class="box-btn">
|
||||
<button type="submit" id="btn_submit" class="ui-btn point">확인</button>
|
||||
</fieldset>
|
||||
|
||||
</form>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<hr class="line" />
|
||||
<div class="btn_confirm">
|
||||
<a href="<?php echo G5_URL ?>" class="ui-btn">메인으로 돌아가기</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="line" />
|
||||
<div class="btn_confirm">
|
||||
<a href="<?php echo G5_URL ?>" class="ui-btn">메인으로 돌아가기</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
function fmemberconfirm_submit(f)
|
||||
{
|
||||
document.getElementById("btn_submit").disabled = true;
|
||||
return true;
|
||||
}
|
||||
function fmemberconfirm_submit(f) {
|
||||
document.getElementById("btn_submit").disabled = true;
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
<!-- } 회원 비밀번호 확인 끝 -->
|
||||
|
|
@ -1,10 +1,11 @@
|
|||
<?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>
|
||||
window.close();
|
||||
window.close();
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -1,47 +1,50 @@
|
|||
<?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">
|
||||
<table class="theme-form">
|
||||
<colgroup>
|
||||
<col style="width: 80px;" />
|
||||
<col />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row"><label for="me_recv_mb_id">아이디<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<input type="text" name="me_recv_mb_id" value="<?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>
|
||||
</tr>
|
||||
<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;" />
|
||||
<col />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row"><label for="me_recv_mb_id">아이디<strong class="sound_only">필수</strong></label></th>
|
||||
<td>
|
||||
<input type="text" name="me_recv_mb_id" value="<?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>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
<hr class="padding" />
|
||||
<div class="win_btn txt-center">
|
||||
<input type="submit" value="보내기" id="btn_submit" class="ui-btn">
|
||||
<button type="button" onclick="window.close();" class="ui-btn">창닫기</button>
|
||||
</div>
|
||||
</form>
|
||||
</tbody>
|
||||
</table>
|
||||
<hr class="padding" />
|
||||
<div class="win_btn txt-center">
|
||||
<input type="submit" value="보내기" id="btn_submit" class="ui-btn">
|
||||
<button type="button" onclick="window.close();" class="ui-btn">창닫기</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
function fmemoform_submit(f)
|
||||
{
|
||||
<?php echo chk_captcha_js(); ?>
|
||||
function fmemoform_submit(f) {
|
||||
<?php echo chk_captcha_js(); ?>
|
||||
|
||||
return true;
|
||||
}
|
||||
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,57 +1,63 @@
|
|||
<?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);
|
||||
?>
|
||||
|
||||
<!-- 비밀번호 확인 시작 { -->
|
||||
<div id="password_box" class="theme-box">
|
||||
|
||||
<h1>비밀번호 확인</h1>
|
||||
<hr class="line" />
|
||||
<div class="descript">
|
||||
<p>
|
||||
<?php if ($w == 'u') { ?>
|
||||
<strong class="txt-point">작성자만 글을 수정할 수 있습니다.</strong>
|
||||
작성자 본인이라면, 글 작성시 입력한 비밀번호를 입력하여 글을 수정할 수 있습니다.
|
||||
<?php } else if ($w == 'd' || $w == 'x') { ?>
|
||||
<strong class="txt-point">작성자만 글을 삭제할 수 있습니다.</strong>
|
||||
작성자 본인이라면, 글 작성시 입력한 비밀번호를 입력하여 글을 삭제할 수 있습니다.
|
||||
<?php } else { ?>
|
||||
<strong class="txt-point">비밀글 기능으로 보호된 글입니다.</strong>
|
||||
작성자와 관리자만 열람하실 수 있습니다. 본인이라면 비밀번호를 입력하세요.
|
||||
<?php } ?>
|
||||
</p>
|
||||
<div class="pass-form">
|
||||
<form name="fboardpassword" action="<?php echo $action; ?>" method="post">
|
||||
<input type="hidden" name="w" value="<?php echo $w ?>">
|
||||
<input type="hidden" name="bo_table" value="<?php echo $bo_table ?>">
|
||||
<input type="hidden" name="wr_id" value="<?php echo $wr_id ?>">
|
||||
<input type="hidden" name="comment_id" value="<?php echo $comment_id ?>">
|
||||
<input type="hidden" name="sfl" value="<?php echo $sfl ?>">
|
||||
<input type="hidden" name="stx" value="<?php echo $stx ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page ?>">
|
||||
<h1>비밀번호 확인</h1>
|
||||
<hr class="line" />
|
||||
<div class="descript">
|
||||
<p>
|
||||
<?php if ($w == 'u') { ?>
|
||||
<strong class="txt-point">작성자만 글을 수정할 수 있습니다.</strong>
|
||||
작성자 본인이라면, 글 작성시 입력한 비밀번호를 입력하여 글을 수정할 수 있습니다.
|
||||
<?php } else if ($w == 'd' || $w == 'x') { ?>
|
||||
<strong class="txt-point">작성자만 글을 삭제할 수 있습니다.</strong>
|
||||
작성자 본인이라면, 글 작성시 입력한 비밀번호를 입력하여 글을 삭제할 수 있습니다.
|
||||
<?php } else { ?>
|
||||
<strong class="txt-point">비밀글 기능으로 보호된 글입니다.</strong>
|
||||
작성자와 관리자만 열람하실 수 있습니다. 본인이라면 비밀번호를 입력하세요.
|
||||
<?php } ?>
|
||||
</p>
|
||||
<div class="pass-form">
|
||||
<form name="fboardpassword" action="<?php echo $action; ?>" method="post">
|
||||
<input type="hidden" name="w" value="<?php echo $w ?>">
|
||||
<input type="hidden" name="bo_table" value="<?php echo $bo_table ?>">
|
||||
<input type="hidden" name="wr_id" value="<?php echo $wr_id ?>">
|
||||
<input type="hidden" name="comment_id" value="<?php echo $comment_id ?>">
|
||||
<input type="hidden" name="sfl" value="<?php echo $sfl ?>">
|
||||
<input type="hidden" name="stx" value="<?php echo $stx ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page ?>">
|
||||
|
||||
<fieldset class="box-pw">
|
||||
<input type="password" name="wr_password" id="password_wr_password" required class="frm_input required" size="15" maxLength="20">
|
||||
</fieldset>
|
||||
<fieldset class="box-pw">
|
||||
<input type="password" name="wr_password" id="password_wr_password" required class="frm_input required"
|
||||
size="15" maxLength="20">
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="box-btn">
|
||||
<button type="submit" class="point ui-btn">확인</button>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="line" />
|
||||
<div class="btn_confirm">
|
||||
<a href="<?php echo $return_url ?>" class="ui-btn">이전으로 돌아가기</a>
|
||||
</div>
|
||||
<fieldset class="box-btn">
|
||||
<button type="submit" class="point ui-btn">확인</button>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="line" />
|
||||
<div class="btn_confirm">
|
||||
<a href="<?php echo $return_url ?>" class="ui-btn">이전으로 돌아가기</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- } 비밀번호 확인 끝 -->
|
||||
|
|
@ -1,47 +1,48 @@
|
|||
<?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>
|
||||
<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>
|
||||
해당 이메일로 아이디와 비밀번호 정보를 보내드립니다.
|
||||
</p>
|
||||
<label for="mb_email">E-mail 주소<strong class="sound_only">필수</strong></label>
|
||||
<input type="text" name="mb_email" id="mb_email" required class="required frm_input email" size="30">
|
||||
<p>
|
||||
회원가입 시 등록하신 이메일 주소를 입력해 주세요.<br>
|
||||
해당 이메일로 아이디와 비밀번호 정보를 보내드립니다.
|
||||
</p>
|
||||
<label for="mb_email">E-mail 주소<strong class="sound_only">필수</strong></label>
|
||||
<input type="text" name="mb_email" id="mb_email" required class="required frm_input email" size="30">
|
||||
</fieldset>
|
||||
<?php echo captcha_html(); ?>
|
||||
<?php echo captcha_html(); ?>
|
||||
<div class="win_btn">
|
||||
<input type="submit" value="확인" class="btn_submit">
|
||||
<button type="button" onclick="window.close();">창닫기</button>
|
||||
<input type="submit" value="확인" class="btn_submit">
|
||||
<button type="button" onclick="window.close();">창닫기</button>
|
||||
</div>
|
||||
</form>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
function fpasswordlost_submit(f)
|
||||
{
|
||||
<?php echo chk_captcha_js(); ?>
|
||||
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;
|
||||
var ch = document.body.clientHeight;
|
||||
var top = sh / 2 - ch / 2 - 100;
|
||||
var top = sh / 2 - ch / 2 - 100;
|
||||
var left = sw / 2 - cw / 2;
|
||||
moveTo(left, top);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<!-- } 회원정보 찾기 끝 -->
|
||||
|
|
@ -1,26 +1,27 @@
|
|||
<?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">
|
||||
<h1 id="win_title"><?php echo $g5['title'] ?></h1>
|
||||
<h1 id="win_title"><?php echo $g5['title'] ?></h1>
|
||||
|
||||
<div class="tbl_head01 tbl_wrap">
|
||||
<table>
|
||||
<caption>포인트 사용내역 목록</caption>
|
||||
<thead>
|
||||
<div class="tbl_head01 tbl_wrap">
|
||||
<table>
|
||||
<caption>포인트 사용내역 목록</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">일시</th>
|
||||
<th scope="col">내용</th>
|
||||
<th scope="col">만료일</th>
|
||||
<th scope="col">지급포인트</th>
|
||||
<th scope="col">사용포인트</th>
|
||||
<th scope="col">일시</th>
|
||||
<th scope="col">내용</th>
|
||||
<th scope="col">만료일</th>
|
||||
<th scope="col">지급포인트</th>
|
||||
<th scope="col">사용포인트</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
$sum_point1 = $sum_point2 = $sum_point3 = 0;
|
||||
|
||||
|
|
@ -29,60 +30,61 @@ 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++) {
|
||||
$point1 = $point2 = 0;
|
||||
if ($row['po_point'] > 0) {
|
||||
$point1 = '+' .number_format($row['po_point']);
|
||||
$sum_point1 += $row['po_point'];
|
||||
} else {
|
||||
$point2 = number_format($row['po_point']);
|
||||
$sum_point2 += $row['po_point'];
|
||||
}
|
||||
for ($i = 0; $row = sql_fetch_array($result); $i++) {
|
||||
$point1 = $point2 = 0;
|
||||
if ($row['po_point'] > 0) {
|
||||
$point1 = '+' . number_format($row['po_point']);
|
||||
$sum_point1 += $row['po_point'];
|
||||
} else {
|
||||
$point2 = number_format($row['po_point']);
|
||||
$sum_point2 += $row['po_point'];
|
||||
}
|
||||
|
||||
$po_content = $row['po_content'];
|
||||
$po_content = $row['po_content'];
|
||||
|
||||
$expr = '';
|
||||
if($row['po_expired'] == 1)
|
||||
$expr = ' txt_expired';
|
||||
?>
|
||||
<tr>
|
||||
$expr = '';
|
||||
if ($row['po_expired'] == 1)
|
||||
$expr = ' txt_expired';
|
||||
?>
|
||||
<tr>
|
||||
<td class="td_datetime"><?php echo $row['po_datetime']; ?></td>
|
||||
<td><?php echo $po_content; ?></td>
|
||||
<td class="td_date<?php echo $expr; ?>">
|
||||
<?php if ($row['po_expired'] == 1) { ?>
|
||||
<?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>
|
||||
</tr>
|
||||
<?php
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
|
||||
if ($i == 0)
|
||||
echo '<tr><td colspan="5" class="empty_table">자료가 없습니다.</td></tr>';
|
||||
echo '<tr><td colspan="5" class="empty_table">자료가 없습니다.</td></tr>';
|
||||
else {
|
||||
if ($sum_point1 > 0)
|
||||
$sum_point1 = "+" . number_format($sum_point1);
|
||||
$sum_point2 = number_format($sum_point2);
|
||||
if ($sum_point1 > 0)
|
||||
$sum_point1 = "+" . number_format($sum_point1);
|
||||
$sum_point2 = number_format($sum_point2);
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
</tbody>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<th scope="row" colspan="3">소계</th>
|
||||
<td><?php echo $sum_point1; ?></td>
|
||||
<td><?php echo $sum_point2; ?></td>
|
||||
<th scope="row" colspan="3">소계</th>
|
||||
<td><?php echo $sum_point1; ?></td>
|
||||
<td><?php echo $sum_point2; ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row" colspan="3">보유포인트</th>
|
||||
<td colspan="2"><?php echo number_format($member['mb_point']); ?></td>
|
||||
<th scope="row" colspan="3">보유포인트</th>
|
||||
<td colspan="2"><?php echo number_format($member['mb_point']); ?></td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
</div>
|
||||
</tfoot>
|
||||
</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 class="win_btn"><button type="button" onclick="javascript:window.close();">창닫기</button></div>
|
||||
</div>
|
||||
|
|
@ -1,50 +1,53 @@
|
|||
<?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="profile" class="new_win mbskin">
|
||||
<h1 id="win_title"><?php echo $mb_nick ?>님의 프로필</h1>
|
||||
<h1 id="win_title"><?php echo $mb_nick ?>님의 프로필</h1>
|
||||
|
||||
<div class="tbl_head01 tbl_wrap">
|
||||
<table>
|
||||
<tbody>
|
||||
<div class="tbl_head01 tbl_wrap">
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">회원권한</th>
|
||||
<td><?php echo $mb['mb_level'] ?></td>
|
||||
<th scope="row">회원권한</th>
|
||||
<td><?php echo $mb['mb_level'] ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">포인트</th>
|
||||
<td><?php echo number_format($mb['mb_point']) ?></td>
|
||||
<th scope="row">포인트</th>
|
||||
<td><?php echo number_format($mb['mb_point']) ?></td>
|
||||
</tr>
|
||||
<?php if ($mb_homepage) { ?>
|
||||
<tr>
|
||||
<?php if ($mb_homepage) { ?>
|
||||
<tr>
|
||||
<th scope="row">홈페이지</th>
|
||||
<td><a href="<?php echo $mb_homepage ?>" target="_blank"><?php echo $mb_homepage ?></a></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tr>
|
||||
<?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>
|
||||
<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>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">최종접속일</th>
|
||||
<td><?php echo ($member['mb_level'] >= $mb['mb_level']) ? $mb['mb_today_login'] : "알 수 없음"; ?></td>
|
||||
<th scope="row">최종접속일</th>
|
||||
<td><?php echo ($member['mb_level'] >= $mb['mb_level']) ? $mb['mb_today_login'] : "알 수 없음"; ?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<section>
|
||||
<h2>인사말</h2>
|
||||
<p><?php echo $mb_profile ?></p>
|
||||
</section>
|
||||
<section>
|
||||
<h2>인사말</h2>
|
||||
<p><?php echo $mb_profile ?></p>
|
||||
</section>
|
||||
|
||||
<div class="win_btn">
|
||||
<button type="button" onclick="window.close();">창닫기</button>
|
||||
</div>
|
||||
<div class="win_btn">
|
||||
<button type="button" onclick="window.close();">창닫기</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- } 자기소개 끝 -->
|
||||
|
|
@ -1,70 +1,69 @@
|
|||
<?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);
|
||||
?>
|
||||
|
||||
|
||||
<div id="member_page">
|
||||
|
||||
<h1 class="member-title">
|
||||
<strong>오너 동의 사항</strong>
|
||||
<span>《 Community Joining Assent 》</span>
|
||||
</h1>
|
||||
<h1 class="member-title">
|
||||
<strong>오너 동의 사항</strong>
|
||||
<span>《 Community Joining Assent 》</span>
|
||||
</h1>
|
||||
|
||||
|
||||
<!-- 회원가입약관 동의 시작 { -->
|
||||
<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">
|
||||
<!-- 회원가입약관 동의 시작 { -->
|
||||
<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">
|
||||
|
||||
<section id="fregister_term">
|
||||
<h2>커뮤니티 활동 규칙</h2>
|
||||
<div class="theme-box">
|
||||
<?=nl2br($config['cf_stipulation'])?>
|
||||
</div>
|
||||
<fieldset class="check-agree">
|
||||
<input type="checkbox" name="agree" value="1" id="agree11">
|
||||
<label for="agree11">커뮤니티 활동 규칙 내용에 동의합니다.</label>
|
||||
</fieldset>
|
||||
</section>
|
||||
<section id="fregister_term">
|
||||
<h2>커뮤니티 활동 규칙</h2>
|
||||
<div class="theme-box">
|
||||
<?= nl2br($config['cf_stipulation']) ?>
|
||||
</div>
|
||||
<fieldset class="check-agree">
|
||||
<input type="checkbox" name="agree" value="1" id="agree11">
|
||||
<label for="agree11">커뮤니티 활동 규칙 내용에 동의합니다.</label>
|
||||
</fieldset>
|
||||
</section>
|
||||
|
||||
<section id="fregister_private">
|
||||
<h2>캐릭터 유의사항</h2>
|
||||
<div class="theme-box">
|
||||
<?=nl2br($config['cf_privacy'])?>
|
||||
</div>
|
||||
<fieldset class="check-agree">
|
||||
<input type="checkbox" name="agree2" value="1" id="agree21">
|
||||
<label for="agree21">캐릭터 유의사항 내용에 동의합니다.</label>
|
||||
</fieldset>
|
||||
</section>
|
||||
<section id="fregister_private">
|
||||
<h2>캐릭터 유의사항</h2>
|
||||
<div class="theme-box">
|
||||
<?= nl2br($config['cf_privacy']) ?>
|
||||
</div>
|
||||
<fieldset class="check-agree">
|
||||
<input type="checkbox" name="agree2" value="1" id="agree21">
|
||||
<label for="agree21">캐릭터 유의사항 내용에 동의합니다.</label>
|
||||
</fieldset>
|
||||
</section>
|
||||
|
||||
<div class="ui-button-box txt-center">
|
||||
<button type="submit" class="ui-btn point">계정생성</button>
|
||||
</div>
|
||||
<div class="ui-button-box txt-center">
|
||||
<button type="submit" class="ui-btn point">계정생성</button>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
function fregister_submit(f)
|
||||
{
|
||||
if (!f.agree.checked) {
|
||||
alert("커뮤니티 활동 규칙의 내용에 동의하셔야 회원가입 하실 수 있습니다.");
|
||||
f.agree.focus();
|
||||
return false;
|
||||
}
|
||||
function fregister_submit(f) {
|
||||
if (!f.agree.checked) {
|
||||
alert("커뮤니티 활동 규칙의 내용에 동의하셔야 회원가입 하실 수 있습니다.");
|
||||
f.agree.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!f.agree2.checked) {
|
||||
alert("캐릭터 유의사항의 내용에 동의하셔야 회원가입 하실 수 있습니다.");
|
||||
f.agree2.focus();
|
||||
return false;
|
||||
}
|
||||
if (!f.agree2.checked) {
|
||||
alert("캐릭터 유의사항의 내용에 동의하셔야 회원가입 하실 수 있습니다.");
|
||||
f.agree2.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,132 +1,142 @@
|
|||
<?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>
|
||||
<span>《 Community Register Form 》</span>
|
||||
</h1>
|
||||
<h1 class="member-title">
|
||||
<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">
|
||||
<input type="hidden" name="w" value="<?php echo $w ?>">
|
||||
<input type="hidden" name="url" value="<?php echo $urlencode ?>">
|
||||
<input type="hidden" name="agree" value="<?php echo $agree ?>">
|
||||
<input type="hidden" name="agree2" value="<?php echo $agree2 ?>">
|
||||
<input type="hidden" name="cert_type" value="<?php echo $member['mb_certify']; ?>">
|
||||
<input type="hidden" name="cert_no" value="">
|
||||
<input type="hidden" name="mb_open_default" value="<?php echo $member['mb_open'] ?>">
|
||||
<input type="hidden" name="mb_open" value="1">
|
||||
<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">
|
||||
<input type="hidden" name="w" value="<?php echo $w ?>">
|
||||
<input type="hidden" name="url" value="<?php echo $urlencode ?>">
|
||||
<input type="hidden" name="agree" value="<?php echo $agree ?>">
|
||||
<input type="hidden" name="agree2" value="<?php echo $agree2 ?>">
|
||||
<input type="hidden" name="cert_type" value="<?php echo $member['mb_certify']; ?>">
|
||||
<input type="hidden" name="cert_no" value="">
|
||||
<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_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']) ?>">
|
||||
<?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']) ?>">
|
||||
<?php } ?>
|
||||
|
||||
<table class="member-form theme-form">
|
||||
<colgroup>
|
||||
<col style="width: 110px;" />
|
||||
<col />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<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">
|
||||
<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>
|
||||
</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>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="member-form theme-form">
|
||||
<colgroup>
|
||||
<col style="width: 110px;" />
|
||||
<col />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<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">
|
||||
<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>
|
||||
</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>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<table class="member-form theme-form">
|
||||
<colgroup>
|
||||
<col style="width: 110px;" />
|
||||
<col />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<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">
|
||||
</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">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="member-form theme-form">
|
||||
<colgroup>
|
||||
<col style="width: 110px;" />
|
||||
<col />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<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">
|
||||
</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">
|
||||
</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>
|
||||
<a href="<?php echo G5_URL ?>" class="ui-btn">취소</a>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="btn_confirm txt-center">
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
// submit 최종 폼체크
|
||||
function fregisterform_submit(f)
|
||||
{
|
||||
// 회원아이디 검사
|
||||
if (f.w.value == "") {
|
||||
var msg = reg_mb_id_check();
|
||||
if (msg) {
|
||||
alert(msg);
|
||||
f.mb_id.select();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
// submit 최종 폼체크
|
||||
function fregisterform_submit(f) {
|
||||
// 회원아이디 검사
|
||||
if (f.w.value == "") {
|
||||
var msg = reg_mb_id_check();
|
||||
if (msg) {
|
||||
alert(msg);
|
||||
f.mb_id.select();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if (f.w.value == "") {
|
||||
if (f.mb_password.value.length < 3) {
|
||||
alert("비밀번호를 3글자 이상 입력하십시오.");
|
||||
f.mb_password.focus();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (f.w.value == "") {
|
||||
if (f.mb_password.value.length < 3) {
|
||||
alert("비밀번호를 3글자 이상 입력하십시오.");
|
||||
f.mb_password.focus();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if (f.mb_password.value != f.mb_password_re.value) {
|
||||
alert("비밀번호가 같지 않습니다.");
|
||||
f.mb_password_re.focus();
|
||||
return false;
|
||||
}
|
||||
if (f.mb_password.value != f.mb_password_re.value) {
|
||||
alert("비밀번호가 같지 않습니다.");
|
||||
f.mb_password_re.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
if (f.mb_password.value.length > 0) {
|
||||
if (f.mb_password_re.value.length < 3) {
|
||||
alert("비밀번호를 3글자 이상 입력하십시오.");
|
||||
f.mb_password_re.focus();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (f.mb_password.value.length > 0) {
|
||||
if (f.mb_password_re.value.length < 3) {
|
||||
alert("비밀번호를 3글자 이상 입력하십시오.");
|
||||
f.mb_password_re.focus();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
document.getElementById("btn_submit").disabled = "disabled";
|
||||
document.getElementById("btn_submit").disabled = "disabled";
|
||||
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,39 +1,42 @@
|
|||
<?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">
|
||||
|
||||
<h1 class="member-title">
|
||||
<strong>계정 생성 완료</strong>
|
||||
<span>《 Complete Community Account 》</span>
|
||||
</h1>
|
||||
<h1 class="member-title">
|
||||
<strong>계정 생성 완료</strong>
|
||||
<span>《 Complete Community Account 》</span>
|
||||
</h1>
|
||||
|
||||
<div class="member-contents register-pannel">
|
||||
<div class="member-contents register-pannel">
|
||||
|
||||
<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>회원님의 비밀번호는 아무도 알 수 없는 암호화 코드로 저장되므로 안심하셔도 좋습니다.</p>
|
||||
<p>아이디, 비밀번호 분실시에는 총괄에게 문의해 주시길 바랍니다.</p>
|
||||
</div>
|
||||
</section>
|
||||
<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>회원님의 비밀번호는 아무도 알 수 없는 암호화 코드로 저장되므로 안심하셔도 좋습니다.</p>
|
||||
<p>아이디, 비밀번호 분실시에는 총괄에게 문의해 주시길 바랍니다.</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<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>신청기간이 끝난 뒤에 합격된 캐릭터들은 관리자 승인 후 MEMBER LIST 에 자동으로 등록됩니다.</p>
|
||||
</div>
|
||||
</section>
|
||||
<section>
|
||||
<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>신청기간이 끝난 뒤에 합격된 캐릭터들은 관리자 승인 후 MEMBER LIST 에 자동으로 등록됩니다.</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<div class="ui-button-box txt-center">
|
||||
<button class="ui-btn point" onclick="location.href='<?=G5_URL?>';">메인화면으로</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ui-button-box txt-center">
|
||||
<button class="ui-btn point" onclick="location.href='<?= G5_URL ?>';">메인화면으로</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,46 +1,53 @@
|
|||
<?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="scrap" class="new_win mbskin">
|
||||
<h1 id="win_title"><?php echo $g5['title'] ?></h1>
|
||||
<h1 id="win_title"><?php echo $g5['title'] ?></h1>
|
||||
|
||||
<div class="tbl_head01 tbl_wrap">
|
||||
<table>
|
||||
<caption>스크랩 목록</caption>
|
||||
<thead>
|
||||
<div class="tbl_head01 tbl_wrap">
|
||||
<table>
|
||||
<caption>스크랩 목록</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">번호</th>
|
||||
<th scope="col">게시판</th>
|
||||
<th scope="col">제목</th>
|
||||
<th scope="col">보관일시</th>
|
||||
<th scope="col">삭제</th>
|
||||
<th scope="col">번호</th>
|
||||
<th scope="col">게시판</th>
|
||||
<th scope="col">제목</th>
|
||||
<th scope="col">보관일시</th>
|
||||
<th scope="col">삭제</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php for ($i=0; $i<count($list); $i++) { ?>
|
||||
<tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?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>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<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>"; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<?php if ($i == 0)
|
||||
echo "<tr><td colspan=\"5\" class=\"empty_table\">자료가 없습니다.</td></tr>"; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<?php echo get_paging($config['cf_write_pages'], $page, $total_page, "?$qstr&page="); ?>
|
||||
<?php echo get_paging($config['cf_write_pages'], $page, $total_page, "?$qstr&page="); ?>
|
||||
|
||||
<div class="win_btn">
|
||||
<button type="button" onclick="window.close();">창닫기</button>
|
||||
</div>
|
||||
<div class="win_btn">
|
||||
<button type="button" onclick="window.close();">창닫기</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- } 스크랩 목록 끝 -->
|
||||
|
|
@ -1,41 +1,42 @@
|
|||
<?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="scrap_do" class="new_win mbskin">
|
||||
<h1 id="win_title">스크랩하기</h1>
|
||||
<h1 id="win_title">스크랩하기</h1>
|
||||
|
||||
<form name="f_scrap_popin" action="./scrap_popin_update.php" method="post">
|
||||
<form name="f_scrap_popin" action="./scrap_popin_update.php" method="post">
|
||||
<input type="hidden" name="bo_table" value="<?php echo $bo_table ?>">
|
||||
<input type="hidden" name="wr_id" value="<?php echo $wr_id ?>">
|
||||
|
||||
<div class="tbl_frm01 tbl_wrap">
|
||||
<table>
|
||||
<table>
|
||||
<caption>제목 확인 및 댓글 쓰기</caption>
|
||||
<tbody>
|
||||
<tr>
|
||||
<tr>
|
||||
<th scope="row">제목</th>
|
||||
<td><?php echo get_text(cut_str($write['wr_subject'], 255)) ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="wr_content">댓글</label></th>
|
||||
<td><textarea name="wr_content" id="wr_content"></textarea></td>
|
||||
</tr>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<p class="win_desc">
|
||||
스크랩을 하시면서 감사 혹은 격려의 댓글을 남기실 수 있습니다.
|
||||
스크랩을 하시면서 감사 혹은 격려의 댓글을 남기실 수 있습니다.
|
||||
</p>
|
||||
|
||||
<div class="win_btn">
|
||||
<input type="submit" value="스크랩 확인" class="btn_submit">
|
||||
<input type="submit" value="스크랩 확인" class="btn_submit">
|
||||
</div>
|
||||
</form>
|
||||
</form>
|
||||
</div>
|
||||
<!-- } 스크랩 끝 -->
|
||||
|
|
@ -1,231 +1,265 @@
|
|||
@charset "utf-8";
|
||||
@import url(//fonts.googleapis.com/earlyaccess/notosanskr.css);
|
||||
|
||||
@font-face {
|
||||
font-family: 'icon';
|
||||
src: url('../../../css/fonts/icomoon.eot?y5isk6');
|
||||
src: url('../../../css/fonts/icomoon.eot?y5isk6#iefix') format('embedded-opentype'),
|
||||
url('../../../css/fonts/icomoon.ttf?y5isk6') format('truetype'),
|
||||
url('../../../css/fonts/icomoon.woff?y5isk6') format('woff'),
|
||||
url('../../../css/fonts/icomoon.svg?y5isk6#icomoon') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-family: 'icon';
|
||||
src: url('../../../css/fonts/icomoon.eot?y5isk6');
|
||||
src: url('../../../css/fonts/icomoon.eot?y5isk6#iefix') format('embedded-opentype'),
|
||||
url('../../../css/fonts/icomoon.ttf?y5isk6') format('truetype'),
|
||||
url('../../../css/fonts/icomoon.woff?y5isk6') format('woff'),
|
||||
url('../../../css/fonts/icomoon.svg?y5isk6#icomoon') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
html, body { position: relative; height: 100%; background: #fff; }
|
||||
|
||||
#login_page_box { position: relative; height: 100%; }
|
||||
#login_page_box:before {
|
||||
content: "";
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 50%;
|
||||
box-sizing: border-box;
|
||||
border-top: 8px solid #ecc6c6;
|
||||
background: url('./img/bak_admin_login_top_pattern.png');
|
||||
z-index: 0;
|
||||
}
|
||||
#login_page_box:after {
|
||||
content: "";
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
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 );
|
||||
html,
|
||||
body {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
#login_title {
|
||||
display: block;
|
||||
position: relative;
|
||||
height: 50%;
|
||||
padding-bottom: 130px;
|
||||
box-sizing: border-box;
|
||||
z-index: 3;
|
||||
}
|
||||
#login_title .inner {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
#login_title h1 {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translateX(-50%) translateY(-50%);
|
||||
font-family: 'Noto Sans KR', sans-serif;
|
||||
font-size: 35px;
|
||||
font-weight: 600;
|
||||
#login_page_box {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#login_title em {
|
||||
font-style: normal;
|
||||
color: #ecc6c6;
|
||||
text-align: center;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
#login_title em strong {
|
||||
color: #fff;
|
||||
}
|
||||
#login_title span {
|
||||
display: block;
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
color: #999;
|
||||
text-align: center;
|
||||
}
|
||||
#login_title sup {
|
||||
display: block;
|
||||
position: relative;
|
||||
font-size: 13px;
|
||||
font-weight: 300;
|
||||
text-align: center;
|
||||
padding: 0;
|
||||
margin-top: 20px;
|
||||
color: #777;
|
||||
#login_page_box:before {
|
||||
content: "";
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 50%;
|
||||
box-sizing: border-box;
|
||||
border-top: 8px solid #ecc6c6;
|
||||
background: url('./img/bak_admin_login_top_pattern.png');
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
#mb_login {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 500px;
|
||||
height: 260px;
|
||||
#login_page_box:after {
|
||||
content: "";
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 50%;
|
||||
|
||||
border-top: 5px solid #ecc6c6;
|
||||
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);
|
||||
}
|
||||
|
||||
transform: translateX(-50%) translateY(-50%);
|
||||
background: #fff;
|
||||
#login_title {
|
||||
display: block;
|
||||
position: relative;
|
||||
height: 50%;
|
||||
padding-bottom: 130px;
|
||||
box-sizing: border-box;
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
-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);
|
||||
#login_title .inner {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
z-index: 5;
|
||||
#login_title h1 {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translateX(-50%) translateY(-50%);
|
||||
font-family: 'Noto Sans KR', sans-serif;
|
||||
font-size: 35px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
#login_title em {
|
||||
font-style: normal;
|
||||
color: #ecc6c6;
|
||||
text-align: center;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
#login_title em strong {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#login_title span {
|
||||
display: block;
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
color: #999;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#login_title sup {
|
||||
display: block;
|
||||
position: relative;
|
||||
font-size: 13px;
|
||||
font-weight: 300;
|
||||
text-align: center;
|
||||
padding: 0;
|
||||
margin-top: 20px;
|
||||
color: #777;
|
||||
}
|
||||
|
||||
#mb_login {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 500px;
|
||||
height: 260px;
|
||||
|
||||
border-top: 5px solid #ecc6c6;
|
||||
|
||||
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);
|
||||
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
|
||||
#mb_login:before {
|
||||
content: "";
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: -20px;
|
||||
background: #fff;
|
||||
z-index: 0;
|
||||
#mb_login:before {
|
||||
content: "";
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: -20px;
|
||||
background: #fff;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
#mb_login .inner {
|
||||
position: relative;
|
||||
padding: 30px;
|
||||
z-index: 1;
|
||||
#mb_login .inner {
|
||||
position: relative;
|
||||
padding: 30px;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
#mb_login fieldset.input {
|
||||
display: block;
|
||||
position: relative;
|
||||
margin-bottom: 5px;
|
||||
margin-right: 130px;
|
||||
#mb_login fieldset.input {
|
||||
display: block;
|
||||
position: relative;
|
||||
margin-bottom: 5px;
|
||||
margin-right: 130px;
|
||||
}
|
||||
#mb_login fieldset.input input {
|
||||
display: block;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
|
||||
background: #fff !important;
|
||||
color: #3a3a3b;
|
||||
height: 45px;
|
||||
padding: 0 15px 0 45px;
|
||||
font-size: 15px;
|
||||
font-family: 'Noto Sans KR', sans-serif;
|
||||
outline: none;
|
||||
border: 1px solid #eaeaea;
|
||||
#mb_login fieldset.input input {
|
||||
display: block;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
|
||||
background: #fff !important;
|
||||
color: #3a3a3b;
|
||||
height: 45px;
|
||||
padding: 0 15px 0 45px;
|
||||
font-size: 15px;
|
||||
font-family: 'Noto Sans KR', sans-serif;
|
||||
outline: none;
|
||||
border: 1px solid #eaeaea;
|
||||
}
|
||||
#mb_login fieldset.input input:focus { border: 2px solid #ecc6c6; }
|
||||
|
||||
#mb_login fieldset.input label {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 45px;
|
||||
height: 45px;
|
||||
line-height: 45px;
|
||||
overflow: hidden;
|
||||
text-indent: -999px;
|
||||
#mb_login fieldset.input input:focus {
|
||||
border: 2px solid #ecc6c6;
|
||||
}
|
||||
|
||||
#mb_login fieldset.input label {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 45px;
|
||||
height: 45px;
|
||||
line-height: 45px;
|
||||
overflow: hidden;
|
||||
text-indent: -999px;
|
||||
|
||||
}
|
||||
#mb_login fieldset.input label:before {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
text-indent: 0;
|
||||
text-align: center;
|
||||
font-family: 'icon';
|
||||
font-size: 16px;
|
||||
color: #ccc;
|
||||
|
||||
#mb_login fieldset.input label:before {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
text-indent: 0;
|
||||
text-align: center;
|
||||
font-family: 'icon';
|
||||
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;
|
||||
-webkit-box-shadow: 0 0 0 30px white inset;
|
||||
-webkit-text-fill-color: #3a3a3b !important;
|
||||
transition: background-color 50000s ease-in-out 0s;
|
||||
-webkit-box-shadow: 0 0 0 30px white inset;
|
||||
-webkit-text-fill-color: #3a3a3b !important;
|
||||
}
|
||||
|
||||
#mb_login fieldset.check {
|
||||
display: block;
|
||||
position: relative;
|
||||
padding: 5px;
|
||||
background: #f6f6f6;
|
||||
border: 1px solid #ebebeb;
|
||||
color: #3a3a3a;
|
||||
margin: 5px 130px 5px 0;
|
||||
font-size: 11px;
|
||||
}
|
||||
#mb_login fieldset.check label { cursor: pointer; }
|
||||
|
||||
#mb_login fieldset.button {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 30px;
|
||||
right: 30px;
|
||||
width: 126px;
|
||||
height: 128px;
|
||||
}
|
||||
#mb_login fieldset.button .btn_submit {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: #ecc6c6;
|
||||
font-family: 'Noto Sans KR', sans-serif;
|
||||
font-size: 18px;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
color: #fff;
|
||||
#mb_login fieldset.check {
|
||||
display: block;
|
||||
position: relative;
|
||||
padding: 5px;
|
||||
background: #f6f6f6;
|
||||
border: 1px solid #ebebeb;
|
||||
color: #3a3a3a;
|
||||
margin: 5px 130px 5px 0;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
#copyright {
|
||||
padding-top: 30px;
|
||||
font-size: 12px;
|
||||
color: #aaa;
|
||||
text-align: center;
|
||||
#mb_login fieldset.check label {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#mb_login fieldset.button {
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 30px;
|
||||
right: 30px;
|
||||
width: 126px;
|
||||
height: 128px;
|
||||
}
|
||||
|
||||
#mb_login fieldset.button .btn_submit {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: #ecc6c6;
|
||||
font-family: 'Noto Sans KR', sans-serif;
|
||||
font-size: 18px;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#copyright {
|
||||
padding-top: 30px;
|
||||
font-size: 12px;
|
||||
color: #aaa;
|
||||
text-align: center;
|
||||
}
|
||||
|
|
@ -1,99 +1,153 @@
|
|||
@charset "utf-8";
|
||||
|
||||
#member_page {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding-bottom: 80px;
|
||||
#member_page {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding-bottom: 80px;
|
||||
}
|
||||
|
||||
#member_page .agree-pannel .theme-box {
|
||||
height: 300px;
|
||||
overflow: auto;
|
||||
#member_page .agree-pannel .theme-box {
|
||||
height: 300px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
#member_page .member-title {
|
||||
font-size: 24px;
|
||||
padding-top: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
#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 h2 {
|
||||
font-size: 16px;
|
||||
line-height: 1.5em;
|
||||
padding-bottom: 10px;
|
||||
#member_page .member-title {
|
||||
font-size: 24px;
|
||||
padding-top: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#member_page .member-contents section {
|
||||
padding-bottom: 30px;
|
||||
#member_page .member-title * {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#member_page .member-contents .theme-box {
|
||||
padding: 15px;
|
||||
line-height: 1.8em;
|
||||
#member_page .member-title span {
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
#member_page .check-agree {
|
||||
padding-top: 10px;
|
||||
text-align: right;
|
||||
#member_page .member-contents {
|
||||
padding-top: 20px;
|
||||
}
|
||||
#member_page .check-agree input { display: none; }
|
||||
#member_page .check-agree input + label:before {
|
||||
content: "\ea53";
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
font-family: 'icon';
|
||||
margin-right: 5px;
|
||||
font-size: 18px;
|
||||
|
||||
#member_page .member-contents h2 {
|
||||
font-size: 16px;
|
||||
line-height: 1.5em;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
#member_page .check-agree input:checked + label:before {
|
||||
content: "\ea52";
|
||||
|
||||
#member_page .member-contents section {
|
||||
padding-bottom: 30px;
|
||||
}
|
||||
|
||||
#member_page .member-contents .theme-box {
|
||||
padding: 15px;
|
||||
line-height: 1.8em;
|
||||
}
|
||||
|
||||
#member_page .check-agree {
|
||||
padding-top: 10px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#member_page .check-agree input {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#member_page .check-agree input+label:before {
|
||||
content: "\ea53";
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
font-family: 'icon';
|
||||
margin-right: 5px;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
#member_page .check-agree input:checked+label:before {
|
||||
content: "\ea52";
|
||||
}
|
||||
|
||||
|
||||
|
||||
.member-form {
|
||||
width: 100%;
|
||||
margin-bottom: 30px;
|
||||
.member-form {
|
||||
width: 100%;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
.member-form th {
|
||||
font-size: 13px;
|
||||
font-weight: 400;
|
||||
text-align: left;
|
||||
|
||||
.member-form th {
|
||||
font-size: 13px;
|
||||
font-weight: 400;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*** 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;
|
||||
margin: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
width: 70px;
|
||||
display: block;
|
||||
position: absolute;
|
||||
margin: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
width: 70px;
|
||||
}
|
||||
#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 .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,32 +1,34 @@
|
|||
<?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);
|
||||
?>
|
||||
|
||||
<!-- 전체게시물 검색 시작 { -->
|
||||
<fieldset id="new_sch">
|
||||
<legend>상세검색</legend>
|
||||
<form name="fnew" method="get">
|
||||
<legend>상세검색</legend>
|
||||
<form name="fnew" method="get">
|
||||
<?php echo $group_select ?>
|
||||
<label for="view" class="sound_only">검색대상</label>
|
||||
<select name="view" id="view">
|
||||
<option value="">전체게시물
|
||||
<option value="w">원글만
|
||||
<option value="c">코멘트만
|
||||
<option value="">전체게시물
|
||||
<option value="w">원글만
|
||||
<option value="c">코멘트만
|
||||
</select>
|
||||
<label for="mb_id" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
|
||||
<input type="text" name="mb_id" value="<?php echo $mb_id ?>" id="mb_id" required class="frm_input required">
|
||||
<input type="submit" value="검색" class="btn_submit">
|
||||
<p>회원 아이디만 검색 가능</p>
|
||||
</form>
|
||||
<script>
|
||||
</form>
|
||||
<script>
|
||||
/* 셀렉트 박스에서 자동 이동 해제
|
||||
function select_change()
|
||||
{
|
||||
|
|
@ -35,109 +37,112 @@ add_stylesheet('<link rel="stylesheet" href="'.$new_skin_url.'/style.css">', 0);
|
|||
*/
|
||||
document.getElementById("gr_id").value = "<?php echo $gr_id ?>";
|
||||
document.getElementById("view").value = "<?php echo $view ?>";
|
||||
</script>
|
||||
</script>
|
||||
</fieldset>
|
||||
<!-- } 전체게시물 검색 끝 -->
|
||||
|
||||
<!-- 전체게시물 목록 시작 { -->
|
||||
<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>
|
||||
<?php if ($is_admin) { ?>
|
||||
<th scope="col">
|
||||
<label for="all_chk" class="sound_only">목록 전체</label>
|
||||
<input type="checkbox" id="all_chk">
|
||||
</th>
|
||||
<thead>
|
||||
<tr>
|
||||
<?php if ($is_admin) { ?>
|
||||
<th scope="col">
|
||||
<label for="all_chk" class="sound_only">목록 전체</label>
|
||||
<input type="checkbox" id="all_chk">
|
||||
</th>
|
||||
<?php } ?>
|
||||
<th scope="col">그룹</th>
|
||||
<th scope="col">게시판</th>
|
||||
<th scope="col">제목</th>
|
||||
<th scope="col">이름</th>
|
||||
<th scope="col">일시</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
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);
|
||||
$wr_subject = get_text(cut_str($list[$i]['wr_subject'], 80));
|
||||
?>
|
||||
<tr>
|
||||
<?php if ($is_admin) { ?>
|
||||
<td class="td_chk">
|
||||
<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_date"><?php echo $list[$i]['datetime2'] ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<th scope="col">그룹</th>
|
||||
<th scope="col">게시판</th>
|
||||
<th scope="col">제목</th>
|
||||
<th scope="col">이름</th>
|
||||
<th scope="col">일시</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
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);
|
||||
$wr_subject = get_text(cut_str($list[$i]['wr_subject'], 80));
|
||||
?>
|
||||
<tr>
|
||||
<?php if ($is_admin) { ?>
|
||||
<td class="td_chk">
|
||||
<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_date"><?php echo $list[$i]['datetime2'] ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($i == 0)
|
||||
echo '<tr><td colspan="'.$colspan.'" class="empty_table">게시물이 없습니다.</td></tr>';
|
||||
?>
|
||||
</tbody>
|
||||
<?php if ($i == 0)
|
||||
echo '<tr><td colspan="' . $colspan . '" class="empty_table">게시물이 없습니다.</td></tr>';
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php if ($is_admin) { ?>
|
||||
<div class="sir_bw02 sir_bw">
|
||||
<input type="submit" onclick="document.pressed=this.value" value="선택삭제" class="btn_submit">
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php if ($is_admin) { ?>
|
||||
<div class="sir_bw02 sir_bw">
|
||||
<input type="submit" onclick="document.pressed=this.value" value="선택삭제" class="btn_submit">
|
||||
</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)
|
||||
{
|
||||
f.pressed.value = document.pressed;
|
||||
function fnew_submit(f) {
|
||||
f.pressed.value = document.pressed;
|
||||
|
||||
var cnt = 0;
|
||||
for (var i=0; i<f.length; i++) {
|
||||
var cnt = 0;
|
||||
for (var i = 0; i < f.length; i++) {
|
||||
if (f.elements[i].name == "chk_bn_id[]" && f.elements[i].checked)
|
||||
cnt++;
|
||||
}
|
||||
cnt++;
|
||||
}
|
||||
|
||||
if (!cnt) {
|
||||
alert(document.pressed+"할 게시물을 하나 이상 선택하세요.");
|
||||
if (!cnt) {
|
||||
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;
|
||||
}
|
||||
|
||||
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,34 +1,35 @@
|
|||
<?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">
|
||||
<!-- 아이디 입력 -->
|
||||
<input type="text" name="mb_id" required class="required" maxlength="20">
|
||||
</fieldset>
|
||||
<fieldset class="box-id">
|
||||
<!-- 아이디 입력 -->
|
||||
<input type="text" name="mb_id" required class="required" maxlength="20">
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="box-pw">
|
||||
<!-- 비밀번호 입력 -->
|
||||
<input type="password" name="mb_password" required class="required" maxlength="20">
|
||||
</fieldset>
|
||||
<fieldset class="box-pw">
|
||||
<!-- 비밀번호 입력 -->
|
||||
<input type="password" name="mb_password" required class="required" maxlength="20">
|
||||
</fieldset>
|
||||
|
||||
<fieldset class="box-btn">
|
||||
<!-- 로그인 버튼 -->
|
||||
<button type="submit" class="ui-btn point">로그인</button>
|
||||
</fieldset>
|
||||
<fieldset class="box-btn">
|
||||
<!-- 로그인 버튼 -->
|
||||
<button type="submit" class="ui-btn point">로그인</button>
|
||||
</fieldset>
|
||||
|
||||
<?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 if ($is_add_register) {
|
||||
// 사이트 설정이 계정 생성이 가능할 시
|
||||
?>
|
||||
<fieldset class="box-join">
|
||||
<a href="<?php echo G5_BBS_URL ?>/register.php" class="ui-btn">계정생성</a>
|
||||
</fieldset>
|
||||
<?php } ?>
|
||||
|
||||
</form>
|
||||
</form>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,76 +1,76 @@
|
|||
<?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']) {
|
||||
echo "
|
||||
<a href='".G5_URL."/mypage/character/viewer.php?ch_id={$character['ch_id']}' class='thumb-box'>
|
||||
<div class="ui-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'>
|
||||
<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 {
|
||||
echo "<span class='ui-btn etc'></span>";
|
||||
}
|
||||
} ?>
|
||||
</div>
|
||||
} 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 {
|
||||
echo "<span class='ui-btn etc'></span>";
|
||||
}
|
||||
} ?>
|
||||
</div>
|
||||
|
||||
<div class="info">
|
||||
<?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 } ?>
|
||||
</p>
|
||||
<?php
|
||||
if(!$character['ch_name']) {
|
||||
if($is_add_character) {
|
||||
echo "<p class='descript'>보유중인 캐릭터가 없습니다.</p>";
|
||||
} else {
|
||||
echo "<p class='descript'>캐릭터 생성기간이 아닙니다.</p>";
|
||||
}
|
||||
}
|
||||
?>
|
||||
<div class="info">
|
||||
<?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 } ?>
|
||||
</p>
|
||||
<?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) { // 새로운 쪽지가 도착 했을 때
|
||||
?>
|
||||
<a href="<?php echo G5_URL ?>/mypage/memo/" class="ui-btn point">
|
||||
쪽지
|
||||
<i><?php echo $memo_not_read ?></i>
|
||||
</a>
|
||||
<?php } else { ?>
|
||||
<a href="<?php echo G5_URL ?>/mypage/memo/" class="ui-btn">
|
||||
쪽지
|
||||
</a>
|
||||
<?php } ?>
|
||||
</li>
|
||||
<li class="link-my">
|
||||
<a href="<?php echo G5_URL ?>/mypage/" class="ui-btn">
|
||||
계정관리
|
||||
</a>
|
||||
</li>
|
||||
<li class="link-logout">
|
||||
<a href="<?php echo G5_BBS_URL ?>/logout.php" class="ui-btn">
|
||||
로그아웃
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<ul class="control-group">
|
||||
<li class="link-memo">
|
||||
<?php if ($memo_not_read) { // 새로운 쪽지가 도착 했을 때
|
||||
?>
|
||||
<a href="<?php echo G5_URL ?>/mypage/memo/" class="ui-btn point">
|
||||
쪽지
|
||||
<i><?php echo $memo_not_read ?></i>
|
||||
</a>
|
||||
<?php } else { ?>
|
||||
<a href="<?php echo G5_URL ?>/mypage/memo/" class="ui-btn">
|
||||
쪽지
|
||||
</a>
|
||||
<?php } ?>
|
||||
</li>
|
||||
<li class="link-my">
|
||||
<a href="<?php echo G5_URL ?>/mypage/" class="ui-btn">
|
||||
계정관리
|
||||
</a>
|
||||
</li>
|
||||
<li class="link-logout">
|
||||
<a href="<?php echo G5_BBS_URL ?>/logout.php" class="ui-btn">
|
||||
로그아웃
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,158 +1,192 @@
|
|||
@charset "utf-8";
|
||||
|
||||
.login-skin-basic {
|
||||
display: block;
|
||||
position: relative;
|
||||
.login-skin-basic {
|
||||
display: block;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.login-skin-basic fieldset {
|
||||
display: block;
|
||||
position: relative;
|
||||
margin-bottom: 3px;
|
||||
margin-right: 75px;
|
||||
.login-skin-basic fieldset {
|
||||
display: block;
|
||||
position: relative;
|
||||
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 .box-id:before {
|
||||
content: "\e976";
|
||||
font-family: 'icon';
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 10px;
|
||||
line-height: 30px;
|
||||
}
|
||||
.login-skin-basic .box-pw:before {
|
||||
content: "\e98d";
|
||||
font-family: 'icon';
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 10px;
|
||||
line-height: 30px;
|
||||
.login-skin-basic fieldset input[type="password"] {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding-left: 30px;
|
||||
}
|
||||
|
||||
.login-skin-basic fieldset.box-btn {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 72px;
|
||||
height: 63px;
|
||||
|
||||
margin-right: 0;
|
||||
.login-skin-basic .box-id:before {
|
||||
content: "\e976";
|
||||
font-family: 'icon';
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 10px;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
.login-skin-basic .box-pw:before {
|
||||
content: "\e98d";
|
||||
font-family: 'icon';
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 10px;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
.login-skin-basic fieldset.box-btn {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 72px;
|
||||
height: 63px;
|
||||
|
||||
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 {
|
||||
position: relative;
|
||||
padding-left: 80px;
|
||||
height: 90px;
|
||||
.logined-skin-basic {
|
||||
position: relative;
|
||||
padding-left: 80px;
|
||||
height: 90px;
|
||||
}
|
||||
.logined-skin-basic .ui-thumb {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 70px;
|
||||
height: 90px;
|
||||
overflow: hidden;
|
||||
|
||||
.logined-skin-basic .ui-thumb {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 70px;
|
||||
height: 90px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.logined-skin-basic .ui-thumb .thumb-box {
|
||||
display: block;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
|
||||
.logined-skin-basic .ui-thumb .thumb-box {
|
||||
display: block;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
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 .thumb-box img {
|
||||
min-width: 100%;
|
||||
height: 100%;
|
||||
max-width: 120%;
|
||||
}
|
||||
.logined-skin-basic .ui-thumb .ui-btn {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
line-height: 1.2em;
|
||||
padding: 8px;
|
||||
|
||||
.logined-skin-basic .ui-thumb .ui-btn {
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
line-height: 1.2em;
|
||||
padding: 8px;
|
||||
}
|
||||
.logined-skin-basic .ui-thumb .ui-btn:before {
|
||||
content: "\e973";
|
||||
display: block;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
font-family: 'icon';
|
||||
font-size: 20px;
|
||||
|
||||
.logined-skin-basic .ui-thumb .ui-btn:before {
|
||||
content: "\e973";
|
||||
display: block;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
font-family: 'icon';
|
||||
font-size: 20px;
|
||||
}
|
||||
.logined-skin-basic .ui-thumb .ui-btn.etc:before {
|
||||
content: "\ea4e";
|
||||
padding-top: 30px;
|
||||
|
||||
.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;
|
||||
position: relative;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
.logined-skin-basic .info .character {
|
||||
display: block;
|
||||
position: relative;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.logined-skin-basic .info .character + .name {
|
||||
padding-top: 5px;
|
||||
font-size: 13px;
|
||||
font-weight: 400;
|
||||
.logined-skin-basic .info .character+.name {
|
||||
padding-top: 5px;
|
||||
font-size: 13px;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.logined-skin-basic .info .name .ui-btn {
|
||||
font-size: 11px;
|
||||
height: 20px;
|
||||
line-height: 18px;
|
||||
padding: 0 8px;
|
||||
margin-left: 5px;
|
||||
.logined-skin-basic .info .name .ui-btn {
|
||||
font-size: 11px;
|
||||
height: 20px;
|
||||
line-height: 18px;
|
||||
padding: 0 8px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.logined-skin-basic .info .descript {
|
||||
padding: 5px 0;
|
||||
font-size: 12px;
|
||||
.logined-skin-basic .info .descript {
|
||||
padding: 5px 0;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.logined-skin-basic .control-group {
|
||||
display: block;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
overflow: hidden;
|
||||
.logined-skin-basic .control-group {
|
||||
display: block;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
.logined-skin-basic .control-group li {
|
||||
display: block;
|
||||
position: relative;
|
||||
width: 33.33%;
|
||||
float: left;
|
||||
|
||||
.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%;
|
||||
letter-spacing: -1px;
|
||||
font-size: 12px;
|
||||
padding: 0 5px;
|
||||
|
||||
.logined-skin-basic .control-group .ui-btn {
|
||||
display: block;
|
||||
width: 100%;
|
||||
letter-spacing: -1px;
|
||||
font-size: 12px;
|
||||
padding: 0 5px;
|
||||
}
|
||||
.logined-skin-basic .control-group .ui-btn i {
|
||||
display: inline-block;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
vertical-align: middle;
|
||||
text-align: center;
|
||||
line-height: 18px;
|
||||
color: #fff;
|
||||
background: #8d3333;
|
||||
border-radius: 100%;
|
||||
font-size: 11px;
|
||||
|
||||
.logined-skin-basic .control-group .ui-btn i {
|
||||
display: inline-block;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
vertical-align: middle;
|
||||
text-align: center;
|
||||
line-height: 18px;
|
||||
color: #fff;
|
||||
background: #8d3333;
|
||||
border-radius: 100%;
|
||||
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,65 +1,67 @@
|
|||
<?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;">
|
||||
<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 } ?>
|
||||
</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>
|
||||
</footer>
|
||||
</section>
|
||||
<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 } ?>
|
||||
</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>
|
||||
</footer>
|
||||
</section>
|
||||
</form>
|
||||
|
||||
<script>
|
||||
function fpoll_submit(f)
|
||||
{
|
||||
<?php
|
||||
if ($member['mb_level'] < $po['po_level'])
|
||||
echo " alert('권한 {$po['po_level']} 이상의 회원만 투표에 참여하실 수 있습니다.'); return false; ";
|
||||
?>
|
||||
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 ++) {
|
||||
if (f.gb_poll[i].checked == true) {
|
||||
chk = f.gb_poll[i].value;
|
||||
break;
|
||||
}
|
||||
}
|
||||
var chk = false;
|
||||
for (i = 0; i < f.gb_poll.length; i++) {
|
||||
if (f.gb_poll[i].checked == true) {
|
||||
chk = f.gb_poll[i].value;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!chk) {
|
||||
alert("투표하실 설문항목을 선택하세요");
|
||||
return false;
|
||||
}
|
||||
if (!chk) {
|
||||
alert("투표하실 설문항목을 선택하세요");
|
||||
return false;
|
||||
}
|
||||
|
||||
var new_win = window.open("about:blank", "win_poll", "width=616,height=500,scrollbars=yes,resizable=yes");
|
||||
f.target = "win_poll";
|
||||
var new_win = window.open("about:blank", "win_poll", "width=616,height=500,scrollbars=yes,resizable=yes");
|
||||
f.target = "win_poll";
|
||||
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
function poll_result(url)
|
||||
{
|
||||
<?php
|
||||
if ($member['mb_level'] < $po['po_level'])
|
||||
echo " alert('권한 {$po['po_level']} 이상의 회원만 결과를 보실 수 있습니다.'); return false; ";
|
||||
?>
|
||||
function poll_result(url) {
|
||||
<?php
|
||||
if ($member['mb_level'] < $po['po_level'])
|
||||
echo " alert('권한 {$po['po_level']} 이상의 회원만 결과를 보실 수 있습니다.'); return false; ";
|
||||
?>
|
||||
|
||||
win_poll(url);
|
||||
}
|
||||
win_poll(url);
|
||||
}
|
||||
</script>
|
||||
<!-- } 설문조사 끝 -->
|
||||
|
|
@ -1,125 +1,134 @@
|
|||
<?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);
|
||||
?>
|
||||
|
||||
<!-- 설문조사 결과 시작 { -->
|
||||
<div id="poll_result" class="new_win">
|
||||
<!-- 설문조사 결과 그래프 시작 { -->
|
||||
<section id="poll_result_list" class="theme-box">
|
||||
<h2><?php echo $po_subject ?> 결과</h2>
|
||||
<!-- 설문조사 결과 그래프 시작 { -->
|
||||
<section id="poll_result_list" class="theme-box">
|
||||
<h2><?php echo $po_subject ?> 결과</h2>
|
||||
|
||||
<dl>
|
||||
<dt><span>전체 <?php echo $nf_total_po_cnt ?>표</span></dt>
|
||||
<dd>
|
||||
<ol>
|
||||
<?php for ($i=1; $i<=count($list); $i++) { ?>
|
||||
<li>
|
||||
<p>
|
||||
<?php echo $list[$i]['content'] ?>
|
||||
<strong><?php echo $list[$i]['cnt'] ?> 표</strong>
|
||||
<span><?php echo number_format($list[$i]['rate'], 1) ?> 퍼센트</span>
|
||||
</p>
|
||||
<div class="poll_result_graph">
|
||||
<span style="width:<?php echo number_format($list[$i]['rate'], 1) ?>%"></span>
|
||||
</div>
|
||||
</li>
|
||||
<?php } ?>
|
||||
</ol>
|
||||
</dd>
|
||||
</dl>
|
||||
</section>
|
||||
<!-- } 설문조사 결과 그래프 끝 -->
|
||||
<dl>
|
||||
<dt><span>전체 <?php echo $nf_total_po_cnt ?>표</span></dt>
|
||||
<dd>
|
||||
<ol>
|
||||
<?php for ($i = 1; $i <= count($list); $i++) { ?>
|
||||
<li>
|
||||
<p>
|
||||
<?php echo $list[$i]['content'] ?>
|
||||
<strong><?php echo $list[$i]['cnt'] ?> 표</strong>
|
||||
<span><?php echo number_format($list[$i]['rate'], 1) ?> 퍼센트</span>
|
||||
</p>
|
||||
<div class="poll_result_graph">
|
||||
<span style="width:<?php echo number_format($list[$i]['rate'], 1) ?>%"></span>
|
||||
</div>
|
||||
</li>
|
||||
<?php } ?>
|
||||
</ol>
|
||||
</dd>
|
||||
</dl>
|
||||
</section>
|
||||
<!-- } 설문조사 결과 그래프 끝 -->
|
||||
|
||||
<!-- 설문조사 기타의견 시작 { -->
|
||||
<?php if ($is_etc) { ?>
|
||||
<section id="poll_result_cmt" class="theme-box">
|
||||
<h2>기타의견</h2>
|
||||
<!-- 설문조사 기타의견 시작 { -->
|
||||
<?php if ($is_etc) { ?>
|
||||
<section id="poll_result_cmt" class="theme-box">
|
||||
<h2>기타의견</h2>
|
||||
|
||||
<?php for ($i=0; $i<count($list2); $i++) { ?>
|
||||
<article>
|
||||
<header>
|
||||
<h1><?php echo $list2[$i]['pc_name'] ?><span class="sound_only">님의 의견</span></h1>
|
||||
<?php echo $list2[$i]['name'] ?>
|
||||
<span class="poll_datetime"><?php echo $list2[$i]['datetime'] ?></span>
|
||||
</header>
|
||||
<p>
|
||||
<?php echo $list2[$i]['idea'] ?>
|
||||
</p>
|
||||
<footer>
|
||||
<span class="poll_cmt_del"><?php if ($list2[$i]['del']) { echo $list2[$i]['del']."삭제</a>"; } ?></span>
|
||||
</footer>
|
||||
</article>
|
||||
<?php } ?>
|
||||
<?php for ($i = 0; $i < count($list2); $i++) { ?>
|
||||
<article>
|
||||
<header>
|
||||
<h1><?php echo $list2[$i]['pc_name'] ?><span class="sound_only">님의 의견</span></h1>
|
||||
<?php echo $list2[$i]['name'] ?>
|
||||
<span class="poll_datetime"><?php echo $list2[$i]['datetime'] ?></span>
|
||||
</header>
|
||||
<p>
|
||||
<?php echo $list2[$i]['idea'] ?>
|
||||
</p>
|
||||
<footer>
|
||||
<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">
|
||||
<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 } ?>
|
||||
<h3><?php echo $po_etc ?></h3>
|
||||
<?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">
|
||||
<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 } ?>
|
||||
<h3><?php echo $po_etc ?></h3>
|
||||
|
||||
<div class="tbl_frm01 tbl_wrap">
|
||||
<table id="poll_result_wcmt">
|
||||
<tbody>
|
||||
<?php if ($is_guest) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="pc_name">이름<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="text" name="pc_name" id="pc_name" required class="frm_input required" size="10"></td>
|
||||
</tr>
|
||||
<?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>
|
||||
</tr>
|
||||
<?php if ($is_guest) { ?>
|
||||
<tr>
|
||||
<th scope="row">자동등록방지</th>
|
||||
<td><?php echo captcha_html(); ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="tbl_frm01 tbl_wrap">
|
||||
<table id="poll_result_wcmt">
|
||||
<tbody>
|
||||
<?php if ($is_guest) { ?>
|
||||
<tr>
|
||||
<th scope="row"><label for="pc_name">이름<strong class="sound_only">필수</strong></label></th>
|
||||
<td><input type="text" name="pc_name" id="pc_name" required class="frm_input required" size="10"></td>
|
||||
</tr>
|
||||
<?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>
|
||||
</tr>
|
||||
<?php if ($is_guest) { ?>
|
||||
<tr>
|
||||
<th scope="row">자동등록방지</th>
|
||||
<td><?php echo captcha_html(); ?></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="btn_confirm">
|
||||
<input type="submit" class="btn_submit ui-btn point full" value="의견남기기">
|
||||
</div>
|
||||
</form>
|
||||
<?php } ?>
|
||||
<div class="btn_confirm">
|
||||
<input type="submit" class="btn_submit ui-btn point full" value="의견남기기">
|
||||
</div>
|
||||
</form>
|
||||
<?php } ?>
|
||||
|
||||
</section>
|
||||
<?php } ?>
|
||||
<!-- } 설문조사 기타의견 끝 -->
|
||||
</section>
|
||||
<?php } ?>
|
||||
<!-- } 설문조사 기타의견 끝 -->
|
||||
|
||||
<!-- 설문조사 다른 결과 보기 시작 { -->
|
||||
<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 } ?>
|
||||
</ul>
|
||||
</aside>
|
||||
<!-- } 설문조사 다른 결과 보기 끝 -->
|
||||
<!-- 설문조사 다른 결과 보기 시작 { -->
|
||||
<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 } ?>
|
||||
</ul>
|
||||
</aside>
|
||||
<!-- } 설문조사 다른 결과 보기 끝 -->
|
||||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
$(".poll_delete").click(function() {
|
||||
if(!confirm("해당 기타의견을 삭제하시겠습니까?"))
|
||||
return false;
|
||||
});
|
||||
});
|
||||
$(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;
|
||||
}
|
||||
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,19 +1,22 @@
|
|||
<?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);
|
||||
?>
|
||||
|
||||
<!-- 인기검색어 시작 { -->
|
||||
<section id="popular">
|
||||
<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 } ?>
|
||||
</ul>
|
||||
</div>
|
||||
<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 } ?>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
<!-- } 인기검색어 끝 -->
|
||||
|
|
@ -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,146 +1,154 @@
|
|||
<?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 } ?>
|
||||
|
||||
|
||||
<div id="bo_list">
|
||||
|
||||
|
||||
<form name="fqalist" id="fqalist" action="./qadelete.php" onsubmit="return fqalist_submit(this);" method="post">
|
||||
<input type="hidden" name="stx" value="<?php echo $stx; ?>">
|
||||
<input type="hidden" name="sca" value="<?php echo $sca; ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page; ?>">
|
||||
<form name="fqalist" id="fqalist" action="./qadelete.php" onsubmit="return fqalist_submit(this);" method="post">
|
||||
<input type="hidden" name="stx" value="<?php echo $stx; ?>">
|
||||
<input type="hidden" name="sca" value="<?php echo $sca; ?>">
|
||||
<input type="hidden" name="page" value="<?php echo $page; ?>">
|
||||
|
||||
|
||||
<table class="theme-list">
|
||||
<caption><?php echo $board['bo_subject'] ?> 목록</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">번호</th>
|
||||
<?php if ($is_checkbox) { ?>
|
||||
<th scope="col">
|
||||
<label for="chkall" class="sound_only">현재 페이지 게시물 전체</label>
|
||||
<input type="checkbox" id="chkall" onclick="if (this.checked) all_checked(true); else all_checked(false);">
|
||||
</th>
|
||||
<?php } ?>
|
||||
<th scope="col">제목</th>
|
||||
<th scope="col">작성자</th>
|
||||
<th scope="col">상태</th>
|
||||
<th scope="col">등록일</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
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 ?>">
|
||||
</td>
|
||||
<?php } ?>
|
||||
<td class="td_subject">
|
||||
<a href="<?php echo $list[$i]['view_href']; ?>">
|
||||
<?php echo $list[$i]['subject']; ?>
|
||||
</a>
|
||||
<?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_date txt-center"><?php echo $list[$i]['date']; ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<table class="theme-list">
|
||||
<caption><?php echo $board['bo_subject'] ?> 목록</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">번호</th>
|
||||
<?php if ($is_checkbox) { ?>
|
||||
<th scope="col">
|
||||
<label for="chkall" class="sound_only">현재 페이지 게시물 전체</label>
|
||||
<input type="checkbox" id="chkall" onclick="if (this.checked) all_checked(true); else all_checked(false);">
|
||||
</th>
|
||||
<?php } ?>
|
||||
<th scope="col">제목</th>
|
||||
<th scope="col">작성자</th>
|
||||
<th scope="col">상태</th>
|
||||
<th scope="col">등록일</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
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 ?>">
|
||||
</td>
|
||||
<?php } ?>
|
||||
<td class="td_subject">
|
||||
<a href="<?php echo $list[$i]['view_href']; ?>">
|
||||
<?php echo $list[$i]['subject']; ?>
|
||||
</a>
|
||||
<?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_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>'; } ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php if ($i == 0) {
|
||||
echo '<tr><td colspan="' . $colspan . '" class="no-data">게시물이 없습니다.</td></tr>';
|
||||
} ?>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
<div class="bo_fx">
|
||||
<div class="bo_fx">
|
||||
|
||||
|
||||
<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 ($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>
|
||||
</div>
|
||||
</form>
|
||||
<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 ($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>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<?php if($is_checkbox) { ?>
|
||||
<noscript>
|
||||
<p>자바스크립트를 사용하지 않는 경우<br>별도의 확인 절차 없이 바로 선택삭제 처리하므로 주의하시기 바랍니다.</p>
|
||||
</noscript>
|
||||
<?php if ($is_checkbox) { ?>
|
||||
<noscript>
|
||||
<p>자바스크립트를 사용하지 않는 경우<br>별도의 확인 절차 없이 바로 선택삭제 처리하므로 주의하시기 바랍니다.</p>
|
||||
</noscript>
|
||||
<?php } ?>
|
||||
|
||||
<!-- 페이지 -->
|
||||
<?php echo $list_pages; ?>
|
||||
<?php echo $list_pages; ?>
|
||||
|
||||
<!-- 게시판 검색 시작 { -->
|
||||
<fieldset id="bo_sch" class="txt-center">
|
||||
<legend>게시물 검색</legend>
|
||||
<legend>게시물 검색</legend>
|
||||
|
||||
<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="submit" value="검색" class="ui-btn">
|
||||
</form>
|
||||
<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="submit" value="검색" class="ui-btn">
|
||||
</form>
|
||||
</fieldset>
|
||||
<!-- } 게시판 검색 끝 -->
|
||||
|
||||
<?php if ($is_checkbox) { ?>
|
||||
<script>
|
||||
function all_checked(sw) {
|
||||
var f = document.fqalist;
|
||||
<script>
|
||||
function all_checked(sw) {
|
||||
var f = document.fqalist;
|
||||
|
||||
for (var i=0; i<f.length; i++) {
|
||||
if (f.elements[i].name == "chk_qa_id[]")
|
||||
f.elements[i].checked = sw;
|
||||
}
|
||||
}
|
||||
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) {
|
||||
var chk_count = 0;
|
||||
function fqalist_submit(f) {
|
||||
var chk_count = 0;
|
||||
|
||||
for (var i=0; i<f.length; i++) {
|
||||
if (f.elements[i].name == "chk_qa_id[]" && f.elements[i].checked)
|
||||
chk_count++;
|
||||
}
|
||||
for (var i = 0; i < f.length; i++) {
|
||||
if (f.elements[i].name == "chk_qa_id[]" && f.elements[i].checked)
|
||||
chk_count++;
|
||||
}
|
||||
|
||||
if (!chk_count) {
|
||||
alert(document.pressed + "할 게시물을 하나 이상 선택하세요.");
|
||||
return false;
|
||||
}
|
||||
if (!chk_count) {
|
||||
alert(document.pressed + "할 게시물을 하나 이상 선택하세요.");
|
||||
return false;
|
||||
}
|
||||
|
||||
if(document.pressed == "선택삭제") {
|
||||
if (!confirm("선택한 게시물을 정말 삭제하시겠습니까?\n\n한번 삭제한 자료는 복구할 수 없습니다"))
|
||||
return false;
|
||||
}
|
||||
if (document.pressed == "선택삭제") {
|
||||
if (!confirm("선택한 게시물을 정말 삭제하시겠습니까?\n\n한번 삭제한 자료는 복구할 수 없습니다"))
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
return true;
|
||||
}
|
||||
</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,33 +1,34 @@
|
|||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined("_GNUBOARD_"))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<table class="theme-form">
|
||||
<colgroup>
|
||||
<col style="width: 100px;" />
|
||||
<col />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>답변</th>
|
||||
<td><?php echo get_text($answer['qa_subject']); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<!-- 본문 내용 시작 { -->
|
||||
<div style="min-height: 120px; padding: 10px;">
|
||||
<?php echo conv_content($answer['qa_content'], $answer['qa_html']); ?>
|
||||
</div>
|
||||
<!-- } 본문 내용 끝 -->
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<colgroup>
|
||||
<col style="width: 100px;" />
|
||||
<col />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>답변</th>
|
||||
<td><?php echo get_text($answer['qa_subject']); ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<!-- 본문 내용 시작 { -->
|
||||
<div style="min-height: 120px; padding: 10px;">
|
||||
<?php echo conv_content($answer['qa_content'], $answer['qa_html']); ?>
|
||||
</div>
|
||||
<!-- } 본문 내용 끝 -->
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div id="ans_add" class="txt-center" style="padding: 20px 0;">
|
||||
<?php if($answer_update_href) { ?>
|
||||
<a href="<?php echo $answer_update_href; ?>" class="ui-btn">답변수정</a>
|
||||
<?php } ?>
|
||||
<?php if($answer_delete_href) { ?>
|
||||
<a href="<?php echo $answer_delete_href; ?>" class="ui-btn admin" onclick="del(this.href); return false;">답변삭제</a>
|
||||
<?php } ?>
|
||||
<?php if ($answer_update_href) { ?>
|
||||
<a href="<?php echo $answer_update_href; ?>" class="ui-btn">답변수정</a>
|
||||
<?php } ?>
|
||||
<?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,120 +1,119 @@
|
|||
<?php
|
||||
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
|
||||
if (!defined("_GNUBOARD_"))
|
||||
exit; // 개별 페이지 접근 불가
|
||||
?>
|
||||
|
||||
<section id="bo_v_ans">
|
||||
<?php
|
||||
if($is_admin) // 관리자이면 답변등록
|
||||
{
|
||||
?>
|
||||
<h2 style="padding-bottom: 20px; padding-left: 20px;">답변등록</h2>
|
||||
<?php
|
||||
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">
|
||||
<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 ?>">
|
||||
<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="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 ?>">
|
||||
<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) {
|
||||
$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>';
|
||||
}
|
||||
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>';
|
||||
}
|
||||
|
||||
echo $option_hidden;
|
||||
?>
|
||||
<table class="theme-form">
|
||||
<colgroup>
|
||||
<col style="width: 100px;" />
|
||||
<col />
|
||||
</colgroup>
|
||||
<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>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="qa_content">내용<strong class="sound_only">필수</strong></label></th>
|
||||
<td class="wr_content">
|
||||
<?php echo $editor_html; // 에디터 사용시는 에디터로, 아니면 textarea 로 노출 ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
echo $option_hidden;
|
||||
?>
|
||||
<table class="theme-form">
|
||||
<colgroup>
|
||||
<col style="width: 100px;" />
|
||||
<col />
|
||||
</colgroup>
|
||||
<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>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="qa_content">내용<strong class="sound_only">필수</strong></label></th>
|
||||
<td class="wr_content">
|
||||
<?php echo $editor_html; // 에디터 사용시는 에디터로, 아니면 textarea 로 노출 ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="btn_confirm txt-center" style="padding-top: 20px;">
|
||||
<input type="submit" value="답변쓰기" id="btn_submit" accesskey="s" class="ui-btn">
|
||||
</div>
|
||||
</form>
|
||||
<div class="btn_confirm txt-center" style="padding-top: 20px;">
|
||||
<input type="submit" value="답변쓰기" id="btn_submit" accesskey="s" class="ui-btn">
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<script>
|
||||
function html_auto_br(obj)
|
||||
{
|
||||
if (obj.checked) {
|
||||
result = confirm("자동 줄바꿈을 하시겠습니까?\n\n자동 줄바꿈은 게시물 내용중 줄바뀐 곳을<br>태그로 변환하는 기능입니다.");
|
||||
if (result)
|
||||
obj.value = "2";
|
||||
else
|
||||
obj.value = "1";
|
||||
}
|
||||
else
|
||||
obj.value = "";
|
||||
}
|
||||
<script>
|
||||
function html_auto_br(obj) {
|
||||
if (obj.checked) {
|
||||
result = confirm("자동 줄바꿈을 하시겠습니까?\n\n자동 줄바꿈은 게시물 내용중 줄바뀐 곳을<br>태그로 변환하는 기능입니다.");
|
||||
if (result)
|
||||
obj.value = "2";
|
||||
else
|
||||
obj.value = "1";
|
||||
}
|
||||
else
|
||||
obj.value = "";
|
||||
}
|
||||
|
||||
function fwrite_submit(f)
|
||||
{
|
||||
<?php echo $editor_js; // 에디터 사용시 자바스크립트에서 내용을 폼필드로 넣어주며 내용이 입력되었는지 검사함 ?>
|
||||
function fwrite_submit(f) {
|
||||
<?php echo $editor_js; // 에디터 사용시 자바스크립트에서 내용을 폼필드로 넣어주며 내용이 입력되었는지 검사함 ?>
|
||||
|
||||
var subject = "";
|
||||
var content = "";
|
||||
$.ajax({
|
||||
url: g5_bbs_url+"/ajax.filter.php",
|
||||
type: "POST",
|
||||
data: {
|
||||
"subject": f.qa_subject.value,
|
||||
"content": f.qa_content.value
|
||||
},
|
||||
dataType: "json",
|
||||
async: false,
|
||||
cache: false,
|
||||
success: function(data, textStatus) {
|
||||
subject = data.subject;
|
||||
content = data.content;
|
||||
}
|
||||
});
|
||||
var subject = "";
|
||||
var content = "";
|
||||
$.ajax({
|
||||
url: g5_bbs_url + "/ajax.filter.php",
|
||||
type: "POST",
|
||||
data: {
|
||||
"subject": f.qa_subject.value,
|
||||
"content": f.qa_content.value
|
||||
},
|
||||
dataType: "json",
|
||||
async: false,
|
||||
cache: false,
|
||||
success: function (data, textStatus) {
|
||||
subject = data.subject;
|
||||
content = data.content;
|
||||
}
|
||||
});
|
||||
|
||||
if (subject) {
|
||||
alert("제목에 금지단어('"+subject+"')가 포함되어있습니다");
|
||||
f.qa_subject.focus();
|
||||
return false;
|
||||
}
|
||||
if (subject) {
|
||||
alert("제목에 금지단어('" + subject + "')가 포함되어있습니다");
|
||||
f.qa_subject.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
if (content) {
|
||||
alert("내용에 금지단어('"+content+"')가 포함되어있습니다");
|
||||
if (typeof(ed_qa_content) != "undefined")
|
||||
ed_qa_content.returnFalse();
|
||||
else
|
||||
f.qa_content.focus();
|
||||
return false;
|
||||
}
|
||||
if (content) {
|
||||
alert("내용에 금지단어('" + content + "')가 포함되어있습니다");
|
||||
if (typeof (ed_qa_content) != "undefined")
|
||||
ed_qa_content.returnFalse();
|
||||
else
|
||||
f.qa_content.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
document.getElementById("btn_submit").disabled = "disabled";
|
||||
document.getElementById("btn_submit").disabled = "disabled";
|
||||
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
<?php
|
||||
}
|
||||
else
|
||||
{
|
||||
?>
|
||||
<p id="ans_msg">고객님의 문의에 대한 답변을 준비 중입니다.</p>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
<?php
|
||||
} else {
|
||||
?>
|
||||
<p id="ans_msg">고객님의 문의에 대한 답변을 준비 중입니다.</p>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</section>
|
||||
|
|
@ -1,128 +1,130 @@
|
|||
<?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>
|
||||
|
||||
<table class="theme-form">
|
||||
<colgroup>
|
||||
<col style="width: 100px;" />
|
||||
<col />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<colgroup>
|
||||
<col style="width: 100px;" />
|
||||
<col />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
<th>제목</th>
|
||||
<td><?=$view['subject']?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>작성자</th>
|
||||
<td><?php echo $view['name'] ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>작성일</th>
|
||||
<td><?php echo $view['datetime']; ?></td>
|
||||
</tr>
|
||||
<?php if($view['download_count'] > 0) { ?>
|
||||
<tr>
|
||||
<th>첨부파일</th>
|
||||
<td>
|
||||
<?php
|
||||
// 가변 파일
|
||||
for ($i=0; $i<$view['download_count']; $i++) {
|
||||
?>
|
||||
<li>
|
||||
<a href="<?php echo $view['download_href'][$i]; ?>" class="view_file_download">
|
||||
<img src="<?php echo $qa_skin_url ?>/img/icon_file.gif" alt="첨부">
|
||||
<strong><?php echo $view['download_source'][$i] ?></strong>
|
||||
</a>
|
||||
</li>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<?php
|
||||
// 파일 출력
|
||||
if($view['img_count']) {
|
||||
echo "<div id=\"bo_v_img\">\n";
|
||||
<tr>
|
||||
<th>제목</th>
|
||||
<td><?= $view['subject'] ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>작성자</th>
|
||||
<td><?php echo $view['name'] ?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>작성일</th>
|
||||
<td><?php echo $view['datetime']; ?></td>
|
||||
</tr>
|
||||
<?php if ($view['download_count'] > 0) { ?>
|
||||
<tr>
|
||||
<th>첨부파일</th>
|
||||
<td>
|
||||
<?php
|
||||
// 가변 파일
|
||||
for ($i = 0; $i < $view['download_count']; $i++) {
|
||||
?>
|
||||
<li>
|
||||
<a href="<?php echo $view['download_href'][$i]; ?>" class="view_file_download">
|
||||
<img src="<?php echo $qa_skin_url ?>/img/icon_file.gif" alt="첨부">
|
||||
<strong><?php echo $view['download_source'][$i] ?></strong>
|
||||
</a>
|
||||
</li>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<?php
|
||||
// 파일 출력
|
||||
if ($view['img_count']) {
|
||||
echo "<div id=\"bo_v_img\">\n";
|
||||
|
||||
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']);
|
||||
}
|
||||
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']);
|
||||
}
|
||||
|
||||
echo "</div>\n";
|
||||
}
|
||||
?>
|
||||
echo "</div>\n";
|
||||
}
|
||||
?>
|
||||
|
||||
<!-- 본문 내용 시작 { -->
|
||||
<div id="bo_v_con" style="min-height: 120px; padding: 10px;">
|
||||
<?php echo get_view_thumbnail($view['content'], $qaconfig['qa_image_width']); ?>
|
||||
</div>
|
||||
<!-- } 본문 내용 끝 -->
|
||||
</td>
|
||||
</tr>
|
||||
<!-- 본문 내용 시작 { -->
|
||||
<div id="bo_v_con" style="min-height: 120px; padding: 10px;">
|
||||
<?php echo get_view_thumbnail($view['content'], $qaconfig['qa_image_width']); ?>
|
||||
</div>
|
||||
<!-- } 본문 내용 끝 -->
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<article id="bo_v">
|
||||
|
||||
<!-- 게시물 상단 버튼 시작 { -->
|
||||
<div id="bo_v_top" class="txt-center" style="padding: 20px 0;">
|
||||
<?php
|
||||
ob_start();
|
||||
?>
|
||||
<?php if ($prev_href) { ?><a href="<?php echo $prev_href ?>" class="ui-btn">이전글</a><?php } ?>
|
||||
<?php if ($next_href) { ?><a href="<?php echo $next_href ?>" class="ui-btn">다음글</a><?php } ?>
|
||||
<!-- 게시물 상단 버튼 시작 { -->
|
||||
<div id="bo_v_top" class="txt-center" style="padding: 20px 0;">
|
||||
<?php
|
||||
ob_start();
|
||||
?>
|
||||
<?php if ($prev_href) { ?><a href="<?php echo $prev_href ?>" class="ui-btn">이전글</a><?php } ?>
|
||||
<?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 } ?>
|
||||
<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
|
||||
$link_buttons = ob_get_contents();
|
||||
ob_end_flush();
|
||||
?>
|
||||
</div>
|
||||
<!-- } 게시물 상단 버튼 끝 -->
|
||||
<?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 } ?>
|
||||
<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
|
||||
$link_buttons = ob_get_contents();
|
||||
ob_end_flush();
|
||||
?>
|
||||
</div>
|
||||
<!-- } 게시물 상단 버튼 끝 -->
|
||||
|
||||
<?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');
|
||||
}
|
||||
?>
|
||||
<?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');
|
||||
}
|
||||
?>
|
||||
|
||||
|
||||
<!-- 링크 버튼 시작 { -->
|
||||
<div id="bo_v_bot" class="txt-center" style="padding: 20px 0;">
|
||||
<?php echo $link_buttons ?>
|
||||
</div>
|
||||
<!-- } 링크 버튼 끝 -->
|
||||
<!-- 링크 버튼 시작 { -->
|
||||
<div id="bo_v_bot" class="txt-center" style="padding: 20px 0;">
|
||||
<?php echo $link_buttons ?>
|
||||
</div>
|
||||
<!-- } 링크 버튼 끝 -->
|
||||
|
||||
</article>
|
||||
<!-- } 게시판 읽기 끝 -->
|
||||
|
||||
<script>
|
||||
$(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;
|
||||
});
|
||||
$(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();
|
||||
});
|
||||
// 이미지 리사이즈
|
||||
$("#bo_v_atc").viewimageresize();
|
||||
});
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -1,167 +1,173 @@
|
|||
<?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) {
|
||||
$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>';
|
||||
}
|
||||
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>';
|
||||
}
|
||||
|
||||
echo $option_hidden;
|
||||
?>
|
||||
echo $option_hidden;
|
||||
?>
|
||||
|
||||
<table class="theme-form write">
|
||||
<colgroup>
|
||||
<col style="width: 100px;" />
|
||||
<col />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<?php if ($category_option) { ?>
|
||||
<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" >
|
||||
<option value="">선택하세요</option>
|
||||
<?php echo $category_option ?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<table class="theme-form write">
|
||||
<colgroup>
|
||||
<col style="width: 100px;" />
|
||||
<col />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<?php if ($category_option) { ?>
|
||||
<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">
|
||||
<option value="">선택하세요</option>
|
||||
<?php echo $category_option ?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
<?php if ($is_email) { ?>
|
||||
<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"'; ?>>
|
||||
<label for="qa_email_recv">답변받기</label>
|
||||
</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
<?php if ($is_email) { ?>
|
||||
<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"'; ?>>
|
||||
<label for="qa_email_recv">답변받기</label>
|
||||
</td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
||||
<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">
|
||||
</td>
|
||||
</tr>
|
||||
<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">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th scope="row"><label for="qa_content">내용<strong class="sound_only">필수</strong></label></th>
|
||||
<td class="wr_content">
|
||||
<?php echo $editor_html; // 에디터 사용시는 에디터로, 아니면 textarea 로 노출 ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="qa_content">내용<strong class="sound_only">필수</strong></label></th>
|
||||
<td class="wr_content">
|
||||
<?php echo $editor_html; // 에디터 사용시는 에디터로, 아니면 textarea 로 노출 ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<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>
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<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>
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<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>
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<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>
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<hr class="padding" />
|
||||
<hr class="padding" />
|
||||
|
||||
<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 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>
|
||||
</form>
|
||||
|
||||
<script>
|
||||
function html_auto_br(obj)
|
||||
{
|
||||
if (obj.checked) {
|
||||
result = confirm("자동 줄바꿈을 하시겠습니까?\n\n자동 줄바꿈은 게시물 내용중 줄바뀐 곳을<br>태그로 변환하는 기능입니다.");
|
||||
if (result)
|
||||
obj.value = "2";
|
||||
else
|
||||
obj.value = "1";
|
||||
}
|
||||
else
|
||||
obj.value = "";
|
||||
}
|
||||
function html_auto_br(obj) {
|
||||
if (obj.checked) {
|
||||
result = confirm("자동 줄바꿈을 하시겠습니까?\n\n자동 줄바꿈은 게시물 내용중 줄바뀐 곳을<br>태그로 변환하는 기능입니다.");
|
||||
if (result)
|
||||
obj.value = "2";
|
||||
else
|
||||
obj.value = "1";
|
||||
}
|
||||
else
|
||||
obj.value = "";
|
||||
}
|
||||
|
||||
function fwrite_submit(f)
|
||||
{
|
||||
<?php echo $editor_js; // 에디터 사용시 자바스크립트에서 내용을 폼필드로 넣어주며 내용이 입력되었는지 검사함 ?>
|
||||
function fwrite_submit(f) {
|
||||
<?php echo $editor_js; // 에디터 사용시 자바스크립트에서 내용을 폼필드로 넣어주며 내용이 입력되었는지 검사함 ?>
|
||||
|
||||
var subject = "";
|
||||
var content = "";
|
||||
$.ajax({
|
||||
url: g5_bbs_url+"/ajax.filter.php",
|
||||
type: "POST",
|
||||
data: {
|
||||
"subject": f.qa_subject.value,
|
||||
"content": f.qa_content.value
|
||||
},
|
||||
dataType: "json",
|
||||
async: false,
|
||||
cache: false,
|
||||
success: function(data, textStatus) {
|
||||
subject = data.subject;
|
||||
content = data.content;
|
||||
}
|
||||
});
|
||||
var subject = "";
|
||||
var content = "";
|
||||
$.ajax({
|
||||
url: g5_bbs_url + "/ajax.filter.php",
|
||||
type: "POST",
|
||||
data: {
|
||||
"subject": f.qa_subject.value,
|
||||
"content": f.qa_content.value
|
||||
},
|
||||
dataType: "json",
|
||||
async: false,
|
||||
cache: false,
|
||||
success: function (data, textStatus) {
|
||||
subject = data.subject;
|
||||
content = data.content;
|
||||
}
|
||||
});
|
||||
|
||||
if (subject) {
|
||||
alert("제목에 금지단어('"+subject+"')가 포함되어있습니다");
|
||||
f.qa_subject.focus();
|
||||
return false;
|
||||
}
|
||||
if (subject) {
|
||||
alert("제목에 금지단어('" + subject + "')가 포함되어있습니다");
|
||||
f.qa_subject.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
if (content) {
|
||||
alert("내용에 금지단어('"+content+"')가 포함되어있습니다");
|
||||
if (typeof(ed_qa_content) != "undefined")
|
||||
ed_qa_content.returnFalse();
|
||||
else
|
||||
f.qa_content.focus();
|
||||
return false;
|
||||
}
|
||||
if (content) {
|
||||
alert("내용에 금지단어('" + content + "')가 포함되어있습니다");
|
||||
if (typeof (ed_qa_content) != "undefined")
|
||||
ed_qa_content.returnFalse();
|
||||
else
|
||||
f.qa_content.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
<?php if ($is_hp) { ?>
|
||||
var hp = f.qa_hp.value.replace(/[0-9\-]/g, "");
|
||||
if(hp.length > 0) {
|
||||
alert("휴대폰번호는 숫자, - 으로만 입력해 주십시오.");
|
||||
return false;
|
||||
}
|
||||
<?php } ?>
|
||||
<?php if ($is_hp) { ?>
|
||||
var hp = f.qa_hp.value.replace(/[0-9\-]/g, "");
|
||||
if (hp.length > 0) {
|
||||
alert("휴대폰번호는 숫자, - 으로만 입력해 주십시오.");
|
||||
return false;
|
||||
}
|
||||
<?php } ?>
|
||||
|
||||
document.getElementById("btn_submit").disabled = "disabled";
|
||||
document.getElementById("btn_submit").disabled = "disabled";
|
||||
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
<!-- } 게시물 작성/수정 끝 -->
|
||||
|
|
@ -1,140 +1,147 @@
|
|||
<?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();
|
||||
f.stx.focus();
|
||||
return false;
|
||||
alert("검색어는 두글자 이상 입력하십시오.");
|
||||
f.stx.select();
|
||||
f.stx.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
// 검색에 많은 부하가 걸리는 경우 이 주석을 제거하세요.
|
||||
var cnt = 0;
|
||||
for (var i=0; i<f.stx.value.length; i++) {
|
||||
if (f.stx.value.charAt(i) == ' ')
|
||||
cnt++;
|
||||
for (var i = 0; i < f.stx.value.length; i++) {
|
||||
if (f.stx.value.charAt(i) == ' ')
|
||||
cnt++;
|
||||
}
|
||||
|
||||
if (cnt > 1) {
|
||||
alert("빠른 검색을 위하여 검색어에 공백은 한개만 입력할 수 있습니다.");
|
||||
f.stx.select();
|
||||
f.stx.focus();
|
||||
return false;
|
||||
alert("빠른 검색을 위하여 검색어에 공백은 한개만 입력할 수 있습니다.");
|
||||
f.stx.select();
|
||||
f.stx.focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
f.action = "";
|
||||
return true;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<input type="radio" value="or" <?php echo ($sop == "or") ? "checked" : ""; ?> id="sop_or" name="sop">
|
||||
<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">
|
||||
|
||||
<?php
|
||||
if ($stx) {
|
||||
if ($board_count) {
|
||||
?>
|
||||
<section id="sch_res_ov">
|
||||
<?php
|
||||
if ($stx) {
|
||||
if ($board_count) {
|
||||
?>
|
||||
<section id="sch_res_ov">
|
||||
<h2><?php echo $stx ?> 전체검색 결과</h2>
|
||||
<dl>
|
||||
<dt>게시판</dt>
|
||||
<dd><strong class="sch_word"><?php echo $board_count ?>개</strong></dd>
|
||||
<dt>게시물</dt>
|
||||
<dd><strong class="sch_word"><?php echo number_format($total_count) ?>개</strong></dd>
|
||||
<dt>게시판</dt>
|
||||
<dd><strong class="sch_word"><?php echo $board_count ?>개</strong></dd>
|
||||
<dt>게시물</dt>
|
||||
<dd><strong class="sch_word"><?php echo number_format($total_count) ?>개</strong></dd>
|
||||
</dl>
|
||||
<p><?php echo number_format($page) ?>/<?php echo number_format($total_page) ?> 페이지 열람 중</p>
|
||||
</section>
|
||||
<?php
|
||||
}
|
||||
</section>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
}
|
||||
?>
|
||||
|
||||
<?php
|
||||
if ($stx) {
|
||||
if ($board_count) {
|
||||
?>
|
||||
<ul id="sch_res_board">
|
||||
<?php
|
||||
if ($stx) {
|
||||
if ($board_count) {
|
||||
?>
|
||||
<ul id="sch_res_board">
|
||||
<li><a href="?<?php echo $search_query ?>&gr_id=<?php echo $gr_id ?>" <?php echo $sch_all ?>>전체게시판</a></li>
|
||||
<?php echo $str_board_list; ?>
|
||||
</ul>
|
||||
<?php
|
||||
} else {
|
||||
?>
|
||||
<div class="empty_list">검색된 자료가 하나도 없습니다.</div>
|
||||
<?php } } ?>
|
||||
</ul>
|
||||
<?php
|
||||
} else {
|
||||
?>
|
||||
<div class="empty_list">검색된 자료가 하나도 없습니다.</div>
|
||||
<?php }
|
||||
} ?>
|
||||
|
||||
<hr>
|
||||
<hr>
|
||||
|
||||
<?php if ($stx && $board_count) { ?><section class="sch_res_list"><?php } ?>
|
||||
<?php if ($stx && $board_count) { ?>
|
||||
<section class="sch_res_list"><?php } ?>
|
||||
<?php
|
||||
$k=0;
|
||||
for ($idx=$table_index, $k=0; $idx<count($search_table) && $k<$rows; $idx++) {
|
||||
?>
|
||||
<h2><a href="./board.php?bo_table=<?php echo $search_table[$idx] ?>&<?php echo $search_query ?>"><?php echo $bo_subject[$idx] ?> 게시판 내 결과</a></h2>
|
||||
<ul>
|
||||
$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>
|
||||
<ul>
|
||||
<?php
|
||||
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_def = '';
|
||||
$comment_href = '';
|
||||
}
|
||||
?>
|
||||
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_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 ?>" target="_blank">새창</a>
|
||||
<p><?php echo $list[$idx][$i]['content'] ?></p>
|
||||
<?php echo $list[$idx][$i]['name'] ?>
|
||||
<span class="sch_datetime"><?php echo $list[$idx][$i]['wr_datetime'] ?></span>
|
||||
</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>
|
||||
<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 ?>" target="_blank">새창</a>
|
||||
<p><?php echo $list[$idx][$i]['content'] ?></p>
|
||||
<?php echo $list[$idx][$i]['name'] ?>
|
||||
<span class="sch_datetime"><?php echo $list[$idx][$i]['wr_datetime'] ?></span>
|
||||
</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>
|
||||
|
||||
<hr>
|
||||
<?php } ?>
|
||||
<?php if ($stx && $board_count) { ?></section><?php } ?>
|
||||
<hr>
|
||||
<?php } ?>
|
||||
<?php if ($stx && $board_count) { ?>
|
||||
</section><?php } ?>
|
||||
|
||||
<?php echo $write_pages ?>
|
||||
<?php echo $write_pages ?>
|
||||
|
||||
</div>
|
||||
<!-- } 전체검색 끝 -->
|
||||
|
|
@ -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,27 +1,28 @@
|
|||
<?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);
|
||||
?>
|
||||
|
||||
<!-- 접속자집계 시작 { -->
|
||||
<section id="visit">
|
||||
<div>
|
||||
<h2>접속자집계</h2>
|
||||
<dl>
|
||||
<dt>오늘</dt>
|
||||
<dd><?php echo number_format($visit[1]) ?></dd>
|
||||
<dt>어제</dt>
|
||||
<dd><?php echo number_format($visit[2]) ?></dd>
|
||||
<dt>최대</dt>
|
||||
<dd><?php echo number_format($visit[3]) ?></dd>
|
||||
<dt>전체</dt>
|
||||
<dd><?php echo number_format($visit[4]) ?></dd>
|
||||
</dl>
|
||||
<?php if ($is_admin == "super") { ?><a href="<?php echo G5_ADMIN_URL ?>/visit_list.php">상세보기</a><?php } ?>
|
||||
</div>
|
||||
<div>
|
||||
<h2>접속자집계</h2>
|
||||
<dl>
|
||||
<dt>오늘</dt>
|
||||
<dd><?php echo number_format($visit[1]) ?></dd>
|
||||
<dt>어제</dt>
|
||||
<dd><?php echo number_format($visit[2]) ?></dd>
|
||||
<dt>최대</dt>
|
||||
<dd><?php echo number_format($visit[3]) ?></dd>
|
||||
<dt>전체</dt>
|
||||
<dd><?php echo number_format($visit[4]) ?></dd>
|
||||
</dl>
|
||||
<?php if ($is_admin == "super") { ?><a href="<?php echo G5_ADMIN_URL ?>/visit_list.php">상세보기</a><?php } ?>
|
||||
</div>
|
||||
</section>
|
||||
<!-- } 접속자집계 끝 -->
|
||||
|
|
@ -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