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


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/main_tool_selectors.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="level_name" />
	<xsl:param name="level_name_id" />
	<xsl:param name="lang" />
	<xsl:param name="selection" />
	<xsl:param name="level_type" />

	<xsl:template match="/">

		<xsl:variable name="ligue_items1_reftable_id" select="document(concat('/var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/xml/ligue_levels', $level_type, '/ligue_tool_selectors_items1.xml'))//ligue/items1/@reftable" />
		<xsl:variable name="ligue_items2_reftable_id" select="document(concat('/var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/xml/ligue_levels', $level_type, '/ligue_tool_selectors_items2.xml'))//ligue/items2/@reftable" />
		<xsl:variable name="ligue_items3_reftable_id" select="document(concat('/var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/xml/ligue_levels', $level_type, '/ligue_tool_selectors_items3.xml'))//ligue/items3/@reftable" />
		<xsl:variable name="ligue_items4_reftable_id" select="document(concat('/var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/xml/ligue_levels', $level_type, '/ligue_tool_selectors_items4.xml'))//ligue/items4/@reftable" />
		<xsl:variable name="ligue_items5_reftable_id" select="document(concat('/var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/xml/ligue_levels', $level_type, '/ligue_tool_selectors_items5.xml'))//ligue/items5/@reftable" />
		<xsl:variable name="ligue_items6_reftable_id" select="document(concat('/var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/xml/ligue_levels', $level_type, '/ligue_tool_selectors_items6.xml'))//ligue/items6/@reftable" />

		<xsl:variable name="equipe_items1_reftable_id" select="document(concat('/var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/xml/equipe_levels', $level_type, '/equipe_tool_selectors_items1.xml'))//equipe/items1/@reftable" />
		<xsl:variable name="equipe_items2_reftable_id" select="document(concat('/var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/xml/equipe_levels', $level_type, '/equipe_tool_selectors_items2.xml'))//equipe/items2/@reftable" />
		<xsl:variable name="equipe_items3_reftable_id" select="document(concat('/var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/xml/equipe_levels', $level_type, '/equipe_tool_selectors_items3.xml'))//equipe/items3/@reftable" />
		<xsl:variable name="equipe_items4_reftable_id" select="document(concat('/var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/xml/equipe_levels', $level_type, '/equipe_tool_selectors_items4.xml'))//equipe/items4/@reftable" />
		<xsl:variable name="equipe_items5_reftable_id" select="document(concat('/var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/xml/equipe_levels', $level_type, '/equipe_tool_selectors_items5.xml'))//equipe/items5/@reftable" />
		<xsl:variable name="equipe_items6_reftable_id" select="document(concat('/var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/xml/equipe_levels', $level_type, '/equipe_tool_selectors_items6.xml'))//equipe/items6/@reftable" />

		<xsl:variable name="franchise_items1_reftable_id" select="document(concat('/var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/xml/franchise_levels', $level_type, '/franchise_tool_selectors_items1.xml'))//franchise/items1/@reftable" />
		<xsl:variable name="franchise_items2_reftable_id" select="document(concat('/var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/xml/franchise_levels', $level_type, '/franchise_tool_selectors_items2.xml'))//franchise/items2/@reftable" />
		<xsl:variable name="franchise_items3_reftable_id" select="document(concat('/var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/xml/franchise_levels', $level_type, '/franchise_tool_selectors_items3.xml'))//franchise/items3/@reftable" />
		<xsl:variable name="franchise_items4_reftable_id" select="document(concat('/var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/xml/franchise_levels', $level_type, '/franchise_tool_selectors_items4.xml'))//franchise/items4/@reftable" />
		<xsl:variable name="franchise_items5_reftable_id" select="document(concat('/var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/xml/franchise_levels', $level_type, '/franchise_tool_selectors_items5.xml'))//franchise/items5/@reftable" />
		<xsl:variable name="franchise_items6_reftable_id" select="document(concat('/var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/xml/franchise_levels', $level_type, '/franchise_tool_selectors_items6.xml'))//franchise/items6/@reftable" />


		<div id="top_bloc_1" class="sections_space">
			<!--div style="padding-bottom:10px;" class="record_font_color" id="cat_01_text">LES CAT�GORIES 1 (titre de travail) :</div-->

			<div class="row">
				<div class="col-sm-6">
    				<div class="radio-inline">
					    <label for="select_ligue" class="record_font_color">
						<!-- REF second_tool_selectors.xsl -->
						<input type="radio" value="{document('/var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/xml/ligues.xml')//ligue/items0/@value}" name="select_1" id="select_ligue" class="radio_margin" onClick="javascript:is_main_selector_selection(false); get_default('ligue', '{$ligue_items1_reftable_id}', '{$ligue_items2_reftable_id}', '{$ligue_items3_reftable_id}', false, true); get_season_by_selection(document.getElementById('ligue_selector').value); get_section_letter(document.getElementById('section00'), this.value, '{document('/var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/xml/ligues.xml')//ligue/items0/@group}'); start_animation_id('{document('/var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/xml/ligues.xml')//ligue/items0/@animtype}'); show_this(season_to_hide);" /> <span id="ligue_text"></span>					
						</label>
					</div>
				</div>
				
				<div class="col-sm-6">

                    <div>
    					<xsl:choose>
    						<xsl:when test="count(document('/var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/xml/ligues.xml')//ligue/items0/item) > 0">
    							<select id="ligue_selector" name="ligue_selector" style="display:none;" class="form-control" onChange="get_season_by_selection(this.value); get_section_letter(document.getElementById('section01'), this.value);">
    								<xsl:for-each select="document('/var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/xml/ligues.xml')//ligue/items0/item" >
    									<option value="{./@value}|{./@yearin}|{./@yearout}" title="{./@label}">
    										<xsl:value-of select="./@label" />
    									</option>
    								</xsl:for-each>
    							</select>
    						</xsl:when>
    						<xsl:otherwise>
    							<input type="hidden" id="ligue_selector" name="ligue_selector" value="0|0|3000" />
    						</xsl:otherwise>
    					</xsl:choose>
    				</div>

				</div>
			</div>

			<div class="row">
				<div class="col-sm-6">
    				<div class="radio-inline">
					<label for="select_equipe" class="record_font_color">
						<!-- REF second_tool_selectors.xsl -->
						<input type="radio" value="{document('/var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/xml/equipes.xml')//equipe/items0/@value}" name="select_1" id="select_equipe" class="radio_margin" onClick="javascript:is_main_selector_selection(false); get_default('equipe', '{$equipe_items1_reftable_id}', '{$equipe_items2_reftable_id}', '{$equipe_items3_reftable_id}', false, true); get_season_by_selection(document.getElementById('equipe_selector').value);  get_section_letter(document.getElementById('section00'), this.value, '{document('/var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/xml/equipes.xml')//equipe/items0/@group}'); start_animation_id('{document('/var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/xml/equipes.xml')//equipe/items0/@animtype}'); show_this(season_to_hide); " /> <span id="team_text"></span>
					</label>
					</div>
				</div>
				
				<div class="col-sm-6">

                    <div>
    					<select id="equipe_selector" name="equipe_selector" style="display:none;" class="form-control" onChange="get_season_by_selection(this.value); get_section_letter(document.getElementById('section01'), this.value);">
    						<xsl:for-each select="document('/var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/xml/equipes.xml')//equipe/items0/item" >
    							<option value="{./@value}|{./@yearin}|{./@yearout}" title="{./@label}">
    								<xsl:value-of select="./@label" />
    							</option>
    						</xsl:for-each>
    					</select>
    				</div>

				</div>
			</div>

			<div class="row">
				<div class="col-sm-6">
    				<div class="radio-inline">
					<label for="select_franchise" class="record_font_color">
						<!-- REF second_tool_selectors.xsl -->
						<input type="radio" value="{document('/var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/xml/franchises.xml')//franchise/items0/@value}" name="select_1" id="select_franchise" class="radio_margin" onClick="javascript:is_main_selector_selection(false); get_default('franchise', '{$franchise_items1_reftable_id}', '{$franchise_items2_reftable_id}', '{$franchise_items3_reftable_id}', false, true); get_season_by_selection(document.getElementById('franchise_selector').value);  get_section_letter(document.getElementById('section00'), this.value, '{document('/var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/xml/franchises.xml')//franchise/items0/@group}');  start_animation_id('{document('/var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/xml/franchises.xml')//franchise/items0/@animtype}'); hide_this(season_to_hide);"/> <span id="franchise_text"></span>
					</label>
					</div>
				</div>
				
				<div class="col-sm-6">

                    <div>
    					<select id="franchise_selector" name="franchise_selector" style="display:none;" class="form-control" onChange="get_season_by_selection(this.value); get_section_letter(document.getElementById('section01'), this.value);">
    						<xsl:for-each select="document('/var/www/lhjmq-records.qc.ca/public_html/xsl/records/book/xml/franchises.xml')//franchise/items0/item" >
    							<option value="{./@value}|{./@yearin}|{./@yearout}" title="{./@label}">
    								<xsl:value-of select="./@label" />
    							</option>
    						</xsl:for-each>
    					</select>
    				</div>

				</div>
			</div>

		</div>

	</xsl:template>

</xsl:stylesheet>