diff --git a/index.html b/index.html
index 9ab1e31..52d6b7b 100644
--- a/index.html
+++ b/index.html
@@ -163,53 +163,13 @@
-
-
- Gooner Training Academy
- Professional Development
-
-
- Master Your Dedication
- � Advanced Training System � v3.0
-
-
-
-
-
-
-
-
-
+
+
@@ -237,7 +197,56 @@
+
+
+
+
+
+ Gooner Training Academy
+ Professional Development
+
+
+ Master Your Dedication
+ ★ Advanced Training System ★ v0.41
+
+
+
+
+
+
+
+
+
@@ -1356,6 +1365,7 @@
if (allImages.length === 0) {
// No images available - show placeholder or fall back to hentai theme
console.log('No library images found, falling back to hentai theme');
+ localStorage.removeItem('userLibraryImages');
characterSides.forEach((element, index) => {
element.style.display = 'block';
// Fallback to hentai theme
@@ -1369,6 +1379,9 @@
return;
}
+ // Save library images to localStorage for other pages to use
+ localStorage.setItem('userLibraryImages', JSON.stringify(allImages));
+
// Dynamic layout variables
const FIXED_WIDTH = 150; // Fixed width for all images
const MIN_HEIGHT = 100; // Minimum height
@@ -2034,11 +2047,50 @@
console.error('? Options menu initialization failed - missing elements');
}
}
+
+ // Load profile data into header
+ function loadHeaderProfile() {
+ // Get username from userProfile object
+ let username = 'Player';
+ const userProfile = localStorage.getItem('userProfile');
+ if (userProfile) {
+ try {
+ const profile = JSON.parse(userProfile);
+ username = profile.username || 'Player';
+ } catch (e) {
+ console.error('Error parsing user profile:', e);
+ }
+ }
+
+ const profilePicture = localStorage.getItem('profilePicture');
+
+ const usernameElement = document.getElementById('header-username');
+ const avatarContainer = document.getElementById('header-profile-avatar');
+
+ if (usernameElement) {
+ usernameElement.textContent = username;
+ }
+
+ if (avatarContainer && profilePicture) {
+ avatarContainer.innerHTML = `

`;
+ }
+
+ // Make profile display clickable to open profile page
+ const profileDisplay = document.querySelector('.user-profile-display');
+ if (profileDisplay) {
+ profileDisplay.addEventListener('click', () => {
+ window.location.href = 'user-profile.html';
+ });
+ }
+ }
// Initialize application when page loads
window.addEventListener('DOMContentLoaded', () => {
console.log(' DOM Content Loaded - Initializing UI components...');
+ // Load profile data
+ loadHeaderProfile();
+
// Initialize options menu early
initializeOptionsMenu();
@@ -3412,12 +3464,12 @@
const pauseBtn = document.getElementById('billboard-pause');
if (muteBtn) {
- muteBtn.textContent = this.isMuted ? '🔇' : '🔊';
+ muteBtn.textContent = this.isMuted ? '' : '';
muteBtn.title = this.isMuted ? 'Unmute' : 'Mute';
}
if (pauseBtn) {
- pauseBtn.textContent = this.isPlaying ? 'â¸ï¸' : 'â–¶ï¸';
+ pauseBtn.textContent = this.isPlaying ? '' : '';
pauseBtn.title = this.isPlaying ? 'Pause' : 'Play';
}
},
@@ -7122,3 +7174,4 @@
+
diff --git a/player-stats.html b/player-stats.html
index 7509a59..6d333b8 100644
--- a/player-stats.html
+++ b/player-stats.html
@@ -88,6 +88,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+