MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.191.202.48
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/ppcad7no/loveitchocoiza.com/../.htpasswds/../leetcoaching.co.in/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/loveitchocoiza.com/../.htpasswds/../leetcoaching.co.in/banner-popup.php
<style>
       /* CSS for Popup Container */
.popup-container {
    display: none; /* Hide popup by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent overlay */
    z-index: 999; /* Ensure popup is on top */
    justify-content: center;
    align-items: center;
}

/* CSS for Popup Content */
.popup-content {
    background-color: #fff;
    padding: 20px;
    /*max-width: 100%;*/
    /*max-height: 100%;*/
    overflow: auto;
    text-align: center;
    position: relative;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}

   </style>




<div id="popupContainer" class="popup-container">
    <!-- Popup Content -->
    <div class="popup-content">
        <span class="close-btn" onclick="closePopup()"><i class="fa fa-times-circle" aria-hidden="true"></i></span>
        <img src="<?php echo $wspath?>assets/images/popup-img.jpg" alt="Popup Image" width="100%" height="auto">
    </div>
</div>



<script>
   // Function to display the popup after 5 minutes
function displayPopup() {
    var popup = document.getElementById('popupContainer');
    popup.style.display = 'flex'; // Display popup container
    
    // Automatically close the popup after 2 minutes
    setTimeout(closePopup, 300000);
}

// Function to close the popup
function closePopup() {
    var popup = document.getElementById('popupContainer');
    popup.style.display = 'none'; // Hide popup container
}


setTimeout(displayPopup, 3000); // Show popup after 5 minutes (300,000 milliseconds)

</script>


MMCT - 2023