home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0"?>
- <!-- Copyright (C) 1995-2003 Jasc Software, Inc. and its licensors. -->
- <!-- All rights reserved. -->
- <!DOCTYPE xsl:stylesheet[
- <!ENTITY externalScript SYSTEM "../ScriptLib/common.xsl">
- ]>
-
- <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
- &externalScript;
- <xsl:template match="/">
- <HTML>
- <xsl:apply-templates/>
- </HTML>
- </xsl:template>
- <xsl:template match="photos">
- <xsl:apply-templates/>
- </xsl:template>
- <xsl:template match="album">
- <xsl:apply-templates select="imagelist"/>
- </xsl:template>
- <xsl:template match="imagelist">
- <xsl:apply-templates select="imageinfo"/>
- </xsl:template>
- <xsl:template match="imageinfo">
- <xsl:element name="ixfile">
- <xsl:attribute name="fname"><xsl:value-of select="html_info/@fname"/></xsl:attribute>
- <head>
- <title>
- <xsl:eval>GetAlbumTitle()</xsl:eval>
-
- </title>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
- <meta name="copyright" content="Copyright (C) 1995-2003 Jasc Software, Inc. and its licensors. All rights reserved."/>
-
- </head>
-
- <BODY bgcolor="#FFFFFF" background="patterns/bktexture4.gif" text="#639AFF">
- <div align="center">
- <table width="400" border="5" cellspacing="6" cellpadding="0" background="miscellaneous/bktexture7.gif" bordercolor="#000000">
- <tr>
- <td valign="middle" background="textures/bktexture6.gif"><div align="center"><xsl:apply-templates select="previous"/></div></td>
- <td valign="middle" background="textures/bktexture6.gif"><br kludge=""/></td>
- <td background="textures/bktexture6.gif"><div align="center"><xsl:apply-templates select="next"/></div></td>
- </tr>
- </table>
- <br kludge=""/><table width="400" border="5" cellspacing="8" cellpadding="0" bgcolor="#639AFF" bordercolor="#000000" background="miscellaneous/bktexture7.gif">
- <tr bgcolor="#FFFFFF" background="textures/bktexture6.gif">
- <td height="39"><table align="center" width="300"><tr><td width="100"><xsl:choose>
- <xsl:when test="audio_info/@fname[. != '']">
- <div align="left"><xsl:apply-templates select="audio_info"/></div>
- </xsl:when>
- <xsl:otherwise>
- <div align="left"><img border="0" src="graphics/transparenth120.gif" width="1" height="1"/></div>
- </xsl:otherwise>
- </xsl:choose></td><td width="100"><div align="center"><font face="Arial, Helvetica, sans-serif" size="3"><b><xsl:value-of select="title"/></b></font></div></td><td width="100"><xsl:choose>
- <xsl:when test="movie_info/@fname[. != '']">
- <div align="right"><xsl:apply-templates select="movie_info"/></div>
- </xsl:when>
- <xsl:otherwise>
- <div align="right"><img border="0" src="graphics/transparenth120.gif" width="1" height="1"/></div>
- </xsl:otherwise>
- </xsl:choose></td></tr><tr><td colspan="3"><div align="center"><xsl:value-of select="description"/></div></td></tr></table></td>
- </tr>
- </table><br kludge=""/>
- <table border="9" cellspacing="10" cellpadding="0" bgcolor="#639AFF" bordercolor="#000000" background="miscellaneous/bktexture7.gif">
- <tr background="textures/bktexture6.gif">
- <td><div align="center"><IMG><xsl:attribute name="src"><xsl:value-of select="@fname"/></xsl:attribute><xsl:attribute name="width"><xsl:value-of select="imagesize/@width"/></xsl:attribute>
- <xsl:attribute name="height"><xsl:value-of select="imagesize/@height"/></xsl:attribute>
- <xsl:attribute name="alt"><xsl:value-of select="title"/></xsl:attribute></IMG></div></td>
- </tr>
- </table><br kludge=""/>
- <table border="3" cellspacing="3" cellpadding="0" bgcolor="#6699FF" width="60" bordercolor="#000000" background="miscellaneous/bktexture7.gif">
- <tr>
- <td><img src="animations/animated4sale.gif" width="300" height="100"/></td>
- </tr>
- </table></div>
- </BODY>
- </xsl:element>
- </xsl:template>
- <xsl:template match="previous">
- <xsl:value-of/>
- <xsl:choose>
- <xsl:when match="previous[@fname != '']">
- <A><xsl:attribute name="href"><xsl:value-of select="@fname"/></xsl:attribute>
- <img src="buttons/back.gif" width="50" height="20" border="0"/></A>
- </xsl:when>
- <xsl:otherwise>
- <img src="buttons/backgreyback.gif" width="50" height="20"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
- <xsl:template match="next">
- <xsl:value-of/>
- <xsl:choose>
- <xsl:when match="next[@fname != '']">
- <A><xsl:attribute name="href"><xsl:value-of select="@fname"/></xsl:attribute>
- <img src="buttons/next.gif" width="50" height="20" border="0"/></A>
- </xsl:when>
- <xsl:otherwise>
- <img src="buttons/nextgreyback.gif" width="50" height="20" border="0"/>
- </xsl:otherwise>
- </xsl:choose>
- </xsl:template>
- <xsl:template match="audio_info">
- <xsl:if match="audio_info[@fname != '']">
- <A><xsl:attribute name="href"><xsl:value-of select="@fname"/></xsl:attribute>
- <img border="0" src="graphics/sound.gif"/></A>
- </xsl:if>
- </xsl:template>
- <xsl:template match="movie_info">
- <A><xsl:attribute name="href"><xsl:value-of select="@fname"/></xsl:attribute>
- <img border="0" src="graphics/movie.gif" width="24" height="28"/></A>
- </xsl:template>
- </xsl:stylesheet>
-