if (C_ENABLE_PM && C_PRIV_POPUP && $allowpopupu) {
             $Dest = "<a onClick=\"window.parent.send_popup('/to " . special_char($Dest, $Latin1, 1) . "');\" title='" . L_SEND_PM_1 . "' onMouseOver=\"window.status='" . L_SEND_PM_2 . "'; return true\" CLASS=\"sender\">" . $colornamedest_tag . "[" . special_char($Dest, $Latin1, 0) . "]" . $colornamedest_endtag . "</a>";
         } elseif (C_ENABLE_PM) {
             $Dest = "<a onClick=\"window.parent.userClick('" . special_char($Dest, $Latin1, 1) . "',true);\" title='" . L_SEND_PM_1 . "' onMouseOver=\"window.status='" . L_SEND_PM_2 . "'; return true\" CLASS=\"sender\">" . $colornamedest_tag . "[" . special_char($Dest, $Latin1, 0) . "]" . $colornamedest_endtag . "</a>";
         } else {
             $Dest = "<a onClick=\"window.parent.userClick('" . special_char($Dest, $Latin1, 1) . "',false); return false\" title='" . L_USE_NAME . "' onMouseOver=\"window.status='" . L_USE_NAME1 . "'; return true\" CLASS=\"sender\">" . $colornamedest_tag . "[" . special_char($Dest, $Latin1, 0) . "]" . $colornamedest_endtag . "</a>";
         }
     } elseif ($Dest == stripslashes($U)) {
         $Dest = "<a onClick=\"window.parent.userClick('" . special_char($Dest, $Latin1, 1) . "',false,'" . special_char($U, $Latin1, 1) . "'); return false\" title='" . L_USE_NAME . "' onMouseOver=\"window.status='" . L_USE_NAME1 . "'; return true\" CLASS=\"sender\">" . $colornamedest_tag . "[" . special_char($Dest, $Latin1, 0) . "]" . $colornamedest_endtag . "</a>";
     }
     if ($Dest != "") {
         $Dest = "</B><BDO dir=\"{$textDirection}\"></BDO></td><td width=\"1%\" valign=\"top\"><B>></B></td><td width=\"1%\" valign=\"top\"><B>" . $colornamedest_tag . $Dest;
     }
     // Avatar System Start:
     if (C_USE_AVATARS) {
         $avatar = "<a onClick=\"window.parent.runCmd('whois','" . special_char2(stripslashes($Userx), $Latin1) . "'); return false\" onMouseOver=\"window.status='" . L_PROFILE . ".'; return true\" title=\"" . L_PROFILE . "\"><img align=\"center\" src=\"{$avatar}\" width=" . C_AVA_WIDTH . " height=" . C_AVA_HEIGHT . " alt=\"" . L_PROFILE . "\" border=0></a>";
         if ($ST != 1) {
             $NewMsg .= "</td><td width=\"1%\" nowrap=\"nowrap\" valign=\"top\">" . $avatar . "</td><td width=\"1%\" nowrap=\"nowrap\" valign=\"top\"><B>" . $colorname_tag . "{$User}{$Dest}" . $colornamedest_endtag . "</B><BDO dir=\"{$textDirection}\"></BDO></td><td valign=\"top\">" . $Message . "</td></tr></table>";
         } else {
             $NewMsg .= $avatar . "</td><td width=\"1%\" nowrap=\"nowrap\" valign=\"top\"><B>" . $colorname_tag . "{$User}{$Dest}" . $colornamedest_endtag . "</B><BDO dir=\"{$textDirection}\"></BDO></td><td valign=\"top\">" . $Message . "</td></tr></table>";
         }
     } else {
         if ($ST != 1) {
             $NewMsg .= "</td><td width=\"1%\" nowrap=\"nowrap\" valign=\"top\"><B>" . $colorname_tag . "{$User}{$Dest}" . $colornamedest_endtag . "</B><BDO dir=\"{$textDirection}\"></BDO></td><td valign=\"top\">" . $Message . "</td></tr></table>";
         } else {
             $NewMsg .= "<B>{$User}{$Dest}</B><BDO dir=\"{$textDirection}\"></BDO></td><td valign=\"top\">" . $Message . "</td></tr></table>";
         }
     }
 } else {
     if ($User == "SYS announce") {
         if ($Message == 'L_RELOAD_CHAT') {
Beispiel #2
0
    echo urlencode(stripslashes($U)) . "&LIMIT=1";
    ?>
'); return false" TARGET="_blank" onMouseOver="window.status='<?php 
    echo L_REG_4;
    ?>
.'; return true;" title="<?php 
    echo L_REG_4;
    ?>
"><?php 
    echo L_REG_4;
    ?>
</a></li>
<?php 
}
if ($statusu != "a" && $statusu != "t" && $statusu != "u") {
    $Cmd2Send = "'quit','" . special_char2(stripslashes($U), $Latin1) . " - L_DEL_BYE :('";
    ?>
				<li><a href="<?php 
    echo $ChatPath . "deluser.php?L=" . $L . "&pmc_username="******"&Link=1";
    ?>
" onClick="window.parent.reg_popup('deluser','<?php 
    echo urlencode(stripslashes($U)) . "&LIMIT=1";
    ?>
'); window.parent.runCmd(<?php 
    echo $Cmd2Send;
    ?>
); return false" TARGET="_blank" onMouseOver="window.status='<?php 
    echo L_REG_5;
    ?>
.'; return true;" title="<?php 
    echo L_REG_5;