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.133.122.95


Current Path : /var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/xsl/
Upload File :
Current File : /var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/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="$lang = 'fr'">
				<xsl:for-each select="document('/var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/xml/most_pop_records.xml')//poprecords/poprecord">
					<div style="padding:2px; width:400px;">
						<a href="javascript:get_other_xml_name('{./@xmlfile}', '{$lang}')">
							<span class="small_table"><xsl:value-of select="." /></span>
						</a>
					</div>
				</xsl:for-each>
			</xsl:if>

			<xsl:if test="$lang = 'en'">
				<xsl:for-each select="document('/var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/xml/most_pop_records.xml')//poprecords/poprecord_en">
					<div style="padding:2px; width:400px;">
						<a href="javascript:get_other_xml_name('{./@xmlfile}', '{$lang}')">
							<span class="small_table"><xsl:value-of select="." /></span>
						</a>
					</div>
				</xsl:for-each>
			</xsl:if>

		</div>
	</xsl:template>

</xsl:stylesheet>