Размер файла: 683B
<?php
if ( !empty( $to ) && isset( $loc_i[$loc][$to] ) )
{
$tt = $to;
$tchar = explode( "|", $loc_i[$loc][$to]["char"] );
$to = $tchar[0] . ", ";
}
else
$to = '';
$stmp = "<p>";
if ( $to )
$stmp .= "<input name='to' emptyok='true' type='text' value='" . $to . "'/><br />";
$stmp .= "
<input name='say' emptyok='true' type='text' maxlength='250' value=''/>
<br/>
<anchor>Сказать
<go href='?sid=" . $sid . "' method='post'>";
if ( $to )
$stmp .= "<postfield name='to1' value='$(to)'/>";
$stmp .= "<postfield name='say' value='$(say)'/>
</go></anchor>";
if ( $tt )
$stmp .= "<br/><a href='?sid=" . $sid . "&trade=" . $tt . "'>Обмен</a>";
msg( $stmp, "Сказать", 1 );
?>