bugfix
git-svn-id: svn://svn.cccv.de/engel-system@100 29ba0400-6e00-0410-a75a-ca02368028f8
This commit is contained in:
parent
bf88f9c69b
commit
3a051ec08d
|
@ -46,6 +46,12 @@ switch( $_GET["action"])
|
|||
echo "<br><br><a href=\"?action=MarkRead&Datum=". mysql_result( $erg, $i, "Datum" ).
|
||||
"\">". Get_Text("pub_messages_MarkRead"). "</a>";
|
||||
}
|
||||
else
|
||||
{
|
||||
if( mysql_result( $erg, $i, "isRead")=="N")
|
||||
echo Get_Text("pub_messages_NotRead");
|
||||
}
|
||||
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
}
|
||||
|
@ -59,7 +65,7 @@ switch( $_GET["action"])
|
|||
echo "\t<td></td>\n";
|
||||
// Listet alle Nicks auf
|
||||
echo "\t<td><select name=\"RUID\">\n";
|
||||
$usql="select * from User order by Nick";
|
||||
$usql="SELECT * FROM `User` WHERE (`UID`!='". $_SESSION["UID"] ."') ORDER BY `Nick`";
|
||||
$uErg = mysql_query($usql, $con);
|
||||
$urowcount = mysql_num_rows($uErg);
|
||||
for ($k=0; $k<$urowcount; $k++)
|
||||
|
@ -94,7 +100,7 @@ switch( $_GET["action"])
|
|||
|
||||
case "MarkRead":
|
||||
$SQL = "UPDATE `Messages` SET `isRead` = 'Y' ".
|
||||
"WHERE `Datum` = '". $_GET["Datum"]. "' AND `SUID`=". $_SESSION["UID"]. " ".
|
||||
"WHERE `Datum` = '". $_GET["Datum"]. "' AND `RUID`=". $_SESSION["UID"]. " ".
|
||||
"LIMIT 1 ;";
|
||||
$Erg = mysql_query($SQL, $con);
|
||||
if ($Erg == 1)
|
||||
|
|
Loading…
Reference in New Issue