5.3 버전 내용 적용

This commit is contained in:
thisgun
2018-03-30 18:12:51 +09:00
parent 8c458841d5
commit dc15e1929d
1037 changed files with 49211 additions and 21238 deletions

View File

@ -2,7 +2,7 @@
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨
add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_CSS_URL.'/style.css">', 0);
add_stylesheet('<link rel="stylesheet" href="'.G5_MSHOP_SKIN_URL.'/style.css">', 0);
?>
<?php if($config['cf_kakao_js_apikey']) { ?>
@ -14,7 +14,7 @@ add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_CSS_URL.'/style.css">', 0
</script>
<?php } ?>
<!-- 상품진열 10 시작 { -->
<!-- 메인상품진열 10 시작 { -->
<?php
$li_width = intval(100 / $this->list_mod);
$li_width_style = ' style="width:'.$li_width.'%;"';
@ -33,10 +33,10 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
else
$li_clear = '';
echo "<li class=\"sct_li{$li_clear}\"$li_width_style>\n";
echo "<li class=\"sct_li{$li_clear}\"$li_width_style><div class=\"li_wr\">\n";
if ($this->href) {
echo "<div class=\"sct_img\"><a href=\"{$this->href}{$row['it_id']}\" class=\"sct_a\">\n";
echo "<div class=\"sct_img\"><a href=\"{$this->href}{$row['it_id']}\">\n";
}
if ($this->view_it_img) {
@ -70,7 +70,19 @@ for ($i=0; $row=sql_fetch_array($result); $i++) {
echo "</div>\n";
}
echo "</li>\n";
if ($this->view_sns) {
$sns_top = $this->img_height + 10;
$sns_url = G5_SHOP_URL.'/item.php?it_id='.$row['it_id'];
$sns_title = get_text($row['it_name']).' | '.get_text($config['cf_title']);
echo "<div class=\"sct_sns\" style=\"top:{$sns_top}px\">";
echo get_sns_share_link('facebook', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/facebook.png');
echo get_sns_share_link('twitter', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/twitter.png');
echo get_sns_share_link('googleplus', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/gplus.png');
echo get_sns_share_link('kakaotalk', $sns_url, $sns_title, G5_MSHOP_SKIN_URL.'/img/sns_kakao.png');
echo "</div>\n";
}
echo "</div></li>\n";
}
if ($i > 0) echo "</ul>\n";