<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
	xmlns:xhtml="http://www.w3.org/1999/xhtml"
	xmlns="http://www.w3.org/1999/xhtml">
	<xsl:output method="xml" indent="yes" encoding="UTF-8" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" />
	<xsl:template match="xhtml:reply">
		<xsl:apply-templates select="@*|node()"/>
	</xsl:template>
	
	<xsl:template match="@*|node()" priority="-1">
		<xsl:copy>
			<xsl:apply-templates select="@*"/>
			<xsl:apply-templates/>
		</xsl:copy>
	</xsl:template>
<xsl:template match="/">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:xhtml="http://www.w3.org/1999/xhtml">
<head>
  <title>Kinkrforum - <xsl:value-of select="/topic/@title" /></title>
  <link rel="stylesheet" type="text/css" href="fokmockup.css" />
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <script src="fokscript.js" type="text/javascript"></script>
  <base href="http://forum.fok.nl" />
</head>

    <body>
        <div id="disclaimer">
            <h2>
                Alle layout-items op deze pagina zijn eigendom van <a href="http://fok.nl">FOK!</a>
            </h2><a href="javascript:hideDisclaimer()">verberg deze disclaimer</a> <a href="javascript:hideDisclaimer('weg')">hou 'm ff weg a.u.b.</a>
        </div>
        <div id="topbalk">
            <!-- topbalk -->
            <div id="topbalklogo"></div><a href="true"><img id="true" src="http://i.fokzine.net/core/i/true_small_topbar.gif" alt="Powered by True" title="FOK! is powered by TRUE" /></a>
            <div id="iezuigt">
                <div id="topbalkleft">
                    <a href="http://frontpage.fok.nl">frontpage</a> <a href="http://sport.fok.nl">sport</a> <a href="http://games.fok.nl">games</a> <a id="active" href="http://forum.fok.nl" name="active">forum</a> <a href="http://weblog.fok.nl">weblog</a> <a href="http://fotoboek.fok.nl">fotoboek</a> <a href="http://irc.fok.nl">chat</a> <a href="http://foknl.wordpress.com">dev</a> <a href="http://messages.fok.nl"><img src="http://i.fokzine.net/pm_media/swtb_no_pm.png" alt="PM" title="Er zijn geen ongelezen berichten" /></a>
                </div>
            </div>
        </div><!-- /topbalk -->
        <div id="forum">
            <!--forum-->
            <div id="header">
                <!--forumheader-->
                <div id="userinfo">
                    <p>
                        je bent ingelogd als: <a href="/user/history/40119">mcDavid</a>
                    </p>
                </div>
                <div id="menu">
                    <a href="/user/logout" title="uitloggen">Logout</a>| <a href="/user/profile" title="Profiel wijzigen">Wijzig profiel</a>| <a href="/rde/edit_prefs" title="Wijzig je instellingen">Opties</a>| <a href="/index/reset" title="Markeer alles als gelezen. Sneltoets: Alt-R" accesskey="r">Reset cookie</a>| <a href="/rde/list_bookmarks" title="Bekijk je bookmarks. Sneltoets: Alt-B" accesskey="b">Bookmarks</a>| <a href="/rde/faq" title="Lees de FAQ &amp; Policy">FAQ &amp; Policy</a>| <a href="/active" title="Active topics. Sneltoets: Alt-A" accesskey="a">Active Topics</a>| <a href="/user/active/1" title="My Active Topics. Sneltoets: Alt-M" accesskey="m">My Active Topics</a>| <a href="/rde/list_new_topics" title="Nieuwe topics">Nieuwe Topics</a>| <a href="http://www.thuisserver.net/foksearch" title="Zoeken op het forum">Zoeken</a>
                </div>
                <div id="banner">
                    <h1>
                        banner
                    </h1>
                </div>
                <div id="breadcrumb">
                    <a href="/index/forumindex">Index</a> / <a href="/forum/1">Feedback----------------------Net onder de banner door</a>
                    <div id="topictitle">
                        <h1><xsl:value-of select="/topic/@title" /></h1>
			<a href="/rde/printtopic/1" title="print dit topic"><img src="http://duft.nl/fok/printer.gif" alt="print topic" /></a> <a href="/rde/report_topic/1" title="Waarschuw een moderator"><img src="http://duft.nl/fok/mod.gif" alt="print topic" /></a> <a href="#" title="voeg dit topic toe aan bookmarks"><img src="http://duft.nl/fok/bookmark.gif" alt="print topic" /></a>
                    </div>
                </div>
                <div class="navigatie">
                    <div class="topicnavigatie">
                        Pagina: <span>1</span> <a href="/topic/1/2">2</a> <a href="/topic/1/3">3</a> <a href="/topic/1/4">4</a> <a href="/topic/1/5">5</a>
                    </div><a href="/rde/post_topic/1"><img alt="open nieuw topic" src="http://i.fokzine.net/templates/foksilver/i/newtopicon.gif" /></a> <a href="/rde/post_reply/1"><img alt="Reageer op dit topic" src="http://i.fokzine.net/templates/foksilver/i/replyon.gif" /></a>
                </div>
            </div><!-- /header-->
            <div id="topic">
                <!--topic-->
<xsl:for-each select="/topic/replies/*">
    <xsl:variable name="userid" select="./@userid" />
    <xsl:variable name="user" select="/topic/users/user[@id=$userid]" />


                <div class="post">
                    <a class="username" href="/user/history/{$userid}"><xsl:value-of select="$user/@username" /> </a>
                                        <span class="subtitle"><xsl:value-of select="$user/@subtitle" /></span>
          <xsl:if test="string-length($user/@icon) &gt; 0">
            <img src="http://i.fok.nl/usericons/{$userid}/{$user/@icon}" alt="usericon van $user" title="usericon van $user" class="avatar" />
          </xsl:if>

                    <a class="pi" href="#1"><img alt="PI" src="http://i.fokzine.net/templates/foksilver/i/p/{@pi}.gif" /></a>
                                        <a class="statuspi" href="/user/online" title="Online users"><img alt="[+]" src="http://duft.nl/fok/user_online.gif" /></a>
                                        <span class="posthead"> -  <xsl:value-of select="$user/@username" /> - <a href="#1"><xsl:value-of select="@date" /></a></span>
                    <div class="postbuttons">
                                                <img alt="Fotoboek" src="http://i.fokzine.net/templates/foksilver/i/fotoboek.gif" /><img alt="Homepage" src="http://i.fokzine.net/templates/foksilver/i/homepage.gif" /><img alt="PM" src="http://i.fokzine.net/templates/foksilver/i/pm.png" /><img alt="Profiel" src="http://i.fokzine.net/templates/foksilver/i/profiel.gif" /><img alt="Edit" src="http://i.fokzine.net/templates/foksilver/i/edit.gif" /><img alt="Quote" src="http://i.fokzine.net/templates/foksilver/i/quote.gif" />
                                        </div>
                                        <div class="postbody">
                        <p>
				<xsl:apply-templates select="node()" />				
                        </p>
                    </div>
                    <div class="postfooter">
			<xsl:apply-templates select="$user" />
                    </div>
                </div>

</xsl:for-each>


            </div><!--/topic-->
        </div><!--/forum-->
        <script type="text/javascript">
//<![CDATA[
        var disclaimer=getCookie('disclaimer');
        if (disclaimer=="none") {
                hideDisclaimer()
        }
        //]]>
        </script>
    </body>
</html>

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

