|
Code:
<TABLE BORDER="0" WIDTH="100%" CELLSPACING="1" CELLPADDING="2" BGCOLOR="#636363"> <TR> <TD CLASS="indexheading">Pick of the day</TD> </TR> <TR> <TD BGCOLOR="white"> <TABLE BORDER="0" WIDTH="100%" CELLSPACING="1" CELLPADDING="2"> <TR> <TD WIDTH="125" VALIGN="TOP"> <A HREF="Book_Image1.xsl?ID={database/pickoftheday/bookid/@unformatted}"><IMG BORDER="0" WIDTH="120" SRC="{database/pickoftheday/image1/filename}"/></A> </TD> <TD VALIGN="TOP"> <FONT SIZE="+2"> <B> <A HREF="Book.xsl?ID={database/pickoftheday/bookid/@unformatted}"> <xsl:value-of select="database/pickoftheday/title"/> </A> </B> </FONT> <BR/> <FONT SIZE="+1"> <B> <xsl:call-template name="format-author"> <xsl:with-param name="authors" select="database/pickoftheday/authors"/> <xsl:with-param name="newline" select="'False'"/> <xsl:with-param name="newwindow" select="'False'"/> </xsl:call-template> </B> </FONT> <BR/><BR/> <A HREF="BookList.xsl?Publisher={database/pickoftheday/publisher}@xslparam:doctitle=Publisher: {database/pickoftheday/publisher}"> <xsl:value-of select="database/pickoftheday/publisher"/> </A> <xsl:if test="database/pickoftheday/publishdate!=''"> <xsl:text>, </xsl:text> <A HREF="BookList.xsl?PublishDate={database/pickoftheday/publishdate/@year}@xslparam:doctitle=Publication Year: {database/pickoftheday/publishdate/@year}"> <xsl:value-of select="database/pickoftheday/publishdate/@year"/> </A> </xsl:if> <xsl:if test="database/pickoftheday/isbn!=''"> <BR/> <xsl:value-of select="database/pickoftheday/isbn"/> </xsl:if> <xsl:if test="database/pickoftheday/binding!=''"> <BR/> <A HREF="BookList.xsl?Binding={database/pickoftheday/binding}@xslparam:doctitle=Binding: {database/pickoftheday/binding}"> <xsl:value-of select="database/pickoftheday/binding"/> </A> </xsl:if> <xsl:if test="database/pickoftheday/pages/@unformatted>0"> <BR/> <xsl:value-of select="database/pickoftheday/pages"/><xsl:text> pages</xsl:text> </xsl:if> </TD> </TR> <xsl:if test="database/pickoftheday/synopsis!=''"> <TR> <TD COLSPAN="2"> <xsl:call-template name="add-line-breaks"> <xsl:with-param name="string" select="database/pickoftheday/synopsis"/> </xsl:call-template> </TD> </TR> </xsl:if> </TABLE> </TD> </TR> </TABLE>
|