From: Pavel C. <pc...@us...> - 2001-05-07 12:57:38
|
Update of /cvsroot/firebird/web/themes/Firebird In directory usw-pr-cvs1:/tmp/cvs-serv18068/themes/Firebird Modified Files: header.php theme.php Added Files: 1x1.gif Log Message: Change in layout --- 1x1.gif ADDED --- Index: header.php =================================================================== RCS file: /cvsroot/firebird/web/themes/Firebird/header.php,v retrieving revision 1.3 retrieving revision 1.4 diff -U3 -r1.3 -r1.4 --- header.php 2001/05/07 10:14:32 1.3 +++ header.php 2001/05/07 12:57:34 1.4 @@ -3,7 +3,7 @@ ?> <LINK href="themes/Firebird/styles.css" rel=STYLESHEET type=text/css> -<body onload=init() background="images/fine_line_bg.gif" bgcolor="#FFFFFF" text="#000000" link="#000000" vlink="#000000" topmargin=5 leftmargin=0 rightmargin=0 marginheight=5> +<body onload=init() bgcolor="#FFFFFF" text="#000000" link="#000000" vlink="#000000" topmargin=5 leftmargin=0 rightmargin=0 marginheight=5> <?php if ($banners) { include("banners.php"); @@ -72,6 +72,7 @@ <font color=FFFFFF><a class=osdn> <?php echo "$slogan"; ?></a></font></TD> </TR> </TABLE> +<br> <table border=0 width=100% cellspacing=5><tr><td valign=top> <?php Index: theme.php =================================================================== RCS file: /cvsroot/firebird/web/themes/Firebird/theme.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -U3 -r1.1.1.1 -r1.2 --- theme.php 2001/05/03 09:31:02 1.1.1.1 +++ theme.php 2001/05/07 12:57:34 1.2 @@ -2,9 +2,11 @@ $thename = "Firebird"; $bgcolor1 = "#CE383D"; +//$bgcolor1 = "#CCCCCC"; $bgcolor2 = "999999"; $bgcolor3 = "FFFFFF"; -$bgcolor4 = "CCCCCC"; +//$bgcolor4 = "CCCCCC"; +$bgcolor4 = "FFFFFF"; $textcolor1 = "#FFFFFF"; $textcolor2 = "#000000"; $hr = 1; # 1 to have horizonal rule in comments instead of table bgcolor @@ -24,7 +26,7 @@ <table border=0 cellpadding=0 cellspacing=0 align=center bgcolor=000000 width=100%> <tr><td> -<table border=0 cellpadding=3 cellspacing=1 width=100%> +<table border=0 cellpadding=3 cellspacing=0 width=100%> <tr><td bgcolor=CE383D> <font size=4 color=FFFFFF> <b><?php echo"$title"; ?></b><br> @@ -52,7 +54,7 @@ <table border=0 cellpadding=0 cellspacing=0 align=center bgcolor=000000 width=100%> <tr><td> -<table border=0 cellpadding=3 cellspacing=1 width=100%> +<table border=0 cellpadding=3 cellspacing=0 width=100%> <tr><td bgcolor=CE383D> <font size=4 color=FFFFFF> <b><?php echo"$title"; ?></b><br> @@ -84,7 +86,7 @@ <table border=0 cellpadding=0 cellspacing=0 align=center bgcolor=000000 width=100%> <tr><td> -<table border=0 cellpadding=3 cellspacing=1 width=100%> +<table border=0 cellpadding=3 cellspacing=0 width=100%> <tr><td bgcolor=CE383D><font color=FFFFFF> <font size=4> <b>$title</b><br><font size=2> $datetime @@ -116,7 +118,7 @@ <table border=0 cellpadding=0 cellspacing=0 align=center bgcolor=000000 width=100%> <tr><td> -<table border=0 cellpadding=3 cellspacing=1 width=100%> +<table border=0 cellpadding=3 cellspacing=0 width=100%> <tr><td bgcolor=CE383D><font color=FFFFFF> <font size=4> <b>$title</b><br><font size=2> ".translate("Contributed by")." $informant ".translate("on")." $datetime</font> @@ -147,16 +149,26 @@ <?php function themesidebox($title, $content) { +global $textcolor1, $textcolor2; ?> -<table border=0 cellspacing=0 cellpadding=0 width=200 bgcolor=000000> +<table border=0 cellspacing=0 cellpadding=0 width=200 bgcolor=CE383D> <tr> <td> -<table width=100% border=0 cellspacing=2 cellpadding=3> +<table width=100% border=0 cellspacing=0 cellpadding=3> <tr> -<td colspan=1 bgcolor=CE383D align=center> -<font size=3 color=FFFFFF><b><?php echo"$title"; ?></b> +<td colspan=1 bgcolor=FFFFFF align=left> +<font size=3 color=<?php echo"$textcolor2"; ?>><b><?php echo"$title"; ?></b> </td> </tr> +</table> +<table border="0" cellPadding="0" cellSpacing="0" width="100%"> +<TBODY> + <tr bgColor="#000000"> + <td><img alt height="2" src="themes/Firebird/1x1.gif" width="1"></td> + </tr> +</TBODY> +</table> +<table border=0 cellspacing=0 cellpadding=3 width=200 bgcolor=000000> <tr> <td bgcolor=FFFFFF> <font size=2> @@ -164,6 +176,47 @@ </td> </tr> </table> +</td> +</tr> +</table><br> + +<?php +} + +function thememainbox($title, $content) { +global $textcolor1, $textcolor2; + +if ("$title" != "") { ?> +<table border=0 cellspacing=0 cellpadding=0 width=100% bgcolor=CE383D> +<tr> +<td> +<table width=100% border=0 cellspacing=0 cellpadding=3> +<tr> +<td colspan=1 bgcolor=FFFFFF align=left> +<font size=3 color=<?php echo"$textcolor2"; ?>><b><?php echo"$title"; ?></b> +</td> +</tr> +</table> +<table border="0" cellPadding="0" cellSpacing="0" width="100%"> +<TBODY> + <tr bgColor="#000000"> + <td><img alt height="2" src="themes/Firebird/1x1.gif" width="1"></td> + </tr> +</TBODY> +</table> +<?php + } ?> +<table border=0 cellspacing=0 cellpadding=3 width=100% bgcolor=000000> +<tr> +<td bgcolor=FFFFFF> +<font size=2> +<?php echo"$content"; +if ("$title" != "") { ?> +</td> +</tr> +</table> +<?php + } ?> </td> </tr> </table><br> |