|
01.03.2005, 15:55
Попробуй так:
PHP код:
function themeheader() { global $user, $banners, $sitename, $slogan, $cookie, $prefix, $db; cookiedecode($user); $username = $cookie[1]; if ($username == "") { $username = "Гость"; } echo "<body bgcolor=\"#ffffff\" text=\"#007000\" link=\"#ffffff\" vlink=\"#ffffff\" alink=\"#d5ae83\">\n" ."<br>\n"; if ($banners) { include("banners.php"); } echo "<br>\n" ."<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" border=\"0\" align=\"center\" bgcolor=\"#ffffff\">\n" ."<tr>\n" ."<td align=\"center\" bgcolor=\"#ffffff\" width=\"100%\">\n" ."<!-- Название -->" ."<TABLE cellSpacing=0 cellPadding=0 width=\"100%\" border=0>" ."<TBODY>" ."<TR>" ."<TD bgColor=#000070><WIDTH=\"1\" border=\"0\" height=\"1\" /></TD></TR>" ."<TR>" ."<TD bgColor=#000070><WIDTH=\"1\" border=\"0\" height=\"1\" /></TD></TR>" ."<TR>" ."<TD bgColor=#000000><WIDTH=\"1\" border=\"0\" height=\"1\"/></TD></TR></TBODY></TABLE>" ."<TABLE cellSpacing=0 cellPadding=0 width=\"100%\" background=\"\" border=0>" ."<TBODY>" ."<TR>" ."<TD width=\"100%\"></TD></TR></TBODY></TABLE>" ."<TABLE cellSpacing=0 cellPadding=0 width=\"100%\" background=\"images/back_top.jpg\" border=0><TBODY>" ."<TR>" ."<TD class=name height=62><B><font size=4 color=ffffff><i> Федерация Футбола Беларусии</I></B></TD>" ."<TD align=right rowSpan=2></TD>" ."<TD width=\"1%\" rowSpan=2></TD></TR>" ."<TR>" ."<TD class=main><B> <A href=\"mailto:rusdoh@mail.ru\"><FONT size=1 color=#e0e0e0>sertiop © 2004</FONT></A> </B></TD></TR></TBODY></TABLE>" ."<TABLE cellSpacing=0 cellPadding=0 width=\"100%\" background=\"\" border=0>" ."<TBODY>" ."<TR>" ."<TD width=\"100%\"></TD></TR></TBODY></TABLE>" ."<TABLE cellSpacing=0 cellPadding=0 width=\"100%\" border=0>" ."<TBODY>" ."<TR>" ."<TD bgColor=#000000><WIDTH=\"1\" border=\"0\" height=\"1\" /></TD></TR>" ."<TR>" ."<TD bgColor=#000070><WIDTH=\"1\" border=\"0\" height=\"1\" /></TD></TR>" ."<TR>" ."<TD bgColor=#000070><WIDTH=\"1\" border=\"0\" height=\"1\" /></TD></TR></TBODY></TABLE><!-- Конец названия -->" ."</td></tr>\n" ."</table>\n" .....
|
|