mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 16:44:28 +00:00
This commit is contained in:
+17
-15
@@ -29,7 +29,7 @@ require_once('../../cis/config.inc.php');
|
||||
require_once('../../include/functions.inc.php');
|
||||
require_once('../../include/benutzerberechtigung.class.php');
|
||||
require_once('../../include/xslfo2pdf/xslfo2pdf.php');
|
||||
require_once('../../include/akte.class.php');
|
||||
require_once('../../include/akte.class.php');
|
||||
require_once('../../include/konto.class.php');
|
||||
|
||||
// Datenbank Verbindung
|
||||
@@ -57,7 +57,7 @@ else
|
||||
$params='?xmlformat=xml';
|
||||
//if(isset($_GET['uid']))
|
||||
// $params.='&uid='.$_GET['uid'];
|
||||
$params.='&uid='.$user;
|
||||
$params.='&uid='.$user;
|
||||
if(isset($_GET['person_id']))
|
||||
$params.='&person_id='.$_GET['person_id'];
|
||||
if(isset($_GET['buchungsnummern']))
|
||||
@@ -71,10 +71,12 @@ if(isset($_GET['abschlusspruefung_id']))
|
||||
if(isset($_GET['typ']))
|
||||
$params.='&typ='.$_GET['typ'];
|
||||
|
||||
|
||||
$konto = new konto($conn);
|
||||
if (($user == $_GET["uid"]) and $konto->checkStudienbeitrag($user, $_GET["ss"]))
|
||||
{
|
||||
|
||||
$konto = new konto($conn);
|
||||
if (($user == $_GET["uid"]))
|
||||
{
|
||||
if($xsl=='Inskription' && (!$konto->checkStudienbeitrag($user, $_GET["ss"])))
|
||||
die('Der Studienbeitrag wurde noch nicht bezahlt');
|
||||
|
||||
//Berechtigung pruefen
|
||||
$rechte = new benutzerberechtigung($conn);
|
||||
@@ -120,8 +122,8 @@ if (($user == $_GET["uid"]) and $konto->checkStudienbeitrag($user, $_GET["ss"]))
|
||||
$fo2pdf = new XslFo2Pdf();
|
||||
|
||||
//wenn uid gefunden wird, dann den Nachnamen zum Dateinamen dazuhaengen
|
||||
$nachname='';
|
||||
|
||||
$nachname='';
|
||||
|
||||
|
||||
if(isset($_GET['uid']) && $_GET['uid']!='')
|
||||
{
|
||||
@@ -205,12 +207,12 @@ if (($user == $_GET["uid"]) and $konto->checkStudienbeitrag($user, $_GET["ss"]))
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
else
|
||||
// kein berechtigung
|
||||
{
|
||||
echo "<html><body><h3>Sie haben keine Bereichtigung zum Anzeigen dieser Seite</h3></body></html>";
|
||||
}
|
||||
}
|
||||
|
||||
else
|
||||
// kein berechtigung
|
||||
{
|
||||
echo "<html><body><h3>Sie haben keine Bereichtigung zum Anzeigen dieser Seite</h3></body></html>";
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user