쇼핑몰: 상품목록 상품상세보기 링크와 SNS 보내기 링크 분리

This commit is contained in:
whitedot
2013-08-08 16:13:50 +09:00
parent 4c6eaed24f
commit 0b56b1e784
5 changed files with 17 additions and 16 deletions

View File

@ -53,6 +53,10 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
echo "<span class=\"sct_icon\">".item_icon($row)."</span>\n";
}
if ($this->href) {
echo "</a>\n";
}
if ($this->view_sns) {
echo "<div class=\"sct_sns\">";
echo get_sns_share_link('facebook', $sns_url, $sns_title, G4_SHOP_URL.'/img/sns_fb.png');
@ -61,10 +65,6 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
echo "</div>\n";
}
if ($this->href) {
echo "</a>\n";
}
echo "</li>\n";
}

View File

@ -53,6 +53,10 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
echo "<span class=\"sct_icon\">".item_icon($row)."</span>\n";
}
if ($this->href) {
echo "</a>\n";
}
if ($this->view_sns) {
echo "<div class=\"sct_sns\">";
echo get_sns_share_link('facebook', $sns_url, $sns_title, G4_SHOP_URL.'/img/sns_fb.png');
@ -61,10 +65,6 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
echo "</div>\n";
}
if ($this->href) {
echo "</a>\n";
}
echo "</li>\n";
}

View File

@ -56,6 +56,10 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
echo "<span class=\"sct_icon\">".item_icon($row)."</span>\n";
}
if ($this->href) {
echo "</a>\n";
}
if ($this->view_sns) {
echo "<div class=\"sct_sns\">";
echo get_sns_share_link('facebook', $sns_url, $sns_title, G4_SHOP_URL.'/img/sns_fb.png');
@ -64,10 +68,6 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
echo "</div>\n";
}
if ($this->href) {
echo "</a>\n";
}
echo "</li>\n";
}

View File

@ -58,6 +58,10 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
echo "<span class=\"sct_icon\">".item_icon($row)."</span>\n";
}
if ($this->href) {
echo "</a>\n";
}
if ($this->view_sns) {
echo "<div class=\"sct_sns\">";
echo get_sns_share_link('facebook', $sns_url, $sns_title, G4_SHOP_URL.'/img/sns_fb.png');
@ -66,10 +70,6 @@ for ($i=1; $row=sql_fetch_array($result); $i++) {
echo "</div>\n";
}
if ($this->href) {
echo "</a>\n";
}
// 관련상품
echo "<div class=\"sct_rel\">".relation_item($row['it_id'], 70, 0, 5)."</div>\n";

View File

@ -17,6 +17,7 @@
.sct_noitem {padding:100px 0;text-align:center}
.sct img {position:relative} /* 리스트뷰 갤러리뷰 변경 시 ie6,7 에서 이미지 사라지는 문제 해결하기 위해 */
.sct_icon img {margin:0 1px 0 0}
.sct_sns img {margin:0 0 0 4px}
/* 상품 목록 스킨 10 */
.sct_10 .sct_li {float:left;margin:0 25px 15px 0}