5733
ID | 5733 |
Data | 2018-09-07 |
Symbol | 2018/09/07/5733 |
Instytucja | Urząd Gminy Przykona |
Nazwa | Wniosek do Wójta Gminy Przykona o przyznanie stypendium za wybitne osiągnięcia w nauce, sporcie lub dziedzinie kultury i sztuki |
Czy Aktualny | 1 |
---|
Ustawy (1)
Pliki
Styl
<?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wnio="http://crd.gov.pl/wzor/2018/09/07/5733/" xmlns:meta="http://crd.gov.pl/xml/schematy/meta/2009/11/16/" xmlns:str="http://crd.gov.pl/xml/schematy/struktura/2009/11/16/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:oso="http://crd.gov.pl/xml/schematy/osoba/2009/11/16/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:inst="http://crd.gov.pl/xml/schematy/instytucja/2009/11/16/" xmlns:adr="http://crd.gov.pl/xml/schematy/adres/2009/11/09/" xmlns="http://www.w3.org/1999/xhtml" xmlns:xf="http://www.w3.org/2002/xforms" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xhtml="http://www.w3.org/1999/xhtml" version="1.0">
<xsl:template match="/">
<html>
<head>
<style type="text/css">
body { background-color: #FFFFFF; margin: 0px 0px 0px 0px;
font-family: Verdana, Helvetica, sans-serif; font-size : 12px; }
table .title { background-color: #FFFFFF; width:100%; border: 0px; }
p { margin-top: 1em; margin-bottom: 1em; }
h1 { font-size: 24px; margin-top: 0; background-color: #dde; font-weight: bold; font-size: 14px; text-align: left; padding-left: 1em; padding-right: 1em; padding-top: .2em; padding-bottom: .2em; margin-top: 0; margin-bottom: 0; border-bottom: solid 1px #99c; line-height: 180%;}
h2 {color: #336; background-color: #dde; font-size: 9pt; font-weight: bold; padding-left: 1em; padding-right: 1em; padding-top: .2em; padding-bottom: .2em; margin-top: 2em; margin-bottom: 1em; border-bottom: solid 1px #336; clear: right;}
h3 { font-size: 14px; margin-top: 2em; color: #0A2D4C; }
h4 { font-size: 12px; margin-top: 2em; color: #4A6D8C; }
b { color: #4A6D8C; }
li { line-height: 1.2em; }
h1, h2 { text-align:center !important; }
h1 { margin-bottom:15px !important; }
h3, h4 { margin-top:8px ; margin-bottom:8px; }
table { border-collapse: collapse; margin:0; padding:0; width:100%; margin-bottom: 3px; }
td, th { border: 1px solid #CCC; padding:3px; }
th { background-color:#EEE; text-align:left; font-weight:normal; }
textarea { width: 90%; height: 100% }
</style>
</head>
<body>
<div style="width: 900px; margin: 0 auto;">
<xsl:for-each select="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc">
<h1 style="text-align: center;">Wniosek do Wójta Gminy Przykona
o przyznanie stypendium za wybitne osiągnięcia w nauce, sporcie lub
dziedzinie kultury i sztuki</h1>
<h2>NAGŁÓWEK</h2>
<table border="1px">
<tr>
<th style="width: 15%">Miejsce składania:</th>
<th>
<xsl:value-of select="wnio:Naglowek/wnio:MiejsceSkladania" disable-output-escaping="no"/>
</th>
</tr>
</table>
<xsl:for-each select="wnio:Wnioskodawca">
<table>
<tr>
<th colspan="7">
<h4>DANE OSOBOWE WNIOSKODAWCY</h4>
</th>
</tr>
<tr>
<th colspan="7">Wniosek mogą złożyć: rodzice ucznia, prawni opiekunowie, pełnoletni uczeń, dyrektor
szkoły
</th>
</tr>
<tr>
<th style="width: 10%">Rodzaj</th>
<td colspan="6">
<xsl:if test="./@typPodmiotu = 'osoba_fizyczna'">
<xsl:value-of select="'osoba fizyczna'"/>
</xsl:if>
<xsl:if test="./@typPodmiotu = 'osoba_prawna'">
<xsl:value-of select="'osoba prawna'"/>
</xsl:if>
<xsl:if test="./@typPodmiotu = 'jednostka_organizacyjna'">
<xsl:value-of select="'jednostka organizacyjna, w tym spółka, nieposiadająca osobowości prawnej'"/>
</xsl:if>
</td>
</tr>
<xsl:for-each select="wnio:OsobaFizyczna">
<tr>
<th colspan="3">Nazwa szkoły (w przypadku gdy wnioskodawcą jest dyrektor)</th>
<td colspan="4">
<xsl:value-of select="wnio:NazwaSzkoly" disable-output-escaping="no"/>
</td>
</tr>
<tr>
<th style="width: 10%">Nazwisko</th>
<td style="width: 25%">
<xsl:value-of select="oso:Nazwisko" disable-output-escaping="no"/>
</td>
<th style="width: 10%">Imię</th>
<td style="width: 25%">
<xsl:value-of select="oso:Imie" disable-output-escaping="no"/>
</td>
<th style="width: 10%">Drugie imię</th>
<td>
<xsl:value-of select="oso:ImieDrugie" disable-output-escaping="no"/>
</td>
</tr>
<tr>
<th style="width: 10%">Data urodzenia</th>
<td style="width: 25%">
<xsl:value-of select="oso:DataUrodzenia" disable-output-escaping="no"/>
</td>
<th style="width: 10%">Miejsce urodzenia</th>
<td style="width: 25%">
<xsl:value-of select="wnio:MiejsceUrodzenia" disable-output-escaping="no"/>
</td>
<th style="width: 10%">PESEL</th>
<td style="width: 25%">
<xsl:value-of select="oso:PESEL" disable-output-escaping="no"/>
</td>
</tr>
</xsl:for-each>
<xsl:for-each select="wnio:OsobaNiefizyczna">
<tr>
<th style="width: 10%">Nazwa</th>
<td colspan="3" style="width: 25%">
<xsl:value-of select="inst:NazwaInstytucji" disable-output-escaping="no"/>
</td>
<th style="width: 10%">Nazwa skrócona</th>
<td style="width: 25%">
<xsl:value-of select="wnio:NazwaSkrocona" disable-output-escaping="no"/>
</td>
</tr>
<tr>
<th style="width: 10%">NIP</th>
<td style="width: 25%">
<xsl:value-of select="inst:NIP" disable-output-escaping="no"/>
</td>
<th style="width: 10%">REGON</th>
<td style="width: 25%">
<xsl:value-of select="inst:REGON" disable-output-escaping="no"/>
</td>
<th style="width: 10%">KRS</th>
<td>
<xsl:value-of select="inst:KRS" disable-output-escaping="no"/>
</td>
</tr>
</xsl:for-each>
</table>
<xsl:for-each select="wnio:Adres">
<table>
<tr>
<th colspan="6">
<h4>Adres</h4>
</th>
</tr>
<tr>
<th>Kraj</th>
<td colspan="5">
<xsl:value-of select="adr:Kraj" disable-output-escaping="no"/>
</td>
</tr>
<tr>
<th>Województwo</th>
<td>
<xsl:value-of select="adr:Wojewodztwo" disable-output-escaping="no"/>
</td>
<th>Powiat</th>
<td>
<xsl:value-of select="adr:Powiat" disable-output-escaping="no"/>
</td>
<th>Gmina</th>
<td>
<xsl:value-of select="adr:Gmina" disable-output-escaping="no"/>
</td>
</tr>
<tr>
<th>Miejscowość</th>
<td>
<xsl:value-of select="adr:Miejscowosc" disable-output-escaping="no"/>
</td>
<th>Kod pocztowy</th>
<td>
<xsl:value-of select="adr:KodPocztowy" disable-output-escaping="no"/>
</td>
<th>Poczta</th>
<td>
<xsl:value-of select="adr:Poczta" disable-output-escaping="no"/>
</td>
</tr>
<tr>
<th>Ulica</th>
<td>
<xsl:value-of select="adr:Ulica" disable-output-escaping="no"/>
</td>
<th>Nr domu</th>
<td>
<xsl:value-of select="adr:Budynek" disable-output-escaping="no"/>
</td>
<th>Nr lokalu</th>
<td>
<xsl:value-of select="adr:Lokal" disable-output-escaping="no"/>
</td>
</tr>
<tr>
<th>Telefon</th>
<td>
<xsl:value-of select="adr:Telefon" disable-output-escaping="no"/>
</td>
<th>E-mail</th>
<td colspan="3">
<xsl:value-of select="adr:Email" disable-output-escaping="no"/>
</td>
</tr>
</table>
</xsl:for-each>
<table>
<tr>
<th colspan="6">
<h4>
Adres korespondencyjny inny niż powyższy
<input type="checkbox" disabled="disabled"><xsl:if test="wnio:AdresKorespondencyjny/@wystepuje = 'tak'"><xsl:attribute name="checked"><xsl:value-of select="'checked'"/></xsl:attribute></xsl:if></input>
<xsl:value-of select="'tak'"/>
<input type="checkbox" disabled="disabled"><xsl:if test="wnio:AdresKorespondencyjny/@wystepuje = 'nie'"><xsl:attribute name="checked"><xsl:value-of select="'checked'"/></xsl:attribute></xsl:if></input>
<xsl:value-of select="'nie'"/>
</h4>
</th>
</tr>
<xsl:for-each select="wnio:AdresKorespondencyjny[@wystepuje='tak']">
<tr>
<th>Kraj</th>
<td colspan="5">
<xsl:value-of select="adr:Kraj" disable-output-escaping="no"/>
</td>
</tr>
<tr>
<th>Województwo</th>
<td>
<xsl:value-of select="adr:Wojewodztwo" disable-output-escaping="no"/>
</td>
<th>Powiat</th>
<td>
<xsl:value-of select="adr:Powiat" disable-output-escaping="no"/>
</td>
<th>Gmina</th>
<td>
<xsl:value-of select="adr:Gmina" disable-output-escaping="no"/>
</td>
</tr>
<tr>
<th>Miejscowość</th>
<td>
<xsl:value-of select="adr:Miejscowosc" disable-output-escaping="no"/>
</td>
<th>Kod pocztowy</th>
<td>
<xsl:value-of select="adr:KodPocztowy" disable-output-escaping="no"/>
</td>
<th>Poczta</th>
<td>
<xsl:value-of select="adr:Poczta" disable-output-escaping="no"/>
</td>
</tr>
<tr>
<th>Ulica</th>
<td>
<xsl:value-of select="adr:Ulica" disable-output-escaping="no"/>
</td>
<th>Nr domu</th>
<td>
<xsl:value-of select="adr:Budynek" disable-output-escaping="no"/>
</td>
<th>Nr lokalu</th>
<td>
<xsl:value-of select="adr:Lokal" disable-output-escaping="no"/>
</td>
</tr>
<tr>
<th>Telefon</th>
<td>
<xsl:value-of select="adr:Telefon" disable-output-escaping="no"/>
</td>
<th>E-mail</th>
<td colspan="3">
<xsl:value-of select="adr:Email" disable-output-escaping="no"/>
</td>
</tr>
</xsl:for-each>
</table>
<table>
<tr>
<th colspan="6">
<h4>
Pełnomocnik
<input type="checkbox" disabled="disabled"><xsl:if test="wnio:Pelnomocnik/@wystepuje = 'tak'"><xsl:attribute name="checked"><xsl:value-of select="'checked'"/></xsl:attribute></xsl:if></input>
<xsl:value-of select="'tak'"/>
<input type="checkbox" disabled="disabled"><xsl:if test="wnio:Pelnomocnik/@wystepuje = 'nie'"><xsl:attribute name="checked"><xsl:value-of select="'checked'"/></xsl:attribute></xsl:if></input>
<xsl:value-of select="'nie'"/>
</h4>
</th>
</tr>
<xsl:for-each select="wnio:Pelnomocnik[@wystepuje='tak']">
<tr>
<th>Imię</th>
<td>
<xsl:value-of select="oso:Imie" disable-output-escaping="no"/>
</td>
<th>Nazwisko</th>
<td>
<xsl:value-of select="oso:Nazwisko" disable-output-escaping="no"/>
</td>
<th>PESEL</th>
<td>
<xsl:value-of select="oso:PESEL" disable-output-escaping="no"/>
</td>
</tr>
</xsl:for-each>
</table>
</xsl:for-each>
<xsl:for-each select="wnio:Zawodnik">
<table>
<tr>
<th colspan="6">
<h4>DANE UCZNIA</h4>
</th>
</tr>
<tr>
<th style="width: 10%">Nazwisko</th>
<td style="width: 25%">
<xsl:value-of select="oso:Nazwisko" disable-output-escaping="no"/>
</td>
<th style="width: 10%">Imię</th>
<td style="width: 25%" colspan="3">
<xsl:value-of select="oso:Imie" disable-output-escaping="no"/>
</td>
</tr>
<tr>
<th style="width: 10%">Data urodzenia</th>
<td style="width: 25%">
<xsl:value-of select="oso:DataUrodzenia" disable-output-escaping="no"/>
</td>
<th style="width: 10%">Miejsce urodzenia</th>
<td style="width: 25%" colspan="3">
<xsl:value-of select="oso:MiejsceUrodzenia" disable-output-escaping="no"/>
</td>
</tr>
<tr>
<th style="width: 10%">Imię matki</th>
<td style="width: 25%">
<xsl:value-of select="oso:ImieMatki" disable-output-escaping="no"/>
</td>
<th style="width: 10%">Imię ojca</th>
<td style="width: 25%" colspan="3">
<xsl:value-of select="oso:ImieOjca" disable-output-escaping="no"/>
</td>
</tr>
<tr>
<th style="width: 10%">Telefon</th>
<td style="width: 25%" colspan="5">
<xsl:value-of select="wnio:NumerTelefonu" disable-output-escaping="no"/>
</td>
</tr>
</table>
<xsl:for-each select="wnio:Adres">
<table>
<tr>
<th colspan="6">
<h4>Adres</h4>
</th>
</tr>
<tr>
<th>Kraj</th>
<td colspan="5">
<xsl:value-of select="adr:Kraj" disable-output-escaping="no"/>
</td>
</tr>
<tr>
<th>Województwo</th>
<td>
<xsl:value-of select="adr:Wojewodztwo" disable-output-escaping="no"/>
</td>
<th>Powiat</th>
<td>
<xsl:value-of select="adr:Powiat" disable-output-escaping="no"/>
</td>
<th>Gmina</th>
<td>
<xsl:value-of select="adr:Gmina" disable-output-escaping="no"/>
</td>
</tr>
<tr>
<th>Miejscowość</th>
<td>
<xsl:value-of select="adr:Miejscowosc" disable-output-escaping="no"/>
</td>
<th>Kod pocztowy</th>
<td>
<xsl:value-of select="adr:KodPocztowy" disable-output-escaping="no"/>
</td>
<th>Poczta</th>
<td>
<xsl:value-of select="adr:Poczta" disable-output-escaping="no"/>
</td>
</tr>
<tr>
<th>Ulica</th>
<td>
<xsl:value-of select="adr:Ulica" disable-output-escaping="no"/>
</td>
<th>Nr domu</th>
<td>
<xsl:value-of select="adr:Budynek" disable-output-escaping="no"/>
</td>
<th>Nr lokalu</th>
<td>
<xsl:value-of select="adr:Lokal" disable-output-escaping="no"/>
</td>
</tr>
<tr>
<th>Telefon</th>
<td>
<xsl:value-of select="adr:Telefon" disable-output-escaping="no"/>
</td>
<th>E-mail</th>
<td colspan="3">
<xsl:value-of select="adr:Email" disable-output-escaping="no"/>
</td>
</tr>
</table>
</xsl:for-each>
<table>
<tr>
<th colspan="6">
<h4>
Adres korespondencyjny inny niż powyższy
<xsl:if test="wnio:AdresKorespondencyjny/@wystepuje = 'tak'"><xsl:value-of select="'tak'"/></xsl:if>
<xsl:if test="wnio:AdresKorespondencyjny/@wystepuje = 'nie'"><xsl:value-of select="'nie'"/></xsl:if>
</h4>
</th>
</tr>
<xsl:for-each select="wnio:AdresKorespondencyjny[@wystepuje='tak']">
<tr>
<th>Kraj</th>
<td colspan="5">
<xsl:value-of select="adr:Kraj" disable-output-escaping="no"/>
</td>
</tr>
<tr>
<th>Województwo</th>
<td>
<xsl:value-of select="adr:Wojewodztwo" disable-output-escaping="no"/>
</td>
<th>Powiat</th>
<td>
<xsl:value-of select="adr:Powiat" disable-output-escaping="no"/>
</td>
<th>Gmina</th>
<td>
<xsl:value-of select="adr:Gmina" disable-output-escaping="no"/>
</td>
</tr>
<tr>
<th>Miejscowość</th>
<td>
<xsl:value-of select="adr:Miejscowosc" disable-output-escaping="no"/>
</td>
<th>Kod pocztowy</th>
<td>
<xsl:value-of select="adr:KodPocztowy" disable-output-escaping="no"/>
</td>
<th>Poczta</th>
<td>
<xsl:value-of select="adr:Poczta" disable-output-escaping="no"/>
</td>
</tr>
<tr>
<th>Ulica</th>
<td>
<xsl:value-of select="adr:Ulica" disable-output-escaping="no"/>
</td>
<th>Nr domu</th>
<td>
<xsl:value-of select="adr:Budynek" disable-output-escaping="no"/>
</td>
<th>Nr lokalu</th>
<td>
<xsl:value-of select="adr:Lokal" disable-output-escaping="no"/>
</td>
</tr>
<tr>
<th>Telefon</th>
<td>
<xsl:value-of select="adr:Telefon" disable-output-escaping="no"/>
</td>
<th>E-mail</th>
<td colspan="3">
<xsl:value-of select="adr:Email" disable-output-escaping="no"/>
</td>
</tr>
</xsl:for-each>
</table>
<table>
<tr>
<th colspan="6">
<h4>
Pełnomocnik
<xsl:if test="wnio:Pelnomocnik/@wystepuje = 'tak'"><xsl:value-of select="'tak'"/></xsl:if>
<xsl:if test="wnio:Pelnomocnik/@wystepuje = 'nie'"><xsl:value-of select="'nie'"/></xsl:if>
</h4>
</th>
</tr>
<xsl:for-each select="wnio:Pelnomocnik[@wystepuje='tak']">
<tr>
<th>Imię</th>
<td>
<xsl:value-of select="oso:Imie" disable-output-escaping="no"/>
</td>
<th>Nazwisko</th>
<td>
<xsl:value-of select="oso:Nazwisko" disable-output-escaping="no"/>
</td>
<th>PESEL</th>
<td>
<xsl:value-of select="oso:PESEL" disable-output-escaping="no"/>
</td>
</tr>
</xsl:for-each>
</table>
<xsl:for-each select="wnio:InfoSzkolaPonadgimnazjalna">
<table>
<tr>
<th colspan="6">
<h4>Informacje o szkole ponadgimnazjalnej</h4>
</th>
</tr>
<tr>
<th>Nazwa szkoły</th>
<td colspan="3">
<xsl:value-of select="wnio:NazwaSzkoly" disable-output-escaping="no"/>
</td>
<th>Typ szkoły</th>
<td>
<xsl:value-of select="wnio:TypSzkoly" disable-output-escaping="no"/>
</td>
</tr>
<tr>
<th>Miejscowość</th>
<td>
<xsl:value-of select="adr:Miejscowosc" disable-output-escaping="no"/>
</td>
<th>Kod pocztowy</th>
<td>
<xsl:value-of select="adr:KodPocztowy" disable-output-escaping="no"/>
</td>
<th>Poczta</th>
<td>
<xsl:value-of select="adr:Poczta" disable-output-escaping="no"/>
</td>
</tr>
<tr>
<th>Ulica</th>
<td>
<xsl:value-of select="adr:Ulica" disable-output-escaping="no"/>
</td>
<th>Nr domu</th>
<td>
<xsl:value-of select="adr:Budynek" disable-output-escaping="no"/>
</td>
<th>Nr lokalu</th>
<td>
<xsl:value-of select="adr:Lokal" disable-output-escaping="no"/>
</td>
</tr>
<tr>
<th colspan="5">Zaliczony rok nauki</th>
<td>
<xsl:value-of select="wnio:ZaliczonyRokNauki" disable-output-escaping="no"/>
</td>
</tr>
<tr>
<th colspan="5">Planowany termin ukończenia szkoły ponadgimnazjalnej (miesiąc i rok)</th>
<td>
<xsl:value-of select="wnio:TerminZakonczeniaSzkoly" disable-output-escaping="no"/>
</td>
</tr>
<tr>
<th colspan="5">Ocena zachowania</th>
<td>
<xsl:value-of select="wnio:OcenaZachowanie" disable-output-escaping="no"/>
</td>
</tr>
<tr>
<th colspan="5">Średnia ocen uzyskanych na koniec roku szkolnego (0.00)</th>
<td>
<xsl:value-of select="wnio:SredniaOcen" disable-output-escaping="no"/>
</td>
</tr>
</table>
</xsl:for-each>
<table>
</table>
</xsl:for-each>
<h2>TREŚĆ FORMULARZA</h2>
<table>
<tr>
<th style="width: 30%;" colspan="6">
<h4>Informacje od ucznia - opis osiągnięć ucznia (uzasadnienie
wniosku):</h4>
</th>
</tr>
<tr>
<th colspan="4">
Dziedzina osiągnięć ucznia: (w nauce - podać rodzaj, sportowa - podać rodzaj dyscypliny, artystyczna
- podać rodzaj)
</th>
<td colspan="4">
<xsl:value-of select="wnio:Dyscyplina" disable-output-escaping="no"/>
</td>
</tr>
<tr>
<th colspan="6">Opis dotychczasowych osiągnięć wraz z uwzględnieniem informacji na temat udziału w
konkursach, olimpiadach, zawodach, festiwalach, wystawach itp., opis uzyskanych sukcesów, efektów,
wyróżnień itp.;
</th>
</tr>
<tr>
<td colspan="6">
<xsl:value-of select="wnio:Rok" disable-output-escaping="no"/>
</td>
</tr>
</table>
<h2>STOPKA</h2>
<table>
<tr>
<th colspan="7">
<h4>OŚWIADCZENIE WNIOSKODAWCY</h4>
</th>
</tr>
<tr>
<th colspan="7">
<xsl:value-of select="wnio:OswiadczeniaWnioskodawcy/RachBanowyOpis" disable-output-escaping="no"/>
</th>
</tr>
<tr>
<th>Nazwa banku</th>
<td colspan="2">
<xsl:value-of select="wnio:OswiadczeniaWnioskodawcy/wnio:NazwaBanu" disable-output-escaping="no"/>
</td>
<th>Numer rachunku bankowego</th>
<td colspan="3">
<xsl:value-of select="wnio:OswiadczeniaWnioskodawcy/wnio:RachBanowy" disable-output-escaping="no"/>
</td>
</tr>
<tr>
<td colspan="7">
<xf:select id="oswiadczeniecheck10" ref="wnio:OswiadczeniaWnioskodawcy/wnio:Odpowiedzialnosc/@wyb" appearance="full">
<xf:itemset nodeset="instance('korespondencyjnycheck')/wyb">
<xf:value ref="value"/>
</xf:itemset>
</xf:select>
<xsl:value-of select="wnio:OswiadczeniaWnioskodawcy/wnio:Odpowiedzialnosc/wnio:Pozycja" disable-output-escaping="no"/>
</td>
</tr>
<tr>
<td colspan="7">
<xf:select id="oswiadczeniecheck12" ref="wnio:OswiadczeniaWnioskodawcy/wnio:ZgodaNaPrzetwarzanie/@wyb" appearance="full">
<xf:itemset nodeset="instance('korespondencyjnycheck')/wyb">
<xf:value ref="value"/>
</xf:itemset>
</xf:select>
<xsl:value-of select="wnio:OswiadczeniaWnioskodawcy/wnio:ZgodaNaPrzetwarzanie/wnio:Pozycja" disable-output-escaping="no"/>
</td>
</tr>
</table>
<table>
<tr>
<th colspan="6">
<h4>Wyrażam zgodę na kontakt:</h4>
</th>
</tr>
<xsl:choose>
<xsl:when test="count(/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/wnio:Wnioskodawca/wnio:Kontakt) > 0">
<xsl:for-each select="/wnio:Dokument/wnio:TrescDokumentu/wnio:Wartosc/wnio:Wnioskodawca/wnio:Kontakt">
<tr>
<td style="width: 40%">
<xsl:if test="./@rodzaj = ''"/>
<xsl:if test="./@rodzaj = 'email'">
<xsl:value-of select="'elektroniczny (e-mail)'"/>
</xsl:if>
<xsl:if test="./@rodzaj = 'telefoniczny'">
<xsl:value-of select="'telefoniczny'"/>
</xsl:if>
</td>
<td style="width: 40%">
<xsl:value-of select="." disable-output-escaping="no"/>
</td>
<td style="width: 10%">
</td>
</tr>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<tr>
<td>NIE DOTYCZY</td>
</tr>
</xsl:otherwise>
</xsl:choose>
</table>
<table>
<tr>
<th colspan="4">
<h4>Objaśnienia:</h4>
</th>
</tr>
<tr>
<th>Podstawa prawna dotycząca stypendium szkolnego:</th>
</tr>
<tr>
<td>
<ol>
<li>
<xsl:value-of select="wnio:Objasnienia/wnio:Pozycja/wnio:Li[1]" disable-output-escaping="no"/>
</li>
<li>
<xsl:value-of select="wnio:Objasnienia/wnio:Pozycja/wnio:Li[2]" disable-output-escaping="no"/>
</li>
</ol>
</td>
</tr>
<tr>
<td>
<ol>
<li>Do wniosku należy dołączyć kopie dokumentów potwierdzających spełnienie warunku, o którym
mowa w sekcji "Informacje od ucznia - opis osiągnięć ucznia (uzasadnienie wniosku):":
</li>
<li>Wniosek należy złożyć w Urzędzie Gminy Przykona, ul. Szkolna 7</li>
</ol>
</td>
</tr>
</table>
<table>
<tr>
<th colspan="4">
<h4>Załączniki:</h4>
</th>
</tr>
<tr>
<th>Opis</th>
<th>Plik</th>
<th/>
</tr>
<xsl:for-each select="str:Zalaczniki">
<xsl:choose>
<xsl:when test="count(str:Zalacznik[@rodzajZalacznika='inny']) > 0">
<xsl:for-each select="str:Zalacznik[@rodzajZalacznika='inny']">
<tr>
<td class="c2" style="width: 60%">
<xsl:value-of select="str:OpisZalacznika" disable-output-escaping="no"/>
</td>
<td>
<xsl:for-each select="str:DaneZalacznika">
<xsl:value-of select="../@nazwaPliku" disable-output-escaping="no"/>
</xsl:for-each>
</td>
<td style="width: 10%">
</td>
</tr>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<tr>
<td>NIE DOTYCZY</td>
</tr>
</xsl:otherwise>
</xsl:choose>
<tr>
<td colspan="4">
</td>
</tr>
</xsl:for-each>
</table>
<table>
<tr>
<th colspan="2">
<h4>Dane składającego:</h4>
</th>
</tr>
<tr>
<th>Imię</th>
<td>
<xsl:value-of select="oso:Imie" disable-output-escaping="no"/>
</td>
</tr>
<tr>
<th>Nazwisko</th>
<td>
<xsl:value-of select="oso:Nazwisko" disable-output-escaping="no"/>
</td>
</tr>
<tr>
<th>Data wypełnienia deklaracji</th>
<td>
<xsl:value-of select="wnio:DataWypelnienia" disable-output-escaping="no"/>
</td>
</tr>
</table>
</xsl:for-each>
<xsl:call-template name="Podpisy_elektroniczne"/>
</div>
</body>
</html>
</xsl:template>
<xsl:template name="Podpisy_elektroniczne">
<h2>Podpisy elektroniczne</h2>
<table>
<tr>
<td>
<xsl:choose>
<xsl:when test="string-length(//wnio:Dokument/ds:Signature/ds:SignatureValue) > 0">
<xsl:text>Dokument został podpisany, aby go zweryfikować należy użyć oprogramowania do weryfikacji podpisu</xsl:text>
<xsl:choose>
<xsl:when test="count(//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']) > 1">
<br/>
<xsl:text>Daty złożenia podpisu: </xsl:text>
<xsl:for-each select="//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']">
<xsl:value-of select="."/>
</xsl:for-each>
</xsl:when>
<xsl:when test="count(//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']) = 1">
<br/>
<xsl:text>Data złożenia podpisu: </xsl:text>
<xsl:for-each select="//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime']">
<xsl:value-of select="."/>
</xsl:for-each>
</xsl:when>
<xsl:when test="0 >= count(//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime'])"/>
</xsl:choose>
</xsl:when>
<xsl:otherwise>
<xsl:text>Dokument nie zawiera podpisu</xsl:text>
</xsl:otherwise>
</xsl:choose>
</td>
</tr>
</table>
</xsl:template>
<xsl:template name="unescape">
<xsl:param name="text"/>
<xsl:choose>
<xsl:when test="contains($text, '&')">
<xsl:value-of select="substring-before($text, '&')"/>
<xsl:variable name="afterAmp" select="substring-after($text, '&')"/>
<xsl:choose>
<xsl:when test="starts-with($afterAmp, 'amp;')">&</xsl:when>
<xsl:when test="starts-with($afterAmp, 'lt;')"><</xsl:when>
<xsl:when test="starts-with($afterAmp, 'gt;')">></xsl:when>
<xsl:when test="starts-with($afterAmp, 'quot;')">"</xsl:when>
<xsl:when test="starts-with($afterAmp, 'apos;')">'</xsl:when>
</xsl:choose>
<xsl:call-template name="unescape">
<xsl:with-param name="text" select="substring-after($afterAmp, ';')"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$text"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>