Ȩ > > >
|
0) {?>

0 ¿ø Ç°Àý"; } ?>

"; } ?>
1) { ?>

0 ¿ø Ç°Àý"; } ?>

"; } ?>
ÇöÀç µî·ÏµÈ È÷Æ®»óÇ°ÀÌ ¾ø½À´Ï´Ù.

"; ?>
ÃÑ °³
total.innerHTML = '$total';"; if(!$page) $page = 1; $offset = ($page - 1) * $listnumber; $totalpage = intval($total/$listnumber); if ($totalpage*$listnumber != $total) $totalpage = $totalpage + 1; $que = "select * from shop_list "; if(!$sk_code) { $que .= "where goods_regist=1 and middle_code='$sm_code' "; } else { $que .= "where goods_regist=1 and kind_code='$sk_code' "; } if($search_opt == "new") $que .= "order by goods_new desc, regist_date desc limit $offset,$listnumber"; else if($search_opt == "low_price") $que .= "order by goods_price asc limit $offset,$listnumber"; else if($search_opt == "high_price") $que .= "order by goods_price desc limit $offset,$listnumber"; else if($search_opt == "low_name") $que .= "order by goods_name asc limit $offset,$listnumber"; else if($search_opt == "high_name") $que .= "order by goods_name desc limit $offset,$listnumber"; else if($search_opt == "favor") $que .= "order by goods_counter desc limit $offset,$listnumber"; else $que .= "order by num desc limit $offset,$listnumber"; $result = mysql_query($que, $conn); $j=0; while($row = mysql_fetch_array($result)) { $code = $row["code"]; $upper_code = $row["upper_code"]; $middle_code = $row["middle_code"]; $kind_code = $row["kind_code"]; $goods_price = $row["goods_price"]; $goods_name = $row["goods_name"]; $goods_make = $row["goods_make"]; $goods_color = $row["goods_color"]; $goods_size = $row["goods_size"]; $goods_content = $row["goods_content"]; $goods_counter = $row["goods_counter"]; $regist_date = $row["regist_date"]; $goods_date = $row["goods_date"]; $goods_regist = intval($row["goods_regist"]); $goods_main_hit = $row["goods_main_hit"]; $goods_main_today = $row["goods_main_today"]; $goods_best = $row["goods_best"]; $goods_sub_best = $row["goods_sub_best"]; $goods_new = $row["goods_new"]; $goods_event = $row["goods_event"]; $imgurl1 = $row["imgurl1"]; $imgurl2 = $row["imgurl2"]; $imgurl3 = $row["imgurl3"]; $imgurl4 = $row["imgurl4"]; $imgurl5 = $row["imgurl5"]; $imgurl6 = $row["imgurl6"]; $imgurl7 = $row["imgurl7"]; $imgurl8 = $row["imgurl8"]; $imgurl9 = $row["imgurl9"]; $imgurl10 = $row["imgurl10"]; if($j % 3 == 0) { ?>  "; } else if($j%3 == 2) { echo ""; } ?>
 
0 ¿ø Ç°Àý"; } ?>
"; } ?>
 
 
$pagenumber) { $curpage = $startpage - 1; echo " "; } ?> [$page] "; } else { echo "[$curpage] "; } $curpage++; endwhile ; ?> $endpage) { $curpage = $endpage + 1; echo ""; } ?>

   
   
0) { switch($chours) { case '0' : $que = "update counter set zero=zero + 1 where cdate='$cdate'"; mysql_query($que, $conn); break; case '1' : $que = "update counter set one=one + 1 where cdate='$cdate'"; mysql_query($que, $conn); break; case '2' : $que = "update counter set two=two + 1 where cdate='$cdate'"; mysql_query($que, $conn); break; case '3' : $que = "update counter set three=three + 1 where cdate='$cdate'"; mysql_query($que, $conn); break; case '4' : $que = "update counter set four=four + 1 where cdate='$cdate'"; mysql_query($que, $conn); break; case '5' : $que = "update counter set five=five + 1 where cdate='$cdate'"; mysql_query($que, $conn); break; case '6' : $que = "update counter set six=six + 1 where cdate='$cdate'"; mysql_query($que, $conn); break; case '7' : $que = "update counter set seven=seven + 1 where cdate='$cdate'"; mysql_query($que, $conn); break; case '8' : $que = "update counter set eight=eight + 1 where cdate='$cdate'"; mysql_query($que, $conn); break; case '9' : $que = "update counter set nine=nine + 1 where cdate='$cdate'"; mysql_query($que, $conn); break; case '10' : $que = "update counter set ten=ten + 1 where cdate='$cdate'"; mysql_query($que, $conn); break; case '11' : $que = "update counter set eleven=eleven + 1 where cdate='$cdate'"; mysql_query($que, $conn); break; case '12' : $que = "update counter set twelve=twelve + 1 where cdate='$cdate'"; mysql_query($que, $conn); break; case '13' : $que = "update counter set thirteen=thirteen + 1 where cdate='$cdate'"; mysql_query($que, $conn); break; case '14' : $que = "update counter set fourteen=fourteen + 1 where cdate='$cdate'"; mysql_query($que, $conn); break; case '15' : $que = "update counter set fifteen=fifteen + 1 where cdate='$cdate'"; mysql_query($que, $conn); break; case '16' : $que = "update counter set sixteen=sixteen + 1 where cdate='$cdate'"; mysql_query($que, $conn); break; case '17' : $que = "update counter set seventeen=seventeen + 1 where cdate='$cdate'"; mysql_query($que, $conn); break; case '18' : $que = "update counter set eighteen=eighteen + 1 where cdate='$cdate'"; mysql_query($que, $conn); break; case '19' : $que = "update counter set nineteen=nineteen + 1 where cdate='$cdate'"; mysql_query($que, $conn); break; case '20' : $que = "update counter set twenty=twenty + 1 where cdate='$cdate'"; mysql_query($que, $conn); break; case '21' : $que = "update counter set twentyone=twentyone + 1 where cdate='$cdate'"; mysql_query($que, $conn); break; case '22' : $que = "update counter set twentytwo=twentytwo + 1 where cdate='$cdate'"; mysql_query($que, $conn); break; case '23' : $que = "update counter set twentythree=twentythree + 1 where cdate='$cdate'"; mysql_query($que, $conn); break; } } else { $que = "insert into counter(cdate) values('$cdate')"; mysql_query($que, $conn); } } ?>