Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64
Your IP : 18.117.10.207
<?xml version="1.0" encoding="ISO-8859-1" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" />
<xsl:param name="xml_file_name" />
<xsl:param name="match_xml_path" select="'../../stats/match/'" />
<xsl:param name="full_xml_path" select="'../../stats/byseasons/'" />
<xsl:param name="tab02" />
<xsl:param name="lang" />
<xsl:param name="call_table" />
<xsl:param name="sort_no" />
<xsl:param name="sort_type" />
<xsl:param name="id_num" />
<xsl:param name="is_click" />
<xsl:param name="status_type" />
<xsl:param name="id_xml" select="substring-after($xml_file_name, '/')"/>
<xsl:param name="id_player" />
<xsl:param name="seasonsid" />
<xsl:param name="playoffsid" />
<xsl:param name="player_position" />
<xsl:param name="subtab" />
<xsl:include href="templates/match_templates.xsl" />
<xsl:include href="templates/staff_templates.xsl" />
<xsl:include href="templates/officials_templates.xsl" />
<xsl:include href="templates/by_season_templates.xsl" />
<xsl:include href="templates/tabs_templates.xsl" />
<xsl:template match="/">
<div>
<xsl:call-template name="tabs" />
<div>
<xsl:choose>
<xsl:when test="$xml_file_name != 'default.xml' and $tab02 = $xml_file_name">
<xsl:choose>
<xsl:when test="$status_type = 'status_3/'">
<xsl:call-template name="officials_table" >
<xsl:with-param name="officials_xml_file" select="$xml_file_name" />
</xsl:call-template>
</xsl:when>
<xsl:when test="$status_type = 'status_2/'">
<xsl:call-template name="staff_table" >
<xsl:with-param name="staff_xml_file" select="$xml_file_name" />
</xsl:call-template>
</xsl:when>
<xsl:when test="$subtab = '0'">
<xsl:call-template name="by_season_table" >
<xsl:with-param name="by_season_xml_file" select="$xml_file_name" />
<xsl:with-param name="sort_order" select="$sort_type" />
</xsl:call-template>
</xsl:when>
<xsl:when test="$subtab = '1'">
<xsl:call-template name="match_by_match" >
<xsl:with-param name="sort_order" select="$sort_type" />
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="by_season_table" >
<xsl:with-param name="by_season_xml_file" select="$xml_file_name" />
<xsl:with-param name="sort_order" select="$sort_type" />
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:when test="$xml_file_name != 'default.xml' and $tab02 != 'true' and $subtab = '1'">
<xsl:call-template name="match_by_match" >
<xsl:with-param name="sort_order" select="$sort_type" />
</xsl:call-template>
</xsl:when>
<xsl:when test="$xml_file_name != 'default.xml' and $tab02 != 'true'">
<xsl:call-template name="match_by_match" >
<xsl:with-param name="sort_order" select="$sort_type" />
</xsl:call-template>
</xsl:when>
<xsl:when test="$tab02 = 'true'">
<xsl:choose>
<xsl:when test="$status_type = 'status_3/'">
<xsl:call-template name="officials_table" >
<xsl:with-param name="officials_xml_file" select="$xml_file_name" />
</xsl:call-template>
</xsl:when>
<xsl:when test="$status_type = 'status_2/'">
<xsl:call-template name="staff_table" >
<xsl:with-param name="staff_xml_file" select="$xml_file_name" />
</xsl:call-template>
</xsl:when>
<xsl:when test="$subtab = '0'">
<xsl:call-template name="by_season_table" >
<xsl:with-param name="by_season_xml_file" select="$xml_file_name" />
<xsl:with-param name="sort_order" select="$sort_type" />
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="by_season_table" >
<xsl:with-param name="by_season_xml_file" select="$xml_file_name" />
<xsl:with-param name="sort_order" select="$sort_type" />
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:when test="$tab02 = 'false'">
<xsl:choose>
<xsl:when test="$xml_file_name = 'default.xml'">
<div class="tbl_pplayer">
<div id="detaillee"></div>
</div>
</xsl:when>
<xsl:otherwise>
<xsl:choose>
<xsl:when test="$status_type = 'status_3/'">
<xsl:call-template name="officials_table" >
<xsl:with-param name="officials_xml_file" select="$xml_file_name" />
</xsl:call-template>
</xsl:when>
<xsl:when test="$status_type = 'status_2/'">
<xsl:call-template name="staff_table" >
<xsl:with-param name="staff_xml_file" select="$xml_file_name" />
</xsl:call-template>
</xsl:when>
<xsl:when test="$subtab = '0'">
<xsl:call-template name="by_season_table" >
<xsl:with-param name="by_season_xml_file" select="$xml_file_name" />
<xsl:with-param name="sort_order" select="$sort_type" />
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="by_season_table" >
<xsl:with-param name="by_season_xml_file" select="$xml_file_name" />
<xsl:with-param name="sort_order" select="$sort_type" />
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:when test="$tab02 != ''">
<xsl:choose>
<xsl:when test="$status_type = 'status_3/'">
<xsl:call-template name="officials_table" >
<xsl:with-param name="officials_xml_file" select="$tab02" />
</xsl:call-template>
</xsl:when>
<xsl:when test="$status_type = 'status_2/'">
<xsl:call-template name="staff_table" >
<xsl:with-param name="staff_xml_file" select="$tab02" />
</xsl:call-template>
</xsl:when>
<xsl:when test="$subtab = '0'">
<xsl:call-template name="by_season_table" >
<xsl:with-param name="by_season_xml_file" select="$xml_file_name" />
<xsl:with-param name="sort_order" select="$sort_type" />
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="by_season_table" >
<xsl:with-param name="by_season_xml_file" select="$tab02" />
<xsl:with-param name="sort_order" select="$sort_type" />
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:when>
<xsl:when test="$subtab = '1'">
<xsl:call-template name="match_by_match" >
<xsl:with-param name="sort_order" select="$sort_type" />
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="match_by_match" >
<xsl:with-param name="sort_order" select="$sort_type" />
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</div>
</div>
</xsl:template>
</xsl:stylesheet>
|