Tab-Projekte

This commit is contained in:
Christian Paminger
2011-08-07 20:37:50 +00:00
parent 9b6eac40f6
commit 86ae8cacdb
13 changed files with 2021 additions and 69 deletions
+6 -3
View File
@@ -117,10 +117,13 @@ class projekt extends basis_db
* @param $projekt_kurzbz ID der zu ladenden Projektarbeit
* @return true wenn ok, false im Fehlerfall
*/
public function getProjekte($uid=null)
public function getProjekte($oe=null,$uid=null)
{
$qry = "SELECT * FROM fue.tbl_projekt ORDER BY oe_kurzbz";
$qry = 'SELECT * FROM fue.tbl_projekt';
if (!is_null($oe))
$qry.= " WHERE oe_kurzbz='$oe'";
$qry.= ' ORDER BY oe_kurzbz;';
//echo $qry;
if($this->db_query($qry))
{
while($row = $this->db_fetch_object())