redirectToLogin('Session expired. Please log in again.'); } // Calculate user age $userAge = null; if ($user['date_of_birth']) { $birthDate = new DateTime($user['date_of_birth']); $today = new DateTime(); $userAge = $today->diff($birthDate)->y; } // Format join date $joinDateFormatted = date('F j, Y', strtotime($user['created_at'])); // Get user's support tickets for the support section $userTickets = []; try { $db = new Database(); $pdo = $db->getConnection(); $stmt = $pdo->prepare(" SELECT st.*, (SELECT COUNT(*) FROM support_messages sm WHERE sm.ticket_id = st.id) as message_count, (SELECT sm.created_at FROM support_messages sm WHERE sm.ticket_id = st.id ORDER BY sm.created_at DESC LIMIT 1) as last_reply FROM support_tickets st WHERE st.user_id = ? ORDER BY st.created_at DESC LIMIT 10 "); $stmt->execute([$user['id']]); $userTickets = $stmt->fetchAll(); } catch (Exception $e) { logError('Error fetching user tickets', ['user_id' => $user['id'], 'error' => $e->getMessage()]); } ?> Dashboard - Relevant Reflex

Welcome to Your Survey Dashboard!

Start earning money by participating in paid surveys from trusted research companies.

Active
Account Status
0
Completed Surveys
₹0.00
Total Earnings
Support Tickets
🎉 Welcome to Relevant Reflex!

Your account is now active and ready to participate in surveys. Here's what you can do:

  • Complete Surveys: Earn money by sharing your opinions
  • Update Profile: Keep your information current for better survey matches
  • Get Support: Our team is here to help with any questions
Getting Started: Survey opportunities will appear in the "Surveys" section. Make sure your profile is complete to receive the most relevant surveys!

Available Surveys

Survey opportunities will appear here once they become available.

No surveys available at the moment.
We're working on bringing you exciting survey opportunities. Check back soon!
Coming Soon!

We're preparing personalized surveys based on your profile information.

Profile Information

Basic Information
Email:
Gender:
Date of Birth:
Postcode:
Account Information
Status:
Email Verified: ✓ Verified
Member Since:
Last Login:
Profile Update Feature Coming Soon!
We're building a comprehensive profile management system where you'll be able to update your information, add preferences, and enhance your survey matching.

Support Center

Need help? Create a support ticket and our team will assist you.

Create New Support Ticket
How Tickets Work
Your Support Tickets
No support tickets yet

When you create a support ticket, it will appear here.

Ticket # Subject Status Priority Messages Last Reply Created Action
messages View