Skip to content
Snippets Groups Projects
Commit c0eca9af authored by Jeroen's avatar Jeroen
Browse files

Another final commitment, this time factor 10 as good.

Enjoy.
parent 09956643
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -70,10 +70,10 @@
?>
<TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0">
<TR>
<TD ALIGN="right" VALIGN="bottom" WIDTH="20" HEIGHT="20"><? if (rand(0,1) == 0) $img = "news1.gif"; else $img = "news4.gif"; ?><IMG
<TD ALIGN="right" VALIGN="bottom" WIDTH="20" HEIGHT="20"><? if (rand(0,1) == 0) $img = "news5.gif"; else $img = "news5.gif"; ?><IMG
SRC="themes/Jeroen/images/<? echo $img; ?>" WIDTH="20" HEIGHT="20" ALT=""></TD>
<TD colspan="3" ALIGN="center" VALIGN="center" HEIGHT="20" BACKGROUND="themes/Jeroen/images/newsmiddle.gif"><IMG SRC="themes/Jeroen/images/newsmiddle.gif" width="1" height="1" alt=""><B><? echo $subject; ?></B></TD>
<TD ALIGN="left" VALIGN="bottom" WIDTH="20" HEIGHT="20"><? if (rand(0,1) == 0) $img = "news3.gif"; else $img = "news2.gif"; ?><IMG SRC="themes/Jeroen/images/<? echo $img; ?>" WIDTH="20" HEIGHT="20" ALT=""></TD>
<TD colspan="3" ALIGN="center" VALIGN="center" HEIGHT="20" BACKGROUND="themes/Jeroen/images/newsmiddle2.gif"><IMG SRC="themes/Jeroen/images/newsmiddle.gif" width="1" height="1" alt=""><B><? echo $subject; ?></B></TD>
<TD ALIGN="left" VALIGN="bottom" WIDTH="20" HEIGHT="20"><? if (rand(0,1) == 0) $img = "news6.gif"; else $img = "news6.gif"; ?><IMG SRC="themes/Jeroen/images/<? echo $img; ?>" WIDTH="20" HEIGHT="20" ALT=""></TD>
</TR>
<TR BACKGROUND="themes/Jeroen/images/menutitle.gif">
<TD ALIGN="left" VALIGN="bottom" WIDTH="20" HEIGHT="20" BACKGROUND="themes/Jeroen/images/newsboxleft.gif" ><IMG SRC="themes/Jeroen/images/newsboxleft.gif" WIDTH="20" HEIGHT="20" alt=""></TD>
......@@ -286,30 +286,33 @@ SRC="themes/Jeroen/images/<? echo $img; ?>" WIDTH="20" HEIGHT="20" ALT=""></TD>
# Description..: a function to draw a box/block.
function box($subject, $content) {
include "config.inc";
if (rand(0,40) == 20) $img = "boxbottomright1.gif";
else $img = "boxbottomright2.gif";
if (rand(0,40) == 20) $img = "boxbottomright4.gif";
else $img = "boxbottomright3.gif";
$width = rand(10,200);
?>
<TABLE WIDTH="100%" CELLPADDING="0" CELLSPACING="0" BORDER="0">
<TR>
<TD ALIGN="right" VALIGN="bottom" WIDTH="20" HEIGHT="20"><IMG SRC="themes/Jeroen/images/boxtopleft.gif" width="20" height="20" alt=""></TD>
<TD colspan="2" ALIGN="left" VALIGN="bottom" HEIGHT="20" BACKGROUND="themes/Jeroen/images/boxtop.gif"><img src="themes/Jeroen/images/boxtop.gif" width="1" height="1" alt=""></TD>
<TD ALIGN="left" VALIGN="bottom" WIDTH="20" HEIGHT="20"><IMG SRC="themes/Jeroen/images/boxtopright.gif" width="20" height="20" alt=""></TD>
<TD ALIGN="right" VALIGN="bottom" WIDTH="20" HEIGHT="20"><IMG SRC="themes/Jeroen/images/boxtopleft2.gif" width="20" height="20" alt=""></TD>
<TD ALIGN="left" VALIGN="bottom" HEIGHT="20" WIDTH="<? echo $width; ?>" BACKGROUND="themes/Jeroen/images/boxtop2.gif"><img src="themes/Jeroen/images/boxtop2.gif" width="1" height="1" alt=""></TD>
<TD ALIGN="left" VALIGN="bottom" HEIGHT="20" WIDTH="20" BACKGROUND="themes/Jeroen/images/boxtopmiddle.gif"><img src="themes/Jeroen/images/boxtop2.gif" width="1" height="1" alt=""></TD>
<TD ALIGN="left" VALIGN="bottom" HEIGHT="20" BACKGROUND="themes/Jeroen/images/boxtop2.gif"><img src="themes/Jeroen/images/boxtop2.gif" width="1" height="1" alt=""></TD>
<TD ALIGN="left" VALIGN="bottom" WIDTH="20" HEIGHT="20"><IMG SRC="themes/Jeroen/images/boxtopright2.gif" width="20" height="20" alt=""></TD>
</TR>
<TR>
<TD ALIGN="right" VALIGN="bottom" WIDTH="20" HEIGHT="20" BACKGROUND="themes/Jeroen/images/boxtopleftside.gif"><IMG SRC="themes/Jeroen/images/boxtopleftside.gif" WIDTH="20" HEIGHT="20" alt=""></TD>
<TD COLSPAN="2" ALIGN="center" BGCOLOR="#6C6C6C" BACKGROUND="themes/Jeroen/images/menutitle.gif" HEIGHT=20><FONT COLOR="<? echo $this->fgcolor1; ?>"><? echo $subject; ?></FONT></TD>
<TD ALIGN="left" VALIGN="bottom" WIDTH="20" HEIGHT="20" BACKGROUND="themes/Jeroen/images/boxtoprightside.gif"><IMG SRC="themes/Jeroen/images/boxtoprightside.gif" width="20" height="20" alt=""></TD>
<TD ALIGN="right" VALIGN="bottom" WIDTH="20" HEIGHT="20" BACKGROUND="themes/Jeroen/images/boxtopleftside.gif"><IMG SRC="themes/Jeroen/images/boxtopleftside2.gif" WIDTH="20" HEIGHT="20" alt=""></TD>
<TD COLSPAN="3" ALIGN="center" BGCOLOR="#6C6C6C" BACKGROUND="themes/Jeroen/images/menutitle.gif" HEIGHT=20><FONT COLOR="<? echo $this->fgcolor1; ?>"><? echo $subject; ?></FONT></TD>
<TD ALIGN="left" VALIGN="bottom" WIDTH="20" HEIGHT="20" BACKGROUND="themes/Jeroen/images/boxtoprightside.gif"><IMG SRC="themes/Jeroen/images/boxtoprightside2.gif" width="20" height="20" alt=""></TD>
</TR>
<TR>
<TD ALIGN="right" BACKGROUND="themes/Jeroen/images/boxleft.gif" WIDTH="20">&nbsp;</TD>
<TD COLSPAN="2" VALIGN="top" WIDTH="100%" BGCOLOR="#E7E7E7" BACKGROUND="themes/Jeroen/images/sketch.gif">
<TD ALIGN="right" BACKGROUND="themes/Jeroen/images/boxleft2.gif" WIDTH="20">&nbsp;</TD>
<TD COLSPAN="3" VALIGN="top" WIDTH="100%" BGCOLOR="#E7E7E7" BACKGROUND="themes/Jeroen/images/sketch.gif">
<TABLE WIDTH="100%"><TR><TD><? echo $content; ?></TD></TR></TABLE>
</TD>
<TD ALIGN="left" BACKGROUND="themes/Jeroen/images/boxright.gif" WIDTH="20">&nbsp;</TD>
<TD ALIGN="left" BACKGROUND="themes/Jeroen/images/boxright2.gif" WIDTH="20">&nbsp;</TD>
</TR>
<TR>
<TD ALIGN="right" VALIGN=TOP WIDTH="20" HEIGHT="20"><IMG SRC="themes/Jeroen/images/boxbottomleft.gif" width="20" height="20" alt=""></TD>
<TD COLSPAN="2" ALIGN="middle" HEIGHT="20" VALIGN="top" BACKGROUND="themes/Jeroen/images/boxbottom.gif">&nbsp;</TD>
<TD ALIGN="right" VALIGN=TOP WIDTH="20" HEIGHT="20"><IMG SRC="themes/Jeroen/images/boxbottomleft2.gif" width="20" height="20" alt=""></TD>
<TD COLSPAN="3" ALIGN="middle" HEIGHT="20" VALIGN="top" BACKGROUND="themes/Jeroen/images/boxbottom2.gif">&nbsp;</TD>
<TD ALIGN="left" VALIGN="top" WIDTH="20" HEIGHT="20"><IMG SRC="themes/Jeroen/images/<? echo $img; ?>" width="20" height="20" alt=""></TD>
</TR>
</TABLE><BR>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment