admin page code check
This commit is contained in:
parent
2e32e7f604
commit
f122633032
82 changed files with 109 additions and 98 deletions
|
|
@ -5,8 +5,6 @@ if ($is_admin != 'super') {
|
||||||
alert_close('최고관리자만 접근 가능합니다.');
|
alert_close('최고관리자만 접근 가능합니다.');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (!isset($_POST['addon']) || empty($_POST['addon'])) {
|
if (!isset($_POST['addon']) || empty($_POST['addon'])) {
|
||||||
alert('애드온 이름이 지정되지 않았습니다.');
|
alert('애드온 이름이 지정되지 않았습니다.');
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,6 @@ $begin_time = microtime(true);
|
||||||
|
|
||||||
include_once G5_PATH . '/head.sub.php';
|
include_once G5_PATH . '/head.sub.php';
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
var tempX = 0;
|
var tempX = 0;
|
||||||
var tempY = 0;
|
var tempY = 0;
|
||||||
|
|
@ -28,9 +27,7 @@ include_once G5_PATH . '/head.sub.php';
|
||||||
selectBoxHidden(id);
|
selectBoxHidden(id);
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div id="wrap">
|
<div id="wrap">
|
||||||
|
|
||||||
<header id="header">
|
<header id="header">
|
||||||
<div id="admin_prof">
|
<div id="admin_prof">
|
||||||
<h1>
|
<h1>
|
||||||
|
|
@ -43,7 +40,6 @@ include_once G5_PATH . '/head.sub.php';
|
||||||
<a href="<?php echo G5_BBS_URL ?>/logout.php" class="logout">로그아웃</a>
|
<a href="<?php echo G5_BBS_URL ?>/logout.php" class="logout">로그아웃</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<nav id="gnb">
|
<nav id="gnb">
|
||||||
<ul>
|
<ul>
|
||||||
<li style="border-bottom:1px solid #444;">
|
<li style="border-bottom:1px solid #444;">
|
||||||
|
|
@ -67,14 +63,9 @@ include_once G5_PATH . '/head.sub.php';
|
||||||
echo $gnb_str;
|
echo $gnb_str;
|
||||||
?>
|
?>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|
||||||
<section id="wrapper">
|
<section id="wrapper">
|
||||||
|
|
||||||
<aside id="page_top">
|
<aside id="page_top">
|
||||||
<h2><?php echo $g5['title'] ?></h2>
|
<h2><?php echo $g5['title'] ?></h2>
|
||||||
</aside>
|
</aside>
|
||||||
|
|
||||||
<div id="container">
|
<div id="container">
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,8 @@ set_session('ss_admin_token', '');
|
||||||
|
|
||||||
$error = admin_referer_check(true);
|
$error = admin_referer_check(true);
|
||||||
if ($error)
|
if ($error)
|
||||||
die(json_encode(array('error' => $error, 'url' => G5_URL)));
|
die(json_encode(['error' => $error, 'url' => G5_URL]));
|
||||||
|
|
||||||
$token = get_admin_token();
|
$token = get_admin_token();
|
||||||
|
|
||||||
die(json_encode(array('error' => '', 'token' => $token, 'url' => '')));
|
die(json_encode(['error' => '', 'token' => $token, 'url' => '']));
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@ if ($w == 'd')
|
||||||
else
|
else
|
||||||
auth_check($auth[$sub_menu], "w");
|
auth_check($auth[$sub_menu], "w");
|
||||||
|
|
||||||
|
|
||||||
$banner_path = G5_DATA_PATH . "/banner";
|
$banner_path = G5_DATA_PATH . "/banner";
|
||||||
$banner_url = G5_DATA_URL . "/banner";
|
$banner_url = G5_DATA_URL . "/banner";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "300100";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
auth_check($auth[$sub_menu], 'w');
|
auth_check($auth[$sub_menu], 'w');
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = '300100';
|
|
||||||
require_once './_common.php';
|
require_once './_common.php';
|
||||||
|
|
||||||
check_demo();
|
check_demo();
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "300100";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
include_once G5_EDITOR_LIB;
|
include_once G5_EDITOR_LIB;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,105 @@
|
||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
* @suppress PHP0410
|
* @var string|int $bo_table
|
||||||
|
* @var string|int $bo_type
|
||||||
|
* @var string|int $gr_id
|
||||||
|
* @var string|int $bo_subject
|
||||||
|
* @var string|int $bo_mobile_subject
|
||||||
|
* @var string|int $bo_device
|
||||||
|
* @var string|int $bo_admin
|
||||||
|
* @var string|int $bo_list_level
|
||||||
|
* @var string|int $bo_read_level
|
||||||
|
* @var string|int $bo_write_level
|
||||||
|
* @var string|int $bo_reply_level
|
||||||
|
* @var string|int $bo_comment_level
|
||||||
|
* @var string|int $bo_upload_level
|
||||||
|
* @var string|int $bo_download_level
|
||||||
|
* @var string|int $bo_html_level
|
||||||
|
* @var string|int $bo_link_level
|
||||||
|
* @var string|int $bo_count_delete
|
||||||
|
* @var string|int $bo_count_modify
|
||||||
|
* @var string|int $bo_read_point
|
||||||
|
* @var string|int $bo_write_point
|
||||||
|
* @var string|int $bo_comment_point
|
||||||
|
* @var string|int $bo_download_point
|
||||||
|
* @var string|int $bo_use_category
|
||||||
|
* @var string|int $bo_category_list
|
||||||
|
* @var string|int $bo_use_sideview
|
||||||
|
* @var string|int $bo_use_file_content
|
||||||
|
* @var string|int $bo_use_secret
|
||||||
|
* @var string|int $bo_use_dhtml_editor
|
||||||
|
* @var string|int $bo_use_rss_view
|
||||||
|
* @var string|int $bo_use_good
|
||||||
|
* @var string|int $bo_use_nogood
|
||||||
|
* @var string|int $bo_use_name
|
||||||
|
* @var string|int $bo_use_signature
|
||||||
|
* @var string|int $bo_use_ip_view
|
||||||
|
* @var string|int $bo_use_list_view
|
||||||
|
* @var string|int $bo_use_list_file
|
||||||
|
* @var string|int $bo_use_list_content
|
||||||
|
* @var string|int $bo_table_width
|
||||||
|
* @var string|int $bo_subject_len
|
||||||
|
* @var string|int $bo_mobile_subject_len
|
||||||
|
* @var string|int $bo_page_rows
|
||||||
|
* @var string|int $bo_mobile_page_rows
|
||||||
|
* @var string|int $bo_new
|
||||||
|
* @var string|int $bo_hot
|
||||||
|
* @var string|int $bo_image_width
|
||||||
|
* @var string|int $bo_skin
|
||||||
|
* @var string|int $bo_mobile_skin
|
||||||
|
* @var string|int $bo_include_head
|
||||||
|
* @var string|int $bo_include_tail
|
||||||
|
* @var string|int $bo_content_head
|
||||||
|
* @var string|int $bo_mobile_content_head
|
||||||
|
* @var string|int $bo_content_tail
|
||||||
|
* @var string|int $bo_mobile_content_tail
|
||||||
|
* @var string|int $bo_insert_content
|
||||||
|
* @var string|int $bo_gallery_cols
|
||||||
|
* @var string|int $bo_gallery_width
|
||||||
|
* @var string|int $bo_gallery_height
|
||||||
|
* @var string|int $bo_mobile_gallery_width
|
||||||
|
* @var string|int $bo_mobile_gallery_height
|
||||||
|
* @var string|int $bo_upload_size
|
||||||
|
* @var string|int $bo_reply_order
|
||||||
|
* @var string|int $bo_use_search
|
||||||
|
* @var string|int $bo_order
|
||||||
|
* @var string|int $bo_count_write
|
||||||
|
* @var string|int $bo_count_comment
|
||||||
|
* @var string|int $bo_write_min
|
||||||
|
* @var string|int $bo_write_max
|
||||||
|
* @var string|int $bo_comment_min
|
||||||
|
* @var string|int $bo_comment_max
|
||||||
|
* @var string|int $bo_notice
|
||||||
|
* @var string|int $bo_upload_count
|
||||||
|
* @var string|int $bo_use_email
|
||||||
|
* @var string|int $bo_use_pass
|
||||||
|
* @var string|int $bo_pass
|
||||||
|
* @var string|int $bo_use_cert
|
||||||
|
* @var string|int $bo_use_sns
|
||||||
|
* @var string|int $bo_use_chick
|
||||||
|
* @var string|int $bo_use_noname
|
||||||
|
* @var string|int $bo_sort_field
|
||||||
|
* @var string|int $bo_1_subj
|
||||||
|
* @var string|int $bo_2_subj
|
||||||
|
* @var string|int $bo_3_subj
|
||||||
|
* @var string|int $bo_4_subj
|
||||||
|
* @var string|int $bo_5_subj
|
||||||
|
* @var string|int $bo_6_subj
|
||||||
|
* @var string|int $bo_7_subj
|
||||||
|
* @var string|int $bo_8_subj
|
||||||
|
* @var string|int $bo_9_subj
|
||||||
|
* @var string|int $bo_10_subj
|
||||||
|
* @var string|int $bo_1
|
||||||
|
* @var string|int $bo_2
|
||||||
|
* @var string|int $bo_3
|
||||||
|
* @var string|int $bo_4
|
||||||
|
* @var string|int $bo_5
|
||||||
|
* @var string|int $bo_6
|
||||||
|
* @var string|int $bo_7
|
||||||
|
* @var string|int $bo_8
|
||||||
|
* @var string|int $bo_9
|
||||||
|
* @var string|int $bo_10
|
||||||
*/
|
*/
|
||||||
$sub_menu = "300100";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
if ($w == 'u')
|
if ($w == 'u')
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "300100";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
auth_check($auth[$sub_menu], 'r');
|
auth_check($auth[$sub_menu], 'r');
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "300100";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
check_demo();
|
check_demo();
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = '300100';
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
auth_check($auth[$sub_menu], 'w');
|
auth_check($auth[$sub_menu], 'w');
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "300200";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
auth_check($auth[$sub_menu], 'w');
|
auth_check($auth[$sub_menu], 'w');
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "300200";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
if ($w == 'u')
|
if ($w == 'u')
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "300200";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
auth_check($auth[$sub_menu], 'r');
|
auth_check($auth[$sub_menu], 'r');
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "300200";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
//print_r2($_POST); exit;
|
//print_r2($_POST); exit;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "300200";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
auth_check($auth[$sub_menu], 'w');
|
auth_check($auth[$sub_menu], 'w');
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "300200";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
auth_check($auth[$sub_menu], 'r');
|
auth_check($auth[$sub_menu], 'r');
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "300200";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
sql_query(" ALTER TABLE {$g5['group_member_table']} CHANGE `gm_id` `gm_id` INT( 11 ) DEFAULT '0' NOT NULL AUTO_INCREMENT ", false);
|
sql_query(" ALTER TABLE {$g5['group_member_table']} CHANGE `gm_id` `gm_id` INT( 11 ) DEFAULT '0' NOT NULL AUTO_INCREMENT ", false);
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "100510";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
if (!(version_compare(phpversion(), '5.3.0', '>=') && defined('G5_BROWSCAP_USE') && G5_BROWSCAP_USE))
|
if (!(version_compare(phpversion(), '5.3.0', '>=') && defined('G5_BROWSCAP_USE') && G5_BROWSCAP_USE))
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "100520";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
if (!(version_compare(phpversion(), '5.3.0', '>=') && defined('G5_BROWSCAP_USE') && G5_BROWSCAP_USE))
|
if (!(version_compare(phpversion(), '5.3.0', '>=') && defined('G5_BROWSCAP_USE') && G5_BROWSCAP_USE))
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
ini_set('memory_limit', '-1');
|
ini_set('memory_limit', '-1');
|
||||||
|
|
||||||
$sub_menu = "100510";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
// clean the output buffer
|
// clean the output buffer
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = '900300';
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
if ($is_admin != 'super')
|
if ($is_admin != 'super')
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = '100910';
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
if ($is_admin != 'super')
|
if ($is_admin != 'super')
|
||||||
|
|
@ -47,8 +46,6 @@ if (is_array($files)) {
|
||||||
|
|
||||||
echo '<li>완료됨</li></ul>' . PHP_EOL;
|
echo '<li>완료됨</li></ul>' . PHP_EOL;
|
||||||
echo '<div class="local_desc01 local_desc"><p><strong>캡챠파일 ' . $cnt . '건의 삭제 완료됐습니다.</strong><br>프로그램의 실행을 끝마치셔도 좋습니다.</p></div>' . PHP_EOL;
|
echo '<div class="local_desc01 local_desc"><p><strong>캡챠파일 ' . $cnt . '건의 삭제 완료됐습니다.</strong><br>프로그램의 실행을 끝마치셔도 좋습니다.</p></div>' . PHP_EOL;
|
||||||
?>
|
|
||||||
|
|
||||||
<?php
|
|
||||||
include_once "./admin.tail.php";
|
include_once "./admin.tail.php";
|
||||||
?>
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = '400100';
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
check_demo();
|
check_demo();
|
||||||
auth_check($auth[$sub_menu], 'd');
|
auth_check($auth[$sub_menu], 'd');
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "400200";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
check_demo();
|
check_demo();
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "900100";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
auth_check($auth[$sub_menu], 'r');
|
auth_check($auth[$sub_menu], 'r');
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "900100";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
check_demo();
|
check_demo();
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = '300600';
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
include_once G5_EDITOR_LIB;
|
include_once G5_EDITOR_LIB;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = '300600';
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
if ($w == "u" || $w == "d")
|
if ($w == "u" || $w == "d")
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = '300600';
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
auth_check($auth[$sub_menu], "r");
|
auth_check($auth[$sub_menu], "r");
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = '100410';
|
|
||||||
include_once './_common.php';
|
include_once './_common.php';
|
||||||
|
|
||||||
auth_check_menu($auth, $sub_menu, 'r');
|
auth_check_menu($auth, $sub_menu, 'r');
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "100300";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
include_once G5_EDITOR_LIB;
|
include_once G5_EDITOR_LIB;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,6 @@
|
||||||
* @var string[][] $cs_etc_19
|
* @var string[][] $cs_etc_19
|
||||||
* @var string[][] $cs_etc_20
|
* @var string[][] $cs_etc_20
|
||||||
*/
|
*/
|
||||||
$sub_menu = "100300";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
$site_style_path = G5_DATA_PATH . "/site";
|
$site_style_path = G5_DATA_PATH . "/site";
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = '300300';
|
|
||||||
include_once './_common.php';
|
include_once './_common.php';
|
||||||
|
|
||||||
check_demo();
|
check_demo();
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = '100330';
|
|
||||||
include_once './_common.php';
|
include_once './_common.php';
|
||||||
|
|
||||||
auth_check($auth[$sub_menu], "r");
|
auth_check($auth[$sub_menu], "r");
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "400400";
|
|
||||||
include_once './_common.php';
|
include_once './_common.php';
|
||||||
|
|
||||||
auth_check($auth[$sub_menu], 'r');
|
auth_check($auth[$sub_menu], 'r');
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "200100";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
check_demo();
|
check_demo();
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "200100";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
auth_check($auth[$sub_menu], 'w');
|
auth_check($auth[$sub_menu], 'w');
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "200100";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
include_once G5_LIB_PATH . "/register.lib.php";
|
include_once G5_LIB_PATH . "/register.lib.php";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "200100";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
auth_check($auth[$sub_menu], 'r');
|
auth_check($auth[$sub_menu], 'r');
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "200100";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
check_demo();
|
check_demo();
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "200100";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
check_demo();
|
check_demo();
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "100400";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
if ($is_admin != 'super')
|
if ($is_admin != 'super')
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "100400";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
if ($is_admin != 'super')
|
if ($is_admin != 'super')
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "100400";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
check_demo();
|
check_demo();
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = '100310';
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
include_once G5_EDITOR_LIB;
|
include_once G5_EDITOR_LIB;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = '100310';
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
if ($w == "u" || $w == "d")
|
if ($w == "u" || $w == "d")
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = '100310';
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
auth_check($auth[$sub_menu], "r");
|
auth_check($auth[$sub_menu], "r");
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "500400";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
auth_check($auth[$sub_menu], 'r');
|
auth_check($auth[$sub_menu], 'r');
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "100500";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
check_demo();
|
check_demo();
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "500900";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
auth_check($auth[$sub_menu], 'w');
|
auth_check($auth[$sub_menu], 'w');
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "200900";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
auth_check($auth[$sub_menu], 'r');
|
auth_check($auth[$sub_menu], 'r');
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "300300";
|
|
||||||
include_once './_common.php';
|
include_once './_common.php';
|
||||||
|
|
||||||
auth_check($auth[$sub_menu], 'r');
|
auth_check($auth[$sub_menu], 'r');
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "300400";
|
|
||||||
include_once './_common.php';
|
include_once './_common.php';
|
||||||
|
|
||||||
auth_check($auth[$sub_menu], 'r');
|
auth_check($auth[$sub_menu], 'r');
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "900200";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
if ($is_admin != "super")
|
if ($is_admin != "super")
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "100100";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
auth_check($auth[$sub_menu], 'r');
|
auth_check($auth[$sub_menu], 'r');
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "100100";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
check_demo();
|
check_demo();
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "400420";
|
|
||||||
include_once './_common.php';
|
include_once './_common.php';
|
||||||
|
|
||||||
auth_check($auth[$sub_menu], 'w');
|
auth_check($auth[$sub_menu], 'w');
|
||||||
|
|
@ -17,6 +16,4 @@ $sql = " insert into {$g5['status_config_table']}
|
||||||
";
|
";
|
||||||
sql_query($sql);
|
sql_query($sql);
|
||||||
|
|
||||||
|
|
||||||
goto_url('./status_list.php?' . $qstr);
|
goto_url('./status_list.php?' . $qstr);
|
||||||
?>
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "400420";
|
|
||||||
include_once './_common.php';
|
include_once './_common.php';
|
||||||
|
|
||||||
auth_check($auth[$sub_menu], 'r');
|
auth_check($auth[$sub_menu], 'r');
|
||||||
|
|
@ -223,4 +222,3 @@ $pg_anchor = '<ul class="anchor">
|
||||||
</script>
|
</script>
|
||||||
<?php
|
<?php
|
||||||
include_once './admin.tail.php';
|
include_once './admin.tail.php';
|
||||||
?>
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = '400420';
|
|
||||||
include_once './_common.php';
|
include_once './_common.php';
|
||||||
|
|
||||||
check_demo();
|
check_demo();
|
||||||
|
|
@ -56,4 +55,3 @@ if ($_POST['act_button'] == "선택수정") {
|
||||||
if ($msg)
|
if ($msg)
|
||||||
alert($msg);
|
alert($msg);
|
||||||
goto_url('./status_list.php?' . $qstr);
|
goto_url('./status_list.php?' . $qstr);
|
||||||
?>
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "100280";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
if ($is_admin != 'super')
|
if ($is_admin != 'super')
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "100280";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
include_once G5_LIB_PATH . "/json.lib.php";
|
include_once G5_LIB_PATH . "/json.lib.php";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "100280";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
if ($is_admin != 'super')
|
if ($is_admin != 'super')
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "100280";
|
|
||||||
define('_THEME_PREVIEW_', true);
|
define('_THEME_PREVIEW_', true);
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "100280";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
if ($is_admin != 'super')
|
if ($is_admin != 'super')
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = '100920';
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
if ($is_admin != 'super')
|
if ($is_admin != 'super')
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "100250";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
include_once G5_EDITOR_LIB;
|
include_once G5_EDITOR_LIB;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "100250";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
if (defined("G5_THEME_PATH") && file_exists(G5_THEME_PATH . "/config/viewer_form_update.php")) {
|
if (defined("G5_THEME_PATH") && file_exists(G5_THEME_PATH . "/config/viewer_form_update.php")) {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "200800";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
auth_check($auth[$sub_menu], 'r');
|
auth_check($auth[$sub_menu], 'r');
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "200800";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
if (!isset($arr)) {
|
if (!isset($arr)) {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "200820";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
auth_check($auth[$sub_menu], 'r');
|
auth_check($auth[$sub_menu], 'r');
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "200820";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
check_demo();
|
check_demo();
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "200800";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
auth_check($auth[$sub_menu], 'r');
|
auth_check($auth[$sub_menu], 'r');
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "200800";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
auth_check($auth[$sub_menu], 'r');
|
auth_check($auth[$sub_menu], 'r');
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "200800";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
auth_check($auth[$sub_menu], 'r');
|
auth_check($auth[$sub_menu], 'r');
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "200800";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
auth_check($auth[$sub_menu], 'r');
|
auth_check($auth[$sub_menu], 'r');
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "200800";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
if (!isset($arr)) {
|
if (!isset($arr)) {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "200800";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
auth_check($auth[$sub_menu], 'r');
|
auth_check($auth[$sub_menu], 'r');
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "200800";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
auth_check($auth[$sub_menu], 'r');
|
auth_check($auth[$sub_menu], 'r');
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
$sub_menu = "200800";
|
|
||||||
include_once "./_common.php";
|
include_once "./_common.php";
|
||||||
|
|
||||||
if (!isset($arr)) {
|
if (!isset($arr)) {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* @suppress PHP0419
|
||||||
|
*/
|
||||||
if (!defined('_GNUBOARD_'))
|
if (!defined('_GNUBOARD_'))
|
||||||
exit;
|
exit;
|
||||||
include_once dirname(__FILE__) . "/pbkdf2.compat.php";
|
include_once dirname(__FILE__) . "/pbkdf2.compat.php";
|
||||||
|
|
|
||||||
|
|
@ -32,3 +32,7 @@ AvocadoEdition Light 의 구조를 바탕으로 GNUBoard 기능과 함께 재수
|
||||||
기존에 개조된 코드가 있다면 git을 이용해 병합하는 것을 추천합니다.
|
기존에 개조된 코드가 있다면 git을 이용해 병합하는 것을 추천합니다.
|
||||||
|
|
||||||
버전 변경에 대한 의뢰도 가능합니다.
|
버전 변경에 대한 의뢰도 가능합니다.
|
||||||
|
|
||||||
|
## 설치
|
||||||
|
`AvocadoAmber` 경로 아래의 파일들을 호스팅의 `public` 또는 `www`, `public_html` 폴더에 업로드합니다.
|
||||||
|
이후 호스팅 주소로 접속하여 설치 프로그램을 실행합니다.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue