[code]case \'ras\':
$qi = mysql_query(\"SELECT * FROM `users` WHERE `udata67`=\'200\' or `udata67`=\'100\' or
`udata67`=\'50\' or
`udata67`=\'5\' \"
;
while($row=mysql_fetch_array($qi))
{
$time = date(\"H:i d.m.y\"
;
$mail_msg = $_POST[\'msg\'];
mysql_query(\"INSERT INTO `msg_r` SET `user_from` = \'Администрация\', `user_to` = \'$row[udata0]\', `time` = \'$time\', `read` = 1, `mail_msg` = \'$mail_msg\'\"
;}
echo \"<form action=\"?\" method=post>Текст<br/>
<input type=text name=msg maxlength=777><br/>
<input type=submit value=\"Послать\" />
</form>\";
echo\"Готово.\";
echo \"<br/><a href=\\\"adms.php?\\\">Назад</a>\";
break;[/code]