<?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE xsl:stylesheet  [
	<!ENTITY nbsp   "&#160;">
	<!ENTITY copy   "&#169;">
	<!ENTITY reg    "&#174;">
	<!ENTITY trade  "&#8482;">
	<!ENTITY mdash  "&#8212;">
	<!ENTITY ldquo  "&#8220;">
	<!ENTITY rdquo  "&#8221;"> 
	<!ENTITY pound  "&#163;">
	<!ENTITY yen    "&#165;">
	<!ENTITY euro   "&#8364;">
]>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" encoding="iso-8859-1" indent="yes" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" omit-xml-declaration="yes"/>
<xsl:param name="pageID" select="home"/>
<xsl:param name="lang" select="eng"/>
<xsl:param name="newID"/>
<xsl:include href="libreria.xsl"/>
<xsl:variable name="curr_event" select="//dati//new[@id = $newID]"/>
<xsl:template match="/">

<html>
<head>
<title>Café Kathmandu - <xsl:value-of select="$curr_event/titolo"/></title>
<xsl:call-template name="parole_chiave"/>
<script src="script/script.js" type="text/javascript" language="javascript"></script>
<link href="css/stili2.css" rel="stylesheet" type="text/css" />
</head>
<body class="popup" onload="window.focus()">
		<div id="testata">
			<img src="img/logo.jpg"/>
		</div>
			<div id="colonna_unica">
			<div id="main_menu"><a class="link_small" href="javascript:window.close()">Close window</a></div>
			<div id="corpo_colonna"> 
			<div class="data"><xsl:value-of select="$curr_event/data"/></div>
			<div class="titoli_rossi"><xsl:value-of select="$curr_event/titolo"/></div>
			<div id="main_event">
				<xsl:copy-of select="$curr_event/testo"/>
				  <xsl:if test="count($curr_event/links/link)">
					<div class="item_group_label">Links</div>
					  <div class="item_group">
						<xsl:for-each select="$curr_event/links/link">
							<xsl:element name="a">
								<xsl:attribute name="href"><xsl:value-of select="@url"/></xsl:attribute>
								<xsl:attribute name="target">_blank</xsl:attribute>
								<img src="img/link.gif" align="absmiddle" hspace="5" border="0"/>
								<xsl:value-of select="."/>
							</xsl:element>
						</xsl:for-each>
					  </div>
				  </xsl:if>
				  <xsl:if test="count($curr_event/attachments/attachment)">
					<div class="item_group_label">Attachments</div>
					  <div class="item_group">
						<xsl:for-each select="$curr_event/attachments/attachment">
							<xsl:variable name="tipo" select="substring-after(@url,'.')"/>
							<xsl:element name="a">
								<xsl:attribute name="href"><xsl:value-of select="@url"/></xsl:attribute>
								<xsl:attribute name="target">_blank</xsl:attribute>
								<img src="img/file_{$tipo}.gif" align="absmiddle" hspace="5" border="0"/>
								<xsl:value-of select="."/>
							</xsl:element>
						</xsl:for-each>
					  </div>
				  </xsl:if>
			</div>
		</div>
			<div id="chiusura">&#160;</div>
		</div>
</body>
</html>

</xsl:template>
</xsl:stylesheet>
