mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-23 18:02:18 +00:00
This commit is contained in:
@@ -75,6 +75,14 @@ else
|
||||
}
|
||||
}
|
||||
|
||||
$qry = "SELECT aktiv FROM campus.vw_benutzer WHERE uid='$user'";
|
||||
if($result = pg_query($db_conn, $qry))
|
||||
{
|
||||
if($row = pg_fetch_object($result))
|
||||
{
|
||||
$aktiv = ($row->aktiv=='t'?true:false);
|
||||
}
|
||||
}
|
||||
?>
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
@@ -137,7 +145,7 @@ else
|
||||
<table class="tabcontent" id="MeineCIS" style="display: visible;">
|
||||
<tr>
|
||||
<td class="tdwidth10" nowrap> </td>
|
||||
<td class='tdwrap'><a class="Item" href="profile/index.php" target="content"><img src="../../skin/images/menu_item.gif" width="7" height="9"> Profil</a></td>
|
||||
<td class='tdwrap' ><a class="Item" href="profile/index.php" target="content" <?php echo (!$aktiv?'style="color: red;"':''); ?>><img src="../../skin/images/menu_item.gif" width="7" height="9"> Profil</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="tdwidth10" nowrap> </td>
|
||||
|
||||
Reference in New Issue
Block a user