mirror of
https://github.com/Deutscher-Tischfussballbund/com_sportsmanager.git
synced 2026-06-10 14:37:52 +00:00
Compare commits
100 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7b1cc50943 | |||
| 133a983685 | |||
| 20b956b239 | |||
| fedb300d8f | |||
| 07121c2233 | |||
| 8dab7fa74f | |||
| 1bd53893a8 | |||
| acfcbb1010 | |||
| a6aee26211 | |||
| b24203ccb9 | |||
| 2ff39cf086 | |||
| 0729291afc | |||
| f3c2040632 | |||
| 1235edde82 | |||
| 763fd7d386 | |||
| 77e2c6e910 | |||
| a2aee3b135 | |||
| 9a7f8acc3b | |||
| 9091b22859 | |||
| 839b27756a | |||
| 0d0ee08199 | |||
| 6609a4ca78 | |||
| 4ecf48d02e | |||
| 40633f864a | |||
| 8e6aa127c6 | |||
| 9289843cb1 | |||
| 7a70500175 | |||
| 31b8e5251e | |||
| 455f845ab0 | |||
| f55d89827a | |||
| 874e06e061 | |||
| 83b8e1c25f | |||
| 3c9fac7e1a | |||
| 4ec02e5f02 | |||
| 4d1573729d | |||
| 6da371569a | |||
| fdede4a4a7 | |||
| 7ced30cf5b | |||
| 934b5b4971 | |||
| 085e5a8aeb | |||
| 53ada7c6b0 | |||
| 29dbfaeea4 | |||
| 95e02435fd | |||
| 32eacde07d | |||
| 2b19aee00f | |||
| 8b6ad5103c | |||
| 743f2b4013 | |||
| 2d2a124239 | |||
| d1e0dec74a | |||
| c4c3ea88fc | |||
| 761e04b6f2 | |||
| 089796d201 | |||
| e2b6f48498 | |||
| 3422813152 | |||
| 67b46f121a | |||
| 6c3c9badfd | |||
| e05d107af3 | |||
| 2f94c29c7e | |||
| b656cb5df3 | |||
| af97c59960 | |||
| ebb3580fad | |||
| 4a313d5914 | |||
| 771856b842 | |||
| 0c4d0820d1 | |||
| 8a0ad8d8e9 | |||
| 03a448f4cc | |||
| 9d75619c2c | |||
| a1890c51c0 | |||
| 51ee656f66 | |||
| 6d9df0e769 | |||
| a74bcb0ee8 | |||
| 6399eab0af | |||
| 9cde84a1d0 | |||
| 76738ec307 | |||
| 59e1a4571b | |||
| 7952c95217 | |||
| 56d8be9a55 | |||
| 29f0e6842b | |||
| 22e96bf49d | |||
| 1e4e34ef71 | |||
| d98f7da7b9 | |||
| 94e768ef51 | |||
| 36dbfdb7c4 | |||
| 5cfd8f3c1a | |||
| 1d7369e456 | |||
| de467c0d4a | |||
| 0225e49beb | |||
| e1ecec502b | |||
| 000731a289 | |||
| 385bef0752 | |||
| 902ae55a9a | |||
| feb08ff903 | |||
| a922b11b6d | |||
| 254d556899 | |||
| 984156ca95 | |||
| 6ae7388a44 | |||
| 4f78e31277 | |||
| 2dddfa473a | |||
| 82c0f3a58b | |||
| a6fe497cad |
@@ -0,0 +1,25 @@
|
|||||||
|
name-template: "Release $COMPLETE"
|
||||||
|
tag-template: "v$COMPLETE"
|
||||||
|
draft: false
|
||||||
|
|
||||||
|
exclude:
|
||||||
|
pulls: true
|
||||||
|
exclude-labels:
|
||||||
|
- changelog-ignore
|
||||||
|
|
||||||
|
categories:
|
||||||
|
- title: "Features"
|
||||||
|
labels: ["feature", "enhancement"]
|
||||||
|
- title: "Fixes"
|
||||||
|
labels: ["bug"]
|
||||||
|
- title: "Maintenance"
|
||||||
|
labels: ["chore", "refactor"]
|
||||||
|
|
||||||
|
change-template: "- $TITLE [#$NUMBER]"
|
||||||
|
|
||||||
|
template: |
|
||||||
|
# Release $RESOLVED_VERSION
|
||||||
|
|
||||||
|
## Changes
|
||||||
|
|
||||||
|
$CHANGES
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
name-template: "Release $COMPLETE"
|
||||||
|
tag-template: "v$COMPLETE"
|
||||||
|
draft: false
|
||||||
|
|
||||||
|
exclude:
|
||||||
|
pulls: true
|
||||||
|
exclude-labels:
|
||||||
|
- changelog-ignore
|
||||||
|
|
||||||
|
categories:
|
||||||
|
- title: "Features"
|
||||||
|
labels: ["feature", "enhancement"]
|
||||||
|
- title: "Fixes"
|
||||||
|
labels: ["bug"]
|
||||||
|
- title: "Maintenance"
|
||||||
|
labels: ["chore", "refactor"]
|
||||||
|
|
||||||
|
change-template: "- $TITLE [#$NUMBER]"
|
||||||
|
|
||||||
|
template: |
|
||||||
|
## Changes
|
||||||
|
|
||||||
|
$CHANGES
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
name: Auto-label PRs
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: [opened, reopened, synchronize, edited]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
label-changelog-ignore:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Label PRs
|
||||||
|
uses: actions/github-script@v7
|
||||||
|
with:
|
||||||
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
script: |
|
||||||
|
const base = context.payload.pull_request.base.ref;
|
||||||
|
const head = context.payload.pull_request.head.ref;
|
||||||
|
|
||||||
|
if ((base === 'sportsmanager2-prod' && head === 'sportsmanager2-stage') || (base === 'sportsmanager2-stage' && head === 'sportsmanager2-dev')) {
|
||||||
|
await github.rest.issues.addLabels({
|
||||||
|
...context.repo,
|
||||||
|
issue_number: context.payload.pull_request.number,
|
||||||
|
labels: ['changelog-ignore']
|
||||||
|
});
|
||||||
|
}
|
||||||
@@ -0,0 +1,81 @@
|
|||||||
|
# This workflow will run release using node and then publish a package to GitHub Packages when a release is created
|
||||||
|
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
|
||||||
|
|
||||||
|
name: Sportsmanager Release
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- 'v[0-9]+.[0-9]+.[0-9]+' # run only on version tags like v1.0.0
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ref: sportsmanager2-prod
|
||||||
|
|
||||||
|
- name: Set up Node.js
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 20
|
||||||
|
|
||||||
|
- name: Install npm dependencies
|
||||||
|
run: npm ci
|
||||||
|
|
||||||
|
- name: Generate release notes
|
||||||
|
id: release_notes_extension
|
||||||
|
uses: release-drafter/release-drafter@v6
|
||||||
|
with:
|
||||||
|
config-name: release-drafter_extension.yml
|
||||||
|
version: ${{ github.ref_name }}
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Save release notes to file
|
||||||
|
run: |
|
||||||
|
echo "${{ steps.release_notes_extension.outputs.body }}" > RELEASE_NOTES.md
|
||||||
|
|
||||||
|
- name: Run build script
|
||||||
|
run: npm run release
|
||||||
|
|
||||||
|
- name: Generate release notes
|
||||||
|
id: release_notes_github
|
||||||
|
uses: release-drafter/release-drafter@v6
|
||||||
|
with:
|
||||||
|
config-name: release-drafter_github.yml
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Save release notes to file
|
||||||
|
run: |
|
||||||
|
echo "${{ steps.release_notes_github.outputs.body }}" > RELEASE_NOTES.md
|
||||||
|
|
||||||
|
- name: Create GitHub Release
|
||||||
|
uses: softprops/action-gh-release@v2
|
||||||
|
with:
|
||||||
|
tag_name: "${{ github.ref_name }}"
|
||||||
|
name: "Release ${{ github.ref_name }}"
|
||||||
|
files: package/packages/com_sportsmanager.zip
|
||||||
|
body_path: "RELEASE_NOTES.md"
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Delete draft release via API # workaround: remove leftover draft by release-drafter
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
REPO: ${{ github.repository }}
|
||||||
|
run: |
|
||||||
|
drafts=$(curl -s -H "Authorization: token $GITHUB_TOKEN" \
|
||||||
|
https://api.github.com/repos/$REPO/releases | jq '.[] | select(.draft == true)')
|
||||||
|
|
||||||
|
if [ -n "$drafts" ]; then
|
||||||
|
id=$(echo "$drafts" | jq -r '.id')
|
||||||
|
curl -s -X DELETE -H "Authorization: token $GITHUB_TOKEN" \
|
||||||
|
https://api.github.com/repos/$REPO/releases/$id
|
||||||
|
echo "Deleted draft release with ID: $id"
|
||||||
|
else
|
||||||
|
echo "No draft releases found"
|
||||||
|
fi
|
||||||
@@ -6,7 +6,7 @@ name: Snapshot Release
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- 'v*-snapshot' # run only on version tags like v1.0.0-snapshot
|
- 'v[0-9]+.[0-9]+.[0-9]+-snapshot' # run only on version tags like v1.0.0-snapshot
|
||||||
# - 'v*' # Run only on version tags like v1.0.0
|
# - 'v*' # Run only on version tags like v1.0.0
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -33,7 +33,7 @@ jobs:
|
|||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
prerelease: true
|
prerelease: true
|
||||||
name: SNAPSHOT
|
name: "Snapshot ${{ github.ref_name }}"
|
||||||
files: package/packages/com_sportsmanager.zip
|
files: package/packages/com_sportsmanager.zip
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
@@ -1,16 +1,25 @@
|
|||||||
# SportsManager
|
# SportsManager
|
||||||
|
|
||||||
## Deploy status
|
## DEV/STAGE environments
|
||||||
|
|
||||||
### DEV environment
|
| LV | HOSTER | DOMAIN | BRANCH |
|
||||||
[](https://buddy.kicktemp.com/kicktemp/com-sportsmanager/pipelines/pipeline/173) [Preview: sportsmanager.s10.kicktemp.dev](https://sportsmanager.s10.kicktemp.dev)
|
| ------ | -------- | ------------------------------------------------------------ | -------------------- |
|
||||||
|
| DTFB | Kicktemp | [stage.dtfb.de](https://stage.dtfb.de) | dev |
|
||||||
|
| TFVHH | Kicktemp | [stage.kickern-hamburg.de](https://stage.kickern-hamburg.de) | dev |
|
||||||
|
| STFVH | DTFB | [stage.stfv.de](https://stage.stfv.de/) | sportsmanager2-stage |
|
||||||
|
| MTFV | DTFB | [stage.mtfv.de](https://stage.mtfv.de/) | ? |
|
||||||
|
| TFVSH | DTFB | [relaunch.tfvsh.de](https://relaunch.tfvsh.de) | ? |
|
||||||
|
|
||||||
[](https://buddy.kicktemp.com/kicktemp/com-sportsmanager/pipelines/pipeline/204) [Preview: stage.kickern-hamburg.de](https://stage.kickern-hamburg.de)
|
|
||||||
|
|
||||||
### PROD environment
|
## PROD environments
|
||||||
[](https://buddy.kicktemp.com/kicktemp/com-sportsmanager/pipelines/pipeline/218) [Preview: dtfb.de](https://dtfb.de)
|
|
||||||
|
|
||||||
[](https://buddy.kicktemp.com/kicktemp/com-sportsmanager/pipelines/pipeline/219) [Preview: kickern-hamburg.de](https://kickern-hamburg.de)
|
| LV | HOSTER | DOMAIN | BRANCH |
|
||||||
|
| ------ | -------- | ------------------------------------------------ | ------------------- |
|
||||||
|
| DTFB | Kicktemp | [dtfb.de](https://dtfb.de) | production |
|
||||||
|
| TFVHH | Kicktemp | [kickern-hamburg.de](https://kickern-hamburg.de) | production |
|
||||||
|
| MTFV | DTFB | [mtfv.de](https://mtfv.de/) | sportsmanager2-prod |
|
||||||
|
| TFVSH | DTFB | [tfvsh.de](https://tfvsh.de/) | sportsmanager2-prod |
|
||||||
|
| STFVH | DTFB | [stfv.de](https://stfv.de/) | sportsmanager2-prod |
|
||||||
|
|
||||||
|
|
||||||
## Test setup
|
## Test setup
|
||||||
@@ -40,5 +49,37 @@ joomla specific database prefixes like #__
|
|||||||
To set it up, insert into the configuration popup which follows after you enable the framework support:
|
To set it up, insert into the configuration popup which follows after you enable the framework support:
|
||||||
Joomla install path: `./data/joomla_data`
|
Joomla install path: `./data/joomla_data`
|
||||||
JConfig: `./data/joomla_data/configuration.php`
|
JConfig: `./data/joomla_data/configuration.php`
|
||||||
|
> This works only with mounted volumes. However, mounted volumes will slow down the joomla instance significantly.
|
||||||
|
> The current setup does not use mounted volumes.
|
||||||
|
> An alternative would be to download joomla and use that installation
|
||||||
|
|
||||||
|
### Debugging (with Docker/Intellij)
|
||||||
|
1. Start Docker Container (see above)
|
||||||
|
2. Create a terminal for that container
|
||||||
|
```shell
|
||||||
|
docker exec -it <container_name> bash
|
||||||
|
```
|
||||||
|
3. install xdebug within the container since joomla does not come with xdebug preinstalled
|
||||||
|
```shell
|
||||||
|
pecl install xdebug
|
||||||
|
```
|
||||||
|
4. restart the container
|
||||||
|
5. In Intellij Go to [File | Settings | Languages & Frameworks | PHP | Servers](jetbrains://idea/settings?name=Languages+%26+Frameworks--PHP--Servers) and setup your server
|
||||||
|
|
||||||
|
| | |
|
||||||
|
|----------|-----------|
|
||||||
|
| name | anything |
|
||||||
|
| host | localhost |
|
||||||
|
| port | 8080 |
|
||||||
|
| debugger | xdebug |
|
||||||
|
|
||||||
|
use the path mapping and map the repo structure to the container content
|
||||||
|
|
||||||
|
| File/Directory | path on server |
|
||||||
|
|------------------------------------------------------------------|----------------------------------------|
|
||||||
|
| \<path>/com_sportsmanager/src/structure/administrator/components | /var/www/html/administrator/components |
|
||||||
|
| \<path>/com_sportsmanager/src/structure/components | /var/www/html/components |
|
||||||
|
|
||||||
|
7. Click on "Start Listening for PHP Debug Connections" in the top row of intellij
|
||||||
|
8. (Not sure if optional) Install a browser extension by Jetbrains
|
||||||
|
https://chromewebstore.google.com/detail/xdebug-helper-by-jetbrain/aoelhdemabeimdhedkidlnbkfhnhgnhm
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
This is no official release!
|
||||||
|
The Release and the release notes will be generated by github actions
|
||||||
@@ -30,6 +30,7 @@ services:
|
|||||||
MYSQL_USER: joomla
|
MYSQL_USER: joomla
|
||||||
MYSQL_PASSWORD: examplepass
|
MYSQL_PASSWORD: examplepass
|
||||||
MYSQL_RANDOM_ROOT_PASSWORD: '1'
|
MYSQL_RANDOM_ROOT_PASSWORD: '1'
|
||||||
|
TZ: Europe/Berlin
|
||||||
volumes:
|
volumes:
|
||||||
- joomla_database:/var/lib/mysql
|
- joomla_database:/var/lib/mysql
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
@@ -1924,3 +1924,12 @@ opcache.file_cache = /tmp/opcache_file
|
|||||||
|
|
||||||
; List of headers files to preload, wildcard patterns allowed.
|
; List of headers files to preload, wildcard patterns allowed.
|
||||||
;ffi.preload=
|
;ffi.preload=
|
||||||
|
|
||||||
|
zend_extension=xdebug.so
|
||||||
|
xdebug.mode=debug
|
||||||
|
xdebug.start_with_request=yes
|
||||||
|
xdebug.client_host=host.docker.internal
|
||||||
|
xdebug.client_port=9003
|
||||||
|
xdebug.log=/tmp/xdebug.log
|
||||||
|
xdebug.discover_client_host=false
|
||||||
|
xdebug.log_level=7
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ export const config = {
|
|||||||
watch: ['src/structure/**/*.{php,html,xml,ini,less,json,js,css}'],
|
watch: ['src/structure/**/*.{php,html,xml,ini,less,json,js,css}'],
|
||||||
},
|
},
|
||||||
copyrelease: {
|
copyrelease: {
|
||||||
src: ['src/structure/**/**', 'src/structure/**/.*', '!src/structure/**/*.{php,html,xml,ini,less,json,js,css}', '!src/structure/**/.*.{php,html,xml,ini,less,json,js,css}'],
|
src: ['RELEASE_NOTES.md','src/structure/**/**', 'src/structure/**/.*', '!src/structure/**/*.{php,html,xml,ini,less,json,js,css}', '!src/structure/**/.*.{php,html,xml,ini,less,json,js,css}'],
|
||||||
replacesrc: ['src/structure/**/**.{php,html,xml,ini,less,json,js,css}', 'src/structure/**/.*.{php,html,xml,ini,less,json,js,css}'],
|
replacesrc: ['src/structure/**/**.{php,html,xml,ini,less,json,js,css}', 'src/structure/**/.*.{php,html,xml,ini,less,json,js,css}'],
|
||||||
dest: 'releasefiles/'
|
dest: 'releasefiles/'
|
||||||
},
|
},
|
||||||
@@ -90,6 +90,10 @@ export const config = {
|
|||||||
{
|
{
|
||||||
src: './releasefiles/plugins/system/kickyootheme/**/**',
|
src: './releasefiles/plugins/system/kickyootheme/**/**',
|
||||||
dest: 'sourcefiles/plg_system_kickyootheme'
|
dest: 'sourcefiles/plg_system_kickyootheme'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
src: './releasefiles/RELEASE_NOTES.md',
|
||||||
|
dest: 'sourcefiles/com_sportsmanager/admin/'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
package: [
|
package: [
|
||||||
|
|||||||
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "sportsmanager",
|
"name": "sportsmanager",
|
||||||
"description": "",
|
"description": "",
|
||||||
"version": "0.0.1",
|
"version": "2.0.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"boilerplate": "cross-env NODE_ENV=development gulp boilerplate",
|
"boilerplate": "cross-env NODE_ENV=development gulp boilerplate",
|
||||||
"build": "cross-env NODE_ENV=production gulp build",
|
"build": "cross-env NODE_ENV=production gulp build",
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/nielsnuebel/com_sportsmanager.git"
|
"url": "https://github.com/Deutscher-Tischfussballbund/com_sportsmanager.git"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": {
|
"author": {
|
||||||
|
|||||||
+9
@@ -24,6 +24,15 @@ class HtmlView extends BaseHtmlView
|
|||||||
?>
|
?>
|
||||||
<h3><?php echo Text::_('COM_SPORTSMANAGER'); ?> – Created by Sven Nickel | Maintained by DTFB</h3>
|
<h3><?php echo Text::_('COM_SPORTSMANAGER'); ?> – Created by Sven Nickel | Maintained by DTFB</h3>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
$notesPath = JPATH_COMPONENT_ADMINISTRATOR . '/RELEASE_NOTES.md';
|
||||||
|
if (file_exists($notesPath)) {
|
||||||
|
$notes = file_get_contents($notesPath);
|
||||||
|
echo '<div style="padding:1em;"><h3>Release Notes</h3><pre>' .
|
||||||
|
htmlspecialchars($notes) . '</pre></div>';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Display the template
|
// Display the template
|
||||||
parent::display($tpl);
|
parent::display($tpl);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5183,6 +5183,9 @@ function adminKategorien(): void
|
|||||||
$kategorien[2] = array();
|
$kategorien[2] = array();
|
||||||
$kategorien[3] = array();
|
$kategorien[3] = array();
|
||||||
$kategorien[4] = array();
|
$kategorien[4] = array();
|
||||||
|
$kategorien[5] = array();
|
||||||
|
$kategorien[6] = array();
|
||||||
|
$kategorien[7] = array();
|
||||||
|
|
||||||
foreach ($rows as $row)
|
foreach ($rows as $row)
|
||||||
$kategorien[$row->typ][$row->nummer] = $row->bezeichnung;
|
$kategorien[$row->typ][$row->nummer] = $row->bezeichnung;
|
||||||
@@ -5216,12 +5219,12 @@ function adminKategorien(): void
|
|||||||
$kategorien[4] = array();
|
$kategorien[4] = array();
|
||||||
$kategorien[5] = array();
|
$kategorien[5] = array();
|
||||||
$kategorien[6] = array();
|
$kategorien[6] = array();
|
||||||
|
$kategorien[7] = array();
|
||||||
|
|
||||||
foreach ($rows as $row)
|
foreach ($rows as $row)
|
||||||
$kategorien[$row->typ][$row->nummer] = $row->bezeichnung;
|
$kategorien[$row->typ][$row->nummer] = $row->bezeichnung;
|
||||||
|
|
||||||
for ($typ = 1; $typ <= 6; $typ++) {
|
for ($typ = 1; $typ <= 7; $typ++) {
|
||||||
for ($nummer = 1; $nummer <= 50; $nummer++) {
|
for ($nummer = 1; $nummer <= 50; $nummer++) {
|
||||||
$bezeichnung = $db->escape($jInput->get('bezeichnung_' . $typ . '_' . $nummer, '', 'RAW'));
|
$bezeichnung = $db->escape($jInput->get('bezeichnung_' . $typ . '_' . $nummer, '', 'RAW'));
|
||||||
if (empty($bezeichnung)) {
|
if (empty($bezeichnung)) {
|
||||||
@@ -7200,7 +7203,16 @@ function adminMannschaften(): void
|
|||||||
$query = "SELECT #__sportsmanager_team.*, #__sportsmanager_verein.vereinsname, #__sportsmanager_spielort.*,"
|
$query = "SELECT #__sportsmanager_team.*, #__sportsmanager_verein.vereinsname, #__sportsmanager_spielort.*,"
|
||||||
. "\n (SELECT COUNT(*) FROM #__sportsmanager_mitglied_von_team WHERE #__sportsmanager_team.team_id = #__sportsmanager_mitglied_von_team.team_id AND NOT ausgetreten) AS mitglieder_aktiv,"
|
. "\n (SELECT COUNT(*) FROM #__sportsmanager_mitglied_von_team WHERE #__sportsmanager_team.team_id = #__sportsmanager_mitglied_von_team.team_id AND NOT ausgetreten) AS mitglieder_aktiv,"
|
||||||
. "\n (SELECT COUNT(*) FROM #__sportsmanager_mitglied_von_team WHERE #__sportsmanager_team.team_id = #__sportsmanager_mitglied_von_team.team_id) AS mitglieder,"
|
. "\n (SELECT COUNT(*) FROM #__sportsmanager_mitglied_von_team WHERE #__sportsmanager_team.team_id = #__sportsmanager_mitglied_von_team.team_id) AS mitglieder,"
|
||||||
. "\n (SELECT COUNT(*) FROM #__sportsmanager_begegnung WHERE heim_team_id = #__sportsmanager_team.team_id OR gast_team_id = #__sportsmanager_team.team_id) AS begegnungen"
|
. "\n (SELECT COUNT(*) FROM #__sportsmanager_begegnung WHERE heim_team_id = #__sportsmanager_team.team_id OR gast_team_id = #__sportsmanager_team.team_id) AS begegnungen,"
|
||||||
|
. "\n (SELECT COUNT(team_id) FROM #__sportsmanager_begegnung_historie"
|
||||||
|
. "\n WHERE begegnung_historie_id IN ("
|
||||||
|
. "\n SELECT MIN(begegnung_historie_id) AS historie_id FROM #__sportsmanager_begegnung_historie "
|
||||||
|
. "\n WHERE aktion IN (0, 3) AND team_id in "
|
||||||
|
. "\n (SELECT team_id FROM #__sportsmanager_team WHERE veranstaltung_id = $veranstaltungId)"
|
||||||
|
. "\n GROUP BY begegnung_id"
|
||||||
|
. "\n )"
|
||||||
|
. "\n AND team_id = #__sportsmanager_team.team_id"
|
||||||
|
. "\n ) AS anzahl_verschiebungen"
|
||||||
. "\n FROM #__sportsmanager_team"
|
. "\n FROM #__sportsmanager_team"
|
||||||
. "\n LEFT JOIN #__sportsmanager_verein ON #__sportsmanager_verein.verein_id = #__sportsmanager_team.verein_id"
|
. "\n LEFT JOIN #__sportsmanager_verein ON #__sportsmanager_verein.verein_id = #__sportsmanager_team.verein_id"
|
||||||
. "\n LEFT JOIN #__sportsmanager_spielort ON #__sportsmanager_spielort.spielort_id = #__sportsmanager_team.heimspielort_id"
|
. "\n LEFT JOIN #__sportsmanager_spielort ON #__sportsmanager_spielort.spielort_id = #__sportsmanager_team.heimspielort_id"
|
||||||
@@ -8872,7 +8884,56 @@ function adminBegegnungen(): void
|
|||||||
|
|
||||||
$query = "SELECT t1.*, t2.teamname AS heim_name, t3.teamname AS gast_name, t4.unbestaetigtes_ergebnis_id, t4.zwischenergebnis, t2.nichtraucherschutz AS heim_nichtraucherschutz, t3.nichtraucherschutz AS gast_nichtraucherschutz,"
|
$query = "SELECT t1.*, t2.teamname AS heim_name, t3.teamname AS gast_name, t4.unbestaetigtes_ergebnis_id, t4.zwischenergebnis, t2.nichtraucherschutz AS heim_nichtraucherschutz, t3.nichtraucherschutz AS gast_nichtraucherschutz,"
|
||||||
. "\n EXISTS(SELECT * FROM #__sportsmanager_begegnung_historie USE INDEX (begegnung_id) WHERE #__sportsmanager_begegnung_historie.begegnung_id = t1.begegnung_id AND aktion IN (1, 5)) AS verlegt,"
|
. "\n EXISTS(SELECT * FROM #__sportsmanager_begegnung_historie USE INDEX (begegnung_id) WHERE #__sportsmanager_begegnung_historie.begegnung_id = t1.begegnung_id AND aktion IN (1, 5)) AS verlegt,"
|
||||||
. "\n (SELECT IF(#__sportsmanager_begegnung_historie.aktion NOT IN (0, 3, 4), NULL, #__sportsmanager_begegnung_historie.eingetragen) AS eingetragen FROM #__sportsmanager_begegnung_historie USE INDEX (begegnung_id) WHERE #__sportsmanager_begegnung_historie.begegnung_id = t1.begegnung_id ORDER BY begegnung_historie_id DESC LIMIT 1) AS verlegung_eingetragen"
|
. "\n (SELECT IF(#__sportsmanager_begegnung_historie.aktion NOT IN (0, 3, 4), NULL, #__sportsmanager_begegnung_historie.eingetragen) AS eingetragen FROM #__sportsmanager_begegnung_historie USE INDEX (begegnung_id) WHERE #__sportsmanager_begegnung_historie.begegnung_id = t1.begegnung_id ORDER BY begegnung_historie_id DESC LIMIT 1) AS verlegung_eingetragen,"
|
||||||
|
|
||||||
|
. "\n UNIX_TIMESTAMP(t1.zeitpunkt) AS termin_spiel,"
|
||||||
|
|
||||||
|
. "\n ("
|
||||||
|
. "\n SELECT UNIX_TIMESTAMP(zeitpunkt)"
|
||||||
|
. "\n FROM #__sportsmanager_begegnung_historie"
|
||||||
|
. "\n WHERE begegnung_id = t1.begegnung_id AND aktion = 2"
|
||||||
|
. "\n ORDER BY begegnung_historie_id ASC"
|
||||||
|
. "\n LIMIT 1"
|
||||||
|
. "\n ) AS termin_original,"
|
||||||
|
|
||||||
|
. "\n ("
|
||||||
|
. "\n SELECT team_id"
|
||||||
|
. "\n FROM #__sportsmanager_begegnung_historie"
|
||||||
|
. "\n WHERE begegnung_id = t1.begegnung_id AND aktion IN (0, 3)"
|
||||||
|
. "\n ORDER BY begegnung_historie_id ASC"
|
||||||
|
. "\n LIMIT 1"
|
||||||
|
. "\n ) AS verantwortliches_team,"
|
||||||
|
|
||||||
|
. "\n ("
|
||||||
|
. "\n SELECT UNIX_TIMESTAMP(zeitpunkt)"
|
||||||
|
. "\n FROM #__sportsmanager_begegnung_historie"
|
||||||
|
. "\n WHERE begegnung_id = t1.begegnung_id AND aktion = 1"
|
||||||
|
. "\n ORDER BY begegnung_historie_id ASC"
|
||||||
|
. "\n LIMIT 1"
|
||||||
|
. "\n ) AS termin_akzeptiert,"
|
||||||
|
|
||||||
|
. "\n ("
|
||||||
|
. "\n SELECT UNIX_TIMESTAMP(eingetragen)"
|
||||||
|
. "\n FROM #__sportsmanager_begegnung_historie"
|
||||||
|
. "\n WHERE begegnung_id = t1.begegnung_id AND aktion = 6"
|
||||||
|
. "\n ORDER BY begegnung_historie_id ASC"
|
||||||
|
. "\n LIMIT 1"
|
||||||
|
. "\n ) AS ergebnis_vorgeschlagen,"
|
||||||
|
|
||||||
|
. "\n ("
|
||||||
|
. "\n SELECT UNIX_TIMESTAMP(eingetragen)"
|
||||||
|
. "\n FROM #__sportsmanager_begegnung_historie"
|
||||||
|
. "\n WHERE begegnung_id = t1.begegnung_id AND aktion = 7"
|
||||||
|
. "\n ORDER BY begegnung_historie_id ASC"
|
||||||
|
. "\n LIMIT 1"
|
||||||
|
. "\n ) AS ergebnis_akzeptiert,"
|
||||||
|
|
||||||
|
. "\n ("
|
||||||
|
. "\n SELECT COUNT(*) FROM #__sportsmanager_teamspiel"
|
||||||
|
. "\n WHERE begegnung_id = t1.begegnung_id"
|
||||||
|
. "\n AND (heim_spieler_1_id = 0 OR heim_spieler_2_id = 0 OR gast_spieler_1_id = 0 OR gast_spieler_2_id = 0)"
|
||||||
|
. "\n ) AS fehlende_spieler"
|
||||||
|
|
||||||
. "\n FROM #__sportsmanager_begegnung AS t1"
|
. "\n FROM #__sportsmanager_begegnung AS t1"
|
||||||
. "\n LEFT JOIN #__sportsmanager_team AS t2 ON t1.heim_team_id = t2.team_id"
|
. "\n LEFT JOIN #__sportsmanager_team AS t2 ON t1.heim_team_id = t2.team_id"
|
||||||
. "\n LEFT JOIN #__sportsmanager_team AS t3 ON t1.gast_team_id = t3.team_id"
|
. "\n LEFT JOIN #__sportsmanager_team AS t3 ON t1.gast_team_id = t3.team_id"
|
||||||
@@ -11255,6 +11316,7 @@ function adminBegegnungenExportForm(): void
|
|||||||
|
|
||||||
// Veranstaltung ermitteln
|
// Veranstaltung ermitteln
|
||||||
$query = "SELECT * FROM #__sportsmanager_veranstaltung WHERE veranstaltung_id = $veranstaltungId";
|
$query = "SELECT * FROM #__sportsmanager_veranstaltung WHERE veranstaltung_id = $veranstaltungId";
|
||||||
|
|
||||||
$db->setQuery($query);
|
$db->setQuery($query);
|
||||||
if (!$db->execute()) {
|
if (!$db->execute()) {
|
||||||
die($db->stderr(true));
|
die($db->stderr(true));
|
||||||
|
|||||||
@@ -2323,6 +2323,10 @@ function mp_mult_($p1, $p2): float|int
|
|||||||
*/
|
*/
|
||||||
function mp_div_($p1, $p2): float|int
|
function mp_div_($p1, $p2): float|int
|
||||||
{
|
{
|
||||||
|
if ($p2 == 0) {
|
||||||
|
Log::add("Division by zero detected in mp_div_: divisor was 0. Returning 0 as fallback.", Log::WARNING, "com_sportsmanager");
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
return $p1 / $p2;
|
return $p1 / $p2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ if ($task == "spielerbild") {
|
|||||||
terminDokument();
|
terminDokument();
|
||||||
} else if ($task == "spieler_details") {
|
} else if ($task == "spieler_details") {
|
||||||
spielerDetails();
|
spielerDetails();
|
||||||
} else if (str_starts_with($task, "admin_")) {
|
} else if ($task !== null && str_starts_with($task, "admin_")) {
|
||||||
// in some cases there are no breaks needed due to no return from method
|
// in some cases there are no breaks needed due to no return from method
|
||||||
switch ($task) {
|
switch ($task) {
|
||||||
case 'admin_einstellungen':
|
case 'admin_einstellungen':
|
||||||
@@ -1577,8 +1577,12 @@ function veranstaltung(): void
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$showSeasons = false;
|
||||||
|
if (count($saisons) > 1) {
|
||||||
|
$showSeasons = true;
|
||||||
|
}
|
||||||
// Anzeigen
|
// Anzeigen
|
||||||
HTML_sportsmanager::veranstaltungHeaderAlone($veranstaltung, $vorherige_veranstaltung_id, $naechste_veranstaltung_id);
|
HTML_sportsmanager::veranstaltungHeaderAlone($veranstaltung, $vorherige_veranstaltung_id, $naechste_veranstaltung_id, $showSeasons, $saisons, $filter_saison_id);
|
||||||
|
|
||||||
if ($veranstaltung->tabellenwertung != 0)
|
if ($veranstaltung->tabellenwertung != 0)
|
||||||
tabelle($veranstaltung, $spieltag, true);
|
tabelle($veranstaltung, $spieltag, true);
|
||||||
|
|||||||
@@ -382,7 +382,7 @@ function yoothemeBild($typ, $id, $alternativ, $resize = '', $zusatz = ""): ?stri
|
|||||||
else
|
else
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
$bildpfad = "/images/sportsmanager/" . $typ . "/" . $typ_prefix . $id . "." . $ext;
|
$bildpfad = SPORTSMANAGER_JOOMLA_URL . "images/sportsmanager/" . $typ . "/" . $typ_prefix . $id . "." . $ext;
|
||||||
|
|
||||||
return '<img class="el-image" data-src="' . $bildpfad . $resize . '" ' . $zusatz . ' uk-img />';
|
return '<img class="el-image" data-src="' . $bildpfad . $resize . '" ' . $zusatz . ' uk-img />';
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -140,13 +140,6 @@ static function veranstaltungenHeader($titel, $beschreibung, $saisons, $filter_s
|
|||||||
<a href="<?php echo SportsManagerURL('&task=veranstaltungen_ticker&tmpl=component'); ?>"
|
<a href="<?php echo SportsManagerURL('&task=veranstaltungen_ticker&tmpl=component'); ?>"
|
||||||
class="readon<?php echo $params->get('pageclass_sfx'); ?>">
|
class="readon<?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<?php echo Text::_('COM_SPORTSMANAGER_LIVE_TICKER'); ?> …</a><br/>
|
<?php echo Text::_('COM_SPORTSMANAGER_LIVE_TICKER'); ?> …</a><br/>
|
||||||
|
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
<a href="javascript:openwindow('<?php echo SportsManagerURL('&task=veranstaltungen_ticker&tmpl=component'); ?>',screen.width,725);" class="readon<?php echo $params->get( 'pageclass_sfx' ); ?>">
|
|
||||||
<?php echo Text::_( 'COM_SPORTSMANAGER_LIVE_TICKER' ); ?> …(no menu)</a>
|
|
||||||
*/
|
|
||||||
?>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
@@ -158,16 +151,15 @@ static function veranstaltungenHeader($titel, $beschreibung, $saisons, $filter_s
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static function veranstaltungHeaderAlone($veranstaltung, $vorherige_veranstaltung_id, $naechste_veranstaltung_id): void
|
static function veranstaltungHeaderAlone($veranstaltung, $vorherige_veranstaltung_id, $naechste_veranstaltung_id, $showSeasons = false, $seasons = [], $filter_saison_id = 0): void
|
||||||
{
|
{
|
||||||
global $params;
|
global $params;
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<table style="width: 100%; border: none; border-spacing: 0; padding: 3px">
|
<table style="width: 100%; border: none; border-spacing: 0; padding: 3px">
|
||||||
<tr>
|
<tr>
|
||||||
<th style="width: 30px" class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>"></th>
|
<th style="width: 30px" class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>"></th>
|
||||||
<th style="text-align: left" class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
<th style="text-align: left" class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<!--img src="images/M_images/arrow.png" border="0"/--> <a
|
<a
|
||||||
href="<?php echo SportsManagerURL('&task=veranstaltungen#vid' . $veranstaltung->veranstaltung_id); ?>">
|
href="<?php echo SportsManagerURL('&task=veranstaltungen#vid' . $veranstaltung->veranstaltung_id); ?>">
|
||||||
<?php echo Text::_('COM_SPORTSMANAGER_COMPETITIONS'); ?></a>
|
<?php echo Text::_('COM_SPORTSMANAGER_COMPETITIONS'); ?></a>
|
||||||
> <?php echo htmlentities_utf8($veranstaltung->bezeichnung); ?>
|
> <?php echo htmlentities_utf8($veranstaltung->bezeichnung); ?>
|
||||||
@@ -226,9 +218,40 @@ static function veranstaltungHeaderAlone($veranstaltung, $vorherige_veranstaltun
|
|||||||
?>
|
?>
|
||||||
</H2>
|
</H2>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
<?php
|
||||||
|
if (($showSeasons && count($seasons) > 1)) {
|
||||||
|
?>
|
||||||
|
<form action="<?php echo SportsManagerURL(); ?>" method="post" name="adminForm" id="adminForm">
|
||||||
|
<div class="uk-overflow-auto">
|
||||||
|
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
|
<tr>
|
||||||
|
<td nowrap>
|
||||||
|
<label for="filter_saison_id"><?php echo Text::_('COM_SPORTSMANAGER_SEASON'); ?>
|
||||||
|
:</label>
|
||||||
|
<select class="uk-select uk-form-width-medium" name="filter_saison_id"
|
||||||
|
id="filter_saison_id" size="1" onChange="document.adminForm.submit();">
|
||||||
|
<?php
|
||||||
|
foreach ($seasons as $season)
|
||||||
|
echo "<option value=\"" . $season->saison_id . "\" " . ($filter_saison_id == $season->saison_id ? "selected" : "") . ">" . htmlentities_utf8($season->saisonbezeichnung) . "</option>";
|
||||||
|
?>
|
||||||
|
</select>
|
||||||
|
<input type="submit" name="ok" value="<?php echo Text::_('COM_SPORTSMANAGER_GO'); ?>"
|
||||||
|
class="button uk-button uk-button-primary"/>
|
||||||
|
</td>
|
||||||
|
<td> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<input type="hidden" name="task" value="veranstaltungen"/>
|
||||||
|
</form>
|
||||||
|
<span class="article_seperator<?php echo $params->get('pageclass_sfx'); ?>"> </span>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
@@ -538,8 +561,8 @@ static function turnierdisziplinen($disziplin, $meldungen, $meldungenSpielerIds,
|
|||||||
|
|
||||||
?>
|
?>
|
||||||
<div class="uk-overflow-auto">
|
<div class="uk-overflow-auto">
|
||||||
<table
|
<table style='width: 100%; padding:1px 1px 1px 1px; border-collapse: collapse;'
|
||||||
class="uk-table uk-table-hover uk-table-divider uk-table-middle contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
class="uk-table-hover uk-table-divider uk-table-middle contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<?php
|
<?php
|
||||||
if ($platzierung_anzeigen) {
|
if ($platzierung_anzeigen) {
|
||||||
@@ -569,10 +592,6 @@ static function turnierdisziplinen($disziplin, $meldungen, $meldungenSpielerIds,
|
|||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<td nowrap>
|
|
||||||
|
|
||||||
<table style="width: 100%; border: none; border-spacing: 0; padding: 0">
|
|
||||||
<tr>
|
|
||||||
<td>
|
<td>
|
||||||
<?php
|
<?php
|
||||||
$spieler = $meldungenSpielerNamen[$meldung->turniermeldung_id];
|
$spieler = $meldungenSpielerNamen[$meldung->turniermeldung_id];
|
||||||
@@ -601,9 +620,9 @@ static function turnierdisziplinen($disziplin, $meldungen, $meldungenSpielerIds,
|
|||||||
<?php
|
<?php
|
||||||
if ($bilder_anzeigen_1) {
|
if ($bilder_anzeigen_1) {
|
||||||
?>
|
?>
|
||||||
<td style="width: 32px">
|
<td style="width: 70px">
|
||||||
<?php
|
<?php
|
||||||
if (isset($spieler[0]) && ($bild = bildHTML("spieler", !isset($spielerIds[0]) || (!$details_anzeigen && $spielerBilderAusblenden[0]) ? '' : $spielerIds[0], 30, 40, 0, 0, 'border="1"', $spielerGeschlechter[0] == 'M' ? 'm' : 'w')) != null)
|
if (isset($spieler[0]) && ($bild = bildHTML("spieler", !isset($spielerIds[0]) || (!$details_anzeigen && $spielerBilderAusblenden[0]) ? '' : $spielerIds[0], 45, 60, 0, 0, 'border="1"', $spielerGeschlechter[0] == 'M' ? 'm' : 'w')) != null)
|
||||||
echo $bild;
|
echo $bild;
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
@@ -611,19 +630,16 @@ static function turnierdisziplinen($disziplin, $meldungen, $meldungenSpielerIds,
|
|||||||
}
|
}
|
||||||
if ($bilder_anzeigen_2) {
|
if ($bilder_anzeigen_2) {
|
||||||
?>
|
?>
|
||||||
<td style="width: 32px">
|
<td style="width: 70px">
|
||||||
<?php
|
<?php
|
||||||
if (isset($spieler[1]) && ($bild = bildHTML("spieler", !isset($spielerIds[1]) || (!$details_anzeigen && $spielerBilderAusblenden[1]) ? '' : $spielerIds[1], 30, 40, 0, 0, 'border="1"', $spielerGeschlechter[1] == 'M' ? 'm' : 'w')) != null)
|
if (isset($spieler[1]) && ($bild = bildHTML("spieler", !isset($spielerIds[1]) || (!$details_anzeigen && $spielerBilderAusblenden[1]) ? '' : $spielerIds[1], 45, 60, 0, 0, 'border="1"', $spielerGeschlechter[1] == 'M' ? 'm' : 'w')) != null)
|
||||||
echo $bild;
|
echo $bild;
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
@@ -649,7 +665,7 @@ static function turnierdisziplinen($disziplin, $meldungen, $meldungenSpielerIds,
|
|||||||
static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpielerIds, $meldungenSpielerGeschlechter, $meldungenSpielerNamen, $meldungenSpielerBilderAusblenden, $spiele, $vorherige_turnierdisziplin_id, $naechste_turnierdisziplin_id, $platzierung_anzeigen, $details_anzeigen): void
|
static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpielerIds, $meldungenSpielerGeschlechter, $meldungenSpielerNamen, $meldungenSpielerBilderAusblenden, $spiele, $vorherige_turnierdisziplin_id, $naechste_turnierdisziplin_id, $platzierung_anzeigen, $details_anzeigen): void
|
||||||
{
|
{
|
||||||
global $params;
|
global $params;
|
||||||
|
$bildID = 0;
|
||||||
?>
|
?>
|
||||||
<table style="width: 100%; border: none; border-spacing: 0; padding: 3px">
|
<table style="width: 100%; border: none; border-spacing: 0; padding: 3px">
|
||||||
<tr>
|
<tr>
|
||||||
@@ -658,7 +674,8 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
|||||||
<!--img src="images/M_images/arrow.png" border="0"/--> <a
|
<!--img src="images/M_images/arrow.png" border="0"/--> <a
|
||||||
href="<?php echo SportsManagerURL('#id' . $disziplin->turnier_id); ?>">
|
href="<?php echo SportsManagerURL('#id' . $disziplin->turnier_id); ?>">
|
||||||
<?php echo Text::_('COM_SPORTSMANAGER_TOURNAMENTS'); ?></a> > <a
|
<?php echo Text::_('COM_SPORTSMANAGER_TOURNAMENTS'); ?></a> > <a
|
||||||
href="<?php echo SportsManagerURL('&task=turnierdisziplinen&turnierid=' . $disziplin->turnier_id); ?>"><?php echo htmlentities_utf8($turnier->turnierbezeichnung) . (!empty($turnier->turnierort) ? (" in " . $turnier->turnierort) : ""); ?></a>
|
href="<?php echo SportsManagerURL('&task=turnierdisziplinen&turnierid=' . $disziplin->turnier_id); ?>">
|
||||||
|
<?php echo htmlentities_utf8($turnier->turnierbezeichnung) . (!empty($turnier->turnierort) ? (" in " . $turnier->turnierort) : ""); ?></a>
|
||||||
> <?php echo htmlentities_utf8($disziplin->disziplin); ?>
|
> <?php echo htmlentities_utf8($disziplin->disziplin); ?>
|
||||||
</th>
|
</th>
|
||||||
<?php
|
<?php
|
||||||
@@ -699,7 +716,7 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
|||||||
<td nowrap>
|
<td nowrap>
|
||||||
<?php
|
<?php
|
||||||
if (!empty($turnier->turnierort)) echo $turnier->turnierort . ", ";
|
if (!empty($turnier->turnierort)) echo $turnier->turnierort . ", ";
|
||||||
echo FormatiertesDatum($disziplin->beginn) . " " . Text::_('COM_SPORTSMANAGER_HOUR') . ", " . $disziplin->teilnehmer . Text::_('COM_SPORTSMANAGER_MESSAGES');
|
echo FormatiertesDatum($disziplin->beginn) . " " . Text::_('COM_SPORTSMANAGER_HOUR') . ", " . $disziplin->teilnehmer . " " . Text::_('COM_SPORTSMANAGER_MESSAGES');
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -746,7 +763,8 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
|||||||
if (($rundenstufe == 0 || $rundenstufe == 10) && count($meldungen[$rundenstufe]) > 0) {
|
if (($rundenstufe == 0 || $rundenstufe == 10) && count($meldungen[$rundenstufe]) > 0) {
|
||||||
?>
|
?>
|
||||||
<div class="uk-overflow-auto">
|
<div class="uk-overflow-auto">
|
||||||
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
<table style='width: 100%; padding:1px 1px 1px 1px; border-collapse: collapse;'
|
||||||
|
class="contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<?php
|
<?php
|
||||||
if ($platzierung_anzeigen) {
|
if ($platzierung_anzeigen) {
|
||||||
@@ -776,10 +794,6 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
|||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<td nowrap>
|
|
||||||
|
|
||||||
<table style="width: 100%; border: none; border-spacing: 0; padding: 0">
|
|
||||||
<tr>
|
|
||||||
<td>
|
<td>
|
||||||
<?php
|
<?php
|
||||||
$spieler = $meldungenSpielerNamen[$meldung->turniermeldung_id];
|
$spieler = $meldungenSpielerNamen[$meldung->turniermeldung_id];
|
||||||
@@ -805,31 +819,17 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
|
<td style="text-align: center;">
|
||||||
<?php
|
<?php
|
||||||
if ($bilder_anzeigen_1) {
|
if ($bilder_anzeigen_1) {
|
||||||
?>
|
if (isset($spieler[0]) && ($bild = bildHTML("spieler", !isset($spielerIds[0]) || (!$details_anzeigen && $spielerBilderAusblenden[0]) ? '' : $spielerIds[0], 45, 60, 0, 0, 'border="1"', $spielerGeschlechter[0] == 'M' ? 'm' : 'w')) != null)
|
||||||
<td style="width: 32px">
|
|
||||||
<?php
|
|
||||||
if (isset($spieler[0]) && ($bild = bildHTML("spieler", !isset($spielerIds[0]) || (!$details_anzeigen && $spielerBilderAusblenden[0]) ? '' : $spielerIds[0], 30, 40, 0, 0, 'border="1"', $spielerGeschlechter[0] == 'M' ? 'm' : 'w')) != null)
|
|
||||||
echo $bild;
|
echo $bild;
|
||||||
?>
|
|
||||||
</td>
|
|
||||||
<?php
|
|
||||||
}
|
}
|
||||||
if ($bilder_anzeigen_2) {
|
if ($bilder_anzeigen_2) {
|
||||||
?>
|
if (isset($spieler[1]) && ($bild = bildHTML("spieler", !isset($spielerIds[1]) || (!$details_anzeigen && $spielerBilderAusblenden[1]) ? '' : $spielerIds[1], 45, 60, 0, 0, 'border="1"', $spielerGeschlechter[1] == 'M' ? 'm' : 'w')) != null)
|
||||||
<td style="width: 32px">
|
|
||||||
<?php
|
|
||||||
if (isset($spieler[1]) && ($bild = bildHTML("spieler", !isset($spielerIds[1]) || (!$details_anzeigen && $spielerBilderAusblenden[1]) ? '' : $spielerIds[1], 30, 40, 0, 0, 'border="1"', $spielerGeschlechter[1] == 'M' ? 'm' : 'w')) != null)
|
|
||||||
echo $bild;
|
echo $bild;
|
||||||
?>
|
|
||||||
</td>
|
|
||||||
<?php
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
@@ -851,10 +851,12 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<div class="uk-overflow-auto">
|
<div class="uk-overflow-auto">
|
||||||
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
<table style='width: 100%; padding:1px 1px 1px 1px; border-collapse: collapse;'
|
||||||
|
class="contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<th style="text-align: left" nowrap>
|
<th style="text-align: left" nowrap>
|
||||||
<strong><?php echo Text::_('COM_SPORTSMANAGER_WINNER'); ?></strong></th>
|
<strong><?php echo Text::_('COM_SPORTSMANAGER_WINNER'); ?></strong></th>
|
||||||
|
<th id="bildID_<?php echo $bildID++; ?>"></th>
|
||||||
<?php
|
<?php
|
||||||
if ($ergebnis_detailliert_anzeigen) {
|
if ($ergebnis_detailliert_anzeigen) {
|
||||||
?>
|
?>
|
||||||
@@ -865,6 +867,7 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<th style="text-align: left" nowrap><?php echo Text::_('COM_SPORTSMANAGER_LOSER'); ?></th>
|
<th style="text-align: left" nowrap><?php echo Text::_('COM_SPORTSMANAGER_LOSER'); ?></th>
|
||||||
|
<th id="bildID_<?php echo $bildID++; ?>"></th>
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
@@ -888,10 +891,6 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
|||||||
?>
|
?>
|
||||||
<tr class="sectiontableentry<?php echo $k + 1;
|
<tr class="sectiontableentry<?php echo $k + 1;
|
||||||
$k = ($k + 1) % 2; ?><?php echo $params->get('pageclass_sfx'); ?>">
|
$k = ($k + 1) % 2; ?><?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<td nowrap>
|
|
||||||
|
|
||||||
<table style="width: 100%; border: none; border-spacing: 0; padding: 0">
|
|
||||||
<tr>
|
|
||||||
<td>
|
<td>
|
||||||
<?php
|
<?php
|
||||||
if ($spiel->ergebnis == 1) {
|
if ($spiel->ergebnis == 1) {
|
||||||
@@ -930,33 +929,18 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
|
<td id="bildID_<?php echo $bildID++; ?>" style="display: block;text-align: center;">
|
||||||
<?php
|
<?php
|
||||||
if ($bilder_anzeigen_1) {
|
if ($bilder_anzeigen_1) {
|
||||||
?>
|
if (isset($gewinner[0]) && ($bild = bildHTML("spieler", !isset($gewinnerIds[0]) || (!$details_anzeigen && $gewinnerBilderAusblenden[0]) ? '' : $gewinnerIds[0], 45, 60, 0, 0, 'border="1"', $gewinnerGeschlechter[0] == 'M' ? 'm' : 'w')) != null)
|
||||||
<td style="width: 32px">
|
|
||||||
<?php
|
|
||||||
if (isset($gewinner[0]) && ($bild = bildHTML("spieler", !isset($gewinnerIds[0]) || (!$details_anzeigen && $gewinnerBilderAusblenden[0]) ? '' : $gewinnerIds[0], 30, 40, 0, 0, 'border="1"', $gewinnerGeschlechter[0] == 'M' ? 'm' : 'w')) != null)
|
|
||||||
echo $bild;
|
echo $bild;
|
||||||
?>
|
|
||||||
</td>
|
|
||||||
<?php
|
|
||||||
}
|
}
|
||||||
if ($bilder_anzeigen_2) {
|
if ($bilder_anzeigen_2) {
|
||||||
?>
|
if (isset($gewinner[1]) && ($bild = bildHTML("spieler", !isset($gewinnerIds[1]) || (!$details_anzeigen && $gewinnerBilderAusblenden[1]) ? '' : $gewinnerIds[1], 45, 60, 0, 0, 'border="1"', $gewinnerGeschlechter[1] == 'M' ? 'm' : 'w')) != null)
|
||||||
<td style="width: 32px">
|
|
||||||
<?php
|
|
||||||
if (isset($gewinner[1]) && ($bild = bildHTML("spieler", !isset($gewinnerIds[1]) || (!$details_anzeigen && $gewinnerBilderAusblenden[1]) ? '' : $gewinnerIds[1], 30, 40, 0, 0, 'border="1"', $gewinnerGeschlechter[1] == 'M' ? 'm' : 'w')) != null)
|
|
||||||
echo $bild;
|
echo $bild;
|
||||||
?>
|
|
||||||
</td>
|
|
||||||
<?php
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if ($ergebnis_detailliert_anzeigen) {
|
if ($ergebnis_detailliert_anzeigen) {
|
||||||
?>
|
?>
|
||||||
@@ -965,11 +949,6 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
|||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<td nowrap>
|
|
||||||
|
|
||||||
<table style="width: 100%; border: none; border-spacing: 0; padding: 0">
|
|
||||||
<tr>
|
|
||||||
<td>
|
<td>
|
||||||
<?php
|
<?php
|
||||||
if (isset($verlierer)) {
|
if (isset($verlierer)) {
|
||||||
@@ -979,33 +958,18 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
|
<td id="bildID_<?php echo $bildID++; ?>" style="display: block;text-align: center;">
|
||||||
<?php
|
<?php
|
||||||
if ($bilder_anzeigen_1) {
|
if ($bilder_anzeigen_1) {
|
||||||
?>
|
if (isset($verlierer[0]) && ($bild = bildHTML("spieler", !isset($verliererIds[0]) || (!$details_anzeigen && $verliererBilderAusblenden[0]) ? '' : $verliererIds[0], 45, 60, 0, 0, 'border="1"', $verliererGeschlechter[0] == 'M' ? 'm' : 'w')) != null)
|
||||||
<td style="width: 32px">
|
|
||||||
<?php
|
|
||||||
if (isset($verlierer[0]) && ($bild = bildHTML("spieler", !isset($verliererIds[0]) || (!$details_anzeigen && $verliererBilderAusblenden[0]) ? '' : $verliererIds[0], 30, 40, 0, 0, 'border="1"', $verliererGeschlechter[0] == 'M' ? 'm' : 'w')) != null)
|
|
||||||
echo $bild;
|
echo $bild;
|
||||||
?>
|
|
||||||
</td>
|
|
||||||
<?php
|
|
||||||
}
|
}
|
||||||
if ($bilder_anzeigen_2) {
|
if ($bilder_anzeigen_2) {
|
||||||
?>
|
if (isset($verlierer[1]) && ($bild = bildHTML("spieler", !isset($verliererIds[1]) || (!$details_anzeigen && $verliererBilderAusblenden[1]) ? '' : $verliererIds[1], 45, 60, 0, 0, 'border="1"', $verliererGeschlechter[1] == 'M' ? 'm' : 'w')) != null)
|
||||||
<td style="width: 32px">
|
|
||||||
<?php
|
|
||||||
if (isset($verlierer[1]) && ($bild = bildHTML("spieler", !isset($verliererIds[1]) || (!$details_anzeigen && $verliererBilderAusblenden[1]) ? '' : $verliererIds[1], 30, 40, 0, 0, 'border="1"', $verliererGeschlechter[1] == 'M' ? 'm' : 'w')) != null)
|
|
||||||
echo $bild;
|
echo $bild;
|
||||||
?>
|
|
||||||
</td>
|
|
||||||
<?php
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
@@ -1016,6 +980,38 @@ static function turnierdisziplin($turnier, $disziplin, $meldungen, $meldungenSpi
|
|||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
|
||||||
|
function bilder_zeigen(){
|
||||||
|
let breite = window.innerWidth;
|
||||||
|
let id = 0;
|
||||||
|
let anzeige;
|
||||||
|
let anzahl_spiele = <?PHP echo $bildID; ?>;
|
||||||
|
if (breite < 480){
|
||||||
|
anzeige = "none";
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
anzeige = "block";
|
||||||
|
}
|
||||||
|
for (let i=0; i < anzahl_spiele; i++) {
|
||||||
|
id = "bildID_" + i;
|
||||||
|
document.getElementById(id).style.display = anzeige;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
bilder_zeigen();
|
||||||
|
|
||||||
|
function onResize() {
|
||||||
|
bilder_zeigen();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
window.addEventListener("resize", onResize);
|
||||||
|
|
||||||
|
</script>
|
||||||
|
<?php
|
||||||
}
|
}
|
||||||
|
|
||||||
static function begegnungenAnzeigen($veranstaltung, $modus, $rows, $zeitfenster, $titel, $aus_uebersicht, $praesentation = 0): void
|
static function begegnungenAnzeigen($veranstaltung, $modus, $rows, $zeitfenster, $titel, $aus_uebersicht, $praesentation = 0): void
|
||||||
@@ -1061,46 +1057,29 @@ static function begegnungenAnzeigen($veranstaltung, $modus, $rows, $zeitfenster,
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="uk-overflow-auto">
|
<div class="uk-overflow-auto">
|
||||||
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
<table style='width: 100%; border-collapse: collapse;' class="contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<?php if ($zeitpunkt_anzeigen) { ?>
|
<?php if ($zeitpunkt_anzeigen) { ?>
|
||||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_SCHEDULE_DATE'); ?></strong>
|
<th nowrap style='text-align: left; width:20%;'><strong><?php echo Text::_('COM_SPORTSMANAGER_SCHEDULE_DATE'); ?></strong>
|
||||||
</th><?php } ?>
|
</th><?php } ?>
|
||||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_HOME'); ?></strong></th>
|
<th nowrap style='text-align: left; width:25%;'><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_HOME'); ?></strong></th>
|
||||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_VISITOR'); ?></strong></th>
|
<th nowrap style='text-align: left; width:25%;'><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_VISITOR'); ?></strong></th>
|
||||||
<?php
|
|
||||||
/*
|
|
||||||
if ($veranstaltung == NULL) {
|
|
||||||
?>
|
|
||||||
<th nowrap><strong>Wettbewerb</strong></th>
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
?>
|
|
||||||
<?php
|
<?php
|
||||||
if ($veranstaltung != null && $modus->punktetyp == 0) {
|
if ($veranstaltung != null && $modus->punktetyp == 0) {
|
||||||
?>
|
?>
|
||||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_GOALS'); ?></strong></th>
|
<th nowrap style='text-align: center; width:12%;'><strong><?php echo Text::_('COM_SPORTSMANAGER_GOALS'); ?></strong></th>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_RESULT'); ?></strong></th>
|
<th nowrap style='text-align: center; width:12%;'><strong><?php echo Text::_('COM_SPORTSMANAGER_RESULT'); ?></strong></th>
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
/*
|
|
||||||
if ($zeitfenster != 0) {
|
|
||||||
?> <tr><td nowrap height="4"></td></tr><tr class="sectiontableheader<?php echo $params->get( 'pageclass_sfx' ); ?>" style="text-align: center"><th nowrap><font size=-2><i>+/- <?php echo $zeitfenster; ?> Tage</i></font></th></tr> <?php
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
$k = 0;
|
$k = 0;
|
||||||
$monat = "...";
|
$monat = "...";
|
||||||
$spieltag = 0;
|
$spieltag = 0;
|
||||||
$spielort_name = "";
|
$spielort_name = "";
|
||||||
foreach ($rows as $row) {
|
foreach ($rows as $row) {
|
||||||
$ergebnis_vorhanden = $row->heim_punkte != null || $row->gast_punkte != null;
|
$ergebnis_vorhanden = $row->heim_punkte != null || $row->gast_punkte != null;
|
||||||
// if ($monat == NULL)
|
|
||||||
// $monat = substr($row->zeitpunkt, 0, 7);
|
|
||||||
if ($zeitfenster == 0 && $veranstaltung != null) {
|
if ($zeitfenster == 0 && $veranstaltung != null) {
|
||||||
if ($veranstaltung->unterteilung == 0 || $veranstaltung->unterteilung == 1) {
|
if ($veranstaltung->unterteilung == 0 || $veranstaltung->unterteilung == 1) {
|
||||||
if ($spieltag != $row->spieltag || $spielort_name != $row->spielort_name) {
|
if ($spieltag != $row->spieltag || $spielort_name != $row->spielort_name) {
|
||||||
@@ -1108,17 +1087,17 @@ static function begegnungenAnzeigen($veranstaltung, $modus, $rows, $zeitfenster,
|
|||||||
$spielort_name = $row->spielort_name;
|
$spielort_name = $row->spielort_name;
|
||||||
?>
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
<td nowrap height="4"></td>
|
<td nowrap height="10"></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>"
|
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>"
|
||||||
style="text-align: center">
|
style="text-align: center">
|
||||||
<th nowrap><span style="font-size: 70%; "><i>
|
<th nowrap style='text-align: left; font-size: 70%; font-style: italic;'>
|
||||||
<?php
|
<?php
|
||||||
echo htmlentities_utf8(Rundenbezeichnung($spieltag, $veranstaltung->unterteilung == 0));
|
echo htmlentities_utf8(Rundenbezeichnung($spieltag, $veranstaltung->unterteilung == 0));
|
||||||
if (!empty($spielort_name))
|
if (!empty($spielort_name))
|
||||||
echo "<br />" . htmlentities_utf8($spielort_name);
|
echo "<br />" . htmlentities_utf8($spielort_name);
|
||||||
?>
|
?>
|
||||||
</i></span></th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
@@ -1155,8 +1134,7 @@ static function begegnungenAnzeigen($veranstaltung, $modus, $rows, $zeitfenster,
|
|||||||
echo "<a href=\"" . SportsManagerURL('&task=begegnung_verlegen_form&veranstaltungid=' . $row->veranstaltung_id . '&id=' . $row->begegnung_id . ($aus_uebersicht ? "&aus_uebersicht=1" : "")) . "\">" . ($row->verlegung_eingetragen != null ? ("bisher " . FormatiertesDatum($row->zeitpunkt)) : FormatiertesDatum($row->zeitpunkt)) . "</small></a>";
|
echo "<a href=\"" . SportsManagerURL('&task=begegnung_verlegen_form&veranstaltungid=' . $row->veranstaltung_id . '&id=' . $row->begegnung_id . ($aus_uebersicht ? "&aus_uebersicht=1" : "")) . "\">" . ($row->verlegung_eingetragen != null ? ("bisher " . FormatiertesDatum($row->zeitpunkt)) : FormatiertesDatum($row->zeitpunkt)) . "</small></a>";
|
||||||
else
|
else
|
||||||
echo $row->verlegung_eingetragen != null ? ("bisher " . FormatiertesDatum($row->zeitpunkt)) : FormatiertesDatum($row->zeitpunkt);
|
echo $row->verlegung_eingetragen != null ? ("bisher " . FormatiertesDatum($row->zeitpunkt)) : FormatiertesDatum($row->zeitpunkt);
|
||||||
?>
|
|
||||||
<?php
|
|
||||||
if ($veranstaltung == null) {
|
if ($veranstaltung == null) {
|
||||||
?>
|
?>
|
||||||
<br/>
|
<br/>
|
||||||
@@ -1210,13 +1188,6 @@ static function begegnungenAnzeigen($veranstaltung, $modus, $rows, $zeitfenster,
|
|||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
<?php
|
<?php
|
||||||
/*
|
|
||||||
if ($veranstaltung == NULL) {
|
|
||||||
?>
|
|
||||||
<td nowrap><?php echo htmlentities_utf8($row->bezeichnung); ?></td>
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
if ($veranstaltung != null && $modus->punktetyp == 0) {
|
if ($veranstaltung != null && $modus->punktetyp == 0) {
|
||||||
?>
|
?>
|
||||||
<td nowrap style="text-align: center">
|
<td nowrap style="text-align: center">
|
||||||
@@ -1255,7 +1226,8 @@ static function begegnungenAnzeigen($veranstaltung, $modus, $rows, $zeitfenster,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static function begegnungSpielplan($veranstaltung, $modus, $begegnung, $heim_team, $gast_team, $spiele, $vorherige_begegnung_id, $naechste_begegnung_id, $teamansicht_team, $details_anzeigen):void {
|
static function begegnungSpielplan($veranstaltung, $modus, $begegnung, $heim_team, $gast_team, $spiele, $vorherige_begegnung_id, $naechste_begegnung_id, $teamansicht_team, $details_anzeigen):void
|
||||||
|
{
|
||||||
global $params;
|
global $params;
|
||||||
?>
|
?>
|
||||||
<table style="width: 100%; border: none; border-spacing: 0; padding: 3px">
|
<table style="width: 100%; border: none; border-spacing: 0; padding: 3px">
|
||||||
@@ -1278,8 +1250,10 @@ global $params;
|
|||||||
<?php echo Text::_('COM_SPORTSMANAGER_COMPETITIONS'); ?></a> >
|
<?php echo Text::_('COM_SPORTSMANAGER_COMPETITIONS'); ?></a> >
|
||||||
<a href="<?php echo SportsManagerURL('&task=veranstaltung&veranstaltungid=' . $veranstaltung->veranstaltung_id . '#id' . $begegnung->begegnung_id); ?>">
|
<a href="<?php echo SportsManagerURL('&task=veranstaltung&veranstaltungid=' . $veranstaltung->veranstaltung_id . '#id' . $begegnung->begegnung_id); ?>">
|
||||||
<?php echo htmlentities_utf8($veranstaltung->bezeichnung); ?></a> >
|
<?php echo htmlentities_utf8($veranstaltung->bezeichnung); ?></a> >
|
||||||
<?php echo htmlentities_utf8($heim_team->teamname); ?><?php echo Text::_('COM_SPORTSMANAGER_VERSUS_SHORTCUT'); ?><?php echo htmlentities_utf8($gast_team->teamname); ?>
|
|
||||||
<?php
|
<?php
|
||||||
|
echo htmlentities_utf8($heim_team->teamname)." ";
|
||||||
|
echo Text::_('COM_SPORTSMANAGER_VERSUS_SHORTCUT');
|
||||||
|
echo " ".htmlentities_utf8($gast_team->teamname);
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</th>
|
</th>
|
||||||
@@ -1329,14 +1303,8 @@ global $params;
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="uk-overflow-auto">
|
|
||||||
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<tr>
|
|
||||||
<td><?php echo Text::_('COM_SPORTSMANAGER_VERSUS_SHORTCUT'); ?></td>
|
|
||||||
<td>
|
|
||||||
<table>
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<?php
|
<?php
|
||||||
@@ -1350,6 +1318,11 @@ global $params;
|
|||||||
<td>
|
<td>
|
||||||
<h2><?php echo htmlentities_utf8($heim_team->teamname); ?></h2>
|
<h2><?php echo htmlentities_utf8($heim_team->teamname); ?></h2>
|
||||||
</td>
|
</td>
|
||||||
|
<td rowspan=2 style="text-align: center">
|
||||||
|
<h2><?php echo $begegnung->heim_spielpunkte . ":" . $begegnung->gast_spielpunkte; ?></h2>
|
||||||
|
<?php if ($modus->spielpunkte_wertung_einzel != 2 || $modus->spielpunkte_wertung_doppel != 2)
|
||||||
|
echo "<h3>(" . $begegnung->heim_punkte . ":" . $begegnung->gast_punkte . ")</h3>"; ?>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
@@ -1369,16 +1342,9 @@ global $params;
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
|
||||||
<td style="width: 64px"></td>
|
|
||||||
<td style="text-align: center">
|
|
||||||
<h2><?php echo $begegnung->heim_spielpunkte . ":" . $begegnung->gast_spielpunkte; ?></h2><?php if ($modus->spielpunkte_wertung_einzel != 2 || $modus->spielpunkte_wertung_doppel != 2) echo "<h3>(" . $begegnung->heim_punkte . ":" . $begegnung->gast_punkte . ")</h3>"; ?>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<table>
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
if (count($spiele) > 0) {
|
if (count($spiele) > 0) {
|
||||||
$bilder_anzeigen = false;
|
$bilder_anzeigen = false;
|
||||||
foreach ($spiele as $spiel) {
|
foreach ($spiele as $spiel) {
|
||||||
if (bildHTML("mannschaftsmitglieder", !$details_anzeigen && $spiel->heim_spieler_1_bild_ausblenden ? '' : $spiel->heim_spieler_1_mitglied_id, 30, 40) != null || bildHTML("spieler", !$details_anzeigen && $spiel->heim_spieler_1_bild_ausblenden ? '' : $spiel->heim_spieler_1_id, 30, 40, 0, 0, $spiel->heim_spieler_1_geschlecht == 'M' ? 'm' : 'w') != null) {
|
if (bildHTML("mannschaftsmitglieder", !$details_anzeigen && $spiel->heim_spieler_1_bild_ausblenden ? '' : $spiel->heim_spieler_1_mitglied_id, 30, 40) != null || bildHTML("spieler", !$details_anzeigen && $spiel->heim_spieler_1_bild_ausblenden ? '' : $spiel->heim_spieler_1_id, 30, 40, 0, 0, $spiel->heim_spieler_1_geschlecht == 'M' ? 'm' : 'w') != null) {
|
||||||
@@ -1400,17 +1366,17 @@ global $params;
|
|||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<div class="uk-overflow-auto">
|
|
||||||
<table class="uk-table contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
<table class="" style="width: 100%;">
|
||||||
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_GAME'); ?></strong></th>
|
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_GAME'); ?></strong></th>
|
||||||
<?php if ($bilder_anzeigen) { ?>
|
<?php if ($bilder_anzeigen) { ?>
|
||||||
<th nowrap></th><?php } ?>
|
<th nowrap id="bilder_heim_0"></th><?php } ?>
|
||||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_HOME'); ?></strong></th>
|
<th nowrap style="text-align: left;"><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_HOME'); ?></strong></th>
|
||||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_RESULT'); ?></strong></th>
|
<th nowrap style="text-align: center;"><strong><?php echo Text::_('COM_SPORTSMANAGER_RESULT'); ?></strong></th>
|
||||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_VISITOR'); ?></strong></th>
|
<th nowrap style="text-align: left;"><strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM_VISITOR'); ?></strong></th>
|
||||||
<?php if ($bilder_anzeigen) { ?>
|
<?php if ($bilder_anzeigen) { ?>
|
||||||
<th nowrap></th><?php } ?>
|
<th nowrap id="bilder_gast_0"></th><?php } ?>
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
@@ -1419,41 +1385,30 @@ global $params;
|
|||||||
?>
|
?>
|
||||||
<tr class="sectiontableentry<?php echo $k + 1;
|
<tr class="sectiontableentry<?php echo $k + 1;
|
||||||
$k = ($k + 1) % 2; ?><?php echo $params->get('pageclass_sfx'); ?>">
|
$k = ($k + 1) % 2; ?><?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<td nowrap style="text-align: center"><?php echo $spiel->teamspiel_nummer ?></td>
|
<td nowrap style="text-align: center;"><?php echo $spiel->teamspiel_nummer ?></td>
|
||||||
<?php
|
<?php
|
||||||
if ($bilder_anzeigen) {
|
if ($bilder_anzeigen) {
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<td nowrap>
|
|
||||||
<table style="border: none; border-spacing: 0; padding: 0">
|
<td id="bilder_heim_<?php echo $spiel->teamspiel_nummer ?>" style="display: block; text-align: center;" >
|
||||||
<tr>
|
|
||||||
<td style="width: <?php echo $spiel->heim_spieler_2_id != null || $spiel->gast_spieler_2_id != null ? "32" : "64" . "px"; ?>"
|
|
||||||
style="text-align: center">
|
|
||||||
<?php
|
<?php
|
||||||
$bild = bildHTML("mannschaftsmitglieder", !$details_anzeigen && $spiel->heim_spieler_1_bild_ausblenden ? '' : $spiel->heim_spieler_1_mitglied_id, 30, 40, 0, 0, 'border="1"');
|
$bild = bildHTML("mannschaftsmitglieder", !$details_anzeigen && $spiel->heim_spieler_1_bild_ausblenden ? '' : $spiel->heim_spieler_1_mitglied_id, 45, 60, 0, 0, 'border="1"');
|
||||||
if ($bild == null)
|
if ($bild == null)
|
||||||
$bild = bildHTML("spieler", !$details_anzeigen && $spiel->heim_spieler_1_bild_ausblenden ? '' : $spiel->heim_spieler_1_id, 30, 40, 0, 0, 'border="1"', $spiel->heim_spieler_1_geschlecht == 'M' ? 'm' : 'w');
|
$bild = bildHTML("spieler", !$details_anzeigen && $spiel->heim_spieler_1_bild_ausblenden ? '' : $spiel->heim_spieler_1_id, 45, 60, 0, 0, 'border="1"', $spiel->heim_spieler_1_geschlecht == 'M' ? 'm' : 'w');
|
||||||
if ($bild != null)
|
if ($bild != null)
|
||||||
echo $bild;
|
echo $bild;
|
||||||
?>
|
|
||||||
</td>
|
|
||||||
<?php
|
|
||||||
if (!(empty($spiel->heim_spieler_2_id) && empty($spiel->gast_spieler_2_id))) {
|
if (!(empty($spiel->heim_spieler_2_id) && empty($spiel->gast_spieler_2_id))) {
|
||||||
?>
|
$bild = bildHTML("mannschaftsmitglieder", !$details_anzeigen && $spiel->heim_spieler_2_bild_ausblenden ? '' : $spiel->heim_spieler_2_mitglied_id, 45, 60, 0, 0, 'border="1"');
|
||||||
<td style="width: 64px">
|
|
||||||
<?php
|
|
||||||
$bild = bildHTML("mannschaftsmitglieder", !$details_anzeigen && $spiel->heim_spieler_2_bild_ausblenden ? '' : $spiel->heim_spieler_2_mitglied_id, 30, 40, 0, 0, 'border="1"');
|
|
||||||
if ($bild == null)
|
if ($bild == null)
|
||||||
$bild = bildHTML("spieler", !$details_anzeigen && $spiel->heim_spieler_2_bild_ausblenden ? '' : $spiel->heim_spieler_2_id, 30, 40, 0, 0, 'border="1"', $spiel->heim_spieler_2_geschlecht == 'M' ? 'm' : 'w');
|
$bild = bildHTML("spieler", !$details_anzeigen && $spiel->heim_spieler_2_bild_ausblenden ? '' : $spiel->heim_spieler_2_id, 45, 60, 0, 0, 'border="1"', $spiel->heim_spieler_2_geschlecht == 'M' ? 'm' : 'w');
|
||||||
if ($bild != null)
|
if ($bild != null)
|
||||||
echo $bild;
|
echo $bild;
|
||||||
?>
|
|
||||||
</td>
|
|
||||||
<?php
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
@@ -1461,31 +1416,32 @@ global $params;
|
|||||||
<td>
|
<td>
|
||||||
<?php
|
<?php
|
||||||
if ($spiel->heim_spieler_1_id != null && $spiel->heim_spieler_1_id != 0) {
|
if ($spiel->heim_spieler_1_id != null && $spiel->heim_spieler_1_id != 0) {
|
||||||
?><a
|
?>
|
||||||
href="<?php echo SportsManagerURL('&task=spieler_details&id=' . $spiel->heim_spieler_1_id); ?>"><?php echo htmlentities_utf8(NichtLeererString($spiel->heim_spieler_1_nachname . ", " . $spiel->heim_spieler_1_vorname)); ?></a>
|
<a href="<?php echo SportsManagerURL('&task=spieler_details&id=' . $spiel->heim_spieler_1_id); ?>"><?php echo htmlentities_utf8(NichtLeererString($spiel->heim_spieler_1_nachname . ", " . $spiel->heim_spieler_1_vorname)); ?></a>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
if ($spiel->heim_spieler_2_id != null && $spiel->heim_spieler_2_id != 0) {
|
if ($spiel->heim_spieler_2_id != null && $spiel->heim_spieler_2_id != 0) {
|
||||||
?><br/><a
|
?><br/>
|
||||||
href="<?php echo SportsManagerURL('&task=spieler_details&id=' . $spiel->heim_spieler_2_id); ?>"><?php echo htmlentities_utf8(NichtLeererString($spiel->heim_spieler_2_nachname . ", " . $spiel->heim_spieler_2_vorname)); ?></a>
|
<a href="<?php echo SportsManagerURL('&task=spieler_details&id=' . $spiel->heim_spieler_2_id); ?>"><?php echo htmlentities_utf8(NichtLeererString($spiel->heim_spieler_2_nachname . ", " . $spiel->heim_spieler_2_vorname)); ?></a>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td style="text-align: center"
|
<td style="text-align: center" nowrap>
|
||||||
nowrap><?php echo str_replace(" ", " | ", $spiel->ergebnis_detailliert); ?></td>
|
<?php echo str_replace(" ", " | ", $spiel->ergebnis_detailliert); ?>
|
||||||
|
</td>
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
<?php
|
<?php
|
||||||
if ($spiel->gast_spieler_1_id != null && $spiel->gast_spieler_1_id != 0) {
|
if ($spiel->gast_spieler_1_id != null && $spiel->gast_spieler_1_id != 0) {
|
||||||
?><a
|
?>
|
||||||
href="<?php echo SportsManagerURL('&task=spieler_details&id=' . $spiel->gast_spieler_1_id); ?>"><?php echo htmlentities_utf8(NichtLeererString($spiel->gast_spieler_1_nachname . ", " . $spiel->gast_spieler_1_vorname)); ?></a>
|
<a href="<?php echo SportsManagerURL('&task=spieler_details&id=' . $spiel->gast_spieler_1_id); ?>"><?php echo htmlentities_utf8(NichtLeererString($spiel->gast_spieler_1_nachname . ", " . $spiel->gast_spieler_1_vorname)); ?></a>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
if ($spiel->gast_spieler_2_id != null && $spiel->gast_spieler_2_id != 0) {
|
if ($spiel->gast_spieler_2_id != null && $spiel->gast_spieler_2_id != 0) {
|
||||||
?><br/><a
|
?><br/>
|
||||||
href="<?php echo SportsManagerURL('&task=spieler_details&id=' . $spiel->gast_spieler_2_id); ?>"><?php echo htmlentities_utf8(NichtLeererString($spiel->gast_spieler_2_nachname . ", " . $spiel->gast_spieler_2_vorname)); ?></a>
|
<a href="<?php echo SportsManagerURL('&task=spieler_details&id=' . $spiel->gast_spieler_2_id); ?>"><?php echo htmlentities_utf8(NichtLeererString($spiel->gast_spieler_2_nachname . ", " . $spiel->gast_spieler_2_vorname)); ?></a>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
@@ -1494,38 +1450,24 @@ global $params;
|
|||||||
<?php
|
<?php
|
||||||
if ($bilder_anzeigen) {
|
if ($bilder_anzeigen) {
|
||||||
?>
|
?>
|
||||||
<td>
|
<td id="bilder_gast_<?php echo $spiel->teamspiel_nummer ?>" style="display: block; text-align: center;">
|
||||||
<table style="border: none; border-spacing: 0; padding: 0">
|
|
||||||
<tr>
|
|
||||||
<td style="width: <?php echo $spiel->heim_spieler_2_id != null || $spiel->gast_spieler_2_id != null ? "32" : "64" . "px"; ?>"
|
|
||||||
style="text-align: center">
|
|
||||||
<?php
|
<?php
|
||||||
$bild = bildHTML("mannschaftsmitglieder", !$details_anzeigen && $spiel->gast_spieler_1_bild_ausblenden ? '' : $spiel->gast_spieler_1_mitglied_id, 30, 40, 0, 0, 'border="1"');
|
$bild = bildHTML("mannschaftsmitglieder", !$details_anzeigen && $spiel->gast_spieler_1_bild_ausblenden ? '' : $spiel->gast_spieler_1_mitglied_id, 45, 60, 0, 0, 'border="1"');
|
||||||
if ($bild == null)
|
if ($bild == null)
|
||||||
$bild = bildHTML("spieler", !$details_anzeigen && $spiel->gast_spieler_1_bild_ausblenden ? '' : $spiel->gast_spieler_1_id, 30, 40, 0, 0, 'border="1"', $spiel->gast_spieler_1_geschlecht == 'M' ? 'm' : 'w');
|
$bild = bildHTML("spieler", !$details_anzeigen && $spiel->gast_spieler_1_bild_ausblenden ? '' : $spiel->gast_spieler_1_id, 45, 60, 0, 0, 'border="1"', $spiel->gast_spieler_1_geschlecht == 'M' ? 'm' : 'w');
|
||||||
if ($bild != null)
|
if ($bild != null)
|
||||||
echo $bild;
|
echo $bild;
|
||||||
?>
|
|
||||||
</td>
|
|
||||||
<?php
|
|
||||||
if (!(empty($spiel->heim_spieler_2_id) && empty($spiel->gast_spieler_2_id))) {
|
if (!(empty($spiel->heim_spieler_2_id) && empty($spiel->gast_spieler_2_id))) {
|
||||||
?>
|
|
||||||
<td style="width: 64px;">
|
|
||||||
<?php
|
|
||||||
if (($details_anzeigen || !$spiel->gast_spieler_2_bild_ausblenden) && ($spiel->gast_spieler_2_mitglied_id != null || ($spiel->gast_spieler_2_id != null && $spiel->gast_spieler_2_id != 0))) {
|
if (($details_anzeigen || !$spiel->gast_spieler_2_bild_ausblenden) && ($spiel->gast_spieler_2_mitglied_id != null || ($spiel->gast_spieler_2_id != null && $spiel->gast_spieler_2_id != 0))) {
|
||||||
$bild = bildHTML("mannschaftsmitglieder", !$details_anzeigen && $spiel->gast_spieler_2_bild_ausblenden ? '' : $spiel->gast_spieler_2_mitglied_id, 30, 40, 0, 0, 'border="1"');
|
$bild = bildHTML("mannschaftsmitglieder", !$details_anzeigen && $spiel->gast_spieler_2_bild_ausblenden ? '' : $spiel->gast_spieler_2_mitglied_id, 45, 60, 0, 0, 'border="1"');
|
||||||
if ($bild == null)
|
if ($bild == null)
|
||||||
$bild = bildHTML("spieler", !$details_anzeigen && $spiel->gast_spieler_2_bild_ausblenden ? '' : $spiel->gast_spieler_2_id, 30, 40, 0, 0, 'border="1"', $spiel->gast_spieler_2_geschlecht == 'M' ? 'm' : 'w');
|
$bild = bildHTML("spieler", !$details_anzeigen && $spiel->gast_spieler_2_bild_ausblenden ? '' : $spiel->gast_spieler_2_id, 45, 60, 0, 0, 'border="1"', $spiel->gast_spieler_2_geschlecht == 'M' ? 'm' : 'w');
|
||||||
if ($bild != null)
|
if ($bild != null)
|
||||||
echo $bild;
|
echo $bild;
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
</td>
|
|
||||||
<?php
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
</td>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
@@ -1537,11 +1479,47 @@ global $params;
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<span class="article_seperator<?php echo $params->get('pageclass_sfx'); ?>"> </span>
|
<span class="article_seperator<?php echo $params->get('pageclass_sfx'); ?>"> </span>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
?>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
|
||||||
|
function bilder_zeigen(){
|
||||||
|
let breite = window.innerWidth;
|
||||||
|
let id = 0;
|
||||||
|
let anzeige;
|
||||||
|
let anzahl_spiele = <?PHP echo count($spiele); ?>;
|
||||||
|
|
||||||
|
if (breite < 480){
|
||||||
|
anzeige = "none";
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
anzeige = "block";
|
||||||
|
}
|
||||||
|
for (let i=0; i <= anzahl_spiele; i++) {
|
||||||
|
id = "bilder_heim_" + i;
|
||||||
|
document.getElementById(id).style.display = anzeige;
|
||||||
|
id = "bilder_gast_" + i;
|
||||||
|
document.getElementById(id).style.display = anzeige;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
function onResize() {
|
||||||
|
bilder_zeigen();
|
||||||
|
}
|
||||||
|
|
||||||
|
bilder_zeigen();
|
||||||
|
|
||||||
|
window.addEventListener("resize", onResize);
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
* @param $veranstaltung
|
* @param $veranstaltung
|
||||||
* @param $modus
|
* @param $modus
|
||||||
* @param $teams
|
* @param $teams
|
||||||
@@ -1551,8 +1529,8 @@ global $params;
|
|||||||
* @param int $praesentation
|
* @param int $praesentation
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spieltage, $alleine_angezeigt, int $praesentation = 0): void
|
static function tabelleAnzeigen($veranstaltung, $modus, $teams, $spieltag, $spieltage, $alleine_angezeigt, int $praesentation = 0): void
|
||||||
{
|
{
|
||||||
global $params;
|
global $params;
|
||||||
|
|
||||||
if (count($teams) > 0) {
|
if (count($teams) > 0) {
|
||||||
@@ -1609,26 +1587,32 @@ global $params;
|
|||||||
<!-- Gruppentabelle mit Ergebnissen -->
|
<!-- Gruppentabelle mit Ergebnissen -->
|
||||||
<!-- dtfl-table-small css from yootheme-->
|
<!-- dtfl-table-small css from yootheme-->
|
||||||
<div class="uk-overflow-auto">
|
<div class="uk-overflow-auto">
|
||||||
<table
|
<table style='width: 100%; border-collapse: collapse;'
|
||||||
class="uk-table uk-table-hover uk-table-divider uk-table-middle dtfl-table-medium contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
class="uk-table-hover uk-table-divider uk-table-middle dtfl-table-medium contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<th><strong><?php echo Text::_('COM_SPORTSMANAGER_PLACE'); ?></strong></th>
|
<th><strong><?php echo Text::_('COM_SPORTSMANAGER_PLACE'); ?></strong></th>
|
||||||
<th style="text-align: left">
|
<th style="text-align: left; width: 280px;">
|
||||||
<strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM'); ?></strong></th>
|
<strong><?php echo Text::_('COM_SPORTSMANAGER_TEAM'); ?></strong></th>
|
||||||
<?php
|
<?php
|
||||||
|
if ($bilder_anzeigen) {
|
||||||
|
?>
|
||||||
|
<th style="text-align: center; width: 70px;">
|
||||||
|
<strong></strong></th>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
if ($praesentation == 0) {
|
if ($praesentation == 0) {
|
||||||
?>
|
?>
|
||||||
<th nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_MATCHES'); ?>">
|
<th style="text-align: center; width: 30px;" nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_MATCHES'); ?>">
|
||||||
<strong><?php echo Text::_('COM_SPORTSMANAGER_MATCHES_SHORTCUT'); ?></strong>
|
<strong><?php echo Text::_('COM_SPORTSMANAGER_MATCHES_SHORTCUT'); ?></strong>
|
||||||
</th>
|
</th>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<th nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_VICTORIES'); ?>">
|
<th style="text-align: center; width: 30px;" nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_VICTORIES'); ?>">
|
||||||
<strong><?php echo Text::_('COM_SPORTSMANAGER_VICTORIES_SHORTCUT'); ?></strong></th>
|
<strong><?php echo Text::_('COM_SPORTSMANAGER_VICTORIES_SHORTCUT'); ?></strong></th>
|
||||||
<th nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_DRAWS'); ?>">
|
<th style="text-align: center; width: 30px;" nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_DRAWS'); ?>">
|
||||||
<strong><?php echo Text::_('COM_SPORTSMANAGER_DRAWS_SHORTCUT'); ?></strong></th>
|
<strong><?php echo Text::_('COM_SPORTSMANAGER_DRAWS_SHORTCUT'); ?></strong></th>
|
||||||
<th nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_DEFEATS'); ?>">
|
<th style="text-align: center; width: 30px;" nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_DEFEATS'); ?>">
|
||||||
<strong><?php echo Text::_('COM_SPORTSMANAGER_DEFEATS_SHORTCUT'); ?></strong></th>
|
<strong><?php echo Text::_('COM_SPORTSMANAGER_DEFEATS_SHORTCUT'); ?></strong></th>
|
||||||
<?php
|
<?php
|
||||||
if ($zusatzpunkte_anzeigen) {
|
if ($zusatzpunkte_anzeigen) {
|
||||||
@@ -1727,10 +1711,6 @@ global $params;
|
|||||||
$buchholz2_wert = $team->buchholz2;
|
$buchholz2_wert = $team->buchholz2;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<td nowrap>
|
|
||||||
|
|
||||||
<table style="width: 100%; border: none; border-spacing: 0; padding: 0">
|
|
||||||
<tr>
|
|
||||||
<td>
|
<td>
|
||||||
<?php
|
<?php
|
||||||
echo "<a href=\"" . SportsManagerURL('&task=team_details&id=' . $team->team_id) . "\">" . htmlentities_utf8(NichtLeererString($team->teamname)) . "</a>";
|
echo "<a href=\"" . SportsManagerURL('&task=team_details&id=' . $team->team_id) . "\">" . htmlentities_utf8(NichtLeererString($team->teamname)) . "</a>";
|
||||||
@@ -1739,7 +1719,7 @@ global $params;
|
|||||||
<?php
|
<?php
|
||||||
if ($bilder_anzeigen) {
|
if ($bilder_anzeigen) {
|
||||||
?>
|
?>
|
||||||
<td style="width: 50px" height="50" style="text-align: right">
|
<td style="text-align: center;">
|
||||||
<?php
|
<?php
|
||||||
$bild = bildHTML("mannschaften", $team->team_id, 50, 50, 0, 0, 'border="0"');
|
$bild = bildHTML("mannschaften", $team->team_id, 50, 50, 0, 0, 'border="0"');
|
||||||
if ($bild != null) {
|
if ($bild != null) {
|
||||||
@@ -1753,12 +1733,6 @@ global $params;
|
|||||||
</td>
|
</td>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
|
|
||||||
</td>
|
|
||||||
<?php
|
|
||||||
if ($praesentation == 0) {
|
if ($praesentation == 0) {
|
||||||
?>
|
?>
|
||||||
<td nowrap
|
<td nowrap
|
||||||
@@ -1861,7 +1835,7 @@ global $params;
|
|||||||
?>
|
?>
|
||||||
<span class="article_seperator<?php echo $params->get('pageclass_sfx'); ?>"> </span>
|
<span class="article_seperator<?php echo $params->get('pageclass_sfx'); ?>"> </span>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
|
||||||
static function tabelleEigeneAnzeigen($veranstaltung, $teams, $alleine_angezeigt, $praesentation = 0): void
|
static function tabelleEigeneAnzeigen($veranstaltung, $teams, $alleine_angezeigt, $praesentation = 0): void
|
||||||
{
|
{
|
||||||
@@ -5611,7 +5585,6 @@ global $params;
|
|||||||
static function spielerstatistik($spielerstatistik, $spielerstatistik_punkte, $allein_angezeigt, $vorherige_spielerstatistik_id, $naechste_spielerstatistik_id, $details_anzeigen): void
|
static function spielerstatistik($spielerstatistik, $spielerstatistik_punkte, $allein_angezeigt, $vorherige_spielerstatistik_id, $naechste_spielerstatistik_id, $details_anzeigen): void
|
||||||
{
|
{
|
||||||
global $params;
|
global $params;
|
||||||
|
|
||||||
if ($allein_angezeigt) {
|
if ($allein_angezeigt) {
|
||||||
?>
|
?>
|
||||||
<table class="uk-table" style="width: 100%; border: none; border-spacing: 0; padding: 3px">
|
<table class="uk-table" style="width: 100%; border: none; border-spacing: 0; padding: 3px">
|
||||||
@@ -5718,13 +5691,16 @@ global $params;
|
|||||||
?>
|
?>
|
||||||
<!-- Tabelle Spielerstatistiken -->
|
<!-- Tabelle Spielerstatistiken -->
|
||||||
<div class="uk-overflow-auto">
|
<div class="uk-overflow-auto">
|
||||||
<table
|
<table style='width: 100%; padding:1px 1px 1px 1px; border-collapse: collapse;'
|
||||||
class="uk-table uk-table-hover uk-table-divider uk-table-middle dtfl-table-medium contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
class="uk-table-hover uk-table-divider uk-table-middle dtfl-table-medium contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<th><strong><?php echo Text::_('COM_SPORTSMANAGER_PLACE'); ?></strong></th>
|
<th><strong><?php echo Text::_('COM_SPORTSMANAGER_PLACE'); ?></strong></th>
|
||||||
<th style="text-align: left">
|
<th style="text-align: left; width: 120px;">
|
||||||
<strong><?php echo Text::_('COM_SPORTSMANAGER_PLAYER'); ?></strong>
|
<strong><?php echo Text::_('COM_SPORTSMANAGER_PLAYER'); ?></strong>
|
||||||
</th>
|
</th>
|
||||||
|
<th style="text-align: center; width: 50px;">
|
||||||
|
<strong></strong>
|
||||||
|
</th>
|
||||||
<?php
|
<?php
|
||||||
if ($spielerstatistik->tabellenwertung > 0) {
|
if ($spielerstatistik->tabellenwertung > 0) {
|
||||||
?>
|
?>
|
||||||
@@ -5737,22 +5713,27 @@ global $params;
|
|||||||
?>
|
?>
|
||||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_GAMES'); ?></strong></th>
|
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_GAMES'); ?></strong></th>
|
||||||
<th nowrap
|
<th nowrap
|
||||||
title="<?php echo Text::_('COM_SPORTSMANAGER_GAME_POINTS'); ?> <?php echo Text::_('COM_SPORTSMANAGER_WON'); ?>">
|
title="<?php echo Text::_('COM_SPORTSMANAGER_GAME_POINTS'); ?>
|
||||||
|
<?php echo Text::_('COM_SPORTSMANAGER_WON'); ?>">
|
||||||
<strong><?php echo Text::_('COM_SPORTSMANAGER_GAME_POINTS_SHORTCUT'); ?>
|
<strong><?php echo Text::_('COM_SPORTSMANAGER_GAME_POINTS_SHORTCUT'); ?>
|
||||||
+</strong></th>
|
+</strong></th>
|
||||||
<th nowrap
|
<th nowrap
|
||||||
title="<?php echo Text::_('COM_SPORTSMANAGER_GAME_POINTS'); ?> <?php echo Text::_('COM_SPORTSMANAGER_LOST'); ?>">
|
title="<?php echo Text::_('COM_SPORTSMANAGER_GAME_POINTS'); ?>
|
||||||
|
<?php echo Text::_('COM_SPORTSMANAGER_LOST'); ?>">
|
||||||
<strong><?php echo Text::_('COM_SPORTSMANAGER_GAME_POINTS_SHORTCUT'); ?>
|
<strong><?php echo Text::_('COM_SPORTSMANAGER_GAME_POINTS_SHORTCUT'); ?>
|
||||||
-</strong></th>
|
-</strong></th>
|
||||||
<th nowrap
|
<th nowrap
|
||||||
title="<?php echo Text::_('COM_SPORTSMANAGER_GAME_POINTS'); ?> <?php echo Text::_('COM_SPORTSMANAGER_RATE'); ?>">
|
title="<?php echo Text::_('COM_SPORTSMANAGER_GAME_POINTS'); ?>
|
||||||
|
<?php echo Text::_('COM_SPORTSMANAGER_RATE'); ?>">
|
||||||
<strong><?php echo Text::_('COM_SPORTSMANAGER_RATE_SHORTCUT'); ?></strong></th>
|
<strong><?php echo Text::_('COM_SPORTSMANAGER_RATE_SHORTCUT'); ?></strong></th>
|
||||||
<th nowrap
|
<th nowrap
|
||||||
title="<?php echo Text::_('COM_SPORTSMANAGER_POINTS'); ?> <?php echo Text::_('COM_SPORTSMANAGER_WON'); ?>">
|
title="<?php echo Text::_('COM_SPORTSMANAGER_POINTS'); ?>
|
||||||
|
<?php echo Text::_('COM_SPORTSMANAGER_WON'); ?>">
|
||||||
<strong><?php echo Text::_('COM_SPORTSMANAGER_POINTS_SHORTCUT'); ?> +</strong>
|
<strong><?php echo Text::_('COM_SPORTSMANAGER_POINTS_SHORTCUT'); ?> +</strong>
|
||||||
</th>
|
</th>
|
||||||
<th nowrap
|
<th nowrap
|
||||||
title="<?php echo Text::_('COM_SPORTSMANAGER_POINTS'); ?> <?php echo Text::_('COM_SPORTSMANAGER_LOST'); ?>">
|
title="<?php echo Text::_('COM_SPORTSMANAGER_POINTS'); ?>
|
||||||
|
<?php echo Text::_('COM_SPORTSMANAGER_LOST'); ?>">
|
||||||
<strong><?php echo Text::_('COM_SPORTSMANAGER_POINTS_SHORTCUT'); ?> -</strong>
|
<strong><?php echo Text::_('COM_SPORTSMANAGER_POINTS_SHORTCUT'); ?> -</strong>
|
||||||
</th>
|
</th>
|
||||||
<th nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_VICTORIES'); ?>">
|
<th nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_VICTORIES'); ?>">
|
||||||
@@ -5784,9 +5765,6 @@ global $params;
|
|||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
<td nowrap>
|
<td nowrap>
|
||||||
<table style="width: 100%; border: none; border-spacing: 0; padding: 0">
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<?php
|
<?php
|
||||||
if ($row->aktueller_verein_id == null)
|
if ($row->aktueller_verein_id == null)
|
||||||
echo htmlentities_utf8($row->nachname . ", " . $row->vorname);
|
echo htmlentities_utf8($row->nachname . ", " . $row->vorname);
|
||||||
@@ -5809,28 +5787,24 @@ global $params;
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
<td style="width: 59px">
|
<td>
|
||||||
<?php
|
<?php
|
||||||
if ($bilder_anzeigen && ($bild = bildHTML("spieler", !$details_anzeigen && $row->bild_ausblenden ? '' : $row->spieler_id, 57, 76, 0, 0, 'border="1" style="text-align: right" hspace="8" vspace="2"', $row->geschlecht == 'M' ? 'm' : 'w')) != null)
|
if ($bilder_anzeigen && ($bild = bildHTML("spieler", !$details_anzeigen && $row->bild_ausblenden ? '' : $row->spieler_id, 45, 60, 0, 0, 'border="1" style="text-align: right" hspace="8" vspace="2"', $row->geschlecht == 'M' ? 'm' : 'w')) != null)
|
||||||
echo $bild;
|
echo $bild;
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
<?php
|
<?php
|
||||||
if ($bilder_anzeigen_2) {
|
if ($bilder_anzeigen_2) {
|
||||||
?>
|
?>
|
||||||
<td style="width: 59px">
|
<td style="text-align: left;">
|
||||||
<?php
|
<?php
|
||||||
if (($bild = bildHTML("spieler", !$details_anzeigen && $row->bild_ausblenden_2 ? '' : $row->spieler_2_id, 57, 76, 0, 0, 'border="1" style="text-align: right" hspace="8" vspace="2"', $row->geschlecht == 'M' ? 'm' : 'w')) != null)
|
if (($bild = bildHTML("spieler", !$details_anzeigen && $row->bild_ausblenden_2 ? '' : $row->spieler_2_id, 45, 60, 0, 0, 'border="1" style="text-align: right" hspace="8" vspace="2"', $row->geschlecht == 'M' ? 'm' : 'w')) != null)
|
||||||
echo $bild;
|
echo $bild;
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
<?php
|
|
||||||
if ($spielerstatistik->tabellenwertung != 0) {
|
if ($spielerstatistik->tabellenwertung != 0) {
|
||||||
?>
|
?>
|
||||||
<td nowrap style="text-align: center">
|
<td nowrap style="text-align: center">
|
||||||
@@ -6769,7 +6743,6 @@ global $params;
|
|||||||
static function rangliste($rangliste, $rangliste_punkte, $allein_angezeigt, $details_anzeigen): void
|
static function rangliste($rangliste, $rangliste_punkte, $allein_angezeigt, $details_anzeigen): void
|
||||||
{
|
{
|
||||||
global $params;
|
global $params;
|
||||||
|
|
||||||
if ($allein_angezeigt) {
|
if ($allein_angezeigt) {
|
||||||
?>
|
?>
|
||||||
<div class="uk-overflow-auto">
|
<div class="uk-overflow-auto">
|
||||||
@@ -6847,14 +6820,15 @@ global $params;
|
|||||||
?>
|
?>
|
||||||
<!-- Tabelle Rangliste -->
|
<!-- Tabelle Rangliste -->
|
||||||
<div class="uk-overflow-auto">
|
<div class="uk-overflow-auto">
|
||||||
<table
|
<table style='width: 100%; padding:1px 1px 1px 1px; border-collapse: collapse;'
|
||||||
class="uk-table uk-table-divider uk-table-hover uk-table-middle rangliste-width contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
class="uk-table-divider uk-table-hover uk-table-middle rangliste-width contentpaneopen<?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
<tr class="sectiontableheader<?php echo $params->get('pageclass_sfx'); ?>">
|
||||||
<th><strong><?php echo Text::_('COM_SPORTSMANAGER_RANK'); ?></strong></th>
|
<th><strong><?php echo Text::_('COM_SPORTSMANAGER_RANK'); ?></strong></th>
|
||||||
|
<th></th>
|
||||||
<th style="text-align: left">
|
<th style="text-align: left">
|
||||||
<strong><?php echo Text::_('COM_SPORTSMANAGER_PLAYER'); ?></strong>
|
<strong><?php echo Text::_('COM_SPORTSMANAGER_PLAYER'); ?></strong>
|
||||||
</th>
|
</th>
|
||||||
<th><strong><?php echo Text::_('COM_SPORTSMANAGER_POINTS'); ?></strong></th>
|
<th style="text-align: center"><strong><?php echo Text::_('COM_SPORTSMANAGER_POINTS'); ?></strong></th>
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
@@ -6875,20 +6849,22 @@ global $params;
|
|||||||
<?php
|
<?php
|
||||||
if (($bild = yoothemeBild("spieler", !$details_anzeigen && $row->bild_ausblenden ? '' : $row->spieler_id, $row->geschlecht == 'M' ? 'm' : 'w', '#resize=75', 'border="1" style="text-align: left" hspace="8" vspace="2"')) != null)
|
if (($bild = yoothemeBild("spieler", !$details_anzeigen && $row->bild_ausblenden ? '' : $row->spieler_id, $row->geschlecht == 'M' ? 'm' : 'w', '#resize=75', 'border="1" style="text-align: left" hspace="8" vspace="2"')) != null)
|
||||||
echo $bild; ?>
|
echo $bild; ?>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
<?php
|
<?php
|
||||||
if ($row->aktueller_verein_id == null)
|
if ($row->aktueller_verein_id == null)
|
||||||
echo htmlentities_utf8($row->nachname . ", " . $row->vorname);
|
echo htmlentities_utf8($row->nachname . ", " . $row->vorname);
|
||||||
else {
|
else {
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<a class="uk-align-center"
|
<a style="text-align: left; vertical-align: middle;"
|
||||||
href="<?php echo SportsManagerURL('&task=spieler_details&id=' . $row->spieler_id); ?>"><?php echo htmlentities_utf8($row->vorname . " " . $row->nachname); ?></a>
|
href="<?php echo SportsManagerURL('&task=spieler_details&id=' . $row->spieler_id); ?>"><?php echo htmlentities_utf8($row->vorname . " " . $row->nachname); ?></a>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td class="uk-align-center">
|
<td style="text-align: center; vertical-align: middle;">
|
||||||
<a href="<?php echo SportsManagerURL('&task=ranglistenpunkte&rangliste_id=' . $rangliste->rangliste_id . "&spieler_id=" . $row->spieler_id); ?>"><?php echo $row->punkte; ?></a>
|
<a href="<?php echo SportsManagerURL('&task=ranglistenpunkte&rangliste_id=' . $rangliste->rangliste_id . "&spieler_id=" . $row->spieler_id); ?>"><?php echo $row->punkte; ?></a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -12,149 +12,183 @@ defined('_JEXEC') or die('Restricted access');
|
|||||||
require_once JPATH_SITE . '/components/com_sportsmanager/views/sportsmanager/view_tools.php';
|
require_once JPATH_SITE . '/components/com_sportsmanager/views/sportsmanager/view_tools.php';
|
||||||
require_once JPATH_SITE . '/components/com_sportsmanager/util/image.php';
|
require_once JPATH_SITE . '/components/com_sportsmanager/util/image.php';
|
||||||
|
|
||||||
|
function formatTimediff( $timestamp1, $timestamp2, $verbose ) {
|
||||||
|
if (empty($timestamp1) || empty($timestamp2)) {
|
||||||
|
return "";
|
||||||
|
} else {
|
||||||
|
$daydiff = round(($timestamp2 - $timestamp1) / (3600.0 * 24.0));
|
||||||
|
if ($verbose) {
|
||||||
|
return sprintf("%+d d", $daydiff);
|
||||||
|
} else if (abs($daydiff) > 0) {
|
||||||
|
return sprintf("%dd", $daydiff);
|
||||||
|
} else {
|
||||||
|
return "-";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function formatTeamName( $team_name, $team_id, $highlight_team_id ) {
|
||||||
|
if ($team_id == $highlight_team_id) {
|
||||||
|
return "<b><i>" . htmlentities_utf8($team_name) . "</i></b>";
|
||||||
|
} else {
|
||||||
|
return htmlentities_utf8($team_name);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
class HTML_sportsmanager_admin
|
class HTML_sportsmanager_admin
|
||||||
{
|
{
|
||||||
static function adminUebersicht($veranstaltungen, $spielerstatistiken, $turniere, $ranglisten, $individualwettbewerbe, $statistik, $saisons, $filter_saison_id, $externe_datenbank): void
|
static function adminUebersicht($veranstaltungen, $spielerstatistiken, $turniere, $ranglisten, $individualwettbewerbe, $statistik, $saisons, $filter_saison_id, $externe_datenbank): void
|
||||||
{
|
{
|
||||||
global $params;
|
function checkZeilenumbruch($Spalte_Nr, $max_Spalten)
|
||||||
|
{
|
||||||
|
$Spalte_Nr++;
|
||||||
|
if ($Spalte_Nr >= $max_Spalten){
|
||||||
|
echo "</tr>\n<tr>\n";
|
||||||
|
$Spalte_Nr = 0;
|
||||||
|
}
|
||||||
|
return $Spalte_Nr;
|
||||||
|
}
|
||||||
|
|
||||||
|
global $params;
|
||||||
?>
|
?>
|
||||||
<div class="componentheading<?php echo $params->get('pageclass_sfx'); ?>"><a
|
<div class="componentheading<?php echo $params->get('pageclass_sfx'); ?>" style='font-weight: bold;'>
|
||||||
href="https://github.com/Deutscher-Tischfussballbund/" target="_blank">Sports
|
<a href="https://github.com/Deutscher-Tischfussballbund/" target="_blank">
|
||||||
Manager <?php echo SPORTS_MANAGER_VERSION; ?> </a>
|
Sports Manager <?php echo SPORTS_MANAGER_VERSION; ?> </a>
|
||||||
</div>
|
</div>
|
||||||
<table style="border-spacing: 10px">
|
<table>
|
||||||
<?php
|
|
||||||
if (benutzerZugriff("spieler_aendern")
|
|
||||||
|| benutzerVeranstalterModerator()
|
|
||||||
|| benutzerVereinModerator()
|
|
||||||
|| benutzerZugriff("vereine_aendern")
|
|
||||||
|| benutzerZugriff("organisationen_aendern")
|
|
||||||
|| benutzerZugriff("kategorien_aendern")
|
|
||||||
|| benutzerZugriff("moderatoren_aendern")
|
|
||||||
|| benutzerZugriff("einstufungen_aendern")
|
|
||||||
|| benutzerZugriff("basiseinstellungen_aendern")) {
|
|
||||||
?>
|
|
||||||
<tr>
|
<tr>
|
||||||
<?php
|
<?php
|
||||||
|
$max_Spalten = 6;
|
||||||
|
$Spalte_Nr = 0;
|
||||||
if (benutzerZugriff("spieler_aendern") || benutzerVeranstalterModerator() || benutzerVereinModerator()) {
|
if (benutzerZugriff("spieler_aendern") || benutzerVeranstalterModerator() || benutzerVereinModerator()) {
|
||||||
?>
|
?>
|
||||||
<td nowrap><a
|
<td style="padding-right: 15px" nowrap>
|
||||||
href="<?php echo SportsManagerURL('&task=admin_spieler'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_PLAYERS'); ?></a>
|
<a href="<?php echo SportsManagerURL('&task=admin_spieler'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_PLAYERS'); ?></a>
|
||||||
</td>
|
</td>
|
||||||
<?php
|
<?php
|
||||||
|
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
|
||||||
}
|
}
|
||||||
if (benutzerZugriff("vereine_aendern")) {
|
if (benutzerZugriff("vereine_aendern")) {
|
||||||
?>
|
?>
|
||||||
<td nowrap><a
|
<td style="padding-right: 15px" nowrap>
|
||||||
href="<?php echo SportsManagerURL('&task=admin_vereine'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_CLUBS'); ?></a>
|
<a href="<?php echo SportsManagerURL('&task=admin_vereine'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_CLUBS'); ?></a>
|
||||||
</td>
|
</td>
|
||||||
<?php
|
<?php
|
||||||
|
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
|
||||||
}
|
}
|
||||||
if (benutzerZugriff("organisationen_aendern")) {
|
if (benutzerZugriff("organisationen_aendern")) {
|
||||||
?>
|
?>
|
||||||
<td nowrap><a
|
<td style="padding-right: 15px" nowrap>
|
||||||
href="<?php echo SportsManagerURL('&task=admin_veranstalter'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_ORGANISATIONS'); ?></a>
|
<a href="<?php echo SportsManagerURL('&task=admin_veranstalter'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_ORGANISATIONS'); ?></a>
|
||||||
</td>
|
</td>
|
||||||
<?php
|
<?php
|
||||||
|
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
|
||||||
}
|
}
|
||||||
if (benutzerZugriff("kategorien_aendern")) {
|
if (benutzerZugriff("kategorien_aendern")) {
|
||||||
?>
|
?>
|
||||||
<td nowrap><a
|
<td style="padding-right: 15px" nowrap>
|
||||||
href="<?php echo SportsManagerURL('&task=admin_kategorien'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_CATEGORIES'); ?></a>
|
<a href="<?php echo SportsManagerURL('&task=admin_kategorien'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_CATEGORIES'); ?></a>
|
||||||
</td>
|
</td>
|
||||||
<?php
|
<?php
|
||||||
|
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
|
||||||
}
|
}
|
||||||
if (benutzerZugriff("moderatoren_aendern")) {
|
if (benutzerZugriff("moderatoren_aendern")) {
|
||||||
?>
|
?>
|
||||||
<td nowrap><a
|
<td style="padding-right: 15px" nowrap>
|
||||||
href="<?php echo SportsManagerURL('&task=admin_moderatoren'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_MODERATORS'); ?></a>
|
<a href="<?php echo SportsManagerURL('&task=admin_moderatoren'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_MODERATORS'); ?></a>
|
||||||
</td>
|
</td>
|
||||||
<?php
|
<?php
|
||||||
|
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
|
||||||
}
|
}
|
||||||
if (benutzerZugriff("einstufungen_aendern")) {
|
if (benutzerZugriff("einstufungen_aendern")) {
|
||||||
?>
|
?>
|
||||||
<td nowrap><a
|
<td style="padding-right: 15px" nowrap>
|
||||||
href="<?php echo SportsManagerURL('&task=admin_einstufungen'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_CLASSIFICATIONS'); ?></a>
|
<a href="<?php echo SportsManagerURL('&task=admin_einstufungen'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_CLASSIFICATIONS'); ?></a>
|
||||||
</td>
|
</td>
|
||||||
<?php
|
<?php
|
||||||
|
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
|
||||||
}
|
}
|
||||||
if (benutzerZugriff("basiseinstellungen_aendern")) {
|
if (benutzerZugriff("basiseinstellungen_aendern")) {
|
||||||
?>
|
?>
|
||||||
<td nowrap><a
|
<td style="padding-right: 15px" nowrap>
|
||||||
href="<?php echo SportsManagerURL('&task=admin_einstellungen'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_SETTINGS'); ?></a>
|
<a href="<?php echo SportsManagerURL('&task=admin_einstellungen'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_SETTINGS'); ?></a>
|
||||||
</td>
|
|
||||||
<td nowrap><a
|
|
||||||
href="<?php echo SportsManagerURL('&task=admin_datenbank'); ?>"><?php echo $externe_datenbank ? Text::_('COM_SPORTSMANAGER_DATABASE_EXTERNAL') : Text::_('COM_SPORTSMANAGER_DATABASE_LOCAL'); ?></a>
|
|
||||||
</td>
|
</td>
|
||||||
<?php
|
<?php
|
||||||
}
|
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
|
||||||
?>
|
?>
|
||||||
</tr>
|
<td style="padding-right: 15px" nowrap>
|
||||||
|
<a href="<?php echo SportsManagerURL('&task=admin_datenbank'); ?>"><?php echo $externe_datenbank ? Text::_('COM_SPORTSMANAGER_DATABASE_EXTERNAL') : Text::_('COM_SPORTSMANAGER_DATABASE_LOCAL'); ?></a>
|
||||||
|
</td>
|
||||||
<?php
|
<?php
|
||||||
|
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
|
||||||
}
|
}
|
||||||
?>
|
|
||||||
<tr>
|
|
||||||
<?php
|
|
||||||
if (benutzerZugriff("termine_aendern")) {
|
if (benutzerZugriff("termine_aendern")) {
|
||||||
?>
|
?>
|
||||||
<td nowrap><a
|
<td style="padding-right: 15px" nowrap>
|
||||||
href="<?php echo SportsManagerURL('&task=admin_termine'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_APPOINTMENTS'); ?></a>
|
<a href="<?php echo SportsManagerURL('&task=admin_termine'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_APPOINTMENTS'); ?></a>
|
||||||
</td>
|
</td>
|
||||||
<?php
|
<?php
|
||||||
|
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
|
||||||
}
|
}
|
||||||
if (benutzerZugriff("verteiler_aendern") || benutzerZugriff("verteiler_lesen")) {
|
if (benutzerZugriff("verteiler_aendern") || benutzerZugriff("verteiler_lesen")) {
|
||||||
?>
|
?>
|
||||||
<td nowrap><a
|
<td style="padding-right: 15px" nowrap>
|
||||||
href="<?php echo SportsManagerURL('&task=admin_verteiler'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_MAILING_LISTS'); ?></a>
|
<a href="<?php echo SportsManagerURL('&task=admin_verteiler'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_MAILING_LISTS'); ?></a>
|
||||||
</td>
|
</td>
|
||||||
<?php
|
<?php
|
||||||
|
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
|
||||||
}
|
}
|
||||||
if (benutzerZugriff("rechnungen_aendern") && $statistik["saisons"] > 0) {
|
if (benutzerZugriff("rechnungen_aendern") && $statistik["saisons"] > 0) {
|
||||||
?>
|
?>
|
||||||
<td nowrap><a
|
<td style="padding-right: 15px" nowrap>
|
||||||
href="<?php echo SportsManagerURL('&task=admin_rechnungen'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_INVOICES'); ?></a>
|
<a href="<?php echo SportsManagerURL('&task=admin_rechnungen'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_INVOICES'); ?></a>
|
||||||
</td>
|
</td>
|
||||||
<?php
|
<?php
|
||||||
|
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
|
||||||
}
|
}
|
||||||
if (benutzerZugriff("spielorte_aendern")) {
|
if (benutzerZugriff("spielorte_aendern")) {
|
||||||
?>
|
?>
|
||||||
<td nowrap><a
|
<td style="padding-right: 15px" nowrap>
|
||||||
href="<?php echo SportsManagerURL('&task=admin_spielorte'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_LOCATIONS'); ?></a>
|
<a href="<?php echo SportsManagerURL('&task=admin_spielorte'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_LOCATIONS'); ?></a>
|
||||||
</td>
|
</td>
|
||||||
<?php
|
<?php
|
||||||
|
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
|
||||||
}
|
}
|
||||||
if (benutzerZugriff("saisons_aendern")) {
|
if (benutzerZugriff("saisons_aendern")) {
|
||||||
?>
|
?>
|
||||||
<td nowrap><a
|
<td style="padding-right: 15px" nowrap>
|
||||||
href="<?php echo SportsManagerURL('&task=admin_saisons'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_SEASONS'); ?></a>
|
<a href="<?php echo SportsManagerURL('&task=admin_saisons'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_SEASONS'); ?></a>
|
||||||
</td>
|
</td>
|
||||||
<?php
|
<?php
|
||||||
|
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
|
||||||
}
|
}
|
||||||
if (benutzerZugriff("mannschaftsspielplaene_aendern")) {
|
if (benutzerZugriff("mannschaftsspielplaene_aendern")) {
|
||||||
?>
|
?>
|
||||||
<td nowrap><a
|
<td style="padding-right: 15px" nowrap>
|
||||||
href="<?php echo SportsManagerURL('&task=admin_teamspiel_modi'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_TEAM_PLANS'); ?></a>
|
<a href="<?php echo SportsManagerURL('&task=admin_teamspiel_modi'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_TEAM_PLANS'); ?></a>
|
||||||
</td>
|
</td>
|
||||||
<?php
|
<?php
|
||||||
|
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
|
||||||
}
|
}
|
||||||
if (benutzerZugriff("verschieberegeln_aendern")) {
|
if (benutzerZugriff("verschieberegeln_aendern")) {
|
||||||
?>
|
?>
|
||||||
<td nowrap><a
|
<td style="padding-right: 15px" nowrap>
|
||||||
href="<?php echo SportsManagerURL('&task=admin_verschieben_modi'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_POSTPONE_RULES'); ?></a>
|
<a href="<?php echo SportsManagerURL('&task=admin_verschieben_modi'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_POSTPONE_RULES'); ?></a>
|
||||||
</td>
|
</td>
|
||||||
<?php
|
<?php
|
||||||
|
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
|
||||||
}
|
}
|
||||||
if (benutzerZugriff("ranglistenwertungen_aendern")) {
|
if (benutzerZugriff("ranglistenwertungen_aendern")) {
|
||||||
?>
|
?>
|
||||||
<td nowrap><a
|
<td style="padding-right: 15px" nowrap>
|
||||||
href="<?php echo SportsManagerURL('&task=admin_ranglistensysteme'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_RANKING_RATING'); ?></a>
|
<a href="<?php echo SportsManagerURL('&task=admin_ranglistensysteme'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_RANKING_RATING'); ?></a>
|
||||||
</td>
|
</td>
|
||||||
<?php
|
<?php
|
||||||
|
$Spalte_Nr = checkZeilenumbruch($Spalte_Nr, $max_Spalten);
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table><br>
|
||||||
<?php
|
<?php
|
||||||
if (count($saisons) > 0) {
|
if (count($saisons) > 0) {
|
||||||
?>
|
?>
|
||||||
@@ -4898,13 +4932,13 @@ class HTML_sportsmanager_admin
|
|||||||
|
|
||||||
<form action="<?php echo SportsManagerURL(); ?>" method="post" name="adminForm" id="adminForm">
|
<form action="<?php echo SportsManagerURL(); ?>" method="post" name="adminForm" id="adminForm">
|
||||||
<div class="uk-overflow-auto">
|
<div class="uk-overflow-auto">
|
||||||
<table class="uk-table" style="width: 100%">
|
<table class="" style="width: 100%">
|
||||||
<tr>
|
<tr>
|
||||||
<td nowrap style="width: 60%; vertical-align: top">
|
<td nowrap style="width: 60%; vertical-align: top">
|
||||||
<div class="uk-overflow-auto">
|
<div class="uk-overflow-auto">
|
||||||
<table class="uk-table" style="width: 100%">
|
<table class="" style="width: 100%">
|
||||||
<?php
|
<?php
|
||||||
for ($typ = 1; $typ <= 6; $typ++) {
|
for ($typ = 1; $typ <= 7; $typ++) {
|
||||||
?>
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
<td></td>
|
<td></td>
|
||||||
@@ -4924,6 +4958,8 @@ class HTML_sportsmanager_admin
|
|||||||
echo Text::_('COM_SPORTSMANAGER_PLAYER_STATISTICS');
|
echo Text::_('COM_SPORTSMANAGER_PLAYER_STATISTICS');
|
||||||
else if ($typ == 6)
|
else if ($typ == 6)
|
||||||
echo Text::_('COM_SPORTSMANAGER_INDIVIDUAL_COMPETITIONS');
|
echo Text::_('COM_SPORTSMANAGER_INDIVIDUAL_COMPETITIONS');
|
||||||
|
else if ($typ == 7)
|
||||||
|
echo Text::_('COM_SPORTSMANAGER_ASSOCIATION_BODIES');
|
||||||
?>
|
?>
|
||||||
</H2>
|
</H2>
|
||||||
</div>
|
</div>
|
||||||
@@ -6922,11 +6958,11 @@ class HTML_sportsmanager_admin
|
|||||||
<form action="<?php echo SportsManagerURL(); ?>" method="post" name="adminForm" id="adminForm"
|
<form action="<?php echo SportsManagerURL(); ?>" method="post" name="adminForm" id="adminForm"
|
||||||
enctype="multipart/form-data">
|
enctype="multipart/form-data">
|
||||||
<div class="uk-overflow-auto">
|
<div class="uk-overflow-auto">
|
||||||
<table class="uk-table" style="width: 100%">
|
<table class="" style="width: 100%">
|
||||||
<tr>
|
<tr>
|
||||||
<td nowrap style="width: 60%; vertical-align: top">
|
<td nowrap style="width: 60%; vertical-align: top">
|
||||||
<div class="uk-overflow-auto">
|
<div class="uk-overflow-auto">
|
||||||
<table class="uk-table" style="width: 100%">
|
<table class="" style="width: 100%">
|
||||||
<tr>
|
<tr>
|
||||||
<td nowrap style="width: 20%; text-align: right">
|
<td nowrap style="width: 20%; text-align: right">
|
||||||
<label
|
<label
|
||||||
@@ -6961,7 +6997,7 @@ class HTML_sportsmanager_admin
|
|||||||
:</label>
|
:</label>
|
||||||
</td>
|
</td>
|
||||||
<td nowrap>
|
<td nowrap>
|
||||||
<select class="uk-select uk-form-width-medium" name="kategorie"
|
<select class="uk-select uk-form-width-medium" style='width: 350px;' name="kategorie"
|
||||||
id="category" size="1">
|
id="category" size="1">
|
||||||
<?php
|
<?php
|
||||||
for ($i = 1; $i <= 50; $i++) {
|
for ($i = 1; $i <= 50; $i++) {
|
||||||
@@ -7132,7 +7168,7 @@ class HTML_sportsmanager_admin
|
|||||||
:</label>
|
:</label>
|
||||||
</td>
|
</td>
|
||||||
<td nowrap>
|
<td nowrap>
|
||||||
<select class="uk-select uk-form-width-medium" name="tabellenwertung"
|
<select class="uk-select uk-form-width-large" style='width: 600px;' name="tabellenwertung"
|
||||||
id="table_evaluation" size="1">
|
id="table_evaluation" size="1">
|
||||||
<?php
|
<?php
|
||||||
$typ = array(
|
$typ = array(
|
||||||
@@ -7249,7 +7285,7 @@ class HTML_sportsmanager_admin
|
|||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table><br/>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -7264,13 +7300,13 @@ class HTML_sportsmanager_admin
|
|||||||
?>
|
?>
|
||||||
<input type="radio" name="bildbeibehalten_logo" id="keep_logo" value="1"
|
<input type="radio" name="bildbeibehalten_logo" id="keep_logo" value="1"
|
||||||
checked><?php echo Text::_('COM_SPORTSMANAGER_NEWS_IMAGE'); ?>
|
checked><?php echo Text::_('COM_SPORTSMANAGER_NEWS_IMAGE'); ?>
|
||||||
<br/><br/><?php echo $bild; ?>
|
<br/><?php echo $bild; ?>
|
||||||
<br/><br/><label><input type="radio" name="bildbeibehalten_logo"
|
<br/><label><input type="radio" name="bildbeibehalten_logo"
|
||||||
value="0"><?php echo Text::_('COM_SPORTSMANAGER_NEW_IMAGE'); ?>
|
value="0"><?php echo Text::_('COM_SPORTSMANAGER_NEW_IMAGE'); ?>
|
||||||
</label>
|
</label>
|
||||||
<br/><br/><input type="file" name="bild_logo" size="30"
|
<br/><input type="file" name="bild_logo" size="30"
|
||||||
onchange="document.adminForm.bildbeibehalten_logo[1].checked = true;"/>
|
onchange="document.adminForm.bildbeibehalten_logo[1].checked = true;"/>
|
||||||
<br/><br/><label>URL: <input class="inputbox" type="text"
|
<br/><label>URL: <input class="inputbox" type="text"
|
||||||
name="logo_url" size="50"
|
name="logo_url" size="50"
|
||||||
maxlength="150"
|
maxlength="150"
|
||||||
value="<?php if (!empty($row)) echo htmlentities_utf8($row->logo_url); ?>"/></label>
|
value="<?php if (!empty($row)) echo htmlentities_utf8($row->logo_url); ?>"/></label>
|
||||||
@@ -7279,13 +7315,13 @@ class HTML_sportsmanager_admin
|
|||||||
?>
|
?>
|
||||||
<label
|
<label
|
||||||
for="logo_url"><?php echo Text::_('COM_SPORTSMANAGER_NEW_IMAGE'); ?></label>
|
for="logo_url"><?php echo Text::_('COM_SPORTSMANAGER_NEW_IMAGE'); ?></label>
|
||||||
<br/><br/><input type="file" name="bild_logo" size="30"/>
|
<br/><input type="file" name="bild_logo" size="30"/>
|
||||||
<br/><br/><label>URL: <input class="inputbox" type="text"
|
<br/><label>URL: <input class="inputbox" type="text"
|
||||||
name="logo_url" id="logo_url" size="50"
|
name="logo_url" id="logo_url" size="50"
|
||||||
maxlength="150"/></label>
|
maxlength="150"/></label>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?><br/><br/>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -7301,13 +7337,13 @@ class HTML_sportsmanager_admin
|
|||||||
<input type="radio" name="bildbeibehalten_ticker_logo"
|
<input type="radio" name="bildbeibehalten_ticker_logo"
|
||||||
id="keep_ticker_logo" value="1"
|
id="keep_ticker_logo" value="1"
|
||||||
checked><?php echo Text::_('COM_SPORTSMANAGER_NEWS_IMAGE'); ?>
|
checked><?php echo Text::_('COM_SPORTSMANAGER_NEWS_IMAGE'); ?>
|
||||||
<br/><br/><?php echo $bild; ?>
|
<br/><?php echo $bild; ?>
|
||||||
<br/><br/><label><input type="radio" name="bildbeibehalten_ticker_logo"
|
<br/><label><input type="radio" name="bildbeibehalten_ticker_logo"
|
||||||
value="0"><?php echo Text::_('COM_SPORTSMANAGER_NEW_IMAGE'); ?>
|
value="0"><?php echo Text::_('COM_SPORTSMANAGER_NEW_IMAGE'); ?>
|
||||||
</label>
|
</label>
|
||||||
<br/><br/><input type="file" name="bild_ticker_logo" size="30"
|
<br/><input type="file" name="bild_ticker_logo" size="30"
|
||||||
onchange="document.adminForm.bildbeibehalten_ticker_logo[1].checked = true;"/>
|
onchange="document.adminForm.bildbeibehalten_ticker_logo[1].checked = true;"/>
|
||||||
<br/><br/><label>URL: <input class="inputbox" type="text"
|
<br/><label>URL: <input class="inputbox" type="text"
|
||||||
name="ticker_logo_url"
|
name="ticker_logo_url"
|
||||||
size="50" maxlength="150"
|
size="50" maxlength="150"
|
||||||
value="<?php if (!empty($row)) echo htmlentities_utf8($row->ticker_logo_url); ?>"/></label>
|
value="<?php if (!empty($row)) echo htmlentities_utf8($row->ticker_logo_url); ?>"/></label>
|
||||||
@@ -7316,8 +7352,8 @@ class HTML_sportsmanager_admin
|
|||||||
?>
|
?>
|
||||||
<label
|
<label
|
||||||
for="ticker_logo_url"><?php echo Text::_('COM_SPORTSMANAGER_NEW_IMAGE'); ?></label>
|
for="ticker_logo_url"><?php echo Text::_('COM_SPORTSMANAGER_NEW_IMAGE'); ?></label>
|
||||||
<br/><br/><input type="file" name="bild_ticker_logo" size="30"/>
|
<br/><input type="file" name="bild_ticker_logo" size="30"/>
|
||||||
<br/><br/>URL: <input class="inputbox" type="text"
|
<br/>URL: <input class="inputbox" type="text"
|
||||||
name="ticker_logo_url" id="ticker_logo_url"
|
name="ticker_logo_url" id="ticker_logo_url"
|
||||||
size="50" maxlength="150"/>
|
size="50" maxlength="150"/>
|
||||||
<?php
|
<?php
|
||||||
@@ -7392,6 +7428,8 @@ class HTML_sportsmanager_admin
|
|||||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_CLUB'); ?></strong></th>
|
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_CLUB'); ?></strong></th>
|
||||||
<th nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_PLAYERS_ACTIVE_INACTIVE'); ?>">
|
<th nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_PLAYERS_ACTIVE_INACTIVE'); ?>">
|
||||||
<strong><?php echo Text::_('COM_SPORTSMANAGER_PLAYERS'); ?></strong></th>
|
<strong><?php echo Text::_('COM_SPORTSMANAGER_PLAYERS'); ?></strong></th>
|
||||||
|
<th nowrap title="<?php echo Text::_('COM_SPORTSMANAGER_NUM_REQUESTED_SHFITS_TOOLTIP'); ?>">
|
||||||
|
<strong><?php echo Text::_('COM_SPORTSMANAGER_NUM_REQUESTED_SHIFTS'); ?></strong></th>
|
||||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_HOME_VENUE'); ?></strong></th>
|
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_HOME_VENUE'); ?></strong></th>
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
@@ -7433,6 +7471,7 @@ class HTML_sportsmanager_admin
|
|||||||
<td nowrap style="text-align: center"><a
|
<td nowrap style="text-align: center"><a
|
||||||
href="<?php echo SportsManagerURL('&task=admin_mitglieder&teamid=' . $row->team_id); ?>"><?php echo $row->mitglieder_aktiv . " / " . ($row->mitglieder - $row->mitglieder_aktiv); ?></a>
|
href="<?php echo SportsManagerURL('&task=admin_mitglieder&teamid=' . $row->team_id); ?>"><?php echo $row->mitglieder_aktiv . " / " . ($row->mitglieder - $row->mitglieder_aktiv); ?></a>
|
||||||
</td>
|
</td>
|
||||||
|
<td nowrap align="center"><?php echo $row->anzahl_verschiebungen; ?></td>
|
||||||
<td nowrap><?php if (!empty($row->name)) echo htmlentities_utf8($row->name); ?></td>
|
<td nowrap><?php if (!empty($row->name)) echo htmlentities_utf8($row->name); ?></td>
|
||||||
<?php if ($row->begegnungen == 0) { ?>
|
<?php if ($row->begegnungen == 0) { ?>
|
||||||
<td nowrap><small><a
|
<td nowrap><small><a
|
||||||
@@ -8603,6 +8642,7 @@ class HTML_sportsmanager_admin
|
|||||||
<strong><?php echo $modus->punktetyp == 0 ? Text::_('COM_SPORTSMANAGER_GOALS') : Text::_('COM_SPORTSMANAGER_SETS'); ?></strong>
|
<strong><?php echo $modus->punktetyp == 0 ? Text::_('COM_SPORTSMANAGER_GOALS') : Text::_('COM_SPORTSMANAGER_SETS'); ?></strong>
|
||||||
</th>
|
</th>
|
||||||
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_GAME_POINTS'); ?></strong></th>
|
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_GAME_POINTS'); ?></strong></th>
|
||||||
|
<th nowrap><strong><?php echo Text::_('COM_SPORTSMANAGER_GAME_RESULT_DELAYS');?></strong></th>
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
@@ -8635,7 +8675,7 @@ class HTML_sportsmanager_admin
|
|||||||
if ($row->verlegung_eingetragen != null)
|
if ($row->verlegung_eingetragen != null)
|
||||||
echo " **";
|
echo " **";
|
||||||
else if ($row->verlegt != 0)
|
else if ($row->verlegt != 0)
|
||||||
echo " *";
|
echo " (" . formatTimediff($row->termin_original, $row->termin_akzeptiert, true) . ")";
|
||||||
if ($row->nichtraucherschutz == 0 && ((($row->heim_nichtraucherschutz == 1 || $row->heim_nichtraucherschutz == 2 || $row->heim_nichtraucherschutz == 3) && ($row->gast_nichtraucherschutz == 3 || $row->gast_nichtraucherschutz == 7 || $row->gast_nichtraucherschutz == 8)) || (($row->heim_nichtraucherschutz == 5 || $row->heim_nichtraucherschutz == 6 || $row->heim_nichtraucherschutz == 8) && ($row->gast_nichtraucherschutz == 1 || $row->gast_nichtraucherschutz == 4 || $row->gast_nichtraucherschutz == 5))))
|
if ($row->nichtraucherschutz == 0 && ((($row->heim_nichtraucherschutz == 1 || $row->heim_nichtraucherschutz == 2 || $row->heim_nichtraucherschutz == 3) && ($row->gast_nichtraucherschutz == 3 || $row->gast_nichtraucherschutz == 7 || $row->gast_nichtraucherschutz == 8)) || (($row->heim_nichtraucherschutz == 5 || $row->heim_nichtraucherschutz == 6 || $row->heim_nichtraucherschutz == 8) && ($row->gast_nichtraucherschutz == 1 || $row->gast_nichtraucherschutz == 4 || $row->gast_nichtraucherschutz == 5))))
|
||||||
echo " !";
|
echo " !";
|
||||||
?>
|
?>
|
||||||
@@ -8645,13 +8685,20 @@ class HTML_sportsmanager_admin
|
|||||||
echo "<br/><small>" . Text::_('COM_SPORTSMANAGER_MATCH_TABLE') . ": " . htmlentities_utf8($row->tisch) . "</small>";
|
echo "<br/><small>" . Text::_('COM_SPORTSMANAGER_MATCH_TABLE') . ": " . htmlentities_utf8($row->tisch) . "</small>";
|
||||||
?>
|
?>
|
||||||
</td>
|
</td>
|
||||||
<td nowrap><?php echo htmlentities_utf8($row->heim_name); ?></td>
|
<td nowrap><?php echo formatTeamName($row->heim_name, $row->heim_team_id, $row->verantwortliches_team); ?></td>
|
||||||
<td nowrap><?php echo htmlentities_utf8($row->gast_name); ?></td>
|
<td nowrap><?php echo formatTeamName($row->gast_name, $row->gast_team_id, $row->verantwortliches_team); ?></td>
|
||||||
<td nowrap style="text-align: center"><a
|
<td nowrap style="text-align: center"><a
|
||||||
href="<?php echo SportsManagerURL('&task=admin_begegnung_spielplan_edit&veranstaltungid=' . $veranstaltung->veranstaltung_id . '&id=' . $row->begegnung_id); ?>"><?php if ($ergebnis_vorhanden) echo $row->heim_punkte . " : " . $row->gast_punkte; else echo "_ : _" ?></a><?php if ($row->unbestaetigtes_ergebnis_id != null) echo "<br /><small>" . ($row->zwischenergebnis ? "live" : "unbestätigt") . "</small>"; ?>
|
href="<?php echo SportsManagerURL('&task=admin_begegnung_spielplan_edit&veranstaltungid=' . $veranstaltung->veranstaltung_id . '&id=' . $row->begegnung_id); ?>"><?php if ($ergebnis_vorhanden) echo $row->heim_punkte . " : " . $row->gast_punkte; else echo "_ : _" ?></a><?php if ($row->unbestaetigtes_ergebnis_id != null) echo "<br /><small>" . ($row->zwischenergebnis ? "live" : "unbestätigt") . "</small>"; else if ($row->fehlende_spieler > 0) echo " (*)"; ?>
|
||||||
</td>
|
</td>
|
||||||
<td nowrap
|
<td nowrap
|
||||||
style="text-align: center"><?php if ($ergebnis_vorhanden) echo $row->heim_spielpunkte . " : " . $row->gast_spielpunkte; else echo "_ : _" ?><?php if ($row->unbestaetigtes_ergebnis_id != null) echo "<br /><small>" . ($row->zwischenergebnis ? "live" : "unbestätigt") . "</small>"; ?></td>
|
style="text-align: center"><?php if ($ergebnis_vorhanden) echo $row->heim_spielpunkte . " : " . $row->gast_spielpunkte; else echo "_ : _" ?><?php if ($row->unbestaetigtes_ergebnis_id != null) echo "<br /><small>" . ($row->zwischenergebnis ? "live" : "unbestätigt") . "</small>"; ?></td>
|
||||||
|
<td nowrap align="center">
|
||||||
|
<?php echo
|
||||||
|
formatTimediff($row->termin_spiel, $row->ergebnis_vorgeschlagen, false)
|
||||||
|
. " / "
|
||||||
|
. formatTimediff($row->ergebnis_vorgeschlagen, $row->ergebnis_akzeptiert, false);
|
||||||
|
?>
|
||||||
|
</td>
|
||||||
<td nowrap><small><a
|
<td nowrap><small><a
|
||||||
href="<?php echo SportsManagerURL('&task=admin_begegnung_heimtausch&veranstaltungid=' . $veranstaltung->veranstaltung_id . '&id=' . $row->begegnung_id); ?>"><?php echo Text::_('COM_SPORTSMANAGER_HOME_EXCHANGE'); ?></a></small>
|
href="<?php echo SportsManagerURL('&task=admin_begegnung_heimtausch&veranstaltungid=' . $veranstaltung->veranstaltung_id . '&id=' . $row->begegnung_id); ?>"><?php echo Text::_('COM_SPORTSMANAGER_HOME_EXCHANGE'); ?></a></small>
|
||||||
</td>
|
</td>
|
||||||
@@ -9538,7 +9585,7 @@ class HTML_sportsmanager_admin
|
|||||||
$jahr = $veranstaltung->erster_tag != null ? substr($veranstaltung->erster_tag, 0, 4) : 0;
|
$jahr = $veranstaltung->erster_tag != null ? substr($veranstaltung->erster_tag, 0, 4) : 0;
|
||||||
?>
|
?>
|
||||||
<div class="componentheading<?php echo $params->get('pageclass_sfx'); ?>"
|
<div class="componentheading<?php echo $params->get('pageclass_sfx'); ?>"
|
||||||
style='background-color:#000066;width:760px;font-weight:600;text-align:center;'>
|
style='background-color:#000066;color: #cccccc;width:760px;font-weight:600;text-align:center;'>
|
||||||
<?php echo Text::_('COM_SPORTSMANAGER_COMPETITION'); ?>
|
<?php echo Text::_('COM_SPORTSMANAGER_COMPETITION'); ?>
|
||||||
<?php echo htmlentities_utf8($veranstaltung->bezeichnung); ?>
|
<?php echo htmlentities_utf8($veranstaltung->bezeichnung); ?>
|
||||||
: <?php echo Text::_('COM_SPORTSMANAGER_GENERATE_ENCOUNTERS_NEXT_ROUND'); ?></div>
|
: <?php echo Text::_('COM_SPORTSMANAGER_GENERATE_ENCOUNTERS_NEXT_ROUND'); ?></div>
|
||||||
@@ -9550,7 +9597,7 @@ class HTML_sportsmanager_admin
|
|||||||
<td nowrap style="width: 60%; vertical-align: top">
|
<td nowrap style="width: 60%; vertical-align: top">
|
||||||
<div class="uk-overflow-auto">
|
<div class="uk-overflow-auto">
|
||||||
<table>
|
<table>
|
||||||
<tr><td colspan=2 style="text-align: center; background-color: #660033"><b>Grundeinstellungen</b></td></tr>
|
<tr><td colspan=2 style="text-align: center; background-color: #660033;color: #cccccc;"><b>Grundeinstellungen</b></td></tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Runden</td>
|
<td>Runden</td>
|
||||||
<td colspan style="text-align: left">
|
<td colspan style="text-align: left">
|
||||||
@@ -9607,14 +9654,14 @@ class HTML_sportsmanager_admin
|
|||||||
$bgcolor = "#000099";
|
$bgcolor = "#000099";
|
||||||
}
|
}
|
||||||
if ($spieltag == 1){
|
if ($spieltag == 1){
|
||||||
echo "<tr><td colspan=2 style='text-align: center; background-color: #000099'><b>Hinrunde</b></td></tr>";
|
echo "<tr><td colspan=2 style='text-align: center; background-color: #000099; color: #cccccc;'><b>Hinrunde</b></td></tr>";
|
||||||
}
|
}
|
||||||
if ($spieltag == $spieltage + 1){
|
if ($spieltag == $spieltage + 1){
|
||||||
echo "<tr><td colspan=2 style='text-align: center; background-color: #000033'><b>Rückrunde</b> (Bei <i><u>Nur Hinrunde</u></i> sind hier keine Eingaben erforderlich)</td></tr>";
|
echo "<tr><td colspan=2 style='text-align: center; background-color: #000033; color: #cccccc;'><b>Rückrunde</b> (Bei <i><u>Nur Hinrunde</u></i> sind hier keine Eingaben erforderlich)</td></tr>";
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<tr>
|
<tr>
|
||||||
<td nowrap style="width: 130px; text-align: center; background-color: <?php echo $bgcolor; ?>">
|
<td nowrap style="width: 130px; text-align: center; background-color: <?php echo $bgcolor; ?>; color: #cccccc;">
|
||||||
<label
|
<label
|
||||||
for="calendar_week_<?php echo $spieltag; ?>"><?php echo $spieltag; ?>
|
for="calendar_week_<?php echo $spieltag; ?>"><?php echo $spieltag; ?>
|
||||||
. <?php echo Text::_('COM_SPORTSMANAGER_GAMEDAY'); ?>:</label>
|
. <?php echo Text::_('COM_SPORTSMANAGER_GAMEDAY'); ?>:</label>
|
||||||
@@ -9659,7 +9706,7 @@ class HTML_sportsmanager_admin
|
|||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
echo "<tr><td colspan=2 style='text-align: center'> </td></tr>";
|
echo "<tr><td colspan=2 style='text-align: center'> </td></tr>";
|
||||||
echo "<tr><td colspan=2 style='text-align: center; background-color: #660033'
|
echo "<tr><td colspan=2 style='text-align: center; background-color: #660033; color: #cccccc;'
|
||||||
title='Setzliste bzw. Erste Paarung Automatisch: Spiele sind die die erste Begegnungen in der Saison Setzliste: Mannschaften werden in eine Spielmatrix gesetzt Manschaften aud 1/2 bzw. 3/4 bzw. 5/6 usw. haben nie gleichzeitg Heimrecht!'><b>Setzliste bzw. Erste Paarung</b></td></tr>";
|
title='Setzliste bzw. Erste Paarung Automatisch: Spiele sind die die erste Begegnungen in der Saison Setzliste: Mannschaften werden in eine Spielmatrix gesetzt Manschaften aud 1/2 bzw. 3/4 bzw. 5/6 usw. haben nie gleichzeitg Heimrecht!'><b>Setzliste bzw. Erste Paarung</b></td></tr>";
|
||||||
for ($teamnr = 1; $teamnr <= $anzahlteams; $teamnr += 2) {
|
for ($teamnr = 1; $teamnr <= $anzahlteams; $teamnr += 2) {
|
||||||
?>
|
?>
|
||||||
@@ -10013,19 +10060,18 @@ class HTML_sportsmanager_admin
|
|||||||
{
|
{
|
||||||
global $params;
|
global $params;
|
||||||
?>
|
?>
|
||||||
<div class="componentheading<?php echo $params->get('pageclass_sfx'); ?>"><?php echo Text::_('COM_SPORTSMANAGER_EXPORT'); ?></div>
|
|
||||||
|
|
||||||
<form action="<?php echo SportsManagerURL(); ?>" method="post" name="adminForm" id="adminForm">
|
<form action="<?php echo SportsManagerURL(); ?>" method="post" name="adminForm" id="adminForm">
|
||||||
<div class="uk-overflow-auto"><table class="" style="width: 100%">
|
<div class="uk-overflow-auto">
|
||||||
|
<table class="" style="width: 500px">
|
||||||
<tr>
|
<tr>
|
||||||
<td nowrap style="width: 60%; vertical-align: top">
|
<th align=center colspan='2'><?php echo Text::_('COM_SPORTSMANAGER_EXPORT'); ?></th>
|
||||||
<div class="uk-overflow-auto"><table class="" style="width: 100%">
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td nowrap style="width: 20%; text-align: right">
|
<td nowrap style="width: 120px; text-align: right">
|
||||||
<label for="veranstaltungId">Veranstaltung</label>
|
<label for="veranstaltungId">Veranstaltung</label>
|
||||||
</td>
|
</td>
|
||||||
<td nowrap>
|
<td nowrap>
|
||||||
<select class="uk-select uk-form-width-medium" name="veranstaltungid" size="1">
|
<select class="uk-select uk-form-width-large" style='width: 320px;' name="veranstaltungid" size="1">
|
||||||
<option value='<?PHP echo $veranstaltung->veranstaltung_id; ?>'><?PHP echo $veranstaltung->bezeichnung; ?></option>
|
<option value='<?PHP echo $veranstaltung->veranstaltung_id; ?>'><?PHP echo $veranstaltung->bezeichnung; ?></option>
|
||||||
<?PHP foreach ($saison AS $key => $value) { ?>
|
<?PHP foreach ($saison AS $key => $value) { ?>
|
||||||
<option value='<?PHP echo $value->veranstaltung_id; ?>'><?PHP echo $value->bezeichnung; ?></option>
|
<option value='<?PHP echo $value->veranstaltung_id; ?>'><?PHP echo $value->bezeichnung; ?></option>
|
||||||
@@ -10034,11 +10080,11 @@ class HTML_sportsmanager_admin
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td nowrap style="width: 20%; text-align: right">
|
<td nowrap style="text-align: right">
|
||||||
<label for="export">Exportieren</label>
|
<label for="export">Exportieren</label>
|
||||||
</td>
|
</td>
|
||||||
<td nowrap>
|
<td nowrap>
|
||||||
<select class="uk-select uk-form-width-medium" name="export" id="export" size="1">
|
<select class="uk-select uk-form-width-large" style='width: 320px;' name="export" id="export" size="1">
|
||||||
<option value='spieler'>Spieler</option>
|
<option value='spieler'>Spieler</option>
|
||||||
<option value='spielplan'>Spielplan</option>
|
<option value='spielplan'>Spielplan</option>
|
||||||
<option value='spielberichte'>Spielberichte</option>
|
<option value='spielberichte'>Spielberichte</option>
|
||||||
@@ -10046,19 +10092,17 @@ class HTML_sportsmanager_admin
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td nowrap style="width: 20%; text-align: right">
|
<td nowrap style="text-align: right">
|
||||||
<label for="exportformat">Exportformat</label>
|
<label for="exportformat">Exportformat</label>
|
||||||
</td>
|
</td>
|
||||||
<td nowrap>
|
<td nowrap>
|
||||||
<select class="uk-select uk-form-width-medium" name="exportformat" id="exportformat" size="1">
|
<select class="uk-select uk-form-width-large" style='width: 320px;' name="exportformat" id="exportformat" size="1">
|
||||||
<option value='csvdatei'>CSV-Datei</option>
|
<option value='csvdatei'>CSV-Datei</option>
|
||||||
</select>
|
</select>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table></div>
|
</table>
|
||||||
</td>
|
</div>
|
||||||
</tr>
|
|
||||||
</table></div>
|
|
||||||
|
|
||||||
<input type="submit" name="save" value="<?php echo Text::_('COM_SPORTSMANAGER_EXPORT'); ?>"
|
<input type="submit" name="save" value="<?php echo Text::_('COM_SPORTSMANAGER_EXPORT'); ?>"
|
||||||
class="button"/>
|
class="button"/>
|
||||||
|
|||||||
@@ -291,8 +291,6 @@ class HTML_sportsmanager_ticker
|
|||||||
type="text/css"/>
|
type="text/css"/>
|
||||||
<script src="<?php echo Route::_(Uri::root(TRUE) . '/components/com_sportsmanager/js/jquery.min.js'); ?>"
|
<script src="<?php echo Route::_(Uri::root(TRUE) . '/components/com_sportsmanager/js/jquery.min.js'); ?>"
|
||||||
type="text/javascript"></script>
|
type="text/javascript"></script>
|
||||||
<script type="text/javascript"
|
|
||||||
src="<?php echo Route::_(Uri::root(TRUE) . '/components/com_sportsmanager/js/css3.js'); ?>"></script>
|
|
||||||
<script>
|
<script>
|
||||||
let globalresize = 0;
|
let globalresize = 0;
|
||||||
|
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ function addOnLoad($function): void
|
|||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
|
|
||||||
function SportsManagerURL($weitereParameter = null, $ssl = 0): ?string
|
function SportsManagerURL($weitereParameter = "", $ssl = 0): ?string
|
||||||
{
|
{
|
||||||
$urlPath = handleFilter($weitereParameter);
|
$urlPath = handleFilter($weitereParameter);
|
||||||
$joomlaBaseUrl = Uri::getInstance()->toString([
|
$joomlaBaseUrl = Uri::getInstance()->toString([
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
; Sports Manager (C) 2006-2020, Sven Nickel (Test)
|
; Sports Manager (C) 2006-2020, Sven Nickel (Test)
|
||||||
COM_SPORTSMANAGER="Sports Manager"
|
COM_SPORTSMANAGER="Sports Manager"
|
||||||
COM_SPORTSMANAGER_PLAYERS="Spieler"
|
COM_SPORTSMANAGER_PLAYERS="Spieler"
|
||||||
COM_SPORTSMANAGER_CLUBS="Vereine"
|
COM_SPORTSMANAGER_CLUBS="Vereine"
|
||||||
@@ -70,6 +70,7 @@ COM_SPORTSMANAGER_CONFIRM_REMOVE_RANKING="Willst du die Rangliste wirklich entfe
|
|||||||
COM_SPORTSMANAGER_ADD_INDIVIDUAL_COMPETITION="Individualwettbewerb hinzufügen"
|
COM_SPORTSMANAGER_ADD_INDIVIDUAL_COMPETITION="Individualwettbewerb hinzufügen"
|
||||||
COM_SPORTSMANAGER_INDIVIDUAL_COMPETITION="Individualwettbewerb"
|
COM_SPORTSMANAGER_INDIVIDUAL_COMPETITION="Individualwettbewerb"
|
||||||
COM_SPORTSMANAGER_INDIVIDUAL_COMPETITIONS="Individualwettbewerbe"
|
COM_SPORTSMANAGER_INDIVIDUAL_COMPETITIONS="Individualwettbewerbe"
|
||||||
|
COM_SPORTSMANAGER_ASSOCIATION_BODIES="Verbandsorgane"
|
||||||
COM_SPORTSMANAGER_GAME="Spiel"
|
COM_SPORTSMANAGER_GAME="Spiel"
|
||||||
COM_SPORTSMANAGER_GAMES="Spiele"
|
COM_SPORTSMANAGER_GAMES="Spiele"
|
||||||
COM_SPORTSMANAGER_GAMES_SHORTCUT="S"
|
COM_SPORTSMANAGER_GAMES_SHORTCUT="S"
|
||||||
@@ -989,3 +990,6 @@ COM_SPORTSMANAGER_ARIA_LABEL_RANKING_EVALUATION="Ranking Wertung"
|
|||||||
COM_SPORTSMANAGER_ARIA_LABEL_LASTNAME="Nachname"
|
COM_SPORTSMANAGER_ARIA_LABEL_LASTNAME="Nachname"
|
||||||
COM_SPORTSMANAGER_ARIA_LABEL_FIRSTNAME="Vorname"
|
COM_SPORTSMANAGER_ARIA_LABEL_FIRSTNAME="Vorname"
|
||||||
COM_SPORTSMANAGER_ARIA_LABEL_CLUB="Verein"
|
COM_SPORTSMANAGER_ARIA_LABEL_CLUB="Verein"
|
||||||
|
COM_SPORTSMANAGER_NUM_REQUESTED_SHIFTS="Verschiebungen"
|
||||||
|
COM_SPORTSMANAGER_NUM_REQUESTED_SHFITS_TOOLTIP="Spielverschiebungen durch diese Mannschaft"
|
||||||
|
COM_SPORTSMANAGER_GAME_RESULT_DELAYS="Verzögerung"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
; Sports Manager (C) 2006-2020, Sven Nickel
|
; Sports Manager (C) 2006-2020, Sven Nickel
|
||||||
COM_SPORTSMANAGER="Sports Manager"
|
COM_SPORTSMANAGER="Sports Manager"
|
||||||
COM_SPORTSMANAGER_PLAYERS="Players"
|
COM_SPORTSMANAGER_PLAYERS="Players"
|
||||||
COM_SPORTSMANAGER_CLUBS="Clubs"
|
COM_SPORTSMANAGER_CLUBS="Clubs"
|
||||||
@@ -70,6 +70,7 @@ COM_SPORTSMANAGER_CONFIRM_REMOVE_RANKING="Do you really want to remove the ranki
|
|||||||
COM_SPORTSMANAGER_ADD_INDIVIDUAL_COMPETITION="Add individual competition"
|
COM_SPORTSMANAGER_ADD_INDIVIDUAL_COMPETITION="Add individual competition"
|
||||||
COM_SPORTSMANAGER_INDIVIDUAL_COMPETITION="Individual competition"
|
COM_SPORTSMANAGER_INDIVIDUAL_COMPETITION="Individual competition"
|
||||||
COM_SPORTSMANAGER_INDIVIDUAL_COMPETITIONS="Individual competitions"
|
COM_SPORTSMANAGER_INDIVIDUAL_COMPETITIONS="Individual competitions"
|
||||||
|
COM_SPORTSMANAGER_ASSOCIATION_BODIES="Association bodies"
|
||||||
COM_SPORTSMANAGER_GAME="Game"
|
COM_SPORTSMANAGER_GAME="Game"
|
||||||
COM_SPORTSMANAGER_GAMES="Games"
|
COM_SPORTSMANAGER_GAMES="Games"
|
||||||
COM_SPORTSMANAGER_GAMES_SHORTCUT="G"
|
COM_SPORTSMANAGER_GAMES_SHORTCUT="G"
|
||||||
@@ -987,3 +988,6 @@ COM_SPORTSMANAGER_ARIA_LABEL_RANKING_EVALUATION="Ranking evaluation"
|
|||||||
COM_SPORTSMANAGER_ARIA_LABEL_LASTNAME="Lastname"
|
COM_SPORTSMANAGER_ARIA_LABEL_LASTNAME="Lastname"
|
||||||
COM_SPORTSMANAGER_ARIA_LABEL_FIRSTNAME="Firstname"
|
COM_SPORTSMANAGER_ARIA_LABEL_FIRSTNAME="Firstname"
|
||||||
COM_SPORTSMANAGER_ARIA_LABEL_CLUB="Club"
|
COM_SPORTSMANAGER_ARIA_LABEL_CLUB="Club"
|
||||||
|
COM_SPORTSMANAGER_NUM_REQUESTED_SHIFTS="Shifts"
|
||||||
|
COM_SPORTSMANAGER_NUM_REQUESTED_SHFITS_TOOLTIP="Game shifts caused by this team"
|
||||||
|
COM_SPORTSMANAGER_GAME_RESULT_DELAYS="Delay"
|
||||||
|
|||||||
@@ -1110,7 +1110,7 @@ return new class () implements InstallerScriptInterface
|
|||||||
$db->setQuery( $query );
|
$db->setQuery( $query );
|
||||||
if (!$db->execute()) { die($db->stderr(true)); }
|
if (!$db->execute()) { die($db->stderr(true)); }
|
||||||
|
|
||||||
$query = "INSERT IGNORE #__sportsmanager_einstellungen SET name = 'datenbank_version', wert = '102';";
|
$query = "INSERT IGNORE #__sportsmanager_einstellungen SET name = 'datenbank_version', wert = '103';";
|
||||||
$db->setQuery( $query );
|
$db->setQuery( $query );
|
||||||
if (!$db->execute()) { die($db->stderr(true)); }
|
if (!$db->execute()) { die($db->stderr(true)); }
|
||||||
|
|
||||||
|
|||||||
@@ -37,6 +37,7 @@
|
|||||||
<files folder="admin">
|
<files folder="admin">
|
||||||
<filename>access.xml</filename>
|
<filename>access.xml</filename>
|
||||||
<filename>index.html</filename>
|
<filename>index.html</filename>
|
||||||
|
<filename>RELEASE_NOTES.md</filename>
|
||||||
<folder>services</folder>
|
<folder>services</folder>
|
||||||
<folder>src</folder>
|
<folder>src</folder>
|
||||||
<folder>tmpl</folder>
|
<folder>tmpl</folder>
|
||||||
|
|||||||
Reference in New Issue
Block a user