This commit is contained in:
Andreas Österreicher
2007-09-07 12:54:00 +00:00
parent 8d6d9bb615
commit 6ca6144983
16 changed files with 215 additions and 61 deletions
+11 -4
View File
@@ -40,7 +40,7 @@ require_once('../include/konto.class.php');
require_once('../include/person.class.php');
require_once('../include/studiengang.class.php');
require_once('../include/datum.class.php');
//require_once('../include/functions.inc.php');
require_once('../include/functions.inc.php');
// Datenbank Verbindung
if (!$conn = pg_pconnect(CONN_STRING))
@@ -84,7 +84,7 @@ if(isset($_GET['buchungsnummern']))
else
$buchungsnummern = '';
$studiengang_kz = (isset($_GET['studiengang_kz'])?$_GET['studiengang_kz']:'');
$datum = new datum();
if($xmlformat=='rdf')
@@ -92,9 +92,16 @@ if($xmlformat=='rdf')
else
$konto = new konto($conn, null, false);
if(isset($_SERVER['REMOTE_USER']))
{
$user = get_uid();
loadVariables($conn, $user);
if($kontofilterstg=='false')
$studiengang_kz='';
}
if($person_id!='')
{
$konto->getBuchungen($person_id, $filter);
$konto->getBuchungen($person_id, $filter, $studiengang_kz);
}
elseif($buchungsnr!='')
{
@@ -105,7 +112,7 @@ elseif($buchungsnr!='')
$rdf_url='http://www.technikum-wien.at/konto';
if ($xmlformat=='rdf')
{
?>
<RDF:RDF