Merge branch 'master' of github.com:gnuboard/g5
This commit is contained in:
@ -5,7 +5,13 @@ include_once('./_common.php');
|
|||||||
auth_check($auth[$sub_menu], "r");
|
auth_check($auth[$sub_menu], "r");
|
||||||
|
|
||||||
$g5['title'] = 'FAQ 상세관리';
|
$g5['title'] = 'FAQ 상세관리';
|
||||||
if ($fm_subject) $g5['title'] .= ' : '.$fm_subject;
|
if ($fm_subject){
|
||||||
|
$fm_subject = clean_xss_tags(strip_tags($fm_subject));
|
||||||
|
$g5['title'] .= ' : '.$fm_subject;
|
||||||
|
}
|
||||||
|
|
||||||
|
$fm_id = (int) $fm_id;
|
||||||
|
|
||||||
include_once (G5_ADMIN_PATH.'/admin.head.php');
|
include_once (G5_ADMIN_PATH.'/admin.head.php');
|
||||||
|
|
||||||
$sql = " select * from {$g5['faq_master_table']} where fm_id = '$fm_id' ";
|
$sql = " select * from {$g5['faq_master_table']} where fm_id = '$fm_id' ";
|
||||||
|
|||||||
@ -7,7 +7,7 @@ auth_check($auth[$sub_menu], 'r');
|
|||||||
// 체크된 자료 삭제
|
// 체크된 자료 삭제
|
||||||
if (isset($_POST['chk']) && is_array($_POST['chk'])) {
|
if (isset($_POST['chk']) && is_array($_POST['chk'])) {
|
||||||
for ($i=0; $i<count($_POST['chk']); $i++) {
|
for ($i=0; $i<count($_POST['chk']); $i++) {
|
||||||
$pp_id = $_POST['chk'][$i];
|
$pp_id = (int) $_POST['chk'][$i];
|
||||||
|
|
||||||
sql_query(" delete from {$g5['popular_table']} where pp_id = '$pp_id' ", true);
|
sql_query(" delete from {$g5['popular_table']} where pp_id = '$pp_id' ", true);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
********************/
|
********************/
|
||||||
|
|
||||||
define('G5_VERSION', '그누보드5');
|
define('G5_VERSION', '그누보드5');
|
||||||
define('G5_GNUBOARD_VER', '5.3.1.4');
|
define('G5_GNUBOARD_VER', '5.3.1.5');
|
||||||
|
|
||||||
// 이 상수가 정의되지 않으면 각각의 개별 페이지는 별도로 실행될 수 없음
|
// 이 상수가 정의되지 않으면 각각의 개별 페이지는 별도로 실행될 수 없음
|
||||||
define('_GNUBOARD_', true);
|
define('_GNUBOARD_', true);
|
||||||
|
|||||||
@ -350,7 +350,8 @@ var check_goto_new = function(href, event) {
|
|||||||
if( !(typeof g5_is_mobile != "undefined" && g5_is_mobile) ){
|
if( !(typeof g5_is_mobile != "undefined" && g5_is_mobile) ){
|
||||||
if (window.opener && window.opener.document && window.opener.document.getElementById) {
|
if (window.opener && window.opener.document && window.opener.document.getElementById) {
|
||||||
event.preventDefault ? event.preventDefault() : (event.returnValue = false);
|
event.preventDefault ? event.preventDefault() : (event.returnValue = false);
|
||||||
window.opener.document.location.href = href;
|
window.open(href);
|
||||||
|
//window.opener.document.location.href = href;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -359,7 +360,7 @@ var check_goto_new = function(href, event) {
|
|||||||
* 메일 창
|
* 메일 창
|
||||||
**/
|
**/
|
||||||
var win_email = function(href) {
|
var win_email = function(href) {
|
||||||
var new_win = window.open(href, 'win_email', 'left=100,top=100,width=600,height=580,scrollbars=0');
|
var new_win = window.open(href, 'win_email', 'left=100,top=100,width=600,height=580,scrollbars=1');
|
||||||
new_win.focus();
|
new_win.focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
#current_connect li.box_clear{clear:both}
|
#current_connect li.box_clear{clear:both}
|
||||||
#current_connect li .inner{position:relative;border:1px solid #d8d8d8;background:#fff;margin-bottom:10px;text-align:center}
|
#current_connect li .inner{position:relative;border:1px solid #d8d8d8;background:#fff;margin-bottom:10px;text-align:center}
|
||||||
#current_connect .crt_name {margin:20px 20px 15px;display:block;min-height:88px}
|
#current_connect .crt_name {margin:20px 20px 15px;display:block;min-height:88px}
|
||||||
#current_connect .crt_name img{ border-radius:50%;margin: 0 0 5px}
|
#current_connect .crt_name img{ border-radius:50%;margin: 0 0 5px;max-width:100%;height:auto}
|
||||||
#current_connect .crt_lct{display:block;text-align:center;border-top:1px solid #ddd;padding:10px 5px;line-height:1.4em}
|
#current_connect .crt_lct{display:block;text-align:center;border-top:1px solid #ddd;padding:10px 5px;line-height:1.4em}
|
||||||
#current_connect .crt_lct a{color:#3ca1ff}
|
#current_connect .crt_lct a{color:#3ca1ff}
|
||||||
#current_connect .crt_num{position:absolute;top:10px;left:10px;color:#777;font-weight:bold}
|
#current_connect .crt_num{position:absolute;top:10px;left:10px;color:#777;font-weight:bold}
|
||||||
|
|||||||
@ -200,7 +200,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
|
|||||||
</span>
|
</span>
|
||||||
|
|
||||||
<?php if ($w == 'u' && file_exists($mb_img_path)) { ?>
|
<?php if ($w == 'u' && file_exists($mb_img_path)) { ?>
|
||||||
<img src="<?php echo $mb_img_url ?>" alt="회원아이콘">
|
<img src="<?php echo $mb_img_url ?>" alt="회원이미지">
|
||||||
<input type="checkbox" name="del_mb_img" value="1" id="del_mb_img">
|
<input type="checkbox" name="del_mb_img" value="1" id="del_mb_img">
|
||||||
<label for="del_mb_img">삭제</label>
|
<label for="del_mb_img">삭제</label>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
#current_connect li.box_clear{clear:both}
|
#current_connect li.box_clear{clear:both}
|
||||||
#current_connect li .inner{position:relative;border:1px solid #d8d8d8;background:#fff;margin-bottom:10px;text-align:center}
|
#current_connect li .inner{position:relative;border:1px solid #d8d8d8;background:#fff;margin-bottom:10px;text-align:center}
|
||||||
#current_connect .crt_name {margin:20px 20px 15px;display:block;min-height:88px}
|
#current_connect .crt_name {margin:20px 20px 15px;display:block;min-height:88px}
|
||||||
#current_connect .crt_name img{ border-radius:50%;margin: 0 0 5px}
|
#current_connect .crt_name img{ border-radius:50%;margin: 0 0 5px;max-width:100%;height:auto}
|
||||||
#current_connect .crt_lct{display:block;text-align:center;border-top:1px solid #ddd;padding:10px 5px;line-height:1.4em}
|
#current_connect .crt_lct{display:block;text-align:center;border-top:1px solid #ddd;padding:10px 5px;line-height:1.4em}
|
||||||
#current_connect .crt_lct a{color:#3ca1ff}
|
#current_connect .crt_lct a{color:#3ca1ff}
|
||||||
#current_connect .crt_num{position:absolute;top:10px;left:10px;color:#777;font-weight:bold}
|
#current_connect .crt_num{position:absolute;top:10px;left:10px;color:#777;font-weight:bold}
|
||||||
|
|||||||
@ -200,7 +200,7 @@ add_stylesheet('<link rel="stylesheet" href="'.$member_skin_url.'/style.css">',
|
|||||||
</span>
|
</span>
|
||||||
|
|
||||||
<?php if ($w == 'u' && file_exists($mb_img_path)) { ?>
|
<?php if ($w == 'u' && file_exists($mb_img_path)) { ?>
|
||||||
<img src="<?php echo $mb_img_url ?>" alt="회원아이콘">
|
<img src="<?php echo $mb_img_url ?>" alt="회원이미지">
|
||||||
<input type="checkbox" name="del_mb_img" value="1" id="del_mb_img">
|
<input type="checkbox" name="del_mb_img" value="1" id="del_mb_img">
|
||||||
<label for="del_mb_img">삭제</label>
|
<label for="del_mb_img">삭제</label>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|||||||
Reference in New Issue
Block a user