답변 2개 / 댓글 1개
채택된 답변
+20 포인트
10년 전
답변은 아닌데.. 질문을 하실때
코드 자체를 이미지로 하게 되면 답변자가 직접 이미지를 보고 적고 답변해야 하므로
아무래도 내용을 code 소스코드로 문의하시면 좋을 것 같아서 여담으로 말씀드립니다.
답변에 대한 댓글 1개
history
10년 전
Copy
while($row=sql_fetch_array($result)){ $row2 = sql_fetch(" select count(*) as cnt from {$g5['g5_shop_item_table']} where (ca_id like '{$row['ca_id']}%' or ca_id2 like '{$row['ca_id']}%' or ca_id3 like '{$row['ca_id']}%') and it_use = '1' "); /*서브메뉴 이미지추가 url*/ $img = G5_URL.'/img/'.$row['ca_id'].'.gif'; if($category_cnt == 0) $str .= '<a class="category_text_clear" href="./list.php?lts='.$_GET['lts'].'&ca_id='.$row['ca_id'].'" title="'.$row2['cnt'].'개의 상품이 있습니다."><Img src="'.$img.'">'; else $str .= '<a class="category_text" href="./list.php?lts='.$_GET['lts'].'&ca_id='.$row['ca_id'].'" title="'.$row2['cnt'].'개의 상품이 있습니다."><Img src="'.$img.'">'; if($category_cnt < ($total_category_cnt-1)) $str .= " | </a>"; else $str .= "</a>"; $exists = true; $category_cnt++; } if ($exists) { // add_stylesheet('css 구문', 출력순서); 숫자가 작을 수록 먼저 출력됨 add_stylesheet('<link rel="stylesheet" href="'.G5_SHOP_CSS_URL.'/style.css">', 0);?>
답변을 작성하려면 로그인이 필요합니다.