diff options
author | Philip Häusler <msquare@notrademark.de> | 2011-06-02 16:56:45 +0200 |
---|---|---|
committer | Philip Häusler <msquare@notrademark.de> | 2011-06-02 16:56:45 +0200 |
commit | 0d351f47915679f98cbd93cd5d8f4d32d91a834a (patch) | |
tree | 172987cc073c573956547a344a32a5ef6f9311d8 /includes/funktion_schichtplan_aray.php | |
parent | 5a935f413dd6dff69df736b437073d343aa8a6ec (diff) |
admin rooms
Diffstat (limited to 'includes/funktion_schichtplan_aray.php')
-rw-r--r-- | includes/funktion_schichtplan_aray.php | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/includes/funktion_schichtplan_aray.php b/includes/funktion_schichtplan_aray.php deleted file mode 100644 index f9b04bd6..00000000 --- a/includes/funktion_schichtplan_aray.php +++ /dev/null @@ -1,38 +0,0 @@ -<?php - -/*####################################################### -# Aufbau von Standart Feldern # -#######################################################*/ - -// erstellt ein Array der Reume - $sql = "SELECT `RID`, `Name` FROM `Room` ". - "WHERE `Show`='Y'". - "ORDER BY `Number`, `Name`;"; - - $Erg = mysql_query($sql, $con); - $rowcount = mysql_num_rows($Erg); - - for ($i=0; $i<$rowcount; $i++) - { - $Room[$i]["RID"] = mysql_result($Erg, $i, "RID"); - $Room[$i]["Name"] = mysql_result($Erg, $i, "Name"); - - $RoomID[ mysql_result($Erg, $i, "RID") ] = mysql_result($Erg, $i, "Name"); - } - -// erstellt ein Aray der Engeltypen - $sql = "SELECT `TID`, `Name` FROM `EngelType` ORDER BY `Name`"; - $Erg = mysql_query($sql, $con); - $rowcount = mysql_num_rows($Erg); - for ($i=0; $i<$rowcount; $i++) - { - $EngelType[$i]["TID"] = mysql_result($Erg, $i, "TID"); - $EngelType[$i]["Name"] = mysql_result($Erg, $i, "Name").Get_Text("inc_schicht_engel"); - - $EngelTypeID[ mysql_result($Erg, $i, "TID") ] = - mysql_result($Erg, $i, "Name").Get_Text("inc_schicht_engel"); - $TID2Name[ mysql_result($Erg, $i, "TID") ] = mysql_result($Erg, $i, "Name"); - } - -include ("funktion_schichtplan_Tage.php"); -?> |