mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-02 12:49:27 +00:00
This commit is contained in:
@@ -30,7 +30,7 @@ $nachname=array();
|
||||
<head>
|
||||
<title>Diplomarbeiten-Datenkorrektur</title>
|
||||
<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>
|
||||
<body>
|
||||
<?php
|
||||
|
||||
@@ -1,15 +1,16 @@
|
||||
<?php
|
||||
include('../../config.inc.php');
|
||||
include('../../../include/globals.inc.php');
|
||||
//include('../../../include/globals.inc.php');
|
||||
include('../../../include/functions.inc.php');
|
||||
|
||||
$uid=USER_UID;
|
||||
$uid=get_uid();
|
||||
|
||||
// Verbindung aufbauen
|
||||
$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'";
|
||||
unset($uid);
|
||||
//echo $sql_query;
|
||||
$result=pg_query($conn, $sql_query);
|
||||
|
||||
if(!$result)
|
||||
echo "User not found!";
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user