php8.0 버전 호환 코드 적용 및 PHP 끝 태그 삭제 일괄적용
This commit is contained in:
@ -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
|
||||
}
|
||||
?>
|
||||
}
|
||||
Reference in New Issue
Block a user