403Webshell
Server IP : 103.161.17.216  /  Your IP : 216.73.216.130
Web Server : nginx/1.18.0
System : Linux tipsysaigoncharming 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : www-data ( 33)
PHP Version : 7.4.3-4ubuntu2.29
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/greencity.vinhomeshcm.info/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/greencity.vinhomeshcm.info/index.html
<!DOCTYPE html>
<html lang="vi">
<head>

  <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
  new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
  j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
  'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
  })(window,document,'script','dataLayer','GTM-WM7X9667');</script>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css">
  <link href="https://fonts.googleapis.com/css2?family=Lexend&display=swap" rel="stylesheet">

  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>The Win City | THẮNG ĐỜI 1 TỔ ẤM. Nơi ta sống - Ta vô lo - Ta hạnh phúc</title>
  <link rel="manifest" href="/manifest.json">

  <meta name="description" content="Sắp xuất hiện mùa hè này tại Đức Hoà - Tây Ninh">
  <meta name="keywords" content="The Win City, dự án Đức Hòa, bất động sản Long An, chung cư, khu đô thị Long An">
  <meta name="robots" content="index, follow">
  <meta name="author" content="Thewincity">

  <meta property="og:title" content="The Win City | THẮNG ĐỜI 1 TỔ ẤM Nơi ta sống - Ta vô lo - Ta hạnh phúc">
  <meta property="og:description" content="Sắp xuất hiện mùa hè này tại Đức Hoà - Tây Ninh.">
  <meta property="og:image" content="https://thewincity.vn/thumbnail.jpg">
  <meta property="og:url" content="https://thewincity.vn">
  <meta property="og:type" content="website">

  <link rel="icon" href="/favicon.ico" type="image/x-icon">
  <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
  <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
  <link rel="manifest" href="/site.webmanifest">

  <style>
  @keyframes shake {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(8deg); }
  50% { transform: rotate(-8deg); }
  75% { transform: rotate(3deg); }
  100% { transform: rotate(0deg); }
}

    body {
      margin: 0;
      padding: 0;
    }

    .hero-banner {
      width: 100%;
      aspect-ratio: 16 / 9;
      background-image: url('desktop.jpg');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }

    @media screen and (max-width: 768px) {
      .hero-banner {
        background-image: url('mobile.jpg');
        aspect-ratio: 9 / 16;
      }
    }


  /* tao song */  


    /* Nút đặt lịch nổi */
    .btn-datlich::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  animation: ripple 1.5s infinite;
  z-index: 0;
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.8);
    opacity: 0;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

  .btn-datlich {
  position: fixed;
  bottom: 24px;
  left: 24px;
  animation: shake 2s infinite;
  background-color: #cc4400;
  color: white;
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  font-size: 14px;
}

/* Icon luôn hiện và căn giữa */
.btn-datlich .icon {
  position: relative;
  z-index: 1; /* nổi lên trên ripple */
  font-size: 20px;
  color: white;
}
/* Text bị ẩn hoàn toàn ban đầu */
.btn-datlich .text {
  display: none; /* ❌ KHÔNG dùng opacity/visibility */
  margin-left: 15px;
  font-weight: bold;
  font-size: 14px;
  white-space: nowrap;
  color: white;
  font-family: 'Lexend', sans-serif;
}

/* Hover: mở rộng nút + hiển thị chữ */
.btn-datlich:hover {
  width: 180px;
  border-radius: 30px;
  justify-content: flex-start;
  padding-left: 20px;
  padding-right: 16px;
}

.btn-datlich:hover .text {
  display: inline; /* ✅ Chỉ hiện khi hover */
}


/* Hiệu ứng ripple */
.btn-datlich .ripple {
  position: absolute;
  width: 90px;              /* To hơn nút */
  height: 90px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: ripple-pulse 2s infinite;
  z-index: 1;
}

@keyframes ripple-pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  70% {
    transform: translate(-50%, -50%) scale(1.6);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.6);
    opacity: 0;
  }
}

    /* Popup form */
    .popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  width: 80%;
  max-width: 400px;
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center; /* ✅ Căn giữa nội dung bên trong */
  text-align: center;
}

.popup-content h3 {
  margin-bottom: 1rem;
  font-family: 'Lexend', sans-serif;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  color: #333;
  cursor: pointer;
}

.popup-content form {
  width: 100%; /* ✅ Đảm bảo form chiếm hết chiều ngang */
  display: flex;
  flex-direction: column;
  align-items: center; /* ✅ Căn giữa các trường */
  font-family: 'Lexend', sans-serif;
}

.popup-content input,
.popup-content button {
  width: 100%;
  padding: 0.75rem;
  margin: 0.5rem 0;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.popup-content button {
  background-color: #f1793b;
  color: white;
  font-weight: bold;
  border: none;
  cursor: pointer;
  font-family: 'Lexend', sans-serif;
}

.popup-content button:hover {
  background-color: #d45d1f;
}
.popup-content select {
  width: 100%;
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 8px;
  border: 2px solid #f1793b;
  font-size: 16px;
  font-weight: bold;
  background-color: #fff8f3;
  color: #333;
  box-shadow: 0 0 8px rgba(241, 121, 59, 0.2);
  transition: border 0.3s ease, box-shadow 0.3s ease;
  font-family: 'Lexend', sans-serif;
}

.popup-content select:focus {
  border-color: #d45d1f;
  box-shadow: 0 0 12px rgba(212, 93, 31, 0.4);
  outline: none;
}

.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10001;
  background: rgba(0, 0, 0, 0.4); /* Nền trong suốt */
  backdrop-filter: blur(10px);
  padding: 12px 24px;
  box-sizing: border-box;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Lexend', sans-serif;
}

.nav-left, .nav-right {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 20px;
}

.nav-left li a, .nav-right li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  transition: color 0.3s;
}

.nav-left li a:hover, .nav-right li a:hover {
  color: #f1793b;
}

.nav-logo img {
  height: 50px;
}

/* Responsive cho mobile */
@media screen and (max-width: 768px) {
  .nav-container {
    flex-direction: column;
  }
  .nav-left, .nav-right {
    flex-direction: column;
    gap: 10px;
    margin: 10px 0;
  }

}



/* Mặc định ẩn hamburger + mobile menu */
.hamburger {
  display: none;
  font-size: 26px;
  color: white;
  cursor: pointer;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  max-width: 300px;
  background-color: #fff;
  box-shadow: -2px 0 10px rgba(0,0,0,0.2);
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: right 0.3s ease;
  z-index: 10002;
}

.mobile-menu a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  transition: color 0.2s ease;
}

.mobile-menu a:hover {
  color: #f1793b;
}

.close-mobile {
  font-size: 28px;
  text-align: right;
  cursor: pointer;
  margin-bottom: 20px;
  color: #333;
}

/* Responsive behavior */
@media screen and (max-width: 768px) {
  .nav-left,
  .nav-right.desktop {
    display: none;
  }

  .hamburger.mobile {
    display: block;
  }

  .nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  background-color: #f1793b; /* màu nền menu */
  position: relative;
  z-index: 10001;
}

/* Giữ logo ở giữa */
.nav-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* Mobile hamburger luôn ở cuối cùng bên phải */
.hamburger.mobile {
  margin-left: auto;
}

}

.mobile-menu a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-family: 'Lexend', sans-serif;
  font-size: 16px;
  transition: color 0.2s ease;
  padding: 12px 0; /* Khoảng cách trên dưới */
  border-bottom: 1px solid #f1793b; /* Đường ngăn cách màu cam */
  display: block;
}

.mobile-menu a:last-child {
  border-bottom: none; /* Không cần đường kẻ ở mục cuối */
}


@media screen and (max-width: 768px) {
  #gioithieu {
    flex-direction: column;
  }

  #gioithieu > div {
    max-width: 100% !important;
  }

  #gioithieu img {
    max-height: 400px;
    height: auto;
    width: 100%;
  }
}

.tienich-container {
  display: flex;
  flex-wrap: nowrap; /* Giữ 2 cột trên cùng 1 hàng */
  justify-content: space-between;
  align-items: stretch;
}

.tienich-menu {
  flex: 1 1 50%;
  max-width: 50%;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 cột trong menu tiện ích */
  gap: 16px;
  box-sizing: border-box;
}

.tienich-item {
  background-color: #ffffff;
  border: 2px solid #f1793b;
  color: #333;
  padding: 16px;
  font-weight: bold;
  font-size: 16px;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.tienich-item:hover {
  background-color: #f1793b;
  color: white;
  transform: scale(1.03);
}

.tienich-image {
  flex: 1 1 50%;
  max-width: 50%;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.tienich-image img {
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}
@media screen and (max-width: 768px) {
  .tienich-container {
    flex-direction: column;
  }

  .tienich-menu,
  .tienich-image {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .tienich-item {
    flex: 1 1 100%;
  }
}

.tienich-title-wrapper {
  display: flex;
  align-items: center;
  margin: 60px 20px 30px;
  font-family: 'Lexend', sans-serif;
}

.tienich-title-box {
  background-color: #f1793b;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  white-space: nowrap;
  z-index: 2;
  position: relative;
}

.tienich-title-line {
  flex: 1;
  height: 2px;
  background-color: #f1793b;
  margin-left: 12px;
  border-radius: 2px;
  z-index: 1;
}

/* Mặt bằng Tabs CSS */
.matbang-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap; /* Allow tabs to wrap on smaller screens */
}

.matbang-tab-button {
  background-color: #004a8e; /* Darker blue for active tab */
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  margin: 0 5px 10px; /* Add margin-bottom for wrapping */
  transition: background-color 0.3s ease;
}

.matbang-tab-button.active {
  background-color: #005baa; /* Active tab color */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.matbang-tab-button:hover:not(.active) {
  background-color: #003f7a;
}

.matbang-slider-container {
  display: none; /* Hidden by default */
  position: relative;
  max-width: 1000px;
  margin: auto;
  overflow: hidden;
  padding: 20px 0;
}

.matbang-slider-container.active {
  display: block; /* Show when active */
}

.matbang-slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide-image {
  min-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255,255,255,0.7);
  color: #005baa;
  border: none;
  padding: 12px;
  cursor: pointer;
  font-size: 24px;
  border-radius: 50%;
  z-index: 1;
}

.slide-btn:hover {
  background-color: white;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.4s ease, opacity 0.4s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.gallery-item img:hover {
  transform: scale(1.05);
  opacity: 0.85;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.news-item {
  background: #fafafa;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.news-item:hover {
  transform: translateY(-4px);
}

.news-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}

.news-item h3 {
  font-size: 18px;
  color: #f1793b;
  margin: 8px 0;
}

.news-item p {
  font-size: 15px;
  color: #444;
  line-height: 1.5;
  margin-bottom: 16px;
}

.btn-readmore {
  padding: 8px 16px;
  background: white;
  border: 2px solid #f1793b;
  color: #f1793b;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s, color 0.3s;
  display: inline-block;
}

.btn-readmore:hover {
  background: #f1793b;
  color: white;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: center;
}

.partner-logos img {
  height: 150px;
  object-fit: contain;
  filter: grayscale(0);
  transition: filter 0.3s ease;
}

.partner-logos img:hover {
  filter: grayscale(100%);
}

footer form input,
footer form select,
footer form button {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border-radius: 6px;
  border: none;
  font-family: 'Lexend', sans-serif;
  box-sizing: border-box;
}

footer form input,
footer form select {
  border: 1px solid #ccc;
}

footer form select {
  background-color: #fff8f3;
  border: 2px solid #f1793b;
  font-weight: bold;
  color: #333;
}

footer form select:focus {
  outline: none;
  border-color: #d45d1f;
  box-shadow: 0 0 8px rgba(212, 93, 31, 0.3);
}

footer form button {
  background-color: #f1793b;
  color: white;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

footer form button:hover {
  background-color: #d45d1f;
}

.location-box {
    
    padding: 16px 20px;
    font-family: 'Lexend', sans-serif;
    color: white;
    font-size: 14px;
    line-height: 1.5;
  }

  .location-box h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.2;
  }

  .location-box h3 {
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 16px;
    line-height: 1.2;
  }

  .location-box p span {
    color: #f9a825;
    font-size: 18px;
    font-weight: 600;
  }

  @media screen and (min-width: 1024px) {
    .location-box {
      padding-left: 300px;
    }
  }

  </style>
</head>

<body>
  <header class="main-header">
  <nav class="nav-container">
    <div class="nav-left">
      <a href="#gioithieu">Giới thiệu</a>
      <a href="#vitri">Vị trí</a>
      <a href="#tienich">Tiện ích</a>
      <a href="#matbang">Mặt bằng</a>
    </div>

    <div class="nav-logo">
      <a href="/"><img src="/logo.png" alt="The Win City Logo"></a>
    </div>

    <div class="nav-right desktop">
      <a href="#thuvien">Thư viện</a>
      <a href="#tintuc">Tin tức</a>
      <a href="#lienhe">Liên hệ</a>
    </div>

    <div class="hamburger mobile" onclick="toggleMobileMenu()">
      <i class="fas fa-bars"></i>
    </div>
  </nav>

  <div class="mobile-menu" id="mobileMenu">
    <span class="close-mobile" onclick="toggleMobileMenu()">×</span>
    <a href="#gioithieu">Giới thiệu</a>
    <a href="#vitri">Vị trí</a>
    <a href="#tienich">Tiện ích</a>
    <a href="#matbang">Mặt bằng</a>
    <a href="#thuvien">Thư viện</a>
    <a href="#tintuc">Tin tức</a>
    <a href="#lienhe">Liên hệ</a>
  </div>
</header>

  <div class="hero-banner"></div>
 <section id="gioithieu" style="display: flex; flex-wrap: wrap; align-items: center; padding: 60px 20px; background-color: #f7f7f7; font-family: 'Lexend', sans-serif;">
  <div style="flex: 1 1 50%; max-width: 50%; padding: 20px; box-sizing: border-box;">
    <!-- THAY H2 BẰNG IMG -->
    <img src="/images/titlegt.png" alt="Tiêu đề Giới thiệu" style="max-width: 100%; height: auto; margin-bottom: 20px;">
    
   <p style="font-size: 16px; color: #444; line-height: 1.6; white-space: pre-line;">
<b>Nằm tại vị trí trung tâm của đại đô thị The Win City</b>, Celesta là phân khu căn hộ cao tầng mang phong cách hiện đại, được thiết kế để trở thành điểm nhấn sống động giữa lòng khu đô thị kiểu mẫu phía Tây TP.HCM.

💎 <b>Tổng quan phân khu Celesta</b>  
🔹 <b>Loại hình:</b> Căn hộ chung cư cao tầng  
🔹 <b>Chiều cao:</b> 15–20 tầng  
🔹 <b>Diện tích căn hộ:</b> Từ 45m² – 120m² (1PN – 3PN, có căn hộ Dual Key & căn hộ sân vườn)  
🔹 <b>Phong cách thiết kế:</b> Tối giản hiện đại, chú trọng ánh sáng và không gian mở  
🔹 <b>Đơn vị phát triển:</b> Tập đoàn Bất động sản hàng đầu Việt Nam  
🔹 <b>Mật độ xây dựng thấp</b>, ưu tiên không gian xanh và tiện ích cộng đồng
</p>
  </div>
  <div style="flex: 1 1 50%; max-width: 50%; padding: 20px; text-align: center; box-sizing: border-box;">
    <img src="/tongquan.jpg" alt="Giới thiệu" style="width: 100%; max-width: 600px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.1);">
  </div>
</section>


<div class="tienich-title-wrapper">
  <div class="tienich-title-box">Vị Trí</div>
  <div class="tienich-title-line"></div>
 </div>
<section id="vitri" style="position: relative; width: 100%; height: 600px; background-image: url('vitri.jpg'); background-size: cover; background-position: center; display: flex; align-items: center;">
  
  <!-- Thêm link font nếu chưa có -->
<link href="https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;600&display=swap" rel="stylesheet">

<div class="location-box">

  <h2>Kết nối tâm điểm</h2>

  <p><span>05</span> phút<br>
    BV Đa Khoa Hậu Nghĩa - CS2<br>
    BV Đa Khoa Tân Tạo, TT. Đức Hòa/ Bình Chánh</p>

  <p><span>10</span> phút<br>
    ĐH Tân Tạo, TT. Hậu Nghĩa</p>

  <p><span>15</span> phút<br>
    BV Xuyên Á, BV Hậu Nghĩa, TT. Hậu Nghĩa</p>

  <p><span>20</span> phút<br>
    Vĩnh Lộc, Chợ Đệm - Tân Tạo, QL1A</p>

  <p><span>25</span> phút<br>
    Aeon Mall, BV Nhi Đồng, Củ Chi, Bến Lức</p>

  <p><span>30</span> phút<br>
    Sân bay TSN, cao tốc HCM - Trung Lương,<br>
    Chợ Bình Điền, Trung tâm TP.HCM</p>
</div>

</section>


<section id="tienich" class="tienich-section">

  <div class="tienich-title-wrapper">
  <div class="tienich-title-box">Tiện ích</div>
  <div class="tienich-title-line"></div>
 </div>
  <div class="tienich-container">
    <div class="tienich-menu">
      <div class="tienich-item" data-image="/images/congvien.jpg">Công viên trung tâm</div>
      <div class="tienich-item" data-image="/images/tienich3.jpg">Hồ bơi resort</div>
      <div class="tienich-item" data-image="/images/tienich3.jpg">Khu thể thao đa năng</div>
      <div class="tienich-item" data-image="/images/tienich3.jpg">Trường học quốc tế</div>
      <div class="tienich-item" data-image="/images/tienich3.jpg">Khu thương mại</div>
      <div class="tienich-item" data-image="/images/tienich3.jpg">Bệnh viện tiêu chuẩn</div>
      <div class="tienich-item" data-image="/images/tienich3.jpg">Công viên trung tâm</div>
      <div class="tienich-item" data-image="/images/tienich3.jpg">Hồ bơi resort</div>
      <div class="tienich-item" data-image="/images/tienich3.jpg">Khu thể thao đa năng</div>
      <div class="tienich-item" data-image="/images/tienich3.jpg">Trường học quốc tế</div>
      <div class="tienich-item" data-image="/images/tienich3.jpg">Khu thương mại</div>
      <div class="tienich-item" data-image="/images/tienich3.jpg">Bệnh viện tiêu chuẩn</div>
    </div>
    <div class="tienich-image" id="tienichImage">
      <img src="/images/congvien.jpg" alt="Tiện ích" id="mainTienichImage">
    </div>
  </div>
</section>

<section id="matbang" style="background-color: #2ac1a0; padding: 60px 20px; color: white; font-family: 'Lexend', sans-serif;">
  <div class="tienich-title-wrapper">
    <div class="tienich-title-box">Mặt bằng</div>
    <div class="tienich-title-line" style="background-color: white;"></div>
  </div>

  <div class="matbang-tabs">
    <button class="matbang-tab-button active" onclick="showMatBangTab('tab1', this)">Tầng 1-5</button>
    <button class="matbang-tab-button" onclick="showMatBangTab('tab2', this)">Tầng 6-10</button>
    <button class="matbang-tab-button" onclick="showMatBangTab('tab3', this)">Tầng 11-20</button>
    <button class="matbang-tab-button" onclick="showMatBangTab('tab4', this)">Tầng 21-30</button>
  </div>

  <div id="matbang-tab1" class="matbang-slider-container active">
    <button class="slide-btn prev" onclick="plusSlides(-1, 'tab1')">&#10094;</button>
    <div class="matbang-slides">
      <img src="images/matbang1.jpg" class="slide-image" alt="Mặt bằng 1-5, Ảnh 1">
      <img src="images/matbang2.jpg" class="slide-image" alt="Mặt bằng 1-5, Ảnh 2">
      <img src="images/matbang3.jpg" class="slide-image" alt="Mặt bằng 1-5, Ảnh 3">
    </div>
    <button class="slide-btn next" onclick="plusSlides(1, 'tab1')">&#10095;</button>
  </div>

  <div id="matbang-tab2" class="matbang-slider-container">
    <button class="slide-btn prev" onclick="plusSlides(-1, 'tab2')">&#10094;</button>
    <div class="matbang-slides">
      <img src="images/matbang4.jpg" class="slide-image" alt="Mặt bằng 6-10, Ảnh 1">
      <img src="images/matbang5.jpg" class="slide-image" alt="Mặt bằng 6-10, Ảnh 2">
    </div>
    <button class="slide-btn next" onclick="plusSlides(1, 'tab2')">&#10095;</button>
  </div>

  <div id="matbang-tab3" class="matbang-slider-container">
    <button class="slide-btn prev" onclick="plusSlides(-1, 'tab3')">&#10094;</button>
    <div class="matbang-slides">
      <img src="images/matbang6.jpg" class="slide-image" alt="Mặt bằng 11-20, Ảnh 1">
      <img src="images/matbang7.jpg" class="slide-image" alt="Mặt bằng 11-20, Ảnh 2">
      <img src="images/matbang8.jpg" class="slide-image" alt="Mặt bằng 11-20, Ảnh 3">
    </div>
    <button class="slide-btn next" onclick="plusSlides(1, 'tab3')">&#10095;</button>
  </div>

  <div id="matbang-tab4" class="matbang-slider-container">
    <button class="slide-btn prev" onclick="plusSlides(-1, 'tab4')">&#10094;</button>
    <div class="matbang-slides">
      <img src="images/matbang9.jpg" class="slide-image" alt="Mặt bằng 21-30, Ảnh 1">
    </div>
    <button class="slide-btn next" onclick="plusSlides(1, 'tab4')">&#10095;</button>
  </div>
</section>
<section id="thuvien" style="padding: 60px 20px; background-color: #f8f8f8; font-family: 'Lexend', sans-serif;">
  <div class="tienich-title-wrapper" style="display: flex; align-items: center; margin-bottom: 40px;">
    <div class="tienich-title-box" style="background: #f1793b; color: white; padding: 8px 20px; border-radius: 6px; font-weight: bold;">Thư viện</div>
    <div class="tienich-title-line" style="flex: 1; height: 2px; background: #f1793b; margin-left: 20px;"></div>
  </div>

  <div class="gallery-grid">
    <div class="gallery-item"><img src="images/galery1.jpg" alt="Ảnh 1" onclick="openLightbox(this.src)"></div>
    <div class="gallery-item"><img src="images/galery2.jpg" alt="Ảnh 2" onclick="openLightbox(this.src)"></div>
    <div class="gallery-item"><img src="images/galery3.jpg" alt="Ảnh 3" onclick="openLightbox(this.src)"></div>
    <div class="gallery-item"><img src="images/galery4.jpg" alt="Ảnh 4" onclick="openLightbox(this.src)"></div>
    <div class="gallery-item"><img src="images/galery5.jpg" alt="Ảnh 5" onclick="openLightbox(this.src)"></div>
    <div class="gallery-item"><img src="images/galery6.jpg" alt="Ảnh 6" onclick="openLightbox(this.src)"></div>
    <div class="gallery-item"><img src="images/galery7.jpg" alt="Ảnh 7" onclick="openLightbox(this.src)"></div>
    <div class="gallery-item"><img src="images/galery8.jpg" alt="Ảnh 8" onclick="openLightbox(this.src)"></div>
    <div class="gallery-item"><img src="images/galery9.jpg" alt="Ảnh 9" onclick="openLightbox(this.src)"></div>
  </div>
</section>
<section id="tintuc" style="padding: 60px 20px; background-color: #fff; font-family: 'Lexend', sans-serif;">
  <div class="tienich-title-wrapper" style="display: flex; align-items: center; margin-bottom: 40px;">
    <div class="tienich-title-box" style="background: #f1793b; color: white; padding: 8px 20px; border-radius: 6px; font-weight: bold;">Tin tức</div>
    <div class="tienich-title-line" style="flex: 1; height: 2px; background: #f1793b; margin-left: 20px;"></div>
  </div>

  <div class="news-grid">
    <div class="news-item">
      <img src="images/tintuc1.jpg" alt="Tin tức 1">
      <h3>Chủ đầu tư công bố tiến độ xây dựng</h3>
      <p>Dự án The Win City bước vào giai đoạn mới với nhiều hạng mục được triển khai đồng loạt...</p>
      <a href="https://example.com/bao1" target="_blank" class="btn-readmore">Xem thêm</a>
    </div>
    <div class="news-item">
      <img src="images/tintuc2.jpg" alt="Tin tức 2">
      <h3>The Win City được báo chí nhắc đến</h3>
      <p>Nhiều trang báo lớn đưa tin về tiềm năng và quy hoạch bài bản của dự án tại Đức Hòa...</p>
      <a href="https://example.com/bao2" target="_blank" class="btn-readmore">Xem thêm</a>
    </div>
    <div class="news-item">
      <img src="images/tintuc3.jpg" alt="Tin tức 3">
      <h3>Khách hàng tham quan thực tế</h3>
      <p>Sự kiện trải nghiệm thu hút hàng trăm lượt khách về tham quan hạ tầng và tiện ích...</p>
      <a href="https://example.com/bao3" target="_blank" class="btn-readmore">Xem thêm</a>
    </div>
  </div>
</section>

<section id="doitac" style="padding: 60px 20px; background-color: #f7f7f7; font-family: 'Lexend', sans-serif;">
  <div class="tienich-title-wrapper" style="display: flex; align-items: center; margin-bottom: 40px;">
    <div class="tienich-title-box" style="background: #f1793b; color: white; padding: 8px 20px; border-radius: 6px; font-weight: bold;">Đối tác chiến lược</div>
    <div class="tienich-title-line" style="flex: 1; height: 2px; background: #f1793b; margin-left: 20px;"></div>
  </div>

  <div class="partner-logos">
    <img src="/logo1.png" alt="Đối tác 1">
    <img src="/logo2.png" alt="Đối tác 2">
    <img src="/logo3.png" alt="Đối tác 3">
    <img src="/logo4.png" alt="Đối tác 4">
    <img src="/logo5.png" alt="Đối tác 5">
    <img src="/logo6.png" alt="Đối tác 6">
  </div>
</section>



<footer style="background-color: #001f3f; color: white; padding: 60px 20px; font-family: 'Lexend', sans-serif;">
  <div class="footer-container" style="display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px;">
    
    <div style="flex: 1 1 300px;">
      <h3 style="margin-bottom: 12px;">CÔNG TY CỔ PHẦN THE WIN CITY</h3>
      <p>Địa chỉ: 123 Đường Số 1, Huyện Đức Hòa, Long An</p>
      <p>Điện thoại: 0909 123 456</p>
      <p>Email: info@thewincity.vn</p>

      <div style="margin-top: 20px; display: flex; gap: 16px;">
        <a href="#" target="_blank"><i class="fab fa-facebook-f" style="color:white; font-size: 20px;"></i></a>
        <a href="#" target="_blank"><i class="fab fa-youtube" style="color:white; font-size: 20px;"></i></a>
        <a href="#" target="_blank"><i class="fab fa-tiktok" style="color:white; font-size: 20px;"></i></a>
        <a href="#" target="_blank"><i class="fab fa-instagram" style="color:white; font-size: 20px;"></i></a>
      </div>
    </div>

    <div style="flex: 1 1 300px;">
      <h3 style="margin-bottom: 12px;">Đăng ký nhận thông tin</h3>
      <div style="background: white; padding: 20px; border-radius: 10px; box-shadow: 0 4px 12px rgba(0,0,0,0.2); color: black;">
        <form id="footerForm">
          <input type="text" name="name" placeholder="Họ và tên" required style="width: 100%; padding: 10px; margin-bottom: 10px; border-radius: 6px; border: 1px solid #ccc;">
          <input type="tel" name="phone" placeholder="Số điện thoại" 
                pattern="^0[0-9]{9}$" required title="Nhập số hợp lệ 10 số bắt đầu bằng 0"
                style="width: 100%; padding: 10px; margin-bottom: 10px; border-radius: 6px; border: 1px solid #ccc;">
          <input type="email" name="email" placeholder="Email" required
                style="width: 100%; padding: 10px; margin-bottom: 10px; border-radius: 6px; border: 1px solid #ccc;">

          <select name="room" required style="width: 100%; padding: 10px; margin-bottom: 12px; border-radius: 6px; border: 1px solid #ccc;">
            <option value="" disabled selected>Chọn loại căn hộ</option>
            <option value="1 phòng ngủ">1 phòng ngủ</option>
            <option value="2 phòng ngủ">2 phòng ngủ</option>
            <option value="3 phòng ngủ">3 phòng ngủ</option>
            <option value="Studio">Studio</option>
          </select>

          <button type="submit" style="width: 100%; padding: 12px; border: none; background-color: #f1793b; color: white; font-weight: bold; border-radius: 6px;">Gửi</button>
        </form>
      </div>
    </div>
  </div>
</footer>




 <button class="btn-datlich" onclick="openPopup()">
 <span class="ripple"></span>
  <i class="fa-solid fa-clipboard icon"></i>
  <span class="text">Nhận Thông Tin</span>
</button>

  <noscript>
    <iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WM7X9667"
      height="0" width="0" style="display:none;visibility:hidden"></iframe>
  </noscript>
  <div class="popup-overlay" id="lightbox">
    <span style="position: absolute; top: 20px; right: 30px; font-size: 40px; color: white; cursor: pointer;">&times;</span>
    <img id="lightbox-img" style="max-width: 90%; max-height: 90%; object-fit: contain;">
  </div>
  <div class="popup-overlay" id="popupForm">
  <div class="popup-content">
    <span class="popup-close" onclick="closePopup()">×</span>
    <h3>ĐĂNG KÝ NHẬN THÔNG TIN TỪ CHỦ ĐẦU TƯ</h3>
    <form id="contactPopupForm">
      <input type="text" id="popupName" name="name" placeholder="Họ và tên" required>
      <input type="tel" id="popupPhone" name="phone" placeholder="Số điện thoại" 
       pattern="^0[0-9]{9}$" required title="Vui lòng nhập đúng định dạng 10 số, bắt đầu bằng 0">
       <input type="email" id="popupEmail" name="email" placeholder="Email" required>
      <select id="popupRoom" name="room" required>
  <option value="" disabled selected>Chọn loại căn hộ</option>
  <option value="1 phòng ngủ">1 phòng ngủ</option>
  <option value="2 phòng ngủ">2 phòng ngủ</option>
  <option value="3 phòng ngủ">3 phòng ngủ</option>
  <option value="Studio">Studio</option>
</select>
      <button type="submit">Gửi</button>
    </form>
  </div>
</div>

  <script>
    // General script URL for Google Sheets
    const SCRIPT_URL = 'https://script.google.com/macros/s/AKfycbxbRYWar4I_ZbexjOC20E7pfoX6lo_ht4NUjsYuyK34BzWeYkcD95FTmgzZnZ1J1AZbAw/exec';

    // Function to handle form submission
    async function handleFormSubmission(formElement) {
        const phoneInput = formElement.querySelector('input[name="phone"]');
        const emailInput = formElement.querySelector('input[name="email"]');

        const phone = phoneInput ? phoneInput.value.trim() : '';
        const email = emailInput ? emailInput.value.trim() : '';

        const phonePattern = /^0\d{9}$/;
        const emailPattern = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;

        if (phoneInput && !phonePattern.test(phone)) {
            alert("Số điện thoại không hợp lệ. Vui lòng nhập 10 số và bắt đầu bằng 0.");
            return;
        }

        if (emailInput && !emailPattern.test(email)) {
            alert("Email không hợp lệ. Vui lòng kiểm tra lại.");
            return;
            }

        const formData = new FormData(formElement);

        try {
            const response = await fetch(SCRIPT_URL, {
                method: 'POST',
                body: formData
            });
            const result = await response.text();
            alert("Gửi thành công!");
            formElement.reset();
            if (formElement.id === 'contactPopupForm') {
                closePopup();
            }
        } catch (error) {
            alert("Gửi thất bại!");
            console.error("Lỗi:", error);
        }
    }

    // Event listener for the popup form
    document.getElementById('contactPopupForm').addEventListener('submit', async function(e) {
        e.preventDefault();
        await handleFormSubmission(this);
    });

    // Event listener for the footer form
    document.getElementById('footerForm').addEventListener('submit', async function(e) {
        e.preventDefault();
        await handleFormSubmission(this);
    });

    function toggleMobileMenu() {
        const menu = document.getElementById('mobileMenu');
        const isOpen = menu.style.right === '0px';
        menu.style.right = isOpen ? '-100%' : '0';
    }

    function openPopup() {
        document.getElementById("popupForm").style.display = "flex";
    }

    function closePopup() {
        document.getElementById("popupForm").style.display = "none";
    }

    const tienichItems = document.querySelectorAll('.tienich-item');
    const tienichImage = document.getElementById('mainTienichImage');

    tienichItems.forEach(item => {
        item.addEventListener('mouseenter', () => {
            const imgSrc = item.getAttribute('data-image');
            tienichImage.setAttribute('src', imgSrc);
        });
    });

    // Mặt bằng Slider with Tabs
    const slideIndexes = {
        'tab1': 0,
        'tab2': 0,
        'tab3': 0,
        'tab4': 0
    };

    function plusSlides(n, tabId) {
        const slidesContainer = document.querySelector(`#${tabId} .matbang-slides`);
        const slides = slidesContainer.children;
        const total = slides.length;

        slideIndexes[tabId] = (slideIndexes[tabId] + n + total) % total;
        slidesContainer.style.transform = 'translateX(' + (-slideIndexes[tabId] * 100) + '%)';
    }

    function showMatBangTab(tabId, clickedButton) {
        // Hide all slider containers
        document.querySelectorAll('.matbang-slider-container').forEach(container => {
            container.classList.remove('active');
        });

        // Deactivate all tab buttons
        document.querySelectorAll('.matbang-tab-button').forEach(button => {
            button.classList.remove('active');
        });

        // Show the selected slider container
        document.getElementById(tabId).classList.add('active');
        // Activate the clicked tab button
        clickedButton.classList.add('active');

        // Reset the slide index for the newly active tab to 0
        slideIndexes[tabId] = 0;
        document.querySelector(`#${tabId} .matbang-slides`).style.transform = 'translateX(0%)';
    }

    // Lightbox functions
    function openLightbox(src) {
        document.getElementById('lightbox-img').src = src;
        document.getElementById('lightbox').style.display = 'flex';
    }

    document.getElementById('lightbox').addEventListener('click', function () {
        this.style.display = 'none';
    });
  </script>

</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit