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

@ -74,5 +74,4 @@ if(sql_num_rows($hresult)) {
</ul>
</div>
<?php
}
?>
}

View File

@ -398,7 +398,7 @@ function fsubmit_check(f)
return false;
}
if($(".sit_opt_list").size() < 1) {
if($(".sit_opt_list").length < 1) {
alert("상품의 선택옵션을 선택해 주십시오.");
return false;
}
@ -470,7 +470,7 @@ function fitem_submit(f)
return false;
}
if($(".sit_opt_list").size() < 1) {
if($(".sit_opt_list").length < 1) {
alert("상품의 선택옵션을 선택해 주십시오.");
return false;
}

View File

@ -36,7 +36,6 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_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&amp;wr_id='.$row['wr_id'];
$hash = md5($row['is_id'].$row['is_time'].$row['is_ip']);

View File

@ -9,4 +9,4 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_SKIN_URL.'/style.css">',
<li><button type="button" class="sct_lst_view sct_lst_list"><i class="fa fa-th-list" aria-hidden="true"></i><span class="sound_only">리스트뷰</span></button></li>
<li><button type="button" class="sct_lst_view sct_lst_gallery"><i class="fa fa-th-large" aria-hidden="true"></i><span class="sound_only">갤러리뷰</span></button></li>
</ul>
<?php } ?>
<?php }

View File

@ -33,4 +33,4 @@ if ($exists) {
</aside>
<!-- } 상품분류 1 끝 -->
<?php } ?>
<?php }

View File

@ -61,4 +61,4 @@ if ($exists) {
</aside>
<!-- } 상품분류 2 끝 -->
<?php } ?>
<?php }

View File

@ -32,4 +32,4 @@ if ($exists) {
</aside>
<!-- } 상품분류 3 끝 -->
<?php } ?>
<?php }

View File

@ -135,7 +135,7 @@ if($i == 0) echo "<p class=\"sct_noitem\">등록된 상품이 없습니다.</p>\
var $smt = this.find("ul.sct_ul");
var $smt_a = $smt.find("a");
var height = 0;
var count = $smt.size();
var count = $smt.length;
var c_idx = o_idx = 0;
var fx = null;
var el_id = this[0].id;
@ -266,7 +266,7 @@ $(function() {
// 애니메이션 stop
$("#btn_smt_<?php echo $this->type; ?> button.sctrl_stop").on("click", function() {
if($(this).parent().siblings().find(".sctrl_on").size() > 0) {
if($(this).parent().siblings().find(".sctrl_on").length > 0) {
$(this).parent().siblings().find("span").removeClass("sctrl_on").html("");
$(this).children().addClass("sctrl_on").html("<b class=\"sound_only\">선택됨</b>");
var id = $(this).closest(".sctrl").attr("id").replace("btn_", "");

View File

@ -140,5 +140,4 @@ jQuery(function($){
});
</script>
<?php
}
?>
}

View File

@ -31,5 +31,4 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
if ($i > 1) echo "</ul>\n";
if($i == 1) echo "<p class=\"sct_noitem\">등록된 개인결제가 없습니다.</p>\n";
?>
if($i == 1) echo "<p class=\"sct_noitem\">등록된 개인결제가 없습니다.</p>\n";