From 82b4bb4e891225e374555fb8d92a6771b7c97c7c Mon Sep 17 00:00:00 2001 From: cookie Date: Mon, 21 Nov 2005 21:45:45 +0000 Subject: [PATCH] import probleme beseitigt, news 2x back eingefueht git-svn-id: svn://svn.cccv.de/engel-system@77 29ba0400-6e00-0410-a75a-ca02368028f8 --- www-ssl/inc/funktion_schichtplan.php | 33 -------------------- www-ssl/inc/funktion_schichtplan_Tage.php | 7 +++-- www-ssl/inc/funktion_schichtplan_aray.php | 37 +++++++++++++++++++++++ www-ssl/nonpublic/news_comments.php | 3 ++ www-ssl/nonpublic/schichtplan.1.php | 1 + www-ssl/nonpublic/schichtplan.2.php | 18 ++++++++--- www-ssl/nonpublic/schichtplan.php | 2 +- 7 files changed, 61 insertions(+), 40 deletions(-) create mode 100755 www-ssl/inc/funktion_schichtplan_aray.php diff --git a/www-ssl/inc/funktion_schichtplan.php b/www-ssl/inc/funktion_schichtplan.php index 55575663..131bce7b 100755 --- a/www-ssl/inc/funktion_schichtplan.php +++ b/www-ssl/inc/funktion_schichtplan.php @@ -1,38 +1,5 @@ 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

"; + 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 @@

 Tage

". - $RoomEntry["Name"]. "\n"; +include ("./inc/funktion_schichtplan_aray.php"); +foreach( $Room as $RoomEntry ) +{ + if(isset($ausdatum)) + echo "\t
  • ". + $RoomEntry["Name"]. "
  • \n"; + else + echo "\t
  • ". + $RoomEntry["Name"]. "
  • \n"; +} echo "
    "; -echo "
  • alle
  • "; +if(isset($ausdatum)) + echo "
  • alle
  • "; +else + echo "
  • alle
  • "; ?> 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"); ?> ".