Add initial files and database migration for ticket pricing system

- Created new directories and index files for controls, factory, and views.
- Added .htaccess files for URL rewriting in layout and images directories.
- Included a logo image in the layout/images directory.
- Implemented load_prices.php to load ticket prices from the database into settings.
- Developed admin panel settings page for enabling ticket sales.
- Created tickets management page in the admin panel to display and edit ticket prices.
- Added upgrade.php for database migrations, including creating the ticket_prices table and adding weekend price column.
This commit is contained in:
2026-02-23 00:17:46 +01:00
parent 58b2373712
commit 238c9ecaed
37 changed files with 2052 additions and 1841 deletions

6
.vscode/ftp-kr.json vendored
View File

@@ -12,6 +12,10 @@
"ignoreRemoteModification": true,
"ignore": [
".git",
"/.vscode"
"/.vscode",
"CLAUDE.md",
"/.sereana",
"/.claude",
".gitignore"
]
}

View File

@@ -23,8 +23,8 @@
},
"class.DbModel.php": {
"type": "-",
"size": 1392,
"lmtime": 0,
"size": 1397,
"lmtime": 1771797002635,
"modified": false
},
"class.Excel.php": {
@@ -41,22 +41,23 @@
},
"class.S.php": {
"type": "-",
"size": 7661,
"lmtime": 1746049759245,
"size": 7625,
"lmtime": 1771797056545,
"modified": false
},
"class.Tpl.php": {
"type": "-",
"size": 1673,
"lmtime": 1746048812215,
"size": 1755,
"lmtime": 1771797039461,
"modified": false
},
"controls": {
"207286": {},
"class.Apanel.php": {
"type": "-",
"size": 5166,
"lmtime": 1746048812388,
"modified": true
"size": 5395,
"lmtime": 1771797091338,
"modified": false
},
"class.Cron.php": {
"type": "-",
@@ -66,20 +67,20 @@
},
"class.Scanner.php": {
"type": "-",
"size": 3453,
"lmtime": 1746048812463,
"size": 3550,
"lmtime": 1771797058858,
"modified": false
},
"class.Site.php": {
"type": "-",
"size": 570,
"lmtime": 1746048812539,
"size": 625,
"lmtime": 1771797034132,
"modified": false
},
"class.Tickets.php": {
"type": "-",
"size": 20131,
"lmtime": 1746050141213,
"size": 21496,
"lmtime": 1771797086011,
"modified": false
},
"class.Users.php": {
@@ -93,13 +94,20 @@
"size": 200,
"lmtime": 1746048812782,
"modified": false
},
"index.php": {
"type": "-",
"size": 0,
"lmtime": 0,
"modified": false
}
},
"factory": {
"879348": {},
"class.Apanel.php": {
"type": "-",
"size": 1208,
"lmtime": 1746048812856,
"size": 1273,
"lmtime": 1771796998145,
"modified": false
},
"class.Cron.php": {
@@ -110,14 +118,14 @@
},
"class.Tickets.php": {
"type": "-",
"size": 2515,
"lmtime": 1746048813029,
"size": 2630,
"lmtime": 1771796997296,
"modified": false
},
"class.Users.php": {
"type": "-",
"size": 1510,
"lmtime": 0,
"size": 1519,
"lmtime": 1771797051167,
"modified": false
},
".htaccess": {
@@ -125,6 +133,12 @@
"size": 200,
"lmtime": 1746048813105,
"modified": false
},
"index.php": {
"type": "-",
"size": 0,
"lmtime": 0,
"modified": false
}
},
".htaccess": {
@@ -134,6 +148,7 @@
"modified": false
},
"view": {
"330138": {},
"class.Cron.php": {
"type": "-",
"size": 46,
@@ -142,8 +157,8 @@
},
"class.Site.php": {
"type": "-",
"size": 827,
"lmtime": 0,
"size": 863,
"lmtime": 1771797032107,
"modified": false
},
"class.Users.php": {
@@ -157,13 +172,27 @@
"size": 200,
"lmtime": 1746048813184,
"modified": false
},
"index.php": {
"type": "-",
"size": 0,
"lmtime": 0,
"modified": false
}
}
},
".claude": {
"settings.local.json": {
"type": "-",
"size": 184,
"lmtime": 1771797522111,
"modified": false
}
},
"config.php": {
"type": "-",
"size": 8616,
"lmtime": 1746049434100,
"size": 8763,
"lmtime": 1771797005444,
"modified": false
},
"cron.php": {
@@ -178,6 +207,22 @@
"lmtime": 0,
"modified": false
},
"dev": {
"team": {
"2026-02-22_22-51_php81-kompatybilnosc.md": {
"type": "-",
"size": 4570,
"lmtime": 1771797146637,
"modified": false
},
"session-state.json": {
"type": "-",
"size": 730,
"lmtime": 1771797155895,
"modified": false
}
}
},
".gitignore": {
"type": "-",
"size": 0,
@@ -192,12 +237,88 @@
},
"index.php": {
"type": "-",
"size": 1675,
"lmtime": 1746049418854,
"size": 1774,
"lmtime": 1771797586319,
"modified": false
},
"info.php": {
"type": "-",
"size": 14,
"lmtime": 1771795279292,
"modified": false
},
"layout": {},
"libraries": {},
"libraries": {
"bootstrap": {},
"bootstrap-4.1.3": {},
"ckeditor": {},
"context-menu.js": {
"type": "-",
"size": 2843,
"lmtime": 0,
"modified": false
},
"countdown": {},
"dataTable": {},
"datepicker": {},
"daterange": {},
"filemanager-9.14.1": {},
"font-awesome-4.7.0": {},
"font-awesome-6.1.1": {},
"functions.js": {
"type": "-",
"size": 3098,
"lmtime": 0,
"modified": false
},
"grid": {},
".htaccess": {
"type": "-",
"size": 200,
"lmtime": 0,
"modified": false
},
"icheck-1.0.2": {},
"jquery": {},
"jquery-confirm": {},
"jquery-gantt": {},
"license.txt": {
"type": "-",
"size": 16728,
"lmtime": 1748556485000,
"modified": false
},
"medoo": {},
"moment": {},
"phpmailer": {},
"phpqrcode": {},
"qrcode-scanner": {},
"rb-download.tar.gz": {
"type": "-",
"size": 132796,
"lmtime": 1771797357906,
"modified": false
},
"rb.php": {
"type": "-",
"size": 552317,
"lmtime": 1748556485000,
"modified": false
},
"tagsinput": {},
"typeahead.bundle.js": {
"type": "-",
"size": 96186,
"lmtime": 0,
"modified": false
},
"xlsxwriter.class.php": {
"type": "-",
"size": 48385,
"lmtime": 0,
"modified": false
}
},
"orders": {},
"templates": {
"admin-panel": {