Skip to content

Commit 772dcc2

Browse files
V1.3.0
IRONCORE
1 parent 288c6f6 commit 772dcc2

27 files changed

Lines changed: 3001 additions & 2349 deletions

LOG.log

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
------------------------------
2-
GYM One - INSTALLER - V1.2.1
2+
GYM One - INSTALLER - V1.3.0
33
------------------------------
44

55
This log file contains detailed information about the system's operation, errors, and other important events.
@@ -14,3 +14,6 @@ If you encounter any issues during the installation or operation of GYM One, ple
1414
You can reach us on Discord here: [www.gymoneglobal.com/discord]
1515

1616
Thank you for using GYM One!
17+
------------------------------
18+
End of Log
19+

assets/SQL/installer.sql

Lines changed: 50 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
CREATE TABLE IF NOT EXISTS `calendar` (
2+
`id` int(11) NOT NULL AUTO_INCREMENT,
3+
`event_name` varchar(255) NOT NULL,
4+
`start_datetime` datetime NOT NULL,
5+
`end_datetime` datetime NOT NULL,
6+
`color` varchar(7) NOT NULL,
7+
`is_recurring` tinyint(1) NOT NULL DEFAULT 1,
8+
`recurring_day` varchar(10) DEFAULT NULL,
9+
`trainer_id` int(11) DEFAULT NULL,
10+
`room_id` int(11) DEFAULT NULL,
11+
PRIMARY KEY (`id`)
12+
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
13+
114
CREATE TABLE IF NOT EXISTS `current_tickets` (
215
`id` int(11) NOT NULL AUTO_INCREMENT,
316
`userid` bigint(20) NOT NULL DEFAULT 0,
@@ -32,8 +45,12 @@ CREATE TABLE IF NOT EXISTS `logs` (
3245
`userid` bigint(20) DEFAULT NULL,
3346
`action` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
3447
`actioncolor` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT 'info',
48+
`details` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'Részletes információk JSON formátumban' CHECK (json_valid(`details`)),
3549
`time` datetime DEFAULT current_timestamp(),
36-
PRIMARY KEY (`id`)
50+
PRIMARY KEY (`id`) USING BTREE,
51+
KEY `idx_userid` (`userid`) USING BTREE,
52+
KEY `idx_time` (`time`) USING BTREE,
53+
KEY `idx_actioncolor` (`actioncolor`) USING BTREE
3754
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_hungarian_ci;
3855

3956
CREATE TABLE IF NOT EXISTS `opening_hours` (
@@ -43,7 +60,17 @@ CREATE TABLE IF NOT EXISTS `opening_hours` (
4360
`close_time` time DEFAULT NULL,
4461
PRIMARY KEY (`id`),
4562
UNIQUE KEY `day` (`day`)
46-
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
63+
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
64+
65+
CREATE TABLE IF NOT EXISTS `opening_hours_exceptions` (
66+
`id` int(11) NOT NULL AUTO_INCREMENT,
67+
`date` date NOT NULL,
68+
`open_time` time DEFAULT NULL,
69+
`close_time` time DEFAULT NULL,
70+
`is_closed` tinyint(1) NOT NULL DEFAULT 0,
71+
PRIMARY KEY (`id`),
72+
UNIQUE KEY `date` (`date`)
73+
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
4774

4875
CREATE TABLE IF NOT EXISTS `products` (
4976
`id` int(11) NOT NULL AUTO_INCREMENT,
@@ -65,14 +92,33 @@ CREATE TABLE IF NOT EXISTS `revenu_stats` (
6592
PRIMARY KEY (`id`)
6693
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
6794

95+
CREATE TABLE IF NOT EXISTS `showcase_ads` (
96+
`id` int(11) NOT NULL AUTO_INCREMENT,
97+
`product_id` int(11) NOT NULL,
98+
`display_order` int(11) NOT NULL DEFAULT 0,
99+
`is_active` tinyint(1) NOT NULL DEFAULT 1,
100+
`created_at` timestamp NOT NULL DEFAULT current_timestamp(),
101+
PRIMARY KEY (`id`),
102+
UNIQUE KEY `product_id` (`product_id`)
103+
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
104+
105+
CREATE TABLE IF NOT EXISTS `showcase_settings` (
106+
`id` int(11) NOT NULL AUTO_INCREMENT,
107+
`setting_key` varchar(100) NOT NULL,
108+
`setting_value` text DEFAULT NULL,
109+
`updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
110+
PRIMARY KEY (`id`),
111+
UNIQUE KEY `setting_key` (`setting_key`)
112+
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
113+
68114
CREATE TABLE IF NOT EXISTS `temp_cart` (
69115
`id` int(11) NOT NULL AUTO_INCREMENT,
70116
`user_id` int(11) NOT NULL,
71117
`product_id` int(11) NOT NULL,
72118
`quantity` int(11) NOT NULL,
73119
`created_at` timestamp NOT NULL DEFAULT current_timestamp(),
74120
PRIMARY KEY (`id`)
75-
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
121+
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
76122

77123
CREATE TABLE IF NOT EXISTS `temp_dailyworkout` (
78124
`id` int(11) NOT NULL AUTO_INCREMENT,
@@ -107,7 +153,7 @@ CREATE TABLE IF NOT EXISTS `timetable` (
107153
`color` varchar(7) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
108154
PRIMARY KEY (`id`),
109155
KEY `day_of_week` (`day_of_week`)
110-
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_hungarian_ci;
156+
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_hungarian_ci;
111157

112158
CREATE TABLE IF NOT EXISTS `trainers` (
113159
`id` int(11) NOT NULL AUTO_INCREMENT,

assets/css/style.css

Lines changed: 36 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,41 +6,67 @@ body {
66
background: linear-gradient(90deg, rgba(9, 80, 220, 1) 0%, rgba(9, 88, 210, 1) 50%, rgba(9, 110, 210, 1) 100%);
77
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#0950dc", endColorstr="#096ed2", GradientType=1);
88
color: #fff !important;
9+
10+
min-height: 100vh;
11+
display: flex;
12+
flex-direction: column;
13+
}
14+
15+
body > .mt-5:first-child + .container {
16+
flex: 1;
17+
}
18+
19+
body > .container {
20+
flex: 1;
921
}
22+
1023
#animated-text {
1124
transition: opacity 1s;
1225
opacity: 0;
1326
font-size: 70px;
1427
font-weight: 700;
1528
}
1629

17-
h1{
30+
h1 {
1831
font-size: 70px;
1932
font-weight: 700;
2033
}
2134

22-
.footer{
35+
.footer {
2336
background-color: #252525;
37+
margin-top: auto;
38+
}
39+
40+
.footer-waves {
41+
margin-top: auto;
42+
display: block;
43+
line-height: 0;
44+
background: transparent;
45+
}
46+
47+
.footer-waves svg {
48+
display: block;
49+
width: 100%;
2450
}
2551

26-
.svg,.bi{
52+
.svg, .bi {
2753
height: 1em;
2854
width: 1em;
2955
vertical-align: -0.125em;
3056
}
3157

3258
.custom-checkbox {
33-
width: 20px;
34-
height: 20px;
35-
border: 2px solid #333;
59+
width: 20px;
60+
height: 20px;
61+
border: 2px solid #333;
3662
}
3763

3864
.custom-checkbox:hover {
39-
border-color: #0d6efd;
40-
box-shadow: 0 0 5px rgba(13, 110, 253, 0.5);
65+
border-color: #0d6efd;
66+
box-shadow: 0 0 5px rgba(13, 110, 253, 0.5);
4167
}
4268

4369
.custom-checkbox:checked {
44-
background-color: #0d6efd;
45-
border-color: #0d6efd;
70+
background-color: #0d6efd;
71+
border-color: #0d6efd;
4672
}

assets/lang/DE.json

Lines changed: 56 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,10 @@
299299
"docs": "Dokumentation",
300300
"support": "Unterstützung",
301301
"openhourspage": "Öffnungszeiten",
302+
"we-areclosed": "WIR HABEN GESCHLOSSEN",
303+
"exc_closed_sub": "Außerordentliche Schließung — an diesem Tag können wir keine Gäste bedienen.",
304+
"exc_title": "Außerordentliche Öffnungszeiten!\n",
305+
"exc_sub": "Die markierten Tage unterscheiden sich vom üblichen Zeitplan.",
302306
"logpage": "Aktivitäten",
303307
"mailpage": "Korrespondenz",
304308
"other-header": "Sonstige",
@@ -410,6 +414,8 @@
410414
"or": "Oder",
411415
"time-update-success": "\nDu hast die Öffnungszeiten erfolgreich aktualisiert!",
412416
"date-log": "Datum",
417+
"from-date": "Von Datum",
418+
"to-date": "Bis Datum",
413419
"notexist-log": "Das Aktivitätsprotokoll ist derzeit leer.",
414420
"success-log-delete": "Du hast Aktivitäten, die älter als 15 Tage sind, erfolgreich gelöscht!",
415421
"success-update-env-smtp": "SMTP-Daten aktualisiert!",
@@ -430,7 +436,18 @@
430436
"log_delete_trainer": "Trainer erfolgreich gelöscht!",
431437
"log_sent_expire": "Erinnerungs-E-Mail gesendet!",
432438
"log_user_system": "System",
439+
"log_admin_unsuccessful_login": "Fehlgeschlagener Anmeldeversuch",
440+
"log_admin_successful_login": "Erfolgreiche Anmeldung",
441+
"log_worker_mainboss_delete": "Versuch, ein geschütztes Konto zu löschen",
442+
"log_worker_mainboss_reason": "Hauptadministrator-Konto kann nicht gelöscht werden",
443+
"log_worker_mainboss_header": "Versuch, einen geschützten Administrator zu löschen!",
444+
"log_openhours_week_edit": "Wöchentliche Öffnungszeiten aktualisiert",
445+
"log_exception_new": "Neuer Ausnahmetag hinzugefügt",
446+
"log_exception_edit": "Ausnahmetag aktualisiert",
447+
"log_exception_delete": "Ausnahmetag gelöscht",
433448
"packagepage": "Produkte",
449+
"packagepage-eyebrow": "Aktuelle Aktionen",
450+
"action_badge": "Aktion",
434451
"nopackages": "Es sind noch keine Produkte vorhanden!",
435452
"piece": "Anzahl",
436453
"categorymanage": "Administration von Kategorien",
@@ -446,6 +463,7 @@
446463
"newprice": "Preis hinzufügen",
447464
"allpackageprice": "Gesamtpreis aller Produkte:",
448465
"searchbyproductname": "Suche in Produkten...",
466+
"searchbyuser": "Nach Benutzer suchen…",
449467
"product-name": "Produktname",
450468
"price": "Preis",
451469
"product-barcode": "Barcode",
@@ -506,6 +524,7 @@
506524
"updatebtn": "Update starten",
507525
"updateback": "Geschätzte verbleibende Zeit:",
508526
"updateerror": "Fehler bei der Aktualisierung. Weitere Einzelheiten im Protokoll.",
527+
"details": "Details",
509528
"updatedownloadgithub": "Lade die neueste Version von GitHub herunter...",
510529
"updatezipdownload": "ZIP-Datei heruntergeladen und gespeichert",
511530
"updatezipunpack": "ZIP-Datei wird extrahiert…",
@@ -547,6 +566,11 @@
547566
"error-old-password": "Falsches altes Passwort! Versuche es erneut!",
548567
"success-new-password": "Neues Passwort erfolgreich eingestellt!",
549568
"newpassword": "Neues Passwort:",
569+
"passwordspattern_1": "Mindestens 8 Zeichen",
570+
"passwordspattern_2": "Mindestens 1 Großbuchstabe (A–Z)",
571+
"passwordspattern_3": "Mindestens 1 Zahl",
572+
"passwordspattern_4": "Mindestens 1 Sonderzeichen (!@#$%^&.,?)",
573+
"passwordspattern_5": "Die Passwörter müssen übereinstimmen",
550574
"passwordedited": "Passwort geändert!",
551575
"passwordemailbadge": "PASSWORT GEÄNDERT",
552576
"passwordemailheaderone": "Dein Passwort wurde geändert.",
@@ -586,9 +610,16 @@
586610
"deleteuser": "Endgültiges Löschen des Account",
587611
"areyousuredelete": "Möchtest du dein Konto wirklich endgültig löschen? Diese Aktion kann nicht rückgängig gemacht werden!",
588612
"add": "Hinzufügen",
589-
"success-add-new-worker": "Neuer Mitarbeiter hinzugefügt:",
613+
"success-add-new-worker": "Neuer Mitarbeiter hinzugefügt",
614+
"weekly-opentime": "Wöchentliche Öffnungszeiten",
615+
"special-opentime": "Sonderöffnungszeiten",
590616
"success-delete-worker": "Mitarbeiter entfernt:",
591617
"type": "Typ",
618+
"alloption": "Alle",
619+
"successoption": "Erfolgreich",
620+
"warningoption": "Warnung",
621+
"dangeroption": "Fehler",
622+
"infooption": "Information",
592623
"youwantcontact": "Möchtest du uns eine Nachricht senden?",
593624
"message": "Mitteilungen",
594625
"newmessagefromwebsite": "Neue Nachricht von der Website!",
@@ -616,6 +647,20 @@
616647
"undoallert": "\nBist du sicher, daß du diesen Benutzer löschen möchtest? Der Vorgang kann nicht rückgängig gemacht werden!",
617648
"currentticket": "Dein aktueller Pass:",
618649
"todayexpire": "Aktueller Tag",
650+
"label_today": "HEUTE",
651+
"live_display": "Live-Anzeige",
652+
"hours_eyebrow": "Wochenplan",
653+
"label_tomorrow": "MORGEN",
654+
"sunny": "Sonnig",
655+
"mostly_sunny": "Überwiegend sonnig",
656+
"partly_cloudy": "Teilweise bewölkt",
657+
"cloudy": "Bedeckt",
658+
"foggy": "Neblig",
659+
"drizzle": "Nieselregen",
660+
"storm": "Regen",
661+
"snow": "Schnee",
662+
"rain": "Regenschauer",
663+
"variable": "Wechselhaft",
619664
"invoicepage": "Rechnungen",
620665
"checkbox-closed": "Sollte es geschlossen werden?",
621666
"invoiceid": "Rechnungs-Nr.",
@@ -624,16 +669,26 @@
624669
"invoiceamount": "Insgesamt",
625670
"unitprice": "Einzelpreis",
626671
"invoice": "Rechnung",
672+
"filters": "Filter",
627673
"youcanacceptsomethings": "Um GYM One zu verwenden, musst du einige Rechtsdokumente akzeptieren!",
628674
"accept-docs": "Ich stimme dem Inhalt des Dokuments zu.",
629675
"777codepage": "Zugriffsberechtigungen",
630676
"777codetext": "Um GYM One zu verwenden, musst du die entsprechenden Berechtigungen erteilen.",
631677
"notreq": "Der Ordner hat nicht die 777-Berechtigungen. Bitte führe den folgenden Befehl aus:",
632678
"goodreq": "Die Ordnerberechtigungen sind korrekt.",
679+
"notabletoconnectdatabase": "Verbindung zur Datenbank fehlgeschlagen! Bitte überprüfe die Datenbankeinstellungen in der .env-Datei.",
633680
"database-upload": "Datenbankbefüllung",
634681
"database-upload-btn": "Installation starten",
682+
"install-downloading": "GYM One wird heruntergeladen...",
683+
"install-saving": "Archiv wird gespeichert...",
684+
"install-extracting": "Archiv wird entpackt...",
685+
"install-cleanup": "Temporäre Dateien werden gelöscht...",
686+
"install-moving-env": "Konfiguration wird verschoben...",
687+
"install-finalizing": "Installation wird abgeschlossen...",
688+
"install-success": "GYM One erfolgreich installiert!",
635689
"sql-preparing": "Installation vorbereiten",
636690
"sql-read": "Lesen von Beispieldaten",
691+
"missing-extensions": "Fehlende PHP-Erweiterungen",
637692
"sql-runningcommands": "Befehle ausführen",
638693
"sql-final": "Erfolgreiche Datenbankinstallation",
639694
"aboutdesc": "Detaillierte Einführung in das Fitnessstudio",

0 commit comments

Comments
 (0)