php8.0 버전 호환 코드 적용 및 PHP 끝 태그 삭제 일괄적용

This commit is contained in:
thisgun
2021-01-04 15:39:15 +09:00
parent 131b170b54
commit 27e9af5e42
1009 changed files with 12120 additions and 10849 deletions

View File

@ -3,5 +3,4 @@ include_once('../../../../common.php');
if (!defined('G5_USE_SHOP') || !G5_USE_SHOP)
die('<p>쇼핑몰 설치 후 이용해 주십시오.</p>');
define('_SHOP_', true);
?>
define('_SHOP_', true);

View File

@ -145,7 +145,7 @@ jQuery(function ($){
var $this = $(this);
$sub_ul = $(this).closest("li").children("ul.sub_cate");
if($sub_ul.size() > 0) {
if($sub_ul.length > 0) {
var txt = $this.text();
if($sub_ul.is(":visible")) {

View File

@ -117,5 +117,4 @@ include_once(G5_THEME_MSHOP_PATH.'/shop.head.php');
</script>
<?php
include_once(G5_THEME_MSHOP_PATH.'/shop.tail.php');
?>
include_once(G5_THEME_MSHOP_PATH.'/shop.tail.php');

View File

@ -1,6 +1,8 @@
<?php
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$q = isset($_GET['q']) ? clean_xss_tags($_GET['q'], 1, 1) : '';
include_once(G5_THEME_PATH.'/head.sub.php');
include_once(G5_LIB_PATH.'/outlogin.lib.php');
include_once(G5_LIB_PATH.'/visit.lib.php');
@ -114,4 +116,4 @@ include_once(G5_LIB_PATH.'/latest.lib.php');
}
?>
<div id="container" class="<?php echo implode(' ', $container_class); ?>">
<?php if ((!$bo_table || $w == 's' ) && !defined('_INDEX_')) { ?><h1 id="container_title"><a href="javascript:history.back()" class="btn_back"><i class="fa fa-chevron-left" aria-hidden="true"></i><span class="sound_only">뒤로</span></a> <?php echo $g5['title'] ?></h1><?php } ?>
<?php if ((!$bo_table || $w == 's' ) && !defined('_INDEX_')) { ?><h1 id="container_title"><a href="javascript:history.back()" class="btn_back"><i class="fa fa-chevron-left" aria-hidden="true"></i><span class="sound_only">뒤로</span></a> <?php echo $g5['title'] ?></h1><?php }

View File

@ -55,5 +55,4 @@ if ($config['cf_analytics']) {
<script src="<?php echo G5_JS_URL; ?>/sns.js"></script>
<?php
include_once(G5_THEME_PATH.'/tail.sub.php');
?>
include_once(G5_THEME_PATH.'/tail.sub.php');