[쇼핑몰] 출력 순서 셀렉트에서 리스트 모양을 변경
본문
<select id=it_sort name=sort onchange="if (this.value=='') return; document.location = '<? echo "$_SERVER[PHP_SELF]?ca_id=$ca_id&skin=$skin&ev_id=$ev_id&sort=" ?>'+this.value;" class=small>
<option value=''>출력 순서
<option value=''>---------
<option value='it_amount asc'>낮은가격순
<option value='it_amount desc'>높은가격순
<option value='it_name asc'>상품명순
<option value='it_type1 desc'>히트상품
<option value='it_type2 desc'>추천상품
<option value='it_type3 desc'>최신상품
<option value='it_type4 desc'>인기상품
<option value='it_type5 desc'>할인상품
</select>
를
<a href="<? echo "$_SERVER[PHP_SELF]?ca_id=$ca_id&skin=$skin&ev_id=$ev_id&sort=it_amount asc" ?>"?>낮은가격</a>
<a href="<? echo "$_SERVER[PHP_SELF]?ca_id=$ca_id&skin=$skin&ev_id=$ev_id&sort=it_amount desc" ?>"?>높은가격</a>
<a href="<? echo "$_SERVER[PHP_SELF]?ca_id=$ca_id&skin=$skin&ev_id=$ev_id&sort=it_name asc" ?>"?>상품명</a>
<a href="<? echo "$_SERVER[PHP_SELF]?ca_id=$ca_id&skin=$skin&ev_id=$ev_id&sort=it_maker asc" ?>"?>제조사</a>
<a href="<? echo "$_SERVER[PHP_SELF]?ca_id=$ca_id&skin=$skin&ev_id=$ev_id&sort=it_type3 desc" ?>"?>신상품</a>
<option value=''>출력 순서
<option value=''>---------
<option value='it_amount asc'>낮은가격순
<option value='it_amount desc'>높은가격순
<option value='it_name asc'>상품명순
<option value='it_type1 desc'>히트상품
<option value='it_type2 desc'>추천상품
<option value='it_type3 desc'>최신상품
<option value='it_type4 desc'>인기상품
<option value='it_type5 desc'>할인상품
</select>
를
<a href="<? echo "$_SERVER[PHP_SELF]?ca_id=$ca_id&skin=$skin&ev_id=$ev_id&sort=it_amount asc" ?>"?>낮은가격</a>
<a href="<? echo "$_SERVER[PHP_SELF]?ca_id=$ca_id&skin=$skin&ev_id=$ev_id&sort=it_amount desc" ?>"?>높은가격</a>
<a href="<? echo "$_SERVER[PHP_SELF]?ca_id=$ca_id&skin=$skin&ev_id=$ev_id&sort=it_name asc" ?>"?>상품명</a>
<a href="<? echo "$_SERVER[PHP_SELF]?ca_id=$ca_id&skin=$skin&ev_id=$ev_id&sort=it_maker asc" ?>"?>제조사</a>
<a href="<? echo "$_SERVER[PHP_SELF]?ca_id=$ca_id&skin=$skin&ev_id=$ev_id&sort=it_type3 desc" ?>"?>신상품</a>
추천0
댓글목록 0
등록된 댓글이 없습니다.