diff options
Diffstat (limited to 'www-ssl/nonpublic')
-rwxr-xr-x | www-ssl/nonpublic/news_comments.php | 3 | ||||
-rwxr-xr-x | www-ssl/nonpublic/schichtplan.1.php | 1 | ||||
-rwxr-xr-x | www-ssl/nonpublic/schichtplan.2.php | 18 | ||||
-rwxr-xr-x | www-ssl/nonpublic/schichtplan.php | 2 |
4 files changed, 19 insertions, 5 deletions
diff --git a/www-ssl/nonpublic/news_comments.php b/www-ssl/nonpublic/news_comments.php index 527c4d01..6b4ef1ff 100755 --- a/www-ssl/nonpublic/news_comments.php +++ b/www-ssl/nonpublic/news_comments.php @@ -16,7 +16,10 @@ if( IsSet( $_GET["text"])) $_GET["nid"]. "', '". date("Y-m-d H:i:s"). "', '". $_GET["text"]. "', '". $_SESSION["UID"]. "')"; $Erg = mysql_query($ch_sql, $con); if ($Erg == 1) + { echo "Eintrag wurde gespeichert<br><br>"; + SetHeaderGo2Back(); + } } $SQL = "SELECT * FROM news_comments where Refid = ". $_GET["nid"]. " ORDER BY 'ID'"; diff --git a/www-ssl/nonpublic/schichtplan.1.php b/www-ssl/nonpublic/schichtplan.1.php index d284b66d..6b8a7b7f 100755 --- a/www-ssl/nonpublic/schichtplan.1.php +++ b/www-ssl/nonpublic/schichtplan.1.php @@ -1,6 +1,7 @@ <h4> Tage </h4> <? +include ("./inc/funktion_schichtplan_aray.php"); function Printlink( $Datum) { diff --git a/www-ssl/nonpublic/schichtplan.2.php b/www-ssl/nonpublic/schichtplan.2.php index 8b477f41..2074e3fa 100755 --- a/www-ssl/nonpublic/schichtplan.2.php +++ b/www-ssl/nonpublic/schichtplan.2.php @@ -2,11 +2,21 @@ <?php -foreach( $Room as $RoomEntry ) - echo "\t<li><a href='./schichtplan.php?ausdatum=$ausdatum&raum=". $RoomEntry["RID"]. "'>". - $RoomEntry["Name"]. "</a></li>\n"; +include ("./inc/funktion_schichtplan_aray.php"); +foreach( $Room as $RoomEntry ) +{ + if(isset($ausdatum)) + echo "\t<li><a href='./schichtplan.php?ausdatum=$ausdatum&raum=". $RoomEntry["RID"]. "'>". + $RoomEntry["Name"]. "</a></li>\n"; + else + echo "\t<li><a href='./schichtplan.php?raum=". $RoomEntry["RID"]. "'>". + $RoomEntry["Name"]. "</a></li>\n"; +} echo "<br>"; -echo "<li><a href='./schichtplan.php?ausdatum=$ausdatum&raum=-1'>alle</a></li>"; +if(isset($ausdatum)) + echo "<li><a href='./schichtplan.php?ausdatum=$ausdatum&raum=-1'>alle</a></li>"; +else + echo "<li><a href='./schichtplan.php?raum=-1'>alle</a></li>"; ?> diff --git a/www-ssl/nonpublic/schichtplan.php b/www-ssl/nonpublic/schichtplan.php index b784be0c..6c4e5b31 100755 --- a/www-ssl/nonpublic/schichtplan.php +++ b/www-ssl/nonpublic/schichtplan.php @@ -9,10 +9,10 @@ if( isset($_GET["raum"])) $raum = $_GET["raum"]; include ("./inc/header.php"); +include ("./inc/funktion_schichtplan_aray.php"); include ("./inc/funktion_user.php"); include ("./inc/funktionen.php"); include ("./inc/funktion_schichtplan.php"); -include ("./inc/funktion_schichtplan_Tage.php"); ?> <? echo Get_Text("Hello").$_SESSION['Nick'].",<br>". |