update include_once style

This commit is contained in:
Amberstone 2024-09-23 11:10:50 +09:00
parent 651fb008e4
commit 52c5880aca
Signed by: amber
GPG key ID: 094B0E55F98D8BF1
25 changed files with 31 additions and 31 deletions

View file

@ -1,2 +1,2 @@
<?php <?php
include_once './common.php'; include_once "./common.php";

View file

@ -1,5 +1,5 @@
<?php <?php
define('G5_IS_ADMIN', true); define('G5_IS_ADMIN', true);
include_once '../common.php'; include_once "../common.php";
include_once G5_ADMIN_PATH . '/admin.lib.php'; include_once G5_ADMIN_PATH . '/admin.lib.php';

View file

@ -1,7 +1,7 @@
<?php <?php
$sub_menu = "300100"; $sub_menu = "300100";
include_once "./_common.php"; include_once "./_common.php";
include_once(G5_EDITOR_LIB); include_once G5_EDITOR_LIB;
auth_check($auth[$sub_menu], 'w'); auth_check($auth[$sub_menu], 'w');

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "300100"; $sub_menu = "300100";
include_once './_common.php'; include_once "./_common.php";
check_demo(); check_demo();

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "300200"; $sub_menu = "300200";
include_once './_common.php'; include_once "./_common.php";
if ($w == 'u') if ($w == 'u')
check_demo(); check_demo();

View file

@ -1,7 +1,7 @@
<?php <?php
$sub_menu = '300600'; $sub_menu = '300600';
include_once "./_common.php"; include_once "./_common.php";
include_once(G5_EDITOR_LIB); include_once G5_EDITOR_LIB;
auth_check($auth[$sub_menu], "w"); auth_check($auth[$sub_menu], "w");

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = '300600'; $sub_menu = '300600';
include_once './_common.php'; include_once "./_common.php";
if ($w == "u" || $w == "d") if ($w == "u" || $w == "d")
check_demo(); check_demo();

View file

@ -1,7 +1,7 @@
<?php <?php
$sub_menu = "100300"; $sub_menu = "100300";
include_once "./_common.php"; include_once "./_common.php";
include_once(G5_EDITOR_LIB); include_once G5_EDITOR_LIB;
auth_check($auth[$sub_menu], 'r'); auth_check($auth[$sub_menu], 'r');

View file

@ -1,5 +1,5 @@
<?php <?php
include_once './_common.php'; include_once "./_common.php";
if ($is_admin != 'super') { if ($is_admin != 'super') {
alert('최고관리자만 접근 가능합니다.'); alert('최고관리자만 접근 가능합니다.');

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "100280"; $sub_menu = "100280";
include_once './_common.php'; include_once "./_common.php";
if ($is_admin != 'super') if ($is_admin != 'super')
alert('최고관리자만 접근 가능합니다.'); alert('최고관리자만 접근 가능합니다.');
@ -21,7 +21,7 @@ if ($config['cf_theme'] && !in_array($config['cf_theme'], $theme))
sql_query(" update {$g5['config_table']} set cf_theme = '' "); sql_query(" update {$g5['config_table']} set cf_theme = '' ");
$g5['title'] = "테마설정"; $g5['title'] = "테마설정";
include_once './admin.head.php'; include_once "./admin.head.php";
?> ?>
<script src="<?php echo G5_ADMIN_URL; ?>/js/theme.js"></script> <script src="<?php echo G5_ADMIN_URL; ?>/js/theme.js"></script>
<div class="local_wr"> <div class="local_wr">
@ -68,4 +68,4 @@ include_once './admin.head.php';
<p class="no_theme">설치된 테마가 없습니다.</p> <p class="no_theme">설치된 테마가 없습니다.</p>
<?php } <?php }
include_once './admin.tail.php'; include_once "./admin.tail.php";

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "100250"; $sub_menu = "100250";
include_once './_common.php'; include_once "./_common.php";
include_once G5_EDITOR_LIB; include_once G5_EDITOR_LIB;
auth_check($auth[$sub_menu], 'r'); auth_check($auth[$sub_menu], 'r');
@ -9,7 +9,7 @@ if ($is_admin != 'super')
alert('최고관리자만 접근 가능합니다.'); alert('최고관리자만 접근 가능합니다.');
$g5['title'] = '메인 편집'; $g5['title'] = '메인 편집';
include_once './admin.head.php'; include_once "./admin.head.php";
if (defined("G5_THEME_PATH") && file_exists(G5_THEME_PATH . "/config/viewer_form.php")) { if (defined("G5_THEME_PATH") && file_exists(G5_THEME_PATH . "/config/viewer_form.php")) {
include_once G5_THEME_PATH . "/config/viewer_form.php"; include_once G5_THEME_PATH . "/config/viewer_form.php";
@ -52,4 +52,4 @@ if (defined("G5_THEME_PATH") && file_exists(G5_THEME_PATH . "/config/viewer_form
</script> </script>
<?php <?php
} }
include_once './admin.tail.php'; include_once "./admin.tail.php";

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "100250"; $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")) {
include_once G5_THEME_PATH . "/config/viewer_form_update.php"; include_once G5_THEME_PATH . "/config/viewer_form_update.php";

View file

@ -1,6 +1,6 @@
<?php <?php
$sub_menu = "400200"; $sub_menu = "400200";
include_once './_common.php'; include_once "./_common.php";
auth_check($auth[$sub_menu], 'r'); auth_check($auth[$sub_menu], 'r');

View file

@ -18,7 +18,7 @@ $g5['title'] = $co['co_subject'];
if (is_include_path_check($co['co_include_head'])) if (is_include_path_check($co['co_include_head']))
@include_once $co['co_include_head']; @include_once $co['co_include_head'];
else else
include_once './_head.php'; include_once "./_head.php";
$co['co_tag_filter_use'] = 1; $co['co_tag_filter_use'] = 1;
$str = conv_content($co['co_content'], $co['co_html'], $co['co_tag_filter_use']); $str = conv_content($co['co_content'], $co['co_html'], $co['co_tag_filter_use']);

View file

@ -1,7 +1,7 @@
<?php <?php
include_once './_common.php'; include_once "./_common.php";
$g5['title'] = '로그인'; $g5['title'] = '로그인';
include_once './_head.sub.php'; include_once "./_head.sub.php";
$url = $_GET['url']; $url = $_GET['url'];
@ -23,4 +23,4 @@ if (!file_exists($login_file))
$member_skin_path = G5_SKIN_PATH . '/member/basic'; $member_skin_path = G5_SKIN_PATH . '/member/basic';
include_once "{$member_skin_path}/login.skin.php"; include_once "{$member_skin_path}/login.skin.php";
include_once './_tail.sub.php'; include_once "./_tail.sub.php";

View file

@ -1,5 +1,5 @@
<?php <?php
include_once './_common.php'; include_once "./_common.php";
$g5['title'] = "로그인 검사"; $g5['title'] = "로그인 검사";

View file

@ -1,6 +1,6 @@
<?php <?php
include_once "./_common.php"; include_once "./_common.php";
include_once(G5_EDITOR_LIB); include_once G5_EDITOR_LIB;
if ($is_guest) if ($is_guest)
alert('회원이시라면 로그인 후 이용해 보십시오.', './login.php?url=' . urlencode(G5_BBS_URL . '/qaview.php?qa_id=' . $qa_id)); alert('회원이시라면 로그인 후 이용해 보십시오.', './login.php?url=' . urlencode(G5_BBS_URL . '/qaview.php?qa_id=' . $qa_id));

View file

@ -1,6 +1,6 @@
<?php <?php
include_once "./_common.php"; include_once "./_common.php";
include_once(G5_EDITOR_LIB); include_once G5_EDITOR_LIB;
if ($w != '' && $w != 'u' && $w != 'r') { if ($w != '' && $w != 'u' && $w != 'r') {
alert('올바른 방법으로 이용해 주십시오.'); alert('올바른 방법으로 이용해 주십시오.');

View file

@ -1,6 +1,6 @@
<?php <?php
include_once "./_common.php"; include_once "./_common.php";
include_once(G5_EDITOR_LIB); include_once G5_EDITOR_LIB;
include_once(G5_CAPTCHA_PATH . '/captcha.lib.php'); include_once(G5_CAPTCHA_PATH . '/captcha.lib.php');

View file

@ -1,5 +1,5 @@
<?php <?php
include_once './_common.php'; include_once "./_common.php";
if ($is_member & !$config['cf_open']) { if ($is_member & !$config['cf_open']) {
goto_url(G5_URL . '/main.php'); goto_url(G5_URL . '/main.php');

View file

@ -1,5 +1,5 @@
<?php <?php
include_once './_common.php'; include_once "./_common.php";
define('_INDEX_', true); define('_INDEX_', true);
if (defined('G5_THEME_PATH') && file_exists(G5_THEME_PATH . "/index.php")) { if (defined('G5_THEME_PATH') && file_exists(G5_THEME_PATH . "/index.php")) {

View file

@ -1,5 +1,5 @@
<?php <?php
include_once './_common.php'; include_once "./_common.php";
define('_MAIN_', true); define('_MAIN_', true);
if (defined('G5_THEME_PATH') && file_exists(G5_THEME_PATH . "/main.php")) { if (defined('G5_THEME_PATH') && file_exists(G5_THEME_PATH . "/main.php")) {

View file

@ -1,5 +1,5 @@
<?php <?php
include_once './_common.php'; include_once "./_common.php";
if ($is_member & !$config['cf_open']) { if ($is_member & !$config['cf_open']) {
goto_url(G5_URL . '/main.php'); goto_url(G5_URL . '/main.php');
} }

View file

@ -1,5 +1,5 @@
<?php <?php
include_once './_common.php'; include_once "./_common.php";
define('_INDEX_', true); define('_INDEX_', true);
$enter = get_style('intro_use'); $enter = get_style('intro_use');

View file

@ -1,5 +1,5 @@
<?php <?php
include_once './_common.php'; include_once "./_common.php";
define('_MAIN_', true); define('_MAIN_', true);
include_once __DIR__ . '/head.php'; include_once __DIR__ . '/head.php';