mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-23 18:02:18 +00:00
This commit is contained in:
@@ -30,7 +30,7 @@ $nachname=array();
|
|||||||
<head>
|
<head>
|
||||||
<title>Diplomarbeiten-Datenkorrektur</title>
|
<title>Diplomarbeiten-Datenkorrektur</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9">
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9">
|
||||||
<link href="../../skin/vilesci_old.css" rel="stylesheet" type="text/css">
|
<link href="../../skin/vilesci.css" rel="stylesheet" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<?php
|
<?php
|
||||||
|
|||||||
@@ -1,15 +1,16 @@
|
|||||||
<?php
|
<?php
|
||||||
include('../../config.inc.php');
|
include('../../config.inc.php');
|
||||||
include('../../../include/globals.inc.php');
|
//include('../../../include/globals.inc.php');
|
||||||
include('../../../include/functions.inc.php');
|
include('../../../include/functions.inc.php');
|
||||||
|
|
||||||
$uid=USER_UID;
|
$uid=get_uid();
|
||||||
|
|
||||||
// Verbindung aufbauen
|
// Verbindung aufbauen
|
||||||
$conn=pg_pconnect(CONN_STRING) or die ("Unable to connect to SQL-Server");
|
$conn=pg_pconnect(CONN_STRING) or die ("Unable to connect to SQL-Server");
|
||||||
$sql_query="SET search_path TO campus; SELECT uid, nachname, vorname FROM vw_benutzer WHERE uid LIKE '$uid'";
|
$sql_query="SET search_path TO campus; SELECT uid, nachname, vorname FROM vw_benutzer WHERE uid LIKE '$uid'";
|
||||||
unset($uid);
|
//echo $sql_query;
|
||||||
$result=pg_query($conn, $sql_query);
|
$result=pg_query($conn, $sql_query);
|
||||||
|
|
||||||
if(!$result)
|
if(!$result)
|
||||||
echo "User not found!";
|
echo "User not found!";
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user