Esempio n. 1
0
    public string Tao_Chuoi_HTML_Chi_tiet_Phim(XL_PHIM Phim, XL_NGUOI_DUNG_NOI_BO Nguoi_dung_Dang_nhap)
    {
        var Chuoi_HTML = $"<div>" +
                         $"{Tao_Chuoi_Chi_tiet_Phim(Phim)}" +
                         $"</div>";

        return(Chuoi_HTML);
    }
Esempio n. 2
0
    void Khoi_dong_Du_lieu_Ung_dung()
    {
        var Du_lieu_tu_Dich_vu = XL_DU_LIEU.Doc_Du_lieu();

        Du_lieu_Ung_dung = Du_lieu_tu_Dich_vu;
        var Khach_Tham_quan = new XL_NGUOI_DUNG_NOI_BO()
        {
            Ho_ten = "Khách Tham quan", Ma_so = "KHACH_THAM_QUAN"
        };

        Du_lieu_Ung_dung.Danh_sach_Nguoi_dung_Noi_bo.Add(Khach_Tham_quan);
    }
Esempio n. 3
0
    public string Tao_Chuoi_HTML_Xem_Man_hinh_Chinh(XL_NGUOI_DUNG_NOI_BO Nguoi_dung_Dang_nhap)
    {
        var Chuoi_HTML = $"<div class='container' style='padding-top:20px;'>" +
                         $"<h3>LỊCH CHIẾU " + Nguoi_dung_Dang_nhap.Rap.Ten.ToUpper() + $"</h3>" +
                         $"<form id='MH_CHI_TIET_PHIM' name='MH_CHI_TIET_PHIM' method='post' style='margin:30px 0px;'>" +
                         $"<label for='Th_Ngay'>Chọn ngày: </label>" +
                         $"<input id='Th_Ngay' name='Th_Ngay' type='date' value='2018-02-09' onchange='chonNgay(this.value)' style='margin-left:20px' />" +
                         $"<label for='Th_So_luong'>Số lượng vé: </label>" +
                         $"<input id='Th_So_luong' name='Th_So_luong' type='number' value='1' />" +
                         $"<input name='Th_Ma_so_Phim' id='Th_Ma_so_Phim' type='hidden' />" +
                         $"<input name='Th_Ma_so_Chuc_nang' type='hidden' value='CHON_SUAT_CHIEU' />" +
                         $"<input name='Th_Ma_so_Suat_chieu' id='Th_Ma_so_Suat_chieu' type='hidden' /><hr>" +
                         $"<div id='Kq'>" +
                         $"</div>" +
                         $"</form>" +
                         $"</div>";

        return(Chuoi_HTML);
    }