// ---------------------------------------------------------- // ÇÏÀ§Ä«Å×°í¸®°¡ ¾øÀ¸¸é »óǰ¸®½ºÆ®·Î.. // ---------------------------------------------------------- if(!$ps_ctid){ $tmp_level = "1"; $where = " where category_depth = '$tmp_level' and approval_date > 0 "; $total_count = morning_counter($morning_category_table, "$where", "*"); } if($ps_ctid){ $tmp_level = category_level($ps_ctid)+1; $ps_ctid_tw = substr($ps_ctid, 0, (($tmp_level-1)*2)); $ct = " and substring(category_id,1,(($tmp_level-1)*2)) = '$ps_ctid_tw'"; $where = " where category_depth = '$tmp_level' and approval_date > 0 $ct "; $total_count = morning_counter($morning_category_table, "$where", "*"); } if($total_count < 1){ move_page("m_mall_list.php?ps_ctid=$ps_ctid"); exit; } ?>
if($ps_ctid > 0){ echo make_navigation_mobile($mc_list[category_name],"mbi_category.php?ps_ctid=$ps_ctid",$ps_ctid,"1"); }else{ echo "HOME > Ä«Å×°í¸®"; } ?> |