mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 08:22:17 +00:00
This commit is contained in:
@@ -42,6 +42,7 @@ class wochenplan
|
||||
var $grp; // @brief Gruppe (1,2)
|
||||
|
||||
var $pers_uid; // @brief Account Name der Person (PK)
|
||||
var $pers_titelpost; // @brief Titel der Person
|
||||
var $pers_titelpre; // @brief Titel der Person
|
||||
var $pers_nachname; // @brief Personendaten
|
||||
var $pers_vorname; // @brief Personendaten
|
||||
@@ -171,9 +172,9 @@ class wochenplan
|
||||
{
|
||||
$this->link.='&pers_uid='.$this->pers_uid; //Link erweitern
|
||||
if ($this->type=='student')
|
||||
$sql_query="SELECT uid, titelpre, nachname, vorname, vornamen, studiengang_kz, semester, verband, gruppe FROM campus.vw_student WHERE uid='$this->pers_uid'";
|
||||
$sql_query="SELECT uid, titelpre, titelpost, nachname, vorname, vornamen, studiengang_kz, semester, verband, gruppe FROM campus.vw_student WHERE uid='$this->pers_uid'";
|
||||
else
|
||||
$sql_query="SELECT uid, titelpre, nachname, vorname, vornamen FROM campus.vw_mitarbeiter WHERE uid='$this->pers_uid'";
|
||||
$sql_query="SELECT uid, titelpre, titelpost, nachname, vorname, vornamen FROM campus.vw_mitarbeiter WHERE uid='$this->pers_uid'";
|
||||
//echo $sql_query;
|
||||
if (!($result=pg_exec($this->conn, $sql_query)))
|
||||
{
|
||||
@@ -187,6 +188,7 @@ class wochenplan
|
||||
}
|
||||
$this->pers_uid=pg_result($result,0,'"uid"');
|
||||
$this->pers_titelpre=pg_result($result,0,'"titelpre"');
|
||||
$this->pers_titelpost=pg_result($result,0,'"titelpost"');
|
||||
$this->pers_nachname=pg_result($result,0,'"nachname"');
|
||||
$this->pers_vorname=pg_result($result,0,'"vorname"');
|
||||
$this->pers_vornamen=pg_result($result,0,'"vornamen"');
|
||||
@@ -342,7 +344,7 @@ class wochenplan
|
||||
echo ' <TD valign="bottom">'.$this->crlf;
|
||||
echo ' <P valign="top">';
|
||||
if ($this->type=='student' || $this->type=='lektor')
|
||||
echo '<strong>Person: </strong>'.$this->pers_titelpre.' '.$this->pers_vorname.' '.$this->pers_nachname.' - '.$this->pers_uid.'<br>';
|
||||
echo '<strong>Person: </strong>'.$this->pers_titelpre.' '.$this->pers_vorname.' '.$this->pers_nachname.' '.$this->pers_titelpost.' - '.$this->pers_uid.'<br>';
|
||||
if ($this->type=='student' || $this->type=='verband')
|
||||
{
|
||||
echo '<strong>Studiengang: </strong>'.$this->stg_kurzbzlang.' - '.$this->stg_bez.'<br>';
|
||||
|
||||
Reference in New Issue
Block a user