Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
ncschool
/
ncfilters
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 1d3cb290
authored
Jun 09, 2017
by
netz.coop eG
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Abschaltzeitenhack rausgenommen
1 parent
2d740781
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
9 deletions
index.php
index.php
View file @
1d3cb29
...
...
@@ -161,13 +161,9 @@ if (!isset($_SESSION['user_id'])) {
$db
->
exec
(
$sqlstring
);
echo
$out
->
printmsg
(
'Datensatz deaktiviert'
,
'danger'
);
}
if
(
$acttable
===
'close_fw_cron'
){
$_POST
[
'cron'
]
=
'print'
;
}
else
{
$_POST
[
$acttable
]
=
'print'
;
}
$sysout
=
new
Sytemoutput
();
$_POST
[
$acttable
]
=
'print'
;
$sysout
=
new
Sytemoutput
();
$array_pclistgroups
=
$db
->
getpclistgroupsarray
();
$sysout
->
createfw
(
$array_pclistgroups
);
$domaingroupsarray
=
$db
->
getdomaingroupsarray
();
...
...
@@ -198,7 +194,7 @@ if (!isset($_SESSION['user_id'])) {
$stringadv
.=
$out
->
printbutton
(
'Zeige ncfilters Benutzer'
);
$stringadv
.=
$out
->
printformend
();
$stringadv
.=
$out
->
printformstart
(
'cron'
,
'print'
);
$stringadv
.=
$out
->
printformstart
(
'c
lose_fw_c
ron'
,
'print'
);
$stringadv
.=
$out
->
printbutton
(
'Zeige Abschaltzeiten'
);
$stringadv
.=
$out
->
printformend
();
...
...
@@ -251,7 +247,7 @@ if (!isset($_SESSION['user_id'])) {
if
(
is_array
(
$_POST
)
&&
key_exists
(
'c
ron'
,
$_POST
)
&&
$_POST
[
'
cron'
]
===
'print'
)
{
if
(
is_array
(
$_POST
)
&&
key_exists
(
'c
lose_fw_cron'
,
$_POST
)
&&
$_POST
[
'close_fw_
cron'
]
===
'print'
)
{
echo
'<br> <h3>Abschaltzeiten:</h3> '
;
$resultclosefwcron
=
$db
->
query
(
'SELECT * FROM close_fw_cron ORDER BY close_time_hour, close_time_minute'
);
$i
=
0
;
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment