php8.0 버전 호환 코드 적용 및 PHP 끝 태그 삭제 일괄적용
This commit is contained in:
@ -1,3 +1,2 @@
|
||||
<?php
|
||||
include_once('../../../common.php');
|
||||
?>
|
||||
include_once('../../../common.php');
|
||||
@ -31,5 +31,4 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
<!-- 메인화면 최신글 끝 -->
|
||||
|
||||
<?php
|
||||
include_once(G5_THEME_MOBILE_PATH.'/tail.php');
|
||||
?>
|
||||
include_once(G5_THEME_MOBILE_PATH.'/tail.php');
|
||||
@ -188,4 +188,4 @@ include_once(G5_LIB_PATH.'/popular.lib.php');
|
||||
<h2 id="container_title" class="top" title="<?php echo get_text($g5['title']); ?>">
|
||||
<a href="javascript:history.back();"><i class="fa fa-chevron-left" aria-hidden="true"></i><span class="sound_only">뒤로가기</span></a> <?php echo get_head_title($g5['title']); ?>
|
||||
</h2>
|
||||
<?php } ?>
|
||||
<?php }
|
||||
@ -32,5 +32,4 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
|
||||
<!-- 메인화면 최신글 끝 -->
|
||||
|
||||
<?php
|
||||
include_once(G5_THEME_MOBILE_PATH.'/tail.php');
|
||||
?>
|
||||
include_once(G5_THEME_MOBILE_PATH.'/tail.php');
|
||||
@ -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);
|
||||
@ -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")) {
|
||||
|
||||
@ -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');
|
||||
@ -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 }
|
||||
@ -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');
|
||||
@ -83,8 +83,8 @@ jQuery(function($){
|
||||
if($v_img_count) {
|
||||
echo "<div id=\"bo_v_img\">\n";
|
||||
|
||||
for ($i=0; $i<=count($view['file']); $i++) {
|
||||
echo get_file_thumbnail($view['file'][$i]);
|
||||
foreach($view['file'] as $view_file) {
|
||||
echo get_file_thumbnail($view_file);
|
||||
}
|
||||
echo "</div>\n";
|
||||
}
|
||||
@ -124,8 +124,8 @@ jQuery(function($){
|
||||
</section>
|
||||
|
||||
<?php
|
||||
$cnt = 0;
|
||||
if ($view['file']['count']) {
|
||||
$cnt = 0;
|
||||
for ($i=0; $i<count($view['file']); $i++) {
|
||||
if (isset($view['file'][$i]['source']) && $view['file'][$i]['source'] && !$view['file'][$i]['view'])
|
||||
$cnt++;
|
||||
|
||||
@ -341,4 +341,4 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<?php } ?>
|
||||
<?php }
|
||||
@ -85,8 +85,8 @@ jQuery(function($){
|
||||
if($v_img_count) {
|
||||
echo "<div id=\"bo_v_img\">\n";
|
||||
|
||||
for ($i=0; $i<=count($view['file']); $i++) {
|
||||
echo get_file_thumbnail($view['file'][$i]);
|
||||
foreach($view['file'] as $view_file) {
|
||||
echo get_file_thumbnail($view_file);
|
||||
}
|
||||
echo "</div>\n";
|
||||
}
|
||||
@ -126,8 +126,8 @@ jQuery(function($){
|
||||
</section>
|
||||
|
||||
<?php
|
||||
$cnt = 0;
|
||||
if ($view['file']['count']) {
|
||||
$cnt = 0;
|
||||
for ($i=0; $i<count($view['file']); $i++) {
|
||||
if (isset($view['file'][$i]['source']) && $view['file'][$i]['source'] && !$view['file'][$i]['view'])
|
||||
$cnt++;
|
||||
|
||||
@ -341,4 +341,4 @@ var char_max = parseInt(<?php echo $comment_max ?>); // 최대
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<?php } ?>
|
||||
<?php }
|
||||
@ -5,4 +5,4 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
add_stylesheet('<link rel="stylesheet" href="'.$connect_skin_url.'/style.css">', 0);
|
||||
?>
|
||||
<?php echo $row['total_cnt'] ?>
|
||||
<?php echo $row['total_cnt'];
|
||||
@ -1,5 +1,4 @@
|
||||
<?php
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
// 자신만의 코드를 넣어주세요.
|
||||
?>
|
||||
// 자신만의 코드를 넣어주세요.
|
||||
@ -56,5 +56,4 @@ if ($w == "" && $default['de_sms_use1'] && $receive_number)
|
||||
}
|
||||
//----------------------------------------------------------
|
||||
// SMS 문자전송 끝
|
||||
//----------------------------------------------------------
|
||||
?>
|
||||
//----------------------------------------------------------;
|
||||
@ -178,7 +178,7 @@
|
||||
#mb_login_notmb .chk_box input[type="checkbox"] + label{padding-left:20px}
|
||||
#mb_login_notmb h2 {font-size:1.25em;padding:10px;background:#f3f3f3}
|
||||
#mb_login_notmb p {border:0;padding:0;margin:10px;color:#}
|
||||
#guest_privacy p {border:1px solid #ddd;background:#fff;color:#666;min-height:20px;height:200px;padding:10px;text-align:left;overflow-y:auto;margin:10px 0}
|
||||
#guest_privacy {border:1px solid #ccc;text-align:left;line-height:1.6em;color:#666;background:#fafafa;padding:10px;height:200px;margin:10px 0;overflow-y:auto}
|
||||
#mb_login_notmb .btn_submit {width:100%;display:block;height:40px;line-height:40px}
|
||||
|
||||
#mb_login_od_wr {background:#fff;border-bottom:1px solid #ccc;padding:20px}
|
||||
|
||||
@ -259,6 +259,7 @@
|
||||
#bo_v_ans #ans_msg {padding:40px 0;background:#f2f5f9;text-align:center}
|
||||
#bo_v_ans .btn_submit {width:100%;height:40px;border-radius:5px}
|
||||
#bo_v_ans .btn_confirm {margin:0 10px}
|
||||
#bo_v_ans form{padding:1em}
|
||||
|
||||
#bo_v_rel {}
|
||||
#bo_v_rel h2 {margin:0 10px 10px;font-size:1.2em}
|
||||
|
||||
@ -44,8 +44,6 @@ $(".btn_more_opt").on("click", function() {
|
||||
<h2>페이지 정보</h2>
|
||||
<span class="sound_only">작성자</span><strong><?php echo $view['name'] ?></strong>
|
||||
<span class="sound_only">작성일</span><strong><i class="fa fa-clock-o" aria-hidden="true"></i> <?php echo $view['datetime']; ?></strong>
|
||||
<span class="sound_only">조회</span><strong><i class="fa fa-eye" aria-hidden="true"></i> <?php echo number_format($view['wr_hit']) ?></strong>
|
||||
<span class="sound_only">댓글</span><strong><i class="fa fa-commenting-o" aria-hidden="true"></i> <?php echo number_format($view['wr_comment']) ?></strong>
|
||||
</div>
|
||||
<?php if($view['email'] || $view['hp']) { ?>
|
||||
<div id="bo_v_contact">
|
||||
|
||||
@ -31,11 +31,11 @@ if ($stx) {
|
||||
|
||||
<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($sfl, "wr_subject||wr_content") ?>>제목+내용</option>
|
||||
<option value="wr_subject"<?php echo get_selected($sfl, "wr_subject") ?>>제목</option>
|
||||
<option value="wr_content"<?php echo get_selected($sfl, "wr_content") ?>>내용</option>
|
||||
<option value="mb_id"<?php echo get_selected($sfl, "mb_id") ?>>회원아이디</option>
|
||||
<option value="wr_name"<?php echo get_selected($sfl, "wr_name") ?>>이름</option>
|
||||
</select>
|
||||
|
||||
<label for="stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
|
||||
|
||||
@ -492,7 +492,10 @@ $(function(){
|
||||
}
|
||||
});
|
||||
|
||||
$('#slide-counter').append('<span class="total-slides">'+slider.getSlideCount()+'</span>');
|
||||
try {
|
||||
$('#slide-counter').append('<span class="total-slides">'+slider.getSlideCount()+'</span>');
|
||||
} catch (error) {
|
||||
}
|
||||
|
||||
$('a.pager-prev').click(function () {
|
||||
var current = slider.getCurrentSlide();
|
||||
@ -555,7 +558,7 @@ function fsubmit_check(f)
|
||||
return false;
|
||||
}
|
||||
|
||||
if($(".sit_opt_list").size() < 1) {
|
||||
if($(".sit_opt_list").length < 1) {
|
||||
alert("상품의 선택옵션을 선택해 주십시오.");
|
||||
return false;
|
||||
}
|
||||
@ -627,7 +630,7 @@ function fitem_submit(f)
|
||||
return false;
|
||||
}
|
||||
|
||||
if($(".sit_opt_list").size() < 1) {
|
||||
if($(".sit_opt_list").length < 1) {
|
||||
alert("상품의 선택옵션을 선택해 주십시오.");
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -4,5 +4,4 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
//add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">', 0);
|
||||
|
||||
goto_url(shop_item_url($it_id).'#sit_qa');
|
||||
?>
|
||||
goto_url(shop_item_url($it_id).'#sit_qa');
|
||||
@ -4,5 +4,4 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
|
||||
//add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">', 0);
|
||||
|
||||
goto_url(shop_item_url($it_id).'#sit_use');
|
||||
?>
|
||||
goto_url(shop_item_url($it_id).'#sit_use');
|
||||
@ -30,7 +30,6 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">',
|
||||
$is_reply_subject = !empty($row['is_reply_subject']) ? conv_subject($row['is_reply_subject'],50,"…") : '';
|
||||
$is_reply_content = !empty($row['is_reply_content']) ? get_view_thumbnail(conv_content($row['is_reply_content'], 1), $thumbnail_width) : '';
|
||||
$is_time = substr($row['is_time'], 2, 8);
|
||||
$is_href = './itemuselist.php?bo_table=itemuse&wr_id='.$row['wr_id'];
|
||||
|
||||
$hash = md5($row['is_id'].$row['is_time'].$row['is_ip']);
|
||||
|
||||
|
||||
@ -73,7 +73,7 @@ function fit_width()
|
||||
var sw = $(window).width();
|
||||
var $img = $("#sit_pvi_nwbig span img");
|
||||
|
||||
if($img.size() < 1)
|
||||
if($img.length < 1)
|
||||
return;
|
||||
|
||||
$img.each(function() {
|
||||
|
||||
@ -186,4 +186,4 @@ jQuery(function($){
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<?php } ?>
|
||||
<?php }
|
||||
@ -115,7 +115,7 @@ if($this->total_count > 0) {
|
||||
var $btns = this.find(""+cfg.buttons+"");
|
||||
|
||||
var idx = cfg.startSlide;
|
||||
var count = $slides.size();
|
||||
var count = $slides.length;
|
||||
var width, outerW;
|
||||
|
||||
if(count < 1)
|
||||
@ -179,5 +179,4 @@ $(function() {
|
||||
</script>
|
||||
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
}
|
||||
@ -33,4 +33,4 @@ if ($exists) {
|
||||
</aside>
|
||||
<!-- } 상품분류 1 끝 -->
|
||||
|
||||
<?php } ?>
|
||||
<?php }
|
||||
@ -77,6 +77,4 @@ $('.sev_slide').bxSlider({
|
||||
});
|
||||
</script>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
}
|
||||
@ -114,5 +114,4 @@ jQuery(function($){
|
||||
});
|
||||
</script>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
}
|
||||
@ -79,5 +79,4 @@ jQuery(function($) {
|
||||
</script>
|
||||
|
||||
<?php
|
||||
include_once(G5_THEME_PATH."/tail.sub.php");
|
||||
?>
|
||||
include_once(G5_THEME_PATH."/tail.sub.php");
|
||||
Reference in New Issue
Block a user