"; switch ($s_type){ // display page image //--------- select which search type case "north";{ $pg_image = "pg_foodnorth.gif"; break;} case "ne";{ $pg_image = "pg_foodne.gif"; break;} case "central";{ $pg_image = "pg_foodcentral.gif"; break;} case "south";{ $pg_image = "pg_foodsouth.gif"; break;} case "category";{ $pg_image = "pg_category.gif"; $search_select = $select_category; // from list in the search box break;} case "type";{ $pg_image = "pg_type.gif"; $search_select = $select_type; // from list in the search box break;} case "material";{ $pg_image = "pg_material.gif"; $search_select = $select_material; // from list in the search box break;} default : $pg_image = "pg_search.gif"; } // end switch if ($act == ""){ echo ""; } ?>
"เหนือ" , "ne" => "อีสาน" , "south" => "ใต้", "central" => "ภาคกลาง","category" => "หมวดอาหาร","type" => "ประเภทอาหาร","material" => "วัตถุดิบ", ); $search1 = $s_type; $search_word2 = $search_word2_array [$s_type]; // switch ($act){ case "";{ // come from search page or search box if ($search0 == ""){ $search0=$search_word; }else{ $search_word=$search0; } $search = array($search0,$search1); food_list($search,$search_word2,$search_select,$passlogin); break;} //--------- Display detail case "displaydetail";{ display_detail($id); break;} } // end switch ?>
 
 

" . $search_select . "
" . $query ; $totalpage = $nrow/$record_front; $display_search_select = $search_word2.$search_select; $search0 = $search[0]; // word $search1 = $search[1]; // search type $search2 = $search_select; // search select from search box ?>
แสดงผลการค้นหาอาหารที่มีคำว่า " " ใน " "
 พบรายการอาหารทั้งหมด :    รายการ หน้า
รูปเล็ก รายชื่ออาหาร อาหารภาค หมวดอาหาร ประเภท มีสูตร
/ไม่มีสูตร