Spaces:
Running

Monnomdf commited on
Commit
b96e21b
·
verified ·
1 Parent(s): 5999386

Ajoute une espace destiné à l'Administrateur qui peut accéder aux contenue vip gratuitement en tapant un nom d'utilisateurs : Monnomdf et le mot de passe suivant : Monamou7865. - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +878 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Monnomdf
3
- emoji: 💻
4
- colorFrom: indigo
5
- colorTo: blue
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: monnomdf
3
+ emoji: 🐳
4
+ colorFrom: yellow
5
+ colorTo: purple
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,878 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="fr">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>AI SportBet Pro - L'expert en paris sportifs</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ .gradient-bg {
11
+ background: linear-gradient(135deg, #1e3a8a 0%, #0ea5e9 100%);
12
+ }
13
+ .stats-card {
14
+ transition: all 0.3s ease;
15
+ }
16
+ .stats-card:hover {
17
+ transform: translateY(-5px);
18
+ box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
19
+ }
20
+ .prediction-meter {
21
+ height: 8px;
22
+ border-radius: 4px;
23
+ background: linear-gradient(90deg, #ef4444 0%, #f59e0b 50%, #10b981 100%);
24
+ }
25
+ .match-card {
26
+ transition: all 0.3s ease;
27
+ border-left: 4px solid transparent;
28
+ }
29
+ .match-card:hover {
30
+ transform: translateX(5px);
31
+ }
32
+ .match-card.highlight {
33
+ border-left-color: #3b82f6;
34
+ background-color: #f8fafc;
35
+ }
36
+ .fade-in {
37
+ animation: fadeIn 0.5s ease-in;
38
+ }
39
+ @keyframes fadeIn {
40
+ from { opacity: 0; }
41
+ to { opacity: 1; }
42
+ }
43
+ #paymentModal {
44
+ z-index: 1000;
45
+ }
46
+ </style>
47
+ </head>
48
+ <body class="bg-gray-50 font-sans">
49
+ <!-- Header -->
50
+ <header class="gradient-bg text-white shadow-lg">
51
+ <div class="container mx-auto px-4 py-6">
52
+ <div class="flex justify-between items-center">
53
+ <div class="flex items-center space-x-3">
54
+ <i class="fas fa-robot text-3xl"></i>
55
+ <h1 class="text-2xl font-bold">DJINE FOOT</h1>
56
+ </div>
57
+ <div class="flex items-center space-x-4">
58
+ <div class="relative group">
59
+ <button class="bg-gray-800 text-white px-4 py-2 rounded-lg font-medium hover:bg-gray-700 transition">
60
+ <i class="fas fa-lock mr-2"></i>Admin
61
+ </button>
62
+ <div class="absolute right-0 mt-2 w-64 bg-white rounded-lg shadow-lg p-4 hidden group-hover:block z-50">
63
+ <h4 class="font-bold mb-2">Connexion Admin</h4>
64
+ <form id="adminLoginForm">
65
+ <div class="mb-2">
66
+ <input type="text" id="adminUsername" placeholder="Nom d'utilisateur"
67
+ class="w-full px-3 py-1 border rounded text-sm">
68
+ </div>
69
+ <div class="mb-3">
70
+ <input type="password" id="adminPassword" placeholder="Mot de passe"
71
+ class="w-full px-3 py-1 border rounded text-sm">
72
+ </div>
73
+ <button type="submit" class="w-full bg-blue-600 text-white py-1 rounded text-sm hover:bg-blue-700">
74
+ Se connecter
75
+ </button>
76
+ </form>
77
+ </div>
78
+ </div>
79
+ <button class="bg-white text-blue-800 px-4 py-2 rounded-lg font-medium hover:bg-blue-100 transition">
80
+ <i class="fas fa-user mr-2"></i>Mon compte
81
+ </button>
82
+ <button class="bg-blue-600 text-white px-4 py-2 rounded-lg font-medium hover:bg-blue-700 transition">
83
+ <i class="fas fa-cog mr-2"></i>Préférences
84
+ </button>
85
+ </div>
86
+ </div>
87
+ </div>
88
+ </header>
89
+
90
+ <!-- Main Content -->
91
+ <main class="container mx-auto px-4 py-8">
92
+ <!-- Dashboard -->
93
+ <div class="grid grid-cols-1 lg:grid-cols-4 gap-6 mb-8">
94
+ <!-- Stats Cards -->
95
+ <div class="stats-card bg-white p-6 rounded-xl shadow-md">
96
+ <div class="flex justify-between items-start">
97
+ <div>
98
+ <p class="text-gray-500">Précision</p>
99
+ <h3 class="text-3xl font-bold text-green-600">78%</h3>
100
+ </div>
101
+ <div class="bg-green-100 p-3 rounded-full">
102
+ <i class="fas fa-chart-line text-green-600 text-xl"></i>
103
+ </div>
104
+ </div>
105
+ <p class="text-sm text-gray-500 mt-2">+2% cette semaine</p>
106
+ </div>
107
+
108
+ <div class="stats-card bg-white p-6 rounded-xl shadow-md">
109
+ <div class="flex justify-between items-start">
110
+ <div>
111
+ <p class="text-gray-500">Matchs analysés</p>
112
+ <h3 class="text-3xl font-bold text-blue-600">1,248</h3>
113
+ </div>
114
+ <div class="bg-blue-100 p-3 rounded-full">
115
+ <i class="fas fa-database text-blue-600 text-xl"></i>
116
+ </div>
117
+ </div>
118
+ <p class="text-sm text-gray-500 mt-2">+42 aujourd'hui</p>
119
+ </div>
120
+
121
+ <div class="stats-card bg-white p-6 rounded-xl shadow-md">
122
+ <div class="flex justify-between items-start">
123
+ <div>
124
+ <p class="text-gray-500">Gain moyen</p>
125
+ <h3 class="text-3xl font-bold text-purple-600">19.5%</h3>
126
+ </div>
127
+ <div class="bg-purple-100 p-3 rounded-full">
128
+ <i class="fas fa-coins text-purple-600 text-xl"></i>
129
+ </div>
130
+ </div>
131
+ <p class="text-sm text-gray-500 mt-2">ROI sur 30 jours</p>
132
+ </div>
133
+
134
+ <div class="stats-card bg-white p-6 rounded-xl shadow-md">
135
+ <div class="flex justify-between items-start">
136
+ <div>
137
+ <p class="text-gray-500">Alertes</p>
138
+ <h3 class="text-3xl font-bold text-red-600">3</h3>
139
+ </div>
140
+ <div class="bg-red-100 p-3 rounded-full">
141
+ <i class="fas fa-bell text-red-600 text-xl"></i>
142
+ </div>
143
+ </div>
144
+ <p class="text-sm text-gray-500 mt-2">Opportunités à saisir</p>
145
+ </div>
146
+ </div>
147
+
148
+ <!-- Match Selection -->
149
+ <div class="bg-white rounded-xl shadow-md p-6 mb-8">
150
+ <div class="flex justify-between items-center mb-6">
151
+ <h2 class="text-xl font-bold text-gray-800">Sélectionnez un match à analyser</h2>
152
+ <div class="flex space-x-3">
153
+ <button id="sortByDateBtn" class="bg-gray-100 text-gray-800 px-3 py-1 rounded-lg text-sm hover:bg-gray-200 transition">
154
+ <i class="fas fa-sort mr-1"></i>Trier par date
155
+ </button>
156
+ <div class="relative">
157
+ <select class="appearance-none bg-gray-100 border border-gray-300 rounded-lg px-4 py-2 pr-8 focus:outline-none focus:ring-2 focus:ring-blue-500">
158
+ <option>Toutes les ligues</option>
159
+ <option>Ligue 1</option>
160
+ <option>Premier League</option>
161
+ <option>La Liga</option>
162
+ <option>Bundesliga</option>
163
+ <option>Serie A</option>
164
+ </select>
165
+ <i class="fas fa-chevron-down absolute right-3 top-3 text-gray-500"></i>
166
+ </div>
167
+ <div class="relative">
168
+ <select class="appearance-none bg-gray-100 border border-gray-300 rounded-lg px-4 py-2 pr-8 focus:outline-none focus:ring-2 focus:ring-blue-500">
169
+ <option>Prochains 7 jours</option>
170
+ <option>Aujourd'hui</option>
171
+ <option>Demain</option>
172
+ <option>Week-end</option>
173
+ </select>
174
+ <i class="fas fa-chevron-down absolute right-3 top-3 text-gray-500"></i>
175
+ </div>
176
+ </div>
177
+ </div>
178
+
179
+ <!-- Match List -->
180
+ <div class="space-y-3">
181
+ <div class="match-card bg-white border border-gray-200 rounded-lg p-4 flex justify-between items-center cursor-pointer highlight" data-date="2023-06-15T20:00">
182
+ <div class="flex items-center space-x-4">
183
+ <div class="text-center">
184
+ <p class="text-gray-500 text-sm">20h00</p>
185
+ <p class="text-gray-500 text-xs">15/06</p>
186
+ </div>
187
+ <div class="text-center">
188
+ <img src="https://via.placeholder.com/30" alt="PSG" class="mx-auto h-8">
189
+ <img src="https://via.placeholder.com/20" alt="PSG" class="inline-block mr-2 h-4"> <span class="font-medium">PSG</span>
190
+ </div>
191
+ <div class="text-center px-4">
192
+ <p class="text-gray-500 text-sm">VS</p>
193
+ </div>
194
+ <div class="text-center">
195
+ <img src="https://via.placeholder.com/30" alt="OM" class="mx-auto h-8">
196
+ <img src="https://via.placeholder.com/20" alt="OM" class="inline-block mr-2 h-4"> <span class="font-medium">OM</span>
197
+ </div>
198
+ </div>
199
+ <div class="flex items-center space-x-4">
200
+ <span class="bg-blue-100 text-blue-800 text-xs px-3 py-1 rounded-full">Ligue 1</span>
201
+ <span class="bg-green-100 text-green-800 text-xs px-3 py-1 rounded-full">Analyse prête</span>
202
+ <i class="fas fa-chevron-right text-gray-400"></i>
203
+ </div>
204
+ </div>
205
+
206
+ <div class="match-card bg-white border border-gray-200 rounded-lg p-4 flex justify-between items-center cursor-pointer" data-date="2023-06-15T21:00">
207
+ <div class="flex items-center space-x-4">
208
+ <div class="text-center">
209
+ <p class="text-gray-500 text-sm">21h00</p>
210
+ <p class="text-gray-500 text-xs">15/06</p>
211
+ </div>
212
+ <div class="text-center">
213
+ <img src="https://via.placeholder.com/30" alt="Real Madrid" class="mx-auto h-8">
214
+ <p class="font-medium mt-1">Real Madrid</p>
215
+ </div>
216
+ <div class="text-center px-4">
217
+ <p class="text-gray-500 text-sm">VS</p>
218
+ </div>
219
+ <div class="text-center">
220
+ <img src="https://via.placeholder.com/30" alt="Barcelona" class="mx-auto h-8">
221
+ <p class="font-medium mt-1">Barcelona</p>
222
+ </div>
223
+ </div>
224
+ <div class="flex items-center space-x-4">
225
+ <span class="bg-red-100 text-red-800 text-xs px-3 py-1 rounded-full">La Liga</span>
226
+ <span class="bg-yellow-100 text-yellow-800 text-xs px-3 py-1 rounded-full">En cours d'analyse</span>
227
+ <i class="fas fa-chevron-right text-gray-400"></i>
228
+ </div>
229
+ </div>
230
+
231
+ <div class="match-card bg-white border border-gray-200 rounded-lg p-4 flex justify-between items-center cursor-pointer" data-date="2023-06-16T20:45">
232
+ <div class="flex items-center space-x-4">
233
+ <div class="text-center">
234
+ <p class="text-gray-500 text-sm">20h45</p>
235
+ <p class="text-gray-500 text-xs">16/06</p>
236
+ </div>
237
+ <div class="text-center">
238
+ <img src="https://via.placeholder.com/30" alt="Liverpool" class="mx-auto h-8">
239
+ <p class="font-medium mt-1">Liverpool</p>
240
+ </div>
241
+ <div class="text-center px-4">
242
+ <p class="text-gray-500 text-sm">VS</p>
243
+ </div>
244
+ <div class="text-center">
245
+ <img src="https://via.placeholder.com/30" alt="Man City" class="mx-auto h-8">
246
+ <p class="font-medium mt-1">Man City</p>
247
+ </div>
248
+ </div>
249
+ <div class="flex items-center space-x-4">
250
+ <span class="bg-purple-100 text-purple-800 text-xs px-3 py-1 rounded-full">Premier League</span>
251
+ <span class="bg-green-100 text-green-800 text-xs px-3 py-1 rounded-full">Analyse prête</span>
252
+ <i class="fas fa-chevron-right text-gray-400"></i>
253
+ </div>
254
+ </div>
255
+ </div>
256
+ </div>
257
+
258
+ <!-- Match Analysis -->
259
+ <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-8">
260
+ <!-- Left Column - Match Info -->
261
+ <div class="bg-white rounded-xl shadow-md p-6">
262
+ <div class="flex justify-between items-center mb-6">
263
+ <h2 class="text-xl font-bold text-gray-800">PSG vs OM</h2>
264
+ <span class="bg-blue-100 text-blue-800 text-xs px-3 py-1 rounded-full">Ligue 1</span>
265
+ </div>
266
+
267
+ <div class="flex justify-around items-center mb-6">
268
+ <div class="text-center">
269
+ <img src="https://via.placeholder.com/60" alt="PSG" class="mx-auto h-16 mb-2">
270
+ <p class="font-medium">Paris SG</p>
271
+ <p class="text-sm text-gray-500">Domicile</p>
272
+ </div>
273
+ <div class="text-center px-4">
274
+ <p class="text-gray-500 text-lg">20h00 - 15/06</p>
275
+ <p class="text-2xl font-bold my-2">VS</p>
276
+ <p class="text-sm bg-gray-100 px-3 py-1 rounded-full">Stade: Parc des Princes</p>
277
+ </div>
278
+ <div class="text-center">
279
+ <img src="https://via.placeholder.com/60" alt="OM" class="mx-auto h-16 mb-2">
280
+ <p class="font-medium">Olympique Marseille</p>
281
+ <p class="text-sm text-gray-500">Extérieur</p>
282
+ </div>
283
+ </div>
284
+
285
+ <div class="mb-6">
286
+ <h3 class="font-bold mb-2">Conditions météo prévues</h3>
287
+ <div class="flex items-center bg-gray-50 p-3 rounded-lg">
288
+ <i class="fas fa-sun text-yellow-500 text-2xl mr-3"></i>
289
+ <div>
290
+ <p class="font-medium">Ensoleillé, 22°C</p>
291
+ <p class="text-sm text-gray-500">Vent faible (10 km/h), humidité 45%</p>
292
+ </div>
293
+ </div>
294
+ </div>
295
+
296
+ <div>
297
+ <h3 class="font-bold mb-2">Dernières nouvelles</h3>
298
+ <div class="space-y-3">
299
+ <div class="flex items-start">
300
+ <div class="bg-red-100 p-2 rounded-full mr-3">
301
+ <i class="fas fa-exclamation text-red-600"></i>
302
+ </div>
303
+ <div>
304
+ <p class="font-medium">Blessure importante</p>
305
+ <p class="text-sm text-gray-500">Neymar (PSG) absent pour blessure (3 semaines)</p>
306
+ </div>
307
+ </div>
308
+ <div class="flex items-start">
309
+ <div class="bg-blue-100 p-2 rounded-full mr-3">
310
+ <i class="fas fa-info-circle text-blue-600"></i>
311
+ </div>
312
+ <div>
313
+ <p class="font-medium">Composition probable</p>
314
+ <p class="text-sm text-gray-500">Mbappé devrait jouer en pointe</p>
315
+ </div>
316
+ </div>
317
+ </div>
318
+ </div>
319
+ </div>
320
+
321
+ <!-- Middle Column - Prediction -->
322
+ <div class="bg-white rounded-xl shadow-md p-6">
323
+ <h2 class="text-xl font-bold text-gray-800 mb-6">Pronostic IA</h2>
324
+
325
+ <div class="mb-6">
326
+ <h3 class="font-bold mb-2">Score probable</h3>
327
+ <div class="flex justify-center items-center space-x-6">
328
+ <div class="text-center">
329
+ <div class="bg-blue-100 text-blue-800 text-2xl font-bold rounded-full h-16 w-16 flex items-center justify-center">2</div>
330
+ <p class="text-sm mt-1">PSG</p>
331
+ </div>
332
+ <div class="text-2xl font-bold">-</div>
333
+ <div class="text-center">
334
+ <div class="bg-blue-100 text-blue-800 text-2xl font-bold rounded-full h-16 w-16 flex items-center justify-center">1</div>
335
+ <p class="text-sm mt-1">OM</p>
336
+ </div>
337
+ </div>
338
+ </div>
339
+
340
+ <div class="mb-6">
341
+ <h3 class="font-bold mb-2">Probabilités</h3>
342
+ <div class="space-y-3">
343
+ <div>
344
+ <div class="flex justify-between mb-1">
345
+ <span>Victoire PSG</span>
346
+ <span class="font-bold">58%</span>
347
+ </div>
348
+ <div class="w-full bg-gray-200 rounded-full h-2.5">
349
+ <div class="bg-blue-600 h-2.5 rounded-full" style="width: 58%"></div>
350
+ </div>
351
+ </div>
352
+ <div>
353
+ <div class="flex justify-between mb-1">
354
+ <span>Match nul</span>
355
+ <span class="font-bold">25%</span>
356
+ </div>
357
+ <div class="w-full bg-gray-200 rounded-full h-2.5">
358
+ <div class="bg-yellow-500 h-2.5 rounded-full" style="width: 25%"></div>
359
+ </div>
360
+ </div>
361
+ <div>
362
+ <div class="flex justify-between mb-1">
363
+ <span>Victoire OM</span>
364
+ <span class="font-bold">17%</span>
365
+ </div>
366
+ <div class="w-full bg-gray-200 rounded-full h-2.5">
367
+ <div class="bg-red-500 h-2.5 rounded-full" style="width: 17%"></div>
368
+ </div>
369
+ </div>
370
+ </div>
371
+ </div>
372
+
373
+ <div>
374
+ <h3 class="font-bold mb-2">Facteurs clés</h3>
375
+ <div class="space-y-3">
376
+ <div class="flex items-center">
377
+ <div class="bg-green-100 p-2 rounded-full mr-3">
378
+ <i class="fas fa-thumbs-up text-green-600"></i>
379
+ </div>
380
+ <div>
381
+ <p class="font-medium">Forme récente</p>
382
+ <p class="text-sm text-gray-500">PSG invaincu depuis 5 matchs</p>
383
+ </div>
384
+ </div>
385
+ <div class="flex items-center">
386
+ <div class="bg-red-100 p-2 rounded-full mr-3">
387
+ <i class="fas fa-thumbs-down text-red-600"></i>
388
+ </div>
389
+ <div>
390
+ <p class="font-medium">Performances extérieures</p>
391
+ <p class="text-sm text-gray-500">OM a perdu 3 de ses 5 derniers matchs à l'extérieur</p>
392
+ </div>
393
+ </div>
394
+ <div class="flex items-center">
395
+ <div class="bg-blue-100 p-2 rounded-full mr-3">
396
+ <i class="fas fa-history text-blue-600"></i>
397
+ </div>
398
+ <div>
399
+ <p class="font-medium">Historique</p>
400
+ <p class="text-sm text-gray-500">PSG a gagné 4 des 5 derniers confrontations</p>
401
+ </div>
402
+ </div>
403
+ </div>
404
+ </div>
405
+ </div>
406
+
407
+ <!-- Right Column - Bet Suggestions -->
408
+ <div class="bg-white rounded-xl shadow-md p-6">
409
+ <div class="flex justify-between items-center mb-6">
410
+ <h2 class="text-xl font-bold text-gray-800">Suggestions de paris</h2>
411
+ <button class="bg-gray-100 text-gray-800 px-3 py-1 rounded-lg text-sm hover:bg-gray-200 transition">
412
+ <i class="fas fa-sync-alt mr-1"></i>Actualiser
413
+ </button>
414
+ </div>
415
+
416
+ <div class="space-y-4">
417
+ <div class="border border-green-200 bg-green-50 rounded-lg p-4">
418
+ <div class="flex justify-between items-start mb-2">
419
+ <h3 class="font-bold text-green-800">Valeur élevée</h3>
420
+ <span class="bg-green-200 text-green-800 text-xs px-2 py-1 rounded-full">Confiance: 82%</span>
421
+ </div>
422
+ <p class="text-sm mb-3">Victoire PSG avec handicap -1</p>
423
+ <div class="flex justify-between items-center">
424
+ <span class="text-sm text-gray-500">Cote: 2.10</span>
425
+ <button class="bg-green-600 text-white px-3 py-1 rounded-lg text-sm hover:bg-green-700 transition">
426
+ <i class="fas fa-euro-sign mr-1"></i>Parier
427
+ </button>
428
+ </div>
429
+ </div>
430
+
431
+ <div class="border border-blue-200 bg-blue-50 rounded-lg p-4">
432
+ <div class="flex justify-between items-start mb-2">
433
+ <h3 class="font-bold text-blue-800">Sécurité</h3>
434
+ <span class="bg-blue-200 text-blue-800 text-xs px-2 py-1 rounded-full">Confiance: 76%</span>
435
+ </div>
436
+ <p class="text-sm mb-3">Plus de 2.5 buts dans le match</p>
437
+ <div class="flex justify-between items-center">
438
+ <span class="text-sm text-gray-500">Cote: 1.75</span>
439
+ <button class="bg-blue-600 text-white px-3 py-1 rounded-lg text-sm hover:bg-blue-700 transition">
440
+ <i class="fas fa-euro-sign mr-1"></i>Parier
441
+ </button>
442
+ </div>
443
+ </div>
444
+
445
+ <div class="border border-purple-200 bg-purple-50 rounded-lg p-4">
446
+ <div class="flex justify-between items-start mb-2">
447
+ <h3 class="font-bold text-purple-800">Pari risqué</h3>
448
+ <span class="bg-purple-200 text-purple-800 text-xs px-2 py-1 rounded-full">Confiance: 63%</span>
449
+ </div>
450
+ <p class="text-sm mb-3">Mbappé premier buteur</p>
451
+ <div class="flex justify-between items-center">
452
+ <span class="text-sm text-gray-500">Cote: 3.50</span>
453
+ <button class="bg-purple-600 text-white px-3 py-1 rounded-lg text-sm hover:bg-purple-700 transition">
454
+ <i class="fas fa-euro-sign mr-1"></i>Parier
455
+ </button>
456
+ </div>
457
+ </div>
458
+ </div>
459
+
460
+ <div class="mt-6">
461
+ <h3 class="font-bold mb-3">Personnaliser l'analyse</h3>
462
+ <div class="flex flex-wrap gap-2">
463
+ <button class="bg-gray-100 text-gray-800 px-3 py-1 rounded-lg text-sm hover:bg-gray-200 transition">
464
+ <i class="fas fa-sliders-h mr-1"></i>Paramètres avancés
465
+ </button>
466
+ <button class="bg-gray-100 text-gray-800 px-3 py-1 rounded-lg text-sm hover:bg-gray-200 transition">
467
+ <i class="fas fa-ban mr-1"></i>Exclure des matchs
468
+ </button>
469
+ <button class="bg-gray-100 text-gray-800 px-3 py-1 rounded-lg text-sm hover:bg-gray-200 transition">
470
+ <i class="fas fa-weight mr-1"></i>Pondérer les facteurs
471
+ </button>
472
+ </div>
473
+ </div>
474
+ </div>
475
+ </div>
476
+
477
+ <!-- VIP Section -->
478
+ <div class="bg-gradient-to-r from-yellow-600 to-yellow-800 text-white rounded-xl shadow-md p-6 mb-8">
479
+ <div class="flex justify-between items-center mb-6">
480
+ <h2 class="text-xl font-bold">Pronostics VIP - Nos meilleures analyses</h2>
481
+ <span class="bg-black bg-opacity-30 px-3 py-1 rounded-full text-sm">Exclusivité</span>
482
+ </div>
483
+
484
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
485
+ <div class="bg-white bg-opacity-10 p-6 rounded-lg border border-yellow-300">
486
+ <h3 class="font-bold text-lg mb-2">Abonnement Hebdomadaire</h3>
487
+ <p class="text-yellow-100 mb-4">Accès 7 jours aux pronostics VIP</p>
488
+ <p class="text-3xl font-bold mb-4">1 000 FCFA</p>
489
+ <button onclick="showPaymentForm('hebdo', 1000)" class="w-full bg-white text-yellow-800 py-2 rounded-lg font-medium hover:bg-yellow-100 transition">
490
+ Payer par Orange Money
491
+ </button>
492
+ <p class="text-xs mt-2 text-yellow-200">Envoyez 1 000 FCFA au +223 93082683</p>
493
+ </div>
494
+
495
+ <div class="bg-white bg-opacity-10 p-6 rounded-lg border border-yellow-300">
496
+ <h3 class="font-bold text-lg mb-2">Abonnement Mensuel</h3>
497
+ <p class="text-yellow-100 mb-4">Accès 30 jours aux pronostics VIP</p>
498
+ <p class="text-3xl font-bold mb-4">3 000 FCFA</p>
499
+ <button onclick="showPaymentForm('mensuel', 3000)" class="w-full bg-white text-yellow-800 py-2 rounded-lg font-medium hover:bg-yellow-100 transition">
500
+ Payer par Orange Money
501
+ </button>
502
+ <p class="text-xs mt-2 text-yellow-200">Envoyez 3 000 FCFA au +223 93082683</p>
503
+ </div>
504
+
505
+ <div class="bg-white bg-opacity-10 p-6 rounded-lg border border-yellow-300">
506
+ <h3 class="font-bold text-lg mb-2">Abonnement Annuel</h3>
507
+ <p class="text-yellow-100 mb-4">Accès 365 jours aux pronostics VIP</p>
508
+ <p class="text-3xl font-bold mb-4">36 000 FCFA</p>
509
+ <button onclick="showPaymentForm('annuel', 36000)" class="w-full bg-white text-yellow-800 py-2 rounded-lg font-medium hover:bg-yellow-100 transition">
510
+ Payer par Orange Money
511
+ </button>
512
+ <p class="text-xs mt-2 text-yellow-200">Envoyez 36 000 FCFA au +223 93082683</p>
513
+ </div>
514
+ </div>
515
+
516
+ <div class="mt-6 bg-black bg-opacity-20 p-4 rounded-lg">
517
+ <h3 class="font-bold mb-2">Pourquoi devenir VIP ?</h3>
518
+ <ul class="list-disc pl-5 space-y-2 text-yellow-100">
519
+ <li>Accès aux pronostics avec plus de 85% de fiabilité</li>
520
+ <li>Analyses exclusives et détaillées</li>
521
+ <li>Notifications en temps réel</li>
522
+ <li>Support prioritaire</li>
523
+ </ul>
524
+ </div>
525
+ </div>
526
+
527
+ <!-- Historical Data -->
528
+ <div class="bg-white rounded-xl shadow-md p-6 mb-8">
529
+ <div class="flex justify-between items-center mb-6">
530
+ <h2 class="text-xl font-bold text-gray-800">Données historiques</h2>
531
+ <div class="flex space-x-3">
532
+ <button class="bg-gray-100 text-gray-800 px-3 py-1 rounded-lg text-sm hover:bg-gray-200 transition">
533
+ <i class="fas fa-download mr-1"></i>Exporter
534
+ </button>
535
+ <button class="bg-blue-600 text-white px-3 py-1 rounded-lg text-sm hover:bg-blue-700 transition">
536
+ <i class="fas fa-chart-bar mr-1"></i>Visualiser
537
+ </button>
538
+ </div>
539
+ </div>
540
+
541
+ <div class="overflow-x-auto">
542
+ <table class="min-w-full divide-y divide-gray-200">
543
+ <thead class="bg-gray-50">
544
+ <tr>
545
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Date</th>
546
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Compétition</th>
547
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Score</th>
548
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Tirs</th>
549
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Possession</th>
550
+ <th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th>
551
+ </tr>
552
+ </thead>
553
+ <tbody class="bg-white divide-y divide-gray-200">
554
+ <tr class="hover:bg-gray-50">
555
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">12/03/2023</td>
556
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium">Ligue 1</td>
557
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-bold">3-0</td>
558
+ <td class="px-6 py-4 whitespace-nowrap text-sm">18-7</td>
559
+ <td class="px-6 py-4 whitespace-nowrap text-sm">62%</td>
560
+ <td class="px-6 py-4 whitespace-nowrap text-sm">
561
+ <button class="text-blue-600 hover:text-blue-800 mr-3">
562
+ <i class="fas fa-chart-line"></i>
563
+ </button>
564
+ <button class="text-red-600 hover:text-red-800">
565
+ <i class="fas fa-ban"></i>
566
+ </button>
567
+ </td>
568
+ </tr>
569
+ <tr class="hover:bg-gray-50">
570
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">06/11/2022</td>
571
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium">Ligue 1</td>
572
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-bold">1-0</td>
573
+ <td class="px-6 py-4 whitespace-nowrap text-sm">12-10</td>
574
+ <td class="px-6 py-4 whitespace-nowrap text-sm">58%</td>
575
+ <td class="px-6 py-4 whitespace-nowrap text-sm">
576
+ <button class="text-blue-600 hover:text-blue-800 mr-3">
577
+ <i class="fas fa-chart-line"></i>
578
+ </button>
579
+ <button class="text-red-600 hover:text-red-800">
580
+ <i class="fas fa-ban"></i>
581
+ </button>
582
+ </td>
583
+ </tr>
584
+ <tr class="hover:bg-gray-50">
585
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">17/04/2022</td>
586
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-medium">Ligue 1</td>
587
+ <td class="px-6 py-4 whitespace-nowrap text-sm font-bold">2-1</td>
588
+ <td class="px-6 py-4 whitespace-nowrap text-sm">15-8</td>
589
+ <td class="px-6 py-4 whitespace-nowrap text-sm">64%</td>
590
+ <td class="px-6 py-4 whitespace-nowrap text-sm">
591
+ <button class="text-blue-600 hover:text-blue-800 mr-3">
592
+ <i class="fas fa-chart-line"></i>
593
+ </button>
594
+ <button class="text-red-600 hover:text-red-800">
595
+ <i class="fas fa-ban"></i>
596
+ </button>
597
+ </td>
598
+ </tr>
599
+ </tbody>
600
+ </table>
601
+ </div>
602
+ </div>
603
+
604
+ <!-- AI Explanation -->
605
+ <div class="bg-white rounded-xl shadow-md p-6">
606
+ <h2 class="text-xl font-bold text-gray-800 mb-4">Explication de l'IA</h2>
607
+ <div class="prose max-w-none">
608
+ <p>Notre intelligence artificielle a analysé 28 facteurs différents pour ce match, dont :</p>
609
+ <ul class="list-disc pl-5">
610
+ <li>Les 12 dernières confrontations entre ces deux équipes</li>
611
+ <li>Les performances récentes des deux équipes (5 derniers matchs)</li>
612
+ <li>Les statistiques de jeu (possession, tirs cadrés, précision des passes)</li>
613
+ <li>Les blessures et suspensions actuelles</li>
614
+ <li>Les conditions météorologiques prévues</li>
615
+ <li>La motivation des équipes (enjeux du match)</li>
616
+ </ul>
617
+ <p class="mt-4">Le modèle a identifié que <strong>la forme récente du PSG à domicile</strong> (4 victoires consécutives) et <strong>les difficultés défensives de l'OM à l'extérieur</strong> (1.8 buts encaissés en moyenne) sont les facteurs les plus déterminants.</p>
618
+ <div class="mt-4 p-4 bg-blue-50 rounded-lg">
619
+ <p class="font-medium text-blue-800"><i class="fas fa-lightbulb mr-2"></i>Insight clé :</p>
620
+ <p>Dans 80% des cas où le PSG a eu plus de 60% de possession contre l'OM, ils ont remporté le match avec au moins 2 buts d'écart.</p>
621
+ </div>
622
+ </div>
623
+ </div>
624
+ </main>
625
+
626
+ <!-- Footer -->
627
+ <footer class="bg-gray-800 text-white py-8">
628
+ <div class="container mx-auto px-4">
629
+ <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
630
+ <div>
631
+ <h3 class="text-lg font-bold mb-4">AI SportBet Pro</h3>
632
+ <p class="text-gray-400">L'expert en paris sportifs assisté par intelligence artificielle.</p>
633
+ </div>
634
+ <div>
635
+ <h3 class="text-lg font-bold mb-4">Navigation</h3>
636
+ <ul class="space-y-2">
637
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Accueil</a></li>
638
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Matchs</a></li>
639
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Pronostics</a></li>
640
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Historique</a></li>
641
+ <li><a href="#" class="text-yellow-400 hover:text-yellow-300 transition font-medium">Section VIP</a></li>
642
+ </ul>
643
+ </div>
644
+ <div>
645
+ <h3 class="text-lg font-bold mb-4">Légal</h3>
646
+ <ul class="space-y-2">
647
+ <li><a href="#" class="text-gray-400 hover:text-white transition">CGU</a></li>
648
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Confidentialité</a></li>
649
+ <li><a href="#" class="text-gray-400 hover:text-white transition">Responsabilité</a></li>
650
+ </ul>
651
+ </div>
652
+ <div>
653
+ <h3 class="text-lg font-bold mb-4">Contact</h3>
654
+ <ul class="space-y-2">
655
+ <li class="flex items-center"><i class="fas fa-envelope mr-2 text-gray-400"></i> <a href="mailto:contact@aisportbetpro.com" class="text-gray-400 hover:text-white transition">contact@aisportbetpro.com</a></li>
656
+ <li class="flex items-center"><i class="fas fa-phone mr-2 text-gray-400"></i> <span class="text-gray-400">+33 1 23 45 67 89</span></li>
657
+ </ul>
658
+ </div>
659
+ </div>
660
+ <div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400">
661
+ <p>© 2023 DJINE FOOT. Tous droits réservés.</p>
662
+ </div>
663
+ </div>
664
+ </footer>
665
+
666
+ <!-- Payment Form Modal -->
667
+ <div id="paymentModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
668
+ <div class="bg-white rounded-lg p-6 max-w-md w-full">
669
+ <h3 class="text-xl font-bold mb-4">Confirmez votre paiement</h3>
670
+ <form id="paymentForm" onsubmit="processPayment(event)">
671
+ <input type="hidden" id="subscriptionType">
672
+ <input type="hidden" id="subscriptionAmount">
673
+
674
+ <div class="mb-4">
675
+ <label class="block text-gray-700 mb-2">Numéro Orange Money</label>
676
+ <input type="tel" class="w-full px-3 py-2 border rounded-lg" placeholder="Ex: 770000000" required>
677
+ </div>
678
+
679
+ <div class="mb-4">
680
+ <label class="block text-gray-700 mb-2">Code de transaction</label>
681
+ <input type="text" class="w-full px-3 py-2 border rounded-lg" placeholder="Code reçu par SMS" required>
682
+ </div>
683
+
684
+ <div class="flex justify-end space-x-3">
685
+ <button type="button" onclick="hidePaymentForm()" class="px-4 py-2 border rounded-lg">Annuler</button>
686
+ <button type="submit" class="bg-yellow-600 text-white px-4 py-2 rounded-lg">Valider le paiement</button>
687
+ </div>
688
+ </form>
689
+ </div>
690
+ </div>
691
+
692
+ <script>
693
+ // Payment functions
694
+ function showPaymentForm(type, amount) {
695
+ document.getElementById('subscriptionType').value = type;
696
+ document.getElementById('subscriptionAmount').value = amount;
697
+ document.getElementById('paymentModal').classList.remove('hidden');
698
+ }
699
+
700
+ function hidePaymentForm() {
701
+ document.getElementById('paymentModal').classList.add('hidden');
702
+ document.getElementById('paymentForm').reset();
703
+ }
704
+
705
+ function processPayment(e) {
706
+ e.preventDefault();
707
+
708
+ const type = document.getElementById('subscriptionType').value;
709
+ const amount = document.getElementById('subscriptionAmount').value;
710
+
711
+ // Show loading
712
+ const submitBtn = e.target.querySelector('button[type="submit"]');
713
+ const originalText = submitBtn.innerHTML;
714
+ submitBtn.innerHTML = '<i class="fas fa-spinner fa-spin mr-2"></i> Traitement...';
715
+ submitBtn.disabled = true;
716
+
717
+ // Simulate API call to verify payment
718
+ setTimeout(() => {
719
+ // On successful payment
720
+ hidePaymentForm();
721
+
722
+ // Activate subscription
723
+ activateSubscription(type);
724
+
725
+ // Show success notification
726
+ showNotification('success', 'Paiement confirmé! Votre abonnement est maintenant actif.');
727
+
728
+ // Reset form
729
+ submitBtn.innerHTML = originalText;
730
+ submitBtn.disabled = false;
731
+ }, 2000);
732
+ }
733
+
734
+ function activateSubscription(type) {
735
+ // Store subscription in localStorage
736
+ const expiryDate = new Date();
737
+
738
+ switch(type) {
739
+ case 'hebdo':
740
+ expiryDate.setDate(expiryDate.getDate() + 7);
741
+ break;
742
+ case 'mensuel':
743
+ expiryDate.setMonth(expiryDate.getMonth() + 1);
744
+ break;
745
+ case 'annuel':
746
+ expiryDate.setFullYear(expiryDate.getFullYear() + 1);
747
+ break;
748
+ }
749
+
750
+ localStorage.setItem('vipSubscription', JSON.stringify({
751
+ type: type,
752
+ expiry: expiryDate.toISOString()
753
+ }));
754
+
755
+ // Update UI
756
+ updateVIPStatus();
757
+ }
758
+
759
+ function updateVIPStatus() {
760
+ // Check if user has active subscription
761
+ const subscription = localStorage.getItem('vipSubscription');
762
+ if (subscription) {
763
+ const data = JSON.parse(subscription);
764
+ const expiryDate = new Date(data.expiry);
765
+
766
+ if (expiryDate > new Date()) {
767
+ // User has active subscription
768
+ document.querySelectorAll('.vip-content').forEach(el => {
769
+ el.classList.remove('hidden');
770
+ });
771
+ document.querySelectorAll('.subscribe-btn').forEach(el => {
772
+ el.classList.add('hidden');
773
+ });
774
+ }
775
+ }
776
+ }
777
+
778
+ function showNotification(type, message) {
779
+ const notification = document.createElement('div');
780
+ notification.className = `fixed bottom-4 right-4 px-4 py-2 rounded-lg shadow-lg flex items-center fade-in ${
781
+ type === 'success' ? 'bg-green-500 text-white' : 'bg-red-500 text-white'
782
+ }`;
783
+ notification.innerHTML = `
784
+ <i class="fas ${type === 'success' ? 'fa-check-circle' : 'fa-exclamation-triangle'} mr-2"></i>
785
+ ${message}
786
+ `;
787
+ document.body.appendChild(notification);
788
+
789
+ setTimeout(() => {
790
+ notification.classList.add('opacity-0', 'transition-opacity', 'duration-500');
791
+ setTimeout(() => notification.remove(), 500);
792
+ }, 3000);
793
+ }
794
+
795
+ // Admin login function
796
+ document.getElementById('adminLoginForm').addEventListener('submit', function(e) {
797
+ e.preventDefault();
798
+ const username = document.getElementById('adminUsername').value;
799
+ const password = document.getElementById('adminPassword').value;
800
+
801
+ if(username === 'Monnomdf' && password === 'Monamou7865') {
802
+ // Activate VIP access
803
+ localStorage.setItem('vipSubscription', JSON.stringify({
804
+ type: 'admin',
805
+ expiry: new Date('2099-12-31').toISOString()
806
+ }));
807
+ updateVIPStatus();
808
+ showNotification('success', 'Connexion admin réussie! Accès VIP activé.');
809
+ } else {
810
+ showNotification('error', 'Identifiants incorrects');
811
+ }
812
+
813
+ this.reset();
814
+ });
815
+
816
+ // Check subscription status on page load
817
+ document.addEventListener('DOMContentLoaded', updateVIPStatus);
818
+ // Match card selection
819
+ document.querySelectorAll('.match-card').forEach(card => {
820
+ card.addEventListener('click', function() {
821
+ document.querySelectorAll('.match-card').forEach(c => c.classList.remove('highlight'));
822
+ this.classList.add('highlight');
823
+ });
824
+ });
825
+
826
+ // Simulate loading animation
827
+ function simulateAnalysis() {
828
+ const loadingBtn = document.createElement('button');
829
+ loadingBtn.className = 'bg-blue-600 text-white px-4 py-2 rounded-lg font-medium flex items-center justify-center';
830
+ loadingBtn.innerHTML = '<i class="fas fa-spinner fa-spin mr-2"></i>Analyse en cours...';
831
+
832
+ const container = document.querySelector('.match-card.highlight').querySelector('span:last-child');
833
+ const originalContent = container.innerHTML;
834
+ container.parentNode.replaceChild(loadingBtn, container);
835
+
836
+ setTimeout(() => {
837
+ loadingBtn.parentNode.replaceChild(container, loadingBtn);
838
+ container.innerHTML = '<span class="bg-green-100 text-green-800 text-xs px-3 py-1 rounded-full">Analyse prête</span>';
839
+
840
+ // Show notification
841
+ const notification = document.createElement('div');
842
+ notification.className = 'fixed bottom-4 right-4 bg-green-500 text-white px-4 py-2 rounded-lg shadow-lg flex items-center fade-in';
843
+ notification.innerHTML = '<i class="fas fa-check-circle mr-2"></i> Analyse terminée pour PSG vs OM';
844
+ document.body.appendChild(notification);
845
+
846
+ setTimeout(() => {
847
+ notification.classList.add('opacity-0', 'transition-opacity', 'duration-500');
848
+ setTimeout(() => notification.remove(), 500);
849
+ }, 3000);
850
+ }, 2000);
851
+ }
852
+
853
+ // Add event listener to refresh button
854
+ document.querySelector('.bg-gray-100.text-gray-800').addEventListener('click', simulateAnalysis);
855
+
856
+ // Sort matches by date
857
+ document.getElementById('sortByDateBtn').addEventListener('click', function() {
858
+ const container = document.querySelector('.space-y-3');
859
+ const matches = Array.from(document.querySelectorAll('.match-card'));
860
+
861
+ matches.sort((a, b) => {
862
+ const dateA = new Date(a.getAttribute('data-date'));
863
+ const dateB = new Date(b.getAttribute('data-date'));
864
+ return dateA - dateB;
865
+ });
866
+
867
+ // Remove all matches from container
868
+ matches.forEach(match => match.remove());
869
+
870
+ // Add sorted matches back to container
871
+ matches.forEach(match => container.appendChild(match));
872
+
873
+ // Show notification
874
+ showNotification('success', 'Pronostics triés par date');
875
+ });
876
+ </script>
877
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Monnomdf/monnomdf" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
878
+ </html>