AlaK4X
Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64



Your IP : 3.145.45.223


Current Path : /var/www/lhjmq-records.qc.ca/public_html/xsl/records/generator/xsl/
Upload File :
Current File : /var/www/lhjmq-records.qc.ca/public_html/xsl/records/generator/xsl/most_pop_records.xsl

<?xml version="1.0" encoding="ISO-8859-1" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

	<xsl:param name="pop_type" />
	<xsl:param name="lang" />

	<xsl:template match="/">
		<!-- TABLEAU DES LIENS VERS LES RECORDS LES PLUS POPUPAIRES -->
		<div style="overflow:auto; height:200px;padding:10px;">

			<xsl:if test="$pop_type = '0'">
				<xsl:for-each select="document('../xml/most_pop_records.xml')//poprecords/type_0/poprecord">
					<div style="padding:2px; width:300px;">
						<a href="javascript:get_final_xml_name('{./@xmlfile}')">
							<xsl:value-of select="." />
						</a>
					</div>
				</xsl:for-each>
			</xsl:if>
			<xsl:if test="$pop_type = '1'">
				<xsl:for-each select="document('../xml/most_pop_records.xml')//poprecords/type_1/poprecord">
					<div style="padding:2px; width:300px;">
						<a href="javascript:get_final_xml_name('{./@xmlfile}')">
							<xsl:value-of select="." />
						</a>
					</div>
				</xsl:for-each>
			</xsl:if>
		</div>
	</xsl:template>

</xsl:stylesheet>