\n";
echo Get_Text("pub_messages_text1"). "
\n";
//#####################
//show exist Messages
//#####################
$SQL = "SELECT * FROM `Messages` WHERE `SUID`='". $_SESSION["UID"]. "' OR `RUID`='". $_SESSION["UID"]. "'";
$erg = mysql_query($SQL, $con);
echo "
". Get_Text("pub_messages_Datum"). " | \n"; echo "\t". Get_Text("pub_messages_Von"). " | \n"; echo "\t". Get_Text("pub_messages_An"). " | \n"; echo "\t". Get_Text("pub_messages_Text"). " | \n"; echo "\t\n"; echo " | ". mysql_result( $erg, $i, "Datum" ). " | \n"; echo "\t". UID2Nick( mysql_result( $erg, $i, "SUID" )). " | \n"; echo "\t". UID2Nick( mysql_result( $erg, $i, "RUID" )). " | \n"; echo "\t". mysql_result( $erg, $i, "Text" ). " | \n"; echo "\t";
if( mysql_result( $erg, $i, "RUID")==$_SESSION["UID"])
{
echo "". Get_Text("pub_messages_DelMsg"). "";
if( mysql_result( $erg, $i, "isRead")=="N")
echo " ". Get_Text("pub_messages_MarkRead"). ""; } else { if( mysql_result( $erg, $i, "isRead")=="N") echo Get_Text("pub_messages_NotRead"); } echo " | \n";
echo "\n";
}
//#####################
//send Messeges
//#####################
echo "";
echo "