mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 12:19:28 +00:00
Nur Mitarbeiter und Studenten können Daten abfragen
Link "Zurück zur Übersicht" eingefügt
This commit is contained in:
@@ -27,7 +27,7 @@ require_once('../include/basis_db.class.php');
|
||||
$method = (isset($_GET['method'])?$_GET['method']:'studiengang');
|
||||
|
||||
$getuid = get_uid();
|
||||
if(!check_lektor($getuid))
|
||||
if(!check_lektor($getuid) && !check_student($getuid))
|
||||
die('Sie haben keine Berechtigung für diese Seite');
|
||||
|
||||
$db = new basis_db();
|
||||
@@ -211,6 +211,8 @@ $db = new basis_db();
|
||||
|
||||
</script>';
|
||||
}
|
||||
|
||||
echo '<a href="index.html">Zurück zur Übersicht</a>';
|
||||
|
||||
|
||||
class foo {};
|
||||
|
||||
@@ -27,7 +27,7 @@ require_once('../include/basis_db.class.php');
|
||||
$method = (isset($_GET['method'])?$_GET['method']:'getLVPlanFromUser');
|
||||
|
||||
$getuid = get_uid();
|
||||
if(!check_lektor($getuid))
|
||||
if(!check_lektor($getuid) && !check_student($getuid))
|
||||
die('Sie haben keine Berechtigung für diese Seite');
|
||||
$db = new basis_db();
|
||||
?>
|
||||
@@ -425,6 +425,7 @@ $db = new basis_db();
|
||||
</script>
|
||||
';
|
||||
}
|
||||
echo '<a href="index.html">Zurück zur Übersicht</a>';
|
||||
|
||||
echo '<div id="output">';
|
||||
class foo {};
|
||||
|
||||
@@ -28,7 +28,7 @@ $db = new basis_db();
|
||||
$method = (isset($_GET['method'])?$_GET['method']:'getMitarbeiterFromUID');
|
||||
|
||||
$getuid = get_uid();
|
||||
if(!check_lektor($getuid))
|
||||
if(!check_lektor($getuid) && !check_student($getuid))
|
||||
die('Sie haben keine Berechtigung für diese Seite');
|
||||
?>
|
||||
<html>
|
||||
@@ -78,8 +78,8 @@ if(!check_lektor($getuid))
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>';
|
||||
echo '
|
||||
</form>
|
||||
|
||||
<script type="text/javascript">
|
||||
function gettimestamp()
|
||||
{
|
||||
@@ -276,6 +276,7 @@ if(!check_lektor($getuid))
|
||||
</script>
|
||||
';
|
||||
}
|
||||
echo '<a href="index.html">Zurück zur Übersicht</a>';
|
||||
|
||||
echo '<div id="output">';
|
||||
class foo {};
|
||||
|
||||
@@ -27,7 +27,7 @@ require_once('../include/basis_db.class.php');
|
||||
$method = (isset($_GET['method'])?$_GET['method']:'getOrtFromKurzbz');
|
||||
|
||||
$getuid = get_uid();
|
||||
if(!check_lektor($getuid))
|
||||
if(!check_lektor($getuid) && !check_student($getuid))
|
||||
die('Sie haben keine Berechtigung für diese Seite');
|
||||
$db = new basis_db();
|
||||
?>
|
||||
@@ -77,8 +77,8 @@ $db = new basis_db();
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>';
|
||||
echo '
|
||||
</form>
|
||||
|
||||
<script type="text/javascript">
|
||||
function gettimestamp()
|
||||
{
|
||||
@@ -319,6 +319,8 @@ $db = new basis_db();
|
||||
';
|
||||
}
|
||||
|
||||
echo '<a href="index.html">Zurück zur Übersicht</a>';
|
||||
|
||||
echo '<div id="output">';
|
||||
class foo {};
|
||||
|
||||
|
||||
@@ -27,8 +27,9 @@ require_once('../include/basis_db.class.php');
|
||||
$method = (isset($_GET['method'])?$_GET['method']:'uid');
|
||||
|
||||
$getuid = get_uid();
|
||||
if(!check_lektor($getuid))
|
||||
if(!check_lektor($getuid) && !check_student($getuid))
|
||||
die('Sie haben keine Berechtigung für diese Seite');
|
||||
|
||||
$db = new basis_db();
|
||||
?>
|
||||
<html>
|
||||
@@ -286,6 +287,7 @@ $db = new basis_db();
|
||||
|
||||
</script>';
|
||||
}
|
||||
echo '<a href="index.html">Zurück zur Übersicht</a>';
|
||||
|
||||
if(isset($_REQUEST['submit_matrikelnummer']))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user