function hop_chon_capdo()
{
    $thuoc_danhmuc = $_REQUEST['thuoc_danhmuc'];
    echo "<select name=\"capdo\"  onchange=\"lienket_quanly_dulieu_menu_doc_1(this.value)\">";
    echo "<option value=\"\" >--- Chon ---</option>";
    $cap1_lan1_chuoi = "select * from menu where thuoc_danhmuc like '{$thuoc_danhmuc}' order by id";
    $cap1_lan1_truyvan = mysql_query($cap1_lan1_chuoi);
    while ($mang_cap1_lan1_dulieu = mysql_fetch_array($cap1_lan1_truyvan)) {
        if ($id == $mang_cap1_lan1_dulieu['id']) {
            $sl = 'selected';
        } else {
            $sl = '';
        }
        print '<option value="' . $mang_cap1_lan1_dulieu['id'] . '" $sl>' . $mang_cap1_lan1_dulieu['ten'] . '</option>';
        dequy_option__mnn($mang_cap1_lan1_dulieu['id'], "");
    }
    echo "</select>";
}
 function xuat_menu_option_quanly()
 {
     $this->javascript();
     echo "<span style=\"font-weight:bold\">Chọn chủ đề :</span>";
     echo "\n<select style=\"margin-left:20px\" onchange=\"lienket_quanly_dulieu_menu_doc(this.value)\">\n";
     echo "<option value=\"\">Toàn bộ sản phẩm</option>";
     $cap1_lan1_chuoi = "select * from menu where thuoc_menu in('') order by id";
     $cap1_lan1_truyvan = mysql_query($cap1_lan1_chuoi);
     while ($mang_cap1_lan1_dulieu = mysql_fetch_array($cap1_lan1_truyvan)) {
         if ($_GET['id'] == "") {
             $selected = "";
         } else {
             if ($_GET['id'] == $mang_cap1_lan1_dulieu['id']) {
                 $selected = "selected";
             } else {
                 $selected = "";
             }
         }
         print '<option value="' . $mang_cap1_lan1_dulieu['id'] . '" ' . $selected . '>' . $mang_cap1_lan1_dulieu['ten'] . '</option>';
         dequy_option__mnn($mang_cap1_lan1_dulieu['id'], "");
     }
     echo "\n</select>\n";
 }
function hop_chon_capdo()
{
    echo "<select name=\"capdo\">";
    $cap1_lan1_chuoi = "select * from menu where thuoc_menu in('') order by id";
    $cap1_lan1_truyvan = mysql_query($cap1_lan1_chuoi);
    while ($mang_cap1_lan1_dulieu = mysql_fetch_array($cap1_lan1_truyvan)) {
        print '<option value="' . $mang_cap1_lan1_dulieu['id'] . '">' . $mang_cap1_lan1_dulieu['ten'] . '</option>';
        dequy_option__mnn($mang_cap1_lan1_dulieu['id'], "");
    }
    echo "</select>";
}