gzuncompress
|
Server IP : 172.19.0.2 / Your IP : 216.73.216.178 Web Server : Apache/2.4 System : Linux 880f91b28fd7 5.15.0-117-generic #127~20.04.1-Ubuntu SMP Thu Jul 11 15:36:12 UTC 2024 x86_64 User : tomlinde ( 155017) PHP Version : 5.6.40 Disable Function : dl, syslog, opcache_get_status MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0700) : /home/webpages/lima-city/tomlinde/html/lemoine/internals/themes/default/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] | [ Lock Shell ] | [ Logout ] |
|---|
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template name="overview">
<head>
<title><xsl:value-of select="//title"/></title>
<meta name="date" content="2012-07-21"/>
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico" />
<link rel="stylesheet" type="text/css" href="internals/themes/default/style.css" />
<xsl:comment><![CDATA[[if IE]>
<link rel="stylesheet" type="text/css" href="internals/themes/default/ie_style.css" />
<![endif]]]></xsl:comment>
<script type="text/javascript" src="internals/themes/default/jquery-1.7.2.min.js"></script>
<xsl:call-template name="imageArray"/>
<script type="text/javascript" src="internals/themes/default/overview.js"></script>
<!----><style>
#canvas {
position: absolute;
top: 30px; left: 0px;
/*width: 50%; height:50%;*/
}
</style>
<!--[if IE 6]>
<style type="text/css">
html { overflow-y: hidden; }
body { overflow-y: auto; }
#bg { position:absolute; z-index:-1; }
#content { position:static; }
</style>
<![endif]-->
</head>
<body>
<img src="http://palmdesign.111mb.de/image/267968-svetik.jpg" id="bg" /><!--mota_ru_0030903-previewm.jpg-->
<div id="content1"><!---->
<div id="title_box">
<span id="title_shadow">
<h1><a href="index.php"><xsl:value-of select="//title"/></a></h1>
</span>
</div>
<xsl:call-template name="path"/>
<xsl:call-template name="menu">
<xsl:with-param name="currentRoot" select="/page//folder[ ./path = /page/active]"/>
<xsl:with-param name="cssId">top_menu</xsl:with-param>
</xsl:call-template>
<div id="main">
<xsl:apply-templates select="/page//folder[ ./path = /page/active]" />
</div>
<xsl:call-template name="menu">
<xsl:with-param name="currentRoot" select="/page//folder[ ./path = /page/active]"/>
<xsl:with-param name="cssId">bottom_menu</xsl:with-param>
</xsl:call-template>
<div id="version_footer">Version <xsl:value-of select="//version"/></div>
</div><!--</div>-->
</body>
</xsl:template>
<xsl:template match="//folder">
<div class="folder">
<div class="folder_head">
<xsl:value-of select="./@name" />
</div>
<xsl:for-each select="./img">
<xsl:sort select="." />
<xsl:apply-templates select="." />
</xsl:for-each>
</div>
</xsl:template>
<xsl:template match="//img">
<div class="pic_box">
<a>
<xsl:attribute name="href">index.php?active=<xsl:value-of select="//folder[ path = /page/active ]/uriname" />&p=<xsl:value-of select="uriname" /></xsl:attribute>
<img>
<xsl:attribute name="src">
<xsl:choose>
<xsl:when test="/page/active = 'Other'">cachedImage.php?path=./&name=<xsl:value-of select="uriname" />&size=<xsl:for-each select="/page/cache/size"><xsl:sort select="number(substring-before(.,'x'))" data-type="number" /><xsl:if test="position() = 1"><xsl:value-of select="." /></xsl:if></xsl:for-each></xsl:when>
<xsl:otherwise>cachedImage.php?path=<xsl:value-of select="../uriname" />/&name=<xsl:value-of select="uriname" />&size=<xsl:for-each select="/page/cache/size"><xsl:sort select="number(substring-before(.,'x'))" data-type="number" /><xsl:if test="position() = 1"><xsl:value-of select="." /></xsl:if></xsl:for-each></xsl:otherwise>
</xsl:choose>
</xsl:attribute>
</img>
</a>
</div>
</xsl:template>
<xsl:template name="path">
<div class="path">
<xsl:for-each select="//folder[ path = /page/active ]/ancestor-or-self::folder">
<xsl:if test="position() > 1">></xsl:if>
<a class="path_entry"><xsl:attribute name="href">index.php?active=<xsl:value-of select="./uriname" /></xsl:attribute><xsl:value-of select="@name"/></a>
</xsl:for-each>
</div>
</xsl:template>
<xsl:template name="menu">
<xsl:param name="currentRoot"/>
<xsl:param name="cssId"/>
<div class="menu">
<xsl:attribute name="id"><xsl:value-of select="$cssId"/></xsl:attribute>
<a class="menu_entry" href="./videos/" style="float:right;">Videos</a>
<xsl:for-each select="$currentRoot/folder">
<xsl:sort select="./@name" />
<a>
<xsl:attribute name="class">menu_entry</xsl:attribute>
<xsl:attribute name="href">index.php?active=<xsl:value-of select="./uriname" /></xsl:attribute>
<xsl:value-of select="./@name" />
</a>
</xsl:for-each>
<div style="clear:both;"></div>
</div>
</xsl:template>
</xsl:stylesheet>