This repository was archived by the owner on Mar 6, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapp.html
More file actions
1577 lines (1501 loc) · 67.5 KB
/
app.html
File metadata and controls
1577 lines (1501 loc) · 67.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ChatFun - App</title>
<link rel="icon" type="image/svg+xml" href="images/logo.svg">
<link rel="stylesheet" href="css/styles.css">
<script src="https://kit.fontawesome.com/ac9ab6562b.js" crossorigin="anonymous"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
</head>
<body class="app-body">
<!-- Top Bar -->
<div class="topbar">
<div class="topbar-left">
<div class="logo">
<img src="images/logo.svg" alt="ChatFun Logo" class="logo-image">
<h1>chatfun</h1>
</div>
</div>
<div class="topbar-right">
<div class="user-info">
Signed in as:
<span class="username" id="username">username</span>
</div>
</div>
</div>
<!-- Main Content Area -->
<div class="main-container">
<!-- Sidebar -->
<div class="sidebar">
<nav class="sidebar-nav">
<!-- Main navigation items -->
<div class="nav-item active" data-tab="chat">
<span class="nav-icon"><i class="fas fa-comments"></i></span>
<span class="nav-text">chat</span>
</div>
<div class="nav-item" data-tab="achievements">
<span class="nav-icon"><i class="fas fa-trophy"></i></span>
<span class="nav-text">achievements</span>
</div>
<div class="nav-item" data-tab="leaderboard">
<span class="nav-icon"><i class="fas fa-chart-bar"></i></span>
<span class="nav-text">leaderboard</span>
</div>
<div class="nav-item" data-tab="items">
<span class="nav-icon"><i class="fas fa-box"></i></span>
<span class="nav-text">items</span>
</div>
<div class="nav-item" data-tab="friends">
<span class="nav-icon"><i class="fas fa-users"></i></span>
<span class="nav-text">friends</span>
</div>
<div class="nav-item" data-tab="dms">
<span class="nav-icon"><i class="fas fa-envelope"></i></span>
<span class="nav-text">dms</span>
</div>
<!-- Mod/Admin sections -->
<div class="nav-item mod-only" data-tab="reports" style="display: none;">
<span class="nav-icon"><i class="fas fa-flag"></i></span>
<span class="nav-text">reports</span>
</div>
<div class="nav-item admin-only" data-tab="socialspy" style="display: none;">
<span class="nav-icon"><i class="fas fa-eye"></i></span>
<span class="nav-text">social spy</span>
</div>
<div class="nav-item admin-only" data-tab="server-stats" style="display: none;">
<span class="nav-icon"><i class="fas fa-server"></i></span>
<span class="nav-text">server stats</span>
</div>
<div class="nav-item admin-only" data-tab="other-admin-stuff" style="display: none;">
<span class="nav-icon"><i class="fas fa-tools"></i></span>
<span class="nav-text">admin tools</span>
</div>
<!-- Settings separator and settings -->
<div class="nav-separator"></div>
<div class="nav-item settings" data-tab="settings">
<span class="nav-icon"><i class="fas fa-cog"></i></span>
<span class="nav-text">settings</span>
</div>
</nav>
</div>
<!-- Content Area -->
<div class="content">
<!-- Chat Tab -->
<div class="tab-content active" id="chat">
<div class="chat-header">
<h2>global chat</h2>
<div class="chat-info">
<span class="online-count" id="online-count">Loading...</span>
</div>
</div>
<div class="chat-messages" id="chat-messages">
<!-- Will be loaded -->
</div>
<div class="chat-input-container">
<input type="text" class="chat-input" placeholder="type your message..." maxlength="200">
<button class="send-button">send</button>
</div>
</div>
<!-- Achievements Tab -->
<div class="tab-content" id="achievements">
<div class="tab-header">
<h2>achievements</h2>
<div class="progress-info">
<span>12/25 unlocked</span>
</div>
</div>
<div class="achievements-grid">
<div class="achievement unlocked">
<div class="achievement-icon">🎉</div>
<div class="achievement-info">
<h3>first message</h3>
<p>send your first chat message</p>
</div>
</div>
<div class="achievement unlocked">
<div class="achievement-icon">💬</div>
<div class="achievement-info">
<h3>chatterbox</h3>
<p>send 100 messages</p>
</div>
</div>
<div class="achievement locked">
<div class="achievement-icon">🔒</div>
<div class="achievement-info">
<h3>social butterfly</h3>
<p>send 1000 messages</p>
</div>
</div>
</div>
</div>
<!-- Leaderboard Tab -->
<div class="tab-content" id="leaderboard">
<div class="tab-header">
<h2>leaderboard</h2>
<div class="leaderboard-filters">
<button class="filter-btn active">exp</button>
<button class="filter-btn">messages</button>
</div>
</div>
<div class="leaderboard-list">
<div class="leaderboard-item rank-1">
<div class="rank">1</div>
<div class="player-info">
<span class="player-name">chatmaster</span>
<span class="player-stat">15,420 exp</span>
</div>
</div>
<div class="leaderboard-item rank-2">
<div class="rank">2</div>
<div class="player-info">
<span class="player-name">socialite</span>
<span class="player-stat">12,850 exp</span>
</div>
</div>
<div class="leaderboard-item rank-3">
<div class="rank">3</div>
<div class="player-info">
<span class="player-name">chatter99</span>
<span class="player-stat">11,230 exp</span>
</div>
</div>
</div>
</div>
<!-- Items Tab -->
<div class="tab-content" id="items">
<div class="tab-header">
<h2>inventory</h2>
<div class="currency-info">
<span><i class="fas fa-coins"></i> coins: 250</span>
</div>
</div>
<div class="create-item-section">
<button class="btn" id="createRandomBtn">Forge Item - 50 Coins</button>
</div>
<div class="items-grid">
<!-- Variation 1: Basic item -->
<div class="item">
<div class="item-header">
<span class="item-name">Blazing Shortsword</span>
<span class="item-rarity">RARE</span>
<div class="actions-dropdown">
<button class="actions-btn" tabindex="0">Actions</button>
<div class="actions-menu">
<div class="actions-menu-item" tabindex="0" class="item-sell-button">Sell Item</div>
<div class="actions-menu-item" tabindex="0" class="item-reforge-button">Reforge Item</div>
<div class="actions-menu-item" tabindex="0" class="item-rune-button">Apply Rune</div>
</div>
</div>
</div>
<div class="item-body">
<div class="item-runes">
<span class="rune hydro">Hydro Rune</span>
<span class="rune-level">III</span>
<span class="rune galactic">Galactic Rune</span>
<span class="rune-level">IV</span>
</div>
<div class="item-worth"><i class="fas fa-coins"></i> 12K coins</div>
<div class="value-breakdown">
<div class="breakdown-title">Value Breakdown</div>
<ul>
<li><span class="breakdown-label">Base Item</span> <span class="breakdown-value">5K</span></li>
<li><span class="breakdown-label">Hydro Rune III</span> <span class="breakdown-value">+3K</span>
</li>
<li><span class="breakdown-label">Galactic Rune IV</span> <span class="breakdown-value">+4K</span>
</li>
</ul>
</div>
<div class="item-edition">
<span class="edition-label">Edition</span>
<span class="edition-number">#1</span>
<span class="edition-label">Forged By</span>
<span class="forged-by">proplayer919</span>
</div>
</div>
</div>
<!-- Variation 2: With Rune Multipliers -->
<div class="item">
<div class="item-header">
<span class="item-name">Blazing Shortsword</span>
<span class="item-rarity">RARE</span>
<div class="actions-dropdown">
<button class="actions-btn" tabindex="0">Actions</button>
<div class="actions-menu">
<div class="actions-menu-item" tabindex="0" class="item-sell-button">Sell Item</div>
<div class="actions-menu-item" tabindex="0" class="item-reforge-button">Reforge Item</div>
<div class="actions-menu-item" tabindex="0" class="item-rune-button">Apply Rune</div>
</div>
</div>
</div>
<div class="item-body">
<div class="item-runes">
<span class="rune hydro">Hydro Rune</span>
<span class="rune-level">III</span>
<span class="rune-multiplier">x1.2</span>
<span class="rune galactic">Galactic Rune</span>
<span class="rune-level">IV</span>
<span class="rune-multiplier">x1.5</span>
</div>
<div class="item-worth"><i class="fas fa-coins"></i> 18K coins</div>
<div class="value-breakdown">
<div class="breakdown-title">Value Breakdown</div>
<ul>
<li><span class="breakdown-label">Base Item</span> <span class="breakdown-value">5K</span></li>
<li><span class="breakdown-label">Hydro Rune III (x1.2)</span> <span
class="breakdown-value">+3.6K</span></li>
<li><span class="breakdown-label">Galactic Rune IV (x1.5)</span> <span
class="breakdown-value">+6K</span></li>
<li><span class="breakdown-label">Synergy Bonus</span> <span class="breakdown-value">+3.4K</span>
</li>
</ul>
</div>
<div class="item-edition">
<span class="edition-label">Edition</span>
<span class="edition-number">#1</span>
<span class="edition-label">Forged By</span>
<span class="forged-by">proplayer919</span>
</div>
</div>
</div>
<!-- Variation 3: With Rune Multipliers & Reforge Stats -->
<div class="item">
<div class="item-header">
<span class="item-name">Blazing Shortsword</span>
<span class="item-rarity">RARE</span>
<div class="actions-dropdown">
<button class="actions-btn" tabindex="0">Actions</button>
<div class="actions-menu">
<div class="actions-menu-item" tabindex="0" class="item-sell-button">Sell Item</div>
<div class="actions-menu-item" tabindex="0" class="item-reforge-button">Reforge Item</div>
<div class="actions-menu-item" tabindex="0" class="item-rune-button">Apply Rune</div>
</div>
</div>
</div>
<div class="item-body">
<div class="item-runes">
<span class="rune hydro">Hydro Rune</span>
<span class="rune-level">III</span>
<span class="rune-multiplier">x1.2</span>
<span class="rune galactic">Galactic Rune</span>
<span class="rune-level">IV</span>
<span class="rune-multiplier">x1.5</span>
</div>
<div class="reforge-stats">
<div class="reforge-title">Reforge Stats</div>
<ul>
<li><span class="reforge-stat-label">Rune Success Rate</span> <span
class="reforge-stat-value reforge-stat-value-positive">+18%</span></li>
<li><span class="reforge-stat-label">Rune Catastrophic Fail Rate</span> <span
class="reforge-stat-value reforge-stat-value-negative">-65%</span></li>
</ul>
</div>
<div class="item-worth"><i class="fas fa-coins"></i> 21K coins</div>
<div class="value-breakdown">
<div class="breakdown-title">Value Breakdown</div>
<ul>
<li><span class="breakdown-label">Base Item</span> <span class="breakdown-value">5K</span></li>
<li><span class="breakdown-label">Hydro Rune III (x1.2)</span> <span
class="breakdown-value">+3.6K</span></li>
<li><span class="breakdown-label">Galactic Rune IV (x1.5)</span> <span
class="breakdown-value">+6K</span></li>
<li><span class="breakdown-label">Synergy Bonus</span> <span class="breakdown-value">+3.4K</span>
</li>
<li><span class="breakdown-label">Reforge Stats</span> <span class="breakdown-value">+3K</span></li>
</ul>
</div>
<div class="item-edition">
<span class="edition-label">Edition</span>
<span class="edition-number">#1</span>
<span class="edition-label">Forged By</span>
<span class="forged-by">proplayer919</span>
</div>
<div class="item-extra">
<span class="extra-label">Last Reforged</span>
<span class="extra-value">2025-08-29</span>
</div>
</div>
</div>
</div>
</div>
<!-- Friends Tab -->
<div class="tab-content" id="friends">
<div class="tab-header">
<h2>friends</h2>
<div class="friends-info">
<span class="online-friends-count">Loading...</span>
<button class="add-friend-btn" id="sendFriendRequestBtn">
<i class="fas fa-user-plus"></i> Add Friend
</button>
</div>
</div>
<!-- Friend Requests Section -->
<div class="friends-section">
<div class="friends-section-header">
<h3>Friend Requests</h3>
<span class="request-count">Loading...</span>
</div>
<div class="friend-requests-tabs">
<button class="request-tab-btn active" data-request-type="incoming">
<i class="fas fa-arrow-down"></i> Incoming (0)
</button>
<button class="request-tab-btn" data-request-type="outgoing">
<i class="fas fa-arrow-up"></i> Outgoing (0)
</button>
</div>
<!-- Incoming Requests -->
<div class="friend-requests-list incoming-requests active">
<!-- Will be loaded -->
</div>
<!-- Outgoing Requests -->
<div class="friend-requests-list outgoing-requests">
<!-- Will be loaded -->
</div>
</div>
<!-- Friends List Section -->
<div class="friends-section">
<div class="friends-section-header">
<h3>Friends</h3>
<span class="friends-count" id="friends-total-count">0 total</span>
</div>
<div class="friends-filter">
<button class="filter-btn active" data-filter="all" id="filter-all">All (0)</button>
<button class="filter-btn" data-filter="online" id="filter-online">Online (0)</button>
<button class="filter-btn" data-filter="offline" id="filter-offline">Offline (0)</button>
</div>
<div class="friends-list">
<!-- Will be loaded -->
</div>
</div>
</div>
<!-- DMs Tab -->
<div class="tab-content" id="dms">
<div class="tab-header">
<h2>direct messages</h2>
</div>
<div class="dms-layout">
<!-- Conversations List -->
<div class="conversations-sidebar">
<div class="conversations-header">
<div class="search-container">
<i class="fas fa-search search-icon"></i>
<input type="text" class="conversation-search" placeholder="Search conversations...">
</div>
</div>
<div class="conversations-list">
<!-- Conversations will be loaded here -->
</div>
</div>
<!-- Message Area -->
<div class="dm-messages-area">
<!-- Active conversation header -->
<div class="dm-conversation-header">
<div class="dm-user-info">
<div class="dm-user-avatar">
<i class="fas fa-user"></i>
<div class="status-indicator online"></div>
</div>
<div class="dm-user-details">
<span class="dm-user-name">Loading...</span>
<span class="dm-user-status">Loading...</span>
</div>
</div>
</div>
<!-- Messages container -->
<div class="chat-messages" id="dm-messages">
<!-- Messages will be loaded here -->
</div>
<!-- Reply indicator -->
<div class="reply-indicator" id="dm-reply-indicator" style="display: none;">
<div class="reply-content">
<i class="fas fa-reply reply-icon"></i>
<span class="reply-text">Replying to <strong class="reply-username"></strong>: <span
class="reply-message"></span></span>
<button class="reply-cancel" onclick="cancelDMReply()">
<i class="fas fa-times"></i>
</button>
</div>
</div>
<!-- Message input -->
<div class="dm-input-container">
<input type="text" class="dm-input" placeholder="Type your message..." maxlength="200">
<button class="dm-send-button">
<i class="fas fa-paper-plane"></i>
</button>
</div>
</div>
</div>
</div>
<!-- Reports Tab (for mods+) -->
<div class="tab-content" id="reports">
<div class="tab-header">
<h2>reports</h2>
</div>
<div class="mod-tools">
<div class="tool-section">
<div class="reports-controls">
<div class="reports-tabs">
<button class="reports-tab-btn active" data-category="all">All Reports</button>
<button class="reports-tab-btn" data-category="pending">Awaiting Review</button>
<button class="reports-tab-btn" data-category="completed">Completed</button>
</div>
<div class="reports-stats">
<span class="reports-count">Total: <span id="totalReports">0</span></span>
</div>
</div>
<div class="reports-filter">
<div class="filter-row">
<input type="text" id="reportSearchInput" placeholder="Search by username, reason, or submitter..."
class="search-input">
<select id="reasonFilter" class="filter-select">
<option value="">All Reasons</option>
<option value="spam">Spam</option>
<option value="harassment">Harassment</option>
<option value="inappropriate">Inappropriate Content</option>
<option value="misinformation">Misinformation</option>
<option value="cheating">Cheating</option>
</select>
<button id="clearFilters" class="btn secondary small">Clear Filters</button>
</div>
</div>
<div class="reports-help">
<i class="fas fa-info-circle"></i>
<span>Use the action buttons on each report to take moderation actions. Use pagination to navigate
through
reports.</span>
</div>
<div class="reports-list" id="reportsList">
<!-- Reports will be dynamically loaded here -->
</div>
<div class="reports-pagination">
<button class="pagination-btn" id="prevPage" disabled>
<i class="fas fa-chevron-left"></i> Previous
</button>
<span class="pagination-info">
Page <span id="currentPage">1</span> of <span id="totalPages">1</span>
</span>
<button class="pagination-btn" id="nextPage" disabled>
Next <i class="fas fa-chevron-right"></i>
</button>
</div>
</div>
</div>
</div>
<!-- Social Spy Tab (for admins) -->
<div class="tab-content" id="socialspy">
<div class="tab-header">
<h2>social spy</h2>
</div>
<div class="socialspy-layout">
<!-- Username Input Screen (centered like DM disabled) -->
<div class="socialspy-input-screen">
<div class="socialspy-input-content">
<div class="socialspy-input-icon">
<i class="fas fa-eye"></i>
</div>
<h3>Enter Username to Monitor</h3>
<p>Type the username of the user whose conversations you want to view.</p>
<div class="socialspy-username-input-group">
<input type="text" class="socialspy-username-input" placeholder="Enter username..." maxlength="20">
<button class="socialspy-start-button">
<i class="fas fa-play"></i>
Start Monitoring
</button>
</div>
</div>
</div>
<!-- Main Spy Area (initially hidden) -->
<div class="socialspy-main" style="display: none;">
<div class="socialspy-target-info">
<div class="target-user-header">
<i class="fas fa-eye spy-icon"></i>
<span class="target-username">Username</span>
<span class="spy-badge">SPYING</span>
<button class="spy-back-button" onclick="goBackToSpyInput()">
<i class="fas fa-arrow-left"></i>
Back
</button>
</div>
</div>
<div class="socialspy-dms-layout">
<!-- Conversations List (same structure as DMs) -->
<div class="conversations-sidebar">
<div class="conversations-header">
<div class="search-container">
<i class="fas fa-search search-icon"></i>
<input type="text" class="conversation-search" placeholder="Search conversations...">
</div>
</div>
<div class="conversations-list" id="socialspy-conversations-list">
<!-- Conversations will be loaded here -->
</div>
</div>
<!-- Message Area (same structure as DMs but read-only) -->
<div class="dm-messages-area">
<!-- Active conversation header -->
<div class="dm-conversation-header">
<div class="dm-user-info">
<div class="dm-user-avatar">
<i class="fas fa-user"></i>
<div class="status-indicator online"></div>
</div>
<div class="dm-user-details">
<span class="dm-user-name">Select a conversation</span>
<span class="dm-user-status">Social Spy Mode</span>
</div>
</div>
</div>
<!-- Messages container -->
<div class="chat-messages" id="socialspy-messages">
<div class="socialspy-placeholder">
<i class="fas fa-eye"></i>
<h3>Social Spy Mode</h3>
<p>Select a conversation to view messages</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Server Stats Tab (for admins) -->
<div class="tab-content" id="server-stats">
<div class="tab-header">
<h2>server stats</h2>
</div>
<div class="admin-tools">
<div class="tool-section">
<h3>server statistics</h3>
<div class="stats-grid">
<div class="stat-item">
<span class="stat-label">total users</span>
<span class="stat-value">1,247</span>
</div>
<div class="stat-item">
<span class="stat-label">online now</span>
<span class="stat-value">42</span>
</div>
<div class="stat-item">
<span class="stat-label">messages today</span>
<span class="stat-value">8,456</span>
</div>
<div class="stat-item">
<span class="stat-label">server uptime</span>
<span class="stat-value">7d 14h</span>
</div>
<div class="stat-item">
<span class="stat-label">memory usage</span>
<span class="stat-value">68%</span>
</div>
<div class="stat-item">
<span class="stat-label">cpu usage</span>
<span class="stat-value">32%</span>
</div>
</div>
</div>
</div>
</div>
<!-- Admin Tools Tab (for admins) -->
<div class="tab-content" id="other-admin-stuff">
<div class="tab-header">
<h2>admin tools</h2>
</div>
<div class="admin-tools">
<div class="tool-section">
<h3>user management</h3>
<div class="admin-actions">
<button class="btn-primary">manage users</button>
<button class="btn-secondary">view ban list</button>
<button class="btn-secondary">system announcements</button>
</div>
</div>
<div class="tool-section">
<h3>server management</h3>
<div class="admin-actions">
<button class="btn-secondary">maintenance mode</button>
<button class="btn-secondary">backup database</button>
<button class="btn-danger">restart server</button>
</div>
</div>
</div>
</div>
<!-- Settings Tab -->
<div class="tab-content" id="settings">
<div class="tab-header">
<h2>settings</h2>
</div>
<div class="settings-sections">
<!-- Notifications Settings -->
<div class="settings-section">
<h3><i class="fas fa-bell"></i> notifications</h3>
<div class="setting-item">
<label class="setting-label toggle-setting">
<div class="setting-info">
<span class="setting-title">message notifications</span>
<span class="setting-description">get notified when someone mentions you</span>
</div>
<div class="toggle-container">
<input type="checkbox" class="toggle-checkbox" id="messageNotifications" checked>
<span class="toggle-slider"></span>
</div>
</label>
</div>
<div class="setting-item">
<label class="setting-label toggle-setting">
<div class="setting-info">
<span class="setting-title">direct message notifications</span>
<span class="setting-description">receive alerts for private messages</span>
</div>
<div class="toggle-container">
<input type="checkbox" class="toggle-checkbox" id="dmNotifications" checked>
<span class="toggle-slider"></span>
</div>
</label>
</div>
<div class="setting-item">
<label class="setting-label toggle-setting">
<div class="setting-info">
<span class="setting-title">achievement notifications</span>
<span class="setting-description">celebrate your milestones and rewards</span>
</div>
<div class="toggle-container">
<input type="checkbox" class="toggle-checkbox" id="achievementNotifications">
<span class="toggle-slider"></span>
</div>
</label>
</div>
<div class="setting-item">
<label class="setting-label toggle-setting">
<div class="setting-info">
<span class="setting-title">sound notifications</span>
<span class="setting-description">play sounds for important events</span>
</div>
<div class="toggle-container">
<input type="checkbox" class="toggle-checkbox" id="soundNotifications">
<span class="toggle-slider"></span>
</div>
</label>
</div>
</div>
<!-- Chat Settings -->
<div class="settings-section">
<h3><i class="fas fa-comments"></i> chat preferences</h3>
<div class="setting-item">
<label class="setting-label toggle-setting">
<div class="setting-info">
<span class="setting-title">show timestamps</span>
<span class="setting-description">display message send times</span>
</div>
<div class="toggle-container">
<input type="checkbox" class="toggle-checkbox" id="showTimestamps" checked>
<span class="toggle-slider"></span>
</div>
</label>
</div>
<div class="setting-item">
<label class="setting-label toggle-setting">
<div class="setting-info">
<span class="setting-title">auto-scroll to new messages</span>
<span class="setting-description">automatically scroll down for new messages</span>
</div>
<div class="toggle-container">
<input type="checkbox" class="toggle-checkbox" id="autoScroll">
<span class="toggle-slider"></span>
</div>
</label>
</div>
<div class="setting-item">
<label class="setting-label toggle-setting">
<div class="setting-info">
<span class="setting-title">ctrl+enter to send</span>
<span class="setting-description">send messages with ctrl+enter instead of enter</span>
</div>
<div class="toggle-container">
<input type="checkbox" class="toggle-checkbox" id="ctrlEnterToSend">
<span class="toggle-slider"></span>
</div>
</label>
</div>
</div>
<!-- Privacy Settings -->
<div class="settings-section">
<h3><i class="fas fa-shield-alt"></i> privacy & safety</h3>
<div class="setting-item">
<label class="setting-label toggle-setting">
<div class="setting-info">
<span class="setting-title">appear offline</span>
<span class="setting-description">always show as offline to other users</span>
</div>
<div class="toggle-container">
<input type="checkbox" class="toggle-checkbox" id="appearOffline">
<span class="toggle-slider"></span>
</div>
</label>
</div>
<div class="setting-item">
<label class="setting-label toggle-setting">
<div class="setting-info">
<span class="setting-title">allow direct messages</span>
<span class="setting-description">receive private messages from other users</span>
</div>
<div class="toggle-container">
<input type="checkbox" class="toggle-checkbox" id="allowDirectMessages" checked>
<span class="toggle-slider"></span>
</div>
</label>
</div>
<div class="setting-item">
<label class="setting-label toggle-setting">
<div class="setting-info">
<span class="setting-title">filter inappropriate content</span>
<span class="setting-description">automatically hide potentially offensive messages</span>
</div>
<div class="toggle-container">
<input type="checkbox" class="toggle-checkbox" id="contentFilter" checked>
<span class="toggle-slider"></span>
</div>
</label>
</div>
<div class="setting-item">
<label class="setting-label toggle-setting">
<div class="setting-info">
<span class="setting-title">hide profile pictures</span>
<span class="setting-description">show default avatars instead of profile pictures</span>
</div>
<div class="toggle-container">
<input type="checkbox" class="toggle-checkbox" id="hideProfilePictures">
<span class="toggle-slider"></span>
</div>
</label>
</div>
</div>
<!-- Profile Settings -->
<div class="settings-section">
<h3><i class="fas fa-user-circle"></i> profile</h3>
<div class="setting-item">
<div class="setting-row">
<div class="setting-info">
<span class="setting-title">profile picture</span>
<span class="setting-description">upload a custom profile picture (max 5MB)</span>
</div>
<div class="profile-picture-controls">
<div class="current-avatar" id="currentAvatar">
<div class="default-avatar">
<i class="fas fa-user"></i>
</div>
</div>
<div class="avatar-buttons">
<button class="btn secondary setting-button" id="uploadAvatarBtn">
<i class="fas fa-upload"></i> upload
</button>
<button class="btn danger setting-button" id="removeAvatarBtn" style="display: none;">
<i class="fas fa-trash"></i> remove
</button>
</div>
</div>
</div>
</div>
</div>
<!-- Appearance Settings -->
<div class="settings-section">
<h3><i class="fas fa-paint-brush"></i> appearance</h3>
<div class="setting-item">
<div class="setting-row">
<div class="setting-info">
<span class="setting-title">change theme</span>
<span class="setting-description">change your theme</span>
</div>
<button class="btn secondary setting-button" id="changeThemeBtn">
<i class="fas fa-paint-brush"></i> change
</button>
</div>
</div>
</div>
<!-- Account Settings -->
<div class="settings-section">
<h3><i class="fas fa-user-cog"></i> account management</h3>
<div class="setting-item">
<div class="setting-row">
<div class="setting-info">
<span class="setting-title">change password</span>
<span class="setting-description">update your account password</span>
</div>
<button class="btn secondary setting-button" id="changePasswordBtn">
<i class="fas fa-key"></i> change
</button>
</div>
</div>
<div class="setting-item">
<div class="setting-row">
<div class="setting-info">
<span class="setting-title">download data</span>
<span class="setting-description">export your chat history and account data</span>
</div>
<button class="btn secondary setting-button" id="exportDataBtn">
<i class="fas fa-download"></i> export
</button>
</div>
</div>
<div class="setting-item danger-zone">
<div class="setting-row">
<div class="setting-info">
<span class="setting-title">logout</span>
<span class="setting-description">sign out of your account</span>
</div>
<button class="btn danger setting-button" id="logoutBtn">
<i class="fas fa-sign-out-alt"></i> logout
</button>
</div>
</div>
<div class="setting-item danger-zone">
<div class="setting-row">
<div class="setting-info">
<span class="setting-title">delete account</span>
<span class="setting-description">permanently delete your account and all data</span>
</div>
<button class="btn danger setting-button" id="deleteAccountBtn">
<i class="fas fa-trash"></i> delete
</button>
</div>
</div>
</div>
<!-- Account Standing Section -->
<div class="settings-section" id="accountStandingSection">
<h3><i class="fas fa-balance-scale"></i> account standing</h3>
<div class="setting-item">
<div class="account-standing-info">
<div class="strikes-info">
<div class="strikes-count">
<span class="strikes-number" id="currentStrikes">0</span>
<span class="strikes-label">strikes</span>
</div>
<div class="strikes-description" id="strikesDescription">
Your account is in good standing
</div>
</div>
<div class="punishment-info" id="punishmentInfo" style="display: none;">
<div class="punishment-status">
<i class="fas fa-exclamation-triangle"></i>
<span id="punishmentText">Current punishment information</span>
</div>
<div class="punishment-details" id="punishmentDetails"></div>
</div>
</div>
</div>
<div class="setting-item">
<div class="strike-levels">
<h4>Strike System Information</h4>
<div class="strike-level">
<span class="level-strikes">1 strike:</span>
<span class="level-punishment">Warning</span>
</div>
<div class="strike-level">
<span class="level-strikes">2 strikes:</span>
<span class="level-punishment">1 day mute</span>
</div>
<div class="strike-level">
<span class="level-strikes">3 strikes:</span>
<span class="level-punishment">2 week mute</span>
</div>
<div class="strike-level">
<span class="level-strikes">4 strikes:</span>
<span class="level-punishment">3 month suspension</span>
</div>
<div class="strike-level">
<span class="level-strikes">5 strikes:</span>
<span class="level-punishment">1 year suspension</span>
</div>
<div class="strike-level">
<span class="level-strikes">6 strikes:</span>
<span class="level-punishment">Account termination</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="js/sanitizer.js"></script>
<script src="js/api.js"></script>
<script src="js/auth.js"></script>
<script src="js/items.js"></script>
<script src="js/socialspy.js"></script>
<script src="js/app.js"></script>
<!-- Hidden file input for avatar upload -->
<input type="file" id="avatarInput" accept="image/*" style="display: none;" onchange="handleAvatarUpload(event)">
<!-- Context Menu -->
<div id="messageContextMenu" class="context-menu">
<div class="context-menu-item" id="reportMessage">
<i class="fas fa-flag"></i> Report
</div>
<div class="context-menu-item" id="deleteMessage">
<i class="fas fa-trash"></i> Delete Message
</div>
<div class="context-menu-item" id="undoReportActions">
<i class="fas fa-undo"></i> Undo Actions
</div>
</div>
<!-- DM Context Menu -->
<div id="dmContextMenu" class="context-menu">
<div class="context-menu-item" id="replyDMMessage">
<i class="fas fa-reply"></i> Reply
</div>
<div class="context-menu-item" id="reactDMMessage">
<i class="fas fa-smile"></i> React