77: знач сделай так:
if (!$log=="" && !md5($par)=="" && md5($par)==$provpar && $log==$provlog ){
$dt[4]=eregi_replace("<br>((https?Iftp)://[[:alnum:]_=/-]+(\\.[[:a lnum:]_=/-]+)*(/[[:alnum:]+&._=/~%#]*(\\?[[:alnum:]?+&_=/%#]*) ?)?)", "<br><a href='\\1'>\\1</a>", $dt[4]);
$dt[4]=eregi_replace("^((https?Iftp)://[[:alnum:]_=/-]+(\\.[ [:alnum:]_=/-]+)*(/[[:alnum:]+&._=/~%#]*(\\?[[:alnum:]?+&_=/%# ]*)?)?)", "<a href='\\1'>\\1</a>", $dt[4]);
$dt[4]=eregi_replace("( (https?Iftp)://[[:alnum:]_=/-]+(\\.[[:alnum:]_=/-]+)*(/[[:alnum:]+& ;._=/~%#]*(\\?[[:alnum:]?+&_=/%#]*)?)?)", "<a href='\\1'>\\1</a>", $dt[4]);
$dt[4]=preg_replace('#\[url=(.*?)\](.*?)\[/url\]#si', '<a href="\\1">\\2</a>',$dt[4]);
}
else {$dt[4]=eregi_replace("( (https?Iftp)://[[:alnum:]_=/-]+(\\.[[:alnum:]_=/-]+)*(/[[:alnum:]+& ;._=/~%#]*(\\?[[:alnum:]?+&_=/%#]*)?)?)", '[<a href="../pages/vhod.php?'.SID.'">вход</a>/<a href="../pages/registration.php?'.SID.'">регистрирация</a>]', $dt[4]);
}