query($sql); while ($row = $db->fetchArray()) { $aboutMenu[] = $row; } $sql = "select * from infor where inf_show='1' order by inf_sort_id"; $db->query($sql); while ($row = $db->fetchArray()) { $inforMenu[] = $row; } $sql = "select * from admission where adm_show='1' order by adm_sort_id"; $db->query($sql); while ($row = $db->fetchArray()) { $admissionMenu[] = $row; } $sql = "select * from academic where aca_show='1' order by aca_sort_id"; $db->query($sql); while ($row = $db->fetchArray()) { $academicMenu[] = $row; } $sql = "select * from achieve where ach_show='1' order by ach_sort_id"; $db->query($sql); while ($row = $db->fetchArray()) { $achievementMenu[] = $row; } $sql = "select * from school where sch_show='1' order by sch_sort_id"; $db->query($sql); while ($row = $db->fetchArray()) { $schoollifeMenu[] = $row; } $db->query("select * from publication_cate order by cate_sort_id asc"); while($content = $db->fetchArray()) { $pubCate_list[]=$content; } $db->query("select * from class_cate where cate_show='1' order by cate_sort_id asc"); while($content = $db->fetchArray()) { $classCate_list[]=$content; } ?> Untitled Document