gzuncompress NineSec Team Shell
NineSec Team Shell
Server IP : 172.19.0.3  /  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 (0755) :  /home/webpages/lima-city/tomlinde/html/Dokumente/../Diamondecondo/gallery/

[  Home  ][  C0mmand  ][  Upload File  ][  Lock Shell  ][  Logout  ]

Current File : /home/webpages/lima-city/tomlinde/html/Dokumente/../Diamondecondo/gallery/pictures.xsl
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="/">
	<html>
		<xsl:choose>
			<xsl:when test="count(//@current) > 0">
				<xsl:call-template name="fullscreen"/>
			</xsl:when>
			<xsl:otherwise>
				<xsl:call-template name="overview"/>
			</xsl:otherwise>
		</xsl:choose>
	</html>
</xsl:template>


<xsl:template name="overview">
	<head>
		<title><xsl:value-of select="//title"/></title>
		<meta name="author" content="Tom Lindemann"/>
		<meta name="keywords" content="condo, Appartement, Thailand, Pattaya, Jomtien, 1 Zimmerwohnung zu verkaufen, Condo for sale"/>		
		<link rel="stylesheet" type="text/css" href="style.css" />
 		<xsl:comment><![CDATA[[if IE]>
                <link rel="stylesheet" type="text/css" href="ie.css" />
                <![endif]]]></xsl:comment>
		<link rel="shortcut icon" type="image/x-icon" href="image/favicon.ico" />
	</head>
	<body>
		<div id="title_box">
			<h2><xsl:value-of select="//title"/></h2>
		</div>
		<xsl:call-template name="menu"/>
		<div id="main">
			<xsl:if test="/website/active != 'Other'">
				<xsl:apply-templates select="/website/folder[ @name = /website/active]" />
			</xsl:if>
			<xsl:if test="/website/active = 'Other'">
			<div class="folder">
				<div class="folder_head">Other</div>
				<xsl:for-each select="/website/img">
					<xsl:sort select="." />
					<xsl:apply-templates select="." />
				</xsl:for-each>
			</div>
			</xsl:if>
		</div>
		<xsl:call-template name="menu"/>
	</body>
</xsl:template>

<xsl:template name="fullscreen">
	<head>
		<title>Javascript image test</title>
		<style>
			body {
				background:black;
				width:100%;
				margin:0;
				padding:10px 0 0 0;
			}
		</style>
		<script type="text/javascript">
			<xsl:call-template name="imageArray"/>
		</script>
		<script src="fullscreen.js" type="text/javascript"></script>
		<link rel="shortcut icon" type="image/x-icon" href="image/favicon.ico" />
	</head>
	<body onresize="fitPic()">
		<div id="container" style="text-align:center;">
			<img id="pic" onclick="nextPic()" style="display:none;" onload="fitPic(); updateCache(currentPic, 3);">
				
				<xsl:attribute name="src">
					<xsl:choose>
						<xsl:when test="/website/active = 'Other'">
							pictures/<xsl:value-of select="//img[@current = 'true']" />
						</xsl:when>
						<xsl:otherwise>
							pictures/<xsl:value-of select="/website/active" />/<xsl:value-of select="//img[@current = 'true']" />
						</xsl:otherwise>
					</xsl:choose>
				</xsl:attribute>
			</img>
		</div>
	</body>
</xsl:template>

<xsl:template match="//folder">
	<div class="folder">
		<div class="folder_head">
			<xsl:value-of select="./@name" />
		</div>
		<xsl:if test="./@name = 'Diamonde-Condo'">	
		      <div style="color:navy">
 		      in Pattaya <br/>
		      38 m²<br/>
		      mit Swimming pool, sauna und Fitnessraum.<br/>
		      nach deutscher zählweise im 1. Stock<br/>
		      Preis: 2.000.000 THB (ca.50.900 Euro stand 01.06.2012)<br/>
		      <br/>

		      38 sq.m <br/>
		      with swimming pool, sauna and studio,<br/>
		      the apartment is in the second floor<br/>  
		      price 2,000,000 THB<br/>
		      </div>
		</xsl:if>

		<xsl:if test="./@name = 'Villa-Germania 1Zi'">
		      <div style="color:navy">
		      in Jomtien in der Villa-Germania<br/>
		      Resturant mit Deutscher-Küche im Haus<br/>
		      39 m²<br/>
		      mit Swimming pool<br/>
		      im 9. Stock<br/>
		      Preis: 2.000.000 THB (ca.50.900 Euro stand 01.06.2012)<br/>
		      </div>
		</xsl:if>

		<xsl:if test="./@name = 'Villa-Germania 2Zi'">
		      <div style="color:navy">
		      in Jomtien in der Villa-Germania<br/>
		      2 Zimmerwohnung mit Duschbad, Einbauküche, <br/>
		      78 m²<br/>
		      im 5. Stock<br/>
		      Resturant mit Deutscher-Küche im Haus<br/>
		     
		      mit Swimming pool<br/>
		      
		      Preis: 3.200.000 THB (ca.81.400 Euro stand 01.06.2012)<br/>
                      </div>
		</xsl:if>

		<xsl:for-each select="./img">
			<xsl:sort select="." />
			<xsl:apply-templates select="." />
		</xsl:for-each>
<!--<div id="map_canvas">
<br/>


<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script type="text/javascript">
	function initialize() {
		var latlng = new google.maps.LatLng(12.911743,100.872442);
		var myOptions = {
			zoom: 14,
			center: latlng,
			mapTypeId: google.maps.MapTypeId.ROADMAP
		};
		var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
		marker = new google.maps.Marker({
			map: map, 
			position: latlng
		});
		marker.setVisible(true);
	}
	window.onload = initialize;
</script>
</div>-->
<p style="color:navy;text-align:center;">
<iframe src="http://www.facebook.com/plugins/like.php?href=http://www.apartment-jomtien.com"
        scrolling="no" frameborder="0"
        style="border:none; width:450px; height:80px">
</iframe>
</p>
	</div>
</xsl:template>

<xsl:template match="//img">
	<div class="pic_box">
		<a>
		<xsl:attribute name="href">
			pictures/<xsl:value-of select="/website/active" />/<xsl:value-of select="." />
			<!--index.php?active=<xsl:value-of select="/website/active" />&amp;p=<xsl:value-of select="." />-->
		</xsl:attribute>
			<img>
				<xsl:attribute name="src">
					cachedImage.php?path=<xsl:value-of select="../@name" />/&amp;name=<xsl:value-of select="." />&amp;size=<xsl:for-each select="/website/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:attribute>
			</img>
		</a>
	</div>
</xsl:template>

<xsl:template name="menu">
	<div class="menu">
		<xsl:for-each select="/website/folder">
			<xsl:sort select="./@name" />
			<a>
				<xsl:choose>
					<xsl:when test="./@name = /website/active">
						<xsl:attribute name="class">menu_entry menu_selected</xsl:attribute>
					</xsl:when>
					<xsl:otherwise>
						<xsl:attribute name="class">menu_entry</xsl:attribute>
					</xsl:otherwise>
				</xsl:choose>
				<xsl:attribute name="href">
					index.php?active=<xsl:value-of select="./@name" />
				</xsl:attribute>
				<xsl:value-of select="./@name" />
			</a>
		</xsl:for-each>
<a class="menu_entry" href="http://www.toms-web-design.de">Toms-Web-Design.de</a>
<a class="menu_entry" href="http://www.apartment-jomtien.com/index.php?page=kontakt">Kontakt</a>
<a class="menu_entry" href="http://www.apartment-jomtien.com">zurück zur Startseite</a>
		
		<!--<a href="index.php?active=Other">
			<xsl:choose>
				<xsl:when test="/website/active = 'Other'">
					<xsl:attribute name="class">menu_entry menu_selected</xsl:attribute>
				</xsl:when>
				<xsl:otherwise>
					<xsl:attribute name="class">menu_entry</xsl:attribute>
				</xsl:otherwise>
			</xsl:choose>
		Other</a>
		
		<a class="menu_entry" href="./videos/">videos</a>-->
	</div>
</xsl:template>

<xsl:template name="imageArray">
	var myPics=new Array();
	<xsl:choose>
		<xsl:when test="/website/active = 'Other'">
			<xsl:for-each select="/website/img"><xsl:sort select="." />
				myPics[<xsl:value-of select="position()-1"/>]="<xsl:value-of select="."/>";
				<xsl:if test="./@current = 'true'">currentPic = <xsl:value-of select="position()-1"/>;</xsl:if>
			</xsl:for-each>
		</xsl:when>
		<xsl:otherwise>
			<xsl:for-each select="//img[../@name = /website/active] "><xsl:sort select="." />
				myPics[<xsl:value-of select="position()-1"/>]="<xsl:value-of select="."/>";
				<xsl:if test="./@current = 'true'">currentPic = <xsl:value-of select="position()-1"/>;</xsl:if>
			</xsl:for-each>
		</xsl:otherwise>
	</xsl:choose>
	var activeFolder = "<xsl:value-of select="/website/active"/>";
	
	var cacheSizes = new Array();
	<xsl:for-each select="/website/cache/size"><xsl:sort select="number(substring-before(.,'x'))" data-type="number" />
	cacheSizes[<xsl:value-of select="position()-1"/>]="<xsl:value-of select="."/>";
	</xsl:for-each>
</xsl:template>

</xsl:stylesheet>

NineSec Team - 2022