Merge branch 'master' of github.com:gnuboard/yc4s

This commit is contained in:
chicpro
2013-08-09 10:26:53 +09:00
3 changed files with 14 additions and 5 deletions

View File

@ -198,9 +198,9 @@ a.sanchor_on {background:#626870;color:#fff !important;text-decoration:none}
/* 콘텐츠별 스타일 */
.cnt_cmt {display:inline-block;margin:0 0 0 3px;font-weight:bold}
/* 버튼 */
.btn01 {display:inline-block;padding:0 10px;height:23px;border:1px solid #ccc !important;background:#fafafa !important;color:#000 !important;text-decoration:none !important;line-height:2.15em;vertical-align:middle}
.btn01 {display:inline-block;padding:0 10px;height:23px;border:1px solid #ccc !important;background:#fafafa !important;color:#000 !important;text-decoration:none !important;line-height:2.15em !important;line-height:2em;vertical-align:middle}
.btn01:focus, .btn01:hover {text-decoration:none !important}
.btn02 {display:inline-block;padding:0 10px;height:23px;border:1px solid #333 !important;background:#333 !important;color:#fff !important;text-decoration:none !important;line-height:2.15em;vertical-align:middle}
.btn02 {display:inline-block;padding:0 10px;height:23px;border:1px solid #333 !important;background:#333 !important;color:#fff !important;text-decoration:none !important;line-height:2.15em !important;line-height:2em;vertical-align:middle}
.btn02:focus, .btn02:hover {text-decoration:none !important}
button.btn01 {cursor:pointer}
button.btn02 {cursor:pointer}
@ -356,6 +356,10 @@ td.empty_table {padding:85px 0;text-align:center}
#sct_ct_2 a {display:inline-block;width:120px}
#sct_ct_3 li {float:left;margin:0 10px 10px 0;width:120px}
/* 상품 정렬 리스트 스타일 선택 공통 */
#sct_sortlst {zoom:1}
#sct_sortlst:after {display:block;visibility:hidden;clear:both;content:""}
/* 상품 정렬 */
#sct_sort {float:left;margin:0 0 10px;width:80%;zoom:1}
#sct_sort:after {display:block;visibility:hidden;clear:both;content:""}
@ -365,9 +369,9 @@ td.empty_table {padding:85px 0;text-align:center}
#sct_sort li {float:left;position:relative;margin-left:-1px}
/* 상품 리스트 스타일 선택 */
#sct_lst {float:right;margin:0 0 10px}
#sct_lst button {position:relative;margin:0 0 0 -5px;padding:0;width:25px;height:25px;border:1px solid #ccc;cursor:pointer}
#sct_lst button span {position:absolute;top:0;left:0;width:100%;height:100%;background:url('../shop/img/is_list_style.gif')}
#sct_lst {float:right;margin:0 0 10px;letter-spacing:-5px}
#sct_lst button {position:relative;margin:0;padding:0;width:25px;height:25px;border:0;cursor:pointer}
#sct_lst button span {position:absolute;top:0;left:0;width:23px;height:23px;border:1px solid #ccc;background:url('../shop/img/is_list_style.gif')}
#sct_lst button.sct_lst_list span {background-position:0 0}
#sct_lst button.sct_lst_list span.sct_lst_on {background-position:0 -30px}
#sct_lst button.sct_lst_gallery span {background-position:-30px 0}

View File

@ -73,10 +73,13 @@ if ($is_admin)
// 리스트 유형별로 출력
$list_file = G4_SHOP_SKIN_PATH.'/'.$ca['ca_skin'];
if (file_exists($list_file)) {
echo '<div id="sct_sortlst">';
include G4_SHOP_PATH.'/list.sort.php';
// 상품 보기 타입 변경 버튼
include G4_SHOP_PATH.'/list.sub.php';
echo '</div>';
// 총몇개 = 한줄에 몇개 * 몇줄
$items = $ca['ca_list_mod'] * $ca['ca_list_row'];

View File

@ -11,6 +11,8 @@
.sct_wrap h2 a {text-decoration:none}
.sct_wrap_hdesc {float:left;margin:0;padding:0;color:#777;line-height:1em}
#sct {clear:both}
.sct {margin:0;padding:0;list-style:none;zoom:1}
.sct:after {display:block;visibility:hidden;clear:both;content:""}
.sct_li {position:relative}