Subversion-Projekte lars-tiefland.niewerth

Revision

Revision 3 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 3 Revision 12
Zeile 84... Zeile 84...
84
				$this->error=true;
84
				$this->error=true;
85
				$this->msg="Unbekannte Operation!";
85
				$this->msg="Unbekannte Operation!";
86
			}
86
			}
87
			return $this;
87
			return $this;
88
		}
88
		}
-
 
89
		
-
 
90
		function Liste($datum)
-
 
91
		{
-
 
92
			global $db;
-
 
93
			$sql="SELECT * FROM termin WHERE datum='$datum'";
-
 
94
			//echo $sql;
-
 
95
			$res=$db->query($sql);
-
 
96
			$id=0;
-
 
97
			while ($row=$res->fetchRow())
-
 
98
			{
-
 
99
				$f=new Firma($row["f_id"]);
-
 
100
				$an=new AN($row["an_id"]);
-
 
101
				
-
 
102
				$ret[$id]["firma"]=$f->name;
-
 
103
				$ret[$id]["an"]=$an->name;
-
 
104
				$id++;
-
 
105
			}
-
 
106
			return $ret;
-
 
107
		}
89
	}
108
	}
90
?>
109
?>