svn path=/Website/trunk/; revision=4174
This commit is contained in:
Arthur Egberink
2011-07-26 15:14:36 +00:00
parent a2591d547a
commit 9a8257153f

View File

@@ -3,7 +3,7 @@
<xsl:import href="../../../appl/shared/default.xsl"/>
<xsl:variable name="Rev">
<!-- Revision van deze cust.xsl -->
<xsl:value-of select="substring(translate('$Revision: 14 $', '$ ', ''), 10)"/>
<xsl:value-of select="substring(translate('$Revision: 15 $', '$ ', ''), 10)"/>
</xsl:variable>
<xsl:template match="rapport">
@@ -54,106 +54,94 @@
overflow: hidden;
}</style>
<script language="javascript">
function resizeIframe()
{
var height = parseInt(parent.document.documentElement.clientHeight);
var myFrame = document.getElementById('infobord123');
if(myFrame){
myFrame.height = height +"px";
}
};
</script>
</head>
<body bgcolor="white" onLoad="parent.Activate();parent.document.body.style.overflow='hidden';">
<xsl:if test="$bezoek='ja'">
<table height="100%" width="100%" cellpadding="0" cellspacing="0">
<xsl:for-each select="rapport_data/data_row">
<xsl:if test="position()=1">
<tr height="20">
<td align="center" width="100%" background="../../cust/bofo/infobord/welkom_tile.jpg">
<img src="../../cust/bofo/infobord/welkom.jpg"/>
</td>
<td>
<img src="../../cust/bofo/infobord/welkom_end.jpg"/>
</td>
</tr>
<tr>
<td height="50%"></td>
</tr>
</xsl:if>
<tr>
<td colspan="2" class="naam">
<xsl:value-of select="BEZOEKERS"/>
</td>
</tr>
</xsl:for-each>
<tr>
<td height="50%" colspan="2"></td>
</tr>
<tr height="200">
<td style="padding-left:30">
<img width="400" src="../../cust/bofo/infobord/bf_logo_ontwikkeling_RGB-kl.jpg"/>
</td>
</tr>
<tr>
<td height="20" colspan="2"></td>
</tr>
</table>
</xsl:if>
<xsl:if test="$bezoek='nee'">
<xsl:choose>
<xsl:when test="contains($ruimte, '[1.114]')">
<iframe id="infobord123" frameborder="0" scrolling="no" width="100%" height="100%" src="../../cust/bofo/infobord/slides/1e%20scherm.html"/>
</xsl:when>
<xsl:when test="contains($ruimte, '[1.115]')">
<iframe id="infobord123" frameborder="0" scrolling="no" width="100%" height="100%" src="../../cust/bofo/infobord/slides/2e%20scherm.html"/>
</xsl:when>
<xsl:when test="contains($ruimte, '[1.116]')">
<iframe id="infobord123" frameborder="0" scrolling="no" width="100%" height="100%" src="../../cust/bofo/infobord/slides/3e%20scherm.html"/>
</xsl:when>
<xsl:when test="contains($ruimte, '[1.103]')">
<iframe id="infobord123" frameborder="0" scrolling="no" width="100%" height="100%" src="../../cust/bofo/infobord/slides/4e%20scherm.html"/>
</xsl:when>
<xsl:when test="contains($ruimte, '[1.102]')">
<iframe id="infobord123" frameborder="0" scrolling="no" width="100%" height="100%" src="../../cust/bofo/infobord/slides/5e%20scherm.html"/>
</xsl:when>
<xsl:otherwise>
<table height="100%" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td>
<xsl:element name="embed">
<xsl:choose>
<xsl:when test="contains($ruimte, '[1.104]')">
<xsl:attribute name="src">
<xsl:text disable-output-escaping="yes">http://www.youtube.com/v/1afhVoUiTPU&amp;loop=1&amp;hl=en&amp;fs=1&amp;autoplay=1&amp;fmt=32&amp;hd=1</xsl:text>
</xsl:attribute>
</xsl:when>
<xsl:when test="contains($ruimte, '[1.117]')">
<xsl:attribute name="src">
<xsl:text disable-output-escaping="yes">http://www.youtube.com/v/M3eJOfQl7LE&amp;loop=1&amp;hl=en&amp;fs=1&amp;autoplay=1&amp;fmt=32&amp;hd=1</xsl:text>
</xsl:attribute>
</xsl:when>
</xsl:choose>
<xsl:attribute name="quality">high</xsl:attribute>
<xsl:attribute name="bgcolor">#ffffff</xsl:attribute>
<xsl:attribute name="width">100%</xsl:attribute>
<xsl:attribute name="height">100%</xsl:attribute>
<xsl:attribute name="name">presentation</xsl:attribute>
<xsl:attribute name="align">middle</xsl:attribute>
<xsl:attribute name="allowScriptAccess">sameDomain</xsl:attribute>
<xsl:attribute name="type">application/x-shockwave-flash</xsl:attribute>
<xsl:attribute name="pluginspage">http://www.adobe.com/go/getflashplayer</xsl:attribute>
<xsl:attribute name="allowFullScreen">true</xsl:attribute>
</xsl:element>
</td>
</tr>
</table>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
<body onLoad="parent.Activate();parent.document.body.style.overflow='hidden';">
<table height="100%" width="100%" cellpadding="0" cellspacing="0">
<xsl:if test="$bezoek='ja'">
<xsl:for-each select="rapport_data/data_row">
<xsl:if test="position()=1">
<tr height="20">
<td align="center" width="100%" background="../../cust/bofo/infobord/welkom_tile.jpg">
<img src="../../cust/bofo/infobord/welkom.jpg"/>
</td>
<td>
<img src="../../cust/bofo/infobord/welkom_end.jpg"/>
</td>
</tr>
<tr>
<td height="50%"></td>
</tr>
</xsl:if>
<tr>
<td colspan="2" class="naam">
<xsl:value-of select="BEZOEKERS"/>
</td>
</tr>
</xsl:for-each>
<tr>
<td height="50%" colspan="2"></td>
</tr>
<tr height="200">
<td style="padding-left:30">
<img width="400" src="../../cust/bofo/infobord/bf_logo_ontwikkeling_RGB-kl.jpg"/>
</td>
</tr>
<tr>
<td height="20" colspan="2"></td>
</tr>
</xsl:if>
<xsl:if test="$bezoek='nee'">
<tr>
<td>
<xsl:element name="embed">
<xsl:choose>
<xsl:when test="contains($ruimte, '[1.114]')">
<xsl:attribute name="src">../../cust/bofo/infobord/Slides-verkoopscherm-Da-Gama.swf</xsl:attribute>
</xsl:when>
<xsl:when test="contains($ruimte, '[1.115]')">
<xsl:attribute name="src">../../cust/bofo/infobord/Slides-verkoopscherm-Marco-Polo.swf</xsl:attribute>
</xsl:when>
<xsl:when test="contains($ruimte, '[1.116]')">
<xsl:attribute name="src">../../cust/bofo/infobord/Slides-verkoopscherm-Da-Vinci.swf</xsl:attribute>
</xsl:when>
<xsl:when test="contains($ruimte, '[1.103]')">
<xsl:attribute name="src">../../cust/bofo/infobord/Slides-verkoopscherm-Tasman.swf</xsl:attribute>
</xsl:when>
<xsl:when test="contains($ruimte, '[1.102]')">
<xsl:attribute name="src">../../cust/bofo/infobord/Slides-verkoopscherm-Huygen.swf</xsl:attribute>
</xsl:when>
<xsl:when test="contains($ruimte, '[1.104]')">
<xsl:attribute name="src">
<xsl:text disable-output-escaping="yes">http://www.youtube.com/v/1afhVoUiTPU&amp;loop=1&amp;hl=en&amp;fs=1&amp;autoplay=1&amp;fmt=32&amp;hd=1</xsl:text>
</xsl:attribute>
</xsl:when>
<xsl:when test="contains($ruimte, '[1.117]')">
<xsl:attribute name="src">
<xsl:text disable-output-escaping="yes">http://www.youtube.com/v/M3eJOfQl7LE&amp;loop=1&amp;hl=en&amp;fs=1&amp;autoplay=1&amp;fmt=32&amp;hd=1</xsl:text>
</xsl:attribute>
</xsl:when>
</xsl:choose>
<xsl:attribute name="quality">high</xsl:attribute>
<xsl:attribute name="bgcolor">#ffffff</xsl:attribute>
<xsl:attribute name="width">100%</xsl:attribute>
<xsl:attribute name="height">100%</xsl:attribute>
<xsl:attribute name="name">presentation</xsl:attribute>
<xsl:attribute name="align">middle</xsl:attribute>
<xsl:attribute name="allowScriptAccess">sameDomain</xsl:attribute>
<xsl:attribute name="type">application/x-shockwave-flash</xsl:attribute>
<xsl:attribute name="pluginspage">http://www.adobe.com/go/getflashplayer</xsl:attribute>
<xsl:attribute name="allowFullScreen">true</xsl:attribute>
</xsl:element>
</td>
</tr>
</xsl:if>
</table>
</body>
</html>
</xsl:if>