<?php header("Content-Type: text/html; charset=utf-8"); if (empty($bgcolor)) { $bgcolor='black'; } if (empty($link)) { $link='gold'; } if (empty($color)) { $color='aqua'; } if (empty($vlink)) { $vlink='gold'; } echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title> '.$title.' </title> </head> <body bgcolor="'.$bgcolor.'" link="'.$link.'" text="'.$color.'" vlink="'.$vlink.'">'; if (!empty($site)) { $end='<center><a href="'.$site.'">Главная</a><br/></center>'; } else { $end='<center><a href="/">Главная</a><br/></center>'; } if (!empty($cop)) { $end.='<center> '.$cop.'<br/> </center>'; } $end.='</body> </html>'; ?>