5804

ID5804
Data2018-09-21
Symbol2018/09/21/5804
InstytucjaUrząd Gminy Słupca
NazwaWniosek o udostępnienie informacji o środowisku i jego ochronie
Czy Aktualny1

Ustawy (1)

  • URI://Dziennik_Ustaw/2017/570/16b/1
  • Ustawa z dnia 17 lutego 2005 r. o informatyzacji działalności podmiotów realizujących zadania publiczne

    Pliki

    Styl

    <?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wnio="http://crd.gov.pl/wzor/2018/09/21/5804/" 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:oso="http://crd.gov.pl/xml/schematy/osoba/2009/11/16/" 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:xhtml="http://www.w3.org/1999/xhtml" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xfl="http://www.w3.org/1999/XSL/Transform" version="1.0">
      <xsl:template match="/">
        <html xmlns="http://www.w3.org/1999/xhtml">
          <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="max-width: 900px; margin: 0 auto;">
              <xsl:for-each select="/wnio:Dokument">
                <h1 style="text-align: center;">
                  <xsl:value-of select="//str:NazwaDokumentu"/>
                </h1>
                <h2>NAGŁÓWEK</h2>
                <table>
                  <tr>
                    <th colspan="6">
                      <h4>Dane nadawcy</h4>
                    </th>
                  </tr>
                  <tr>
                    <th style="width:10%">Rodzaj</th>
                    <td colspan="5">
                      <xsl:if test="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot//oso:Osoba">osoba fizyczna</xsl:if>
                      <xsl:if test="wnio:DaneDokumentu/str:Nadawcy/meta:Podmiot//inst:Instytucja">inna</xsl:if>
                    </td>
                  </tr>
                  <xsl:for-each select="wnio:DaneDokumentu//oso:Osoba">
                    <tr>
                      <th style="width:10%">Nazwisko</th>
                      <td style="width:25%">
                        <xsl:value-of select="oso:Nazwisko">
    										</xsl:value-of>
                      </td>
                      <th style="width:10%">Imię</th>
                      <td style="width:25%">
                        <xsl:value-of select="oso:Imie">
    										</xsl:value-of>
                      </td>
                      <th style="width:10%">
    										E-mail
    									</th>
                      <td style="width:25%">
                        <xsl:value-of select="//adr:Email">
    										</xsl:value-of>
                      </td>
                    </tr>
                  </xsl:for-each>
                  <xsl:for-each select="wnio:DaneDokumentu//inst:Instytucja">
                    <tr>
                      <th style="width:10%">Nazwa</th>
                      <td colspan="3">
                        <xsl:value-of select="inst:NazwaInstytucji">
    										</xsl:value-of>
                      </td>
                      <th style="width:10%">
    										E-mail
    									</th>
                      <td style="width:25%">
                        <xsl:value-of select="//adr:Email"/>
                      </td>
                    </tr>
                  </xsl:for-each>
                </table>
                <table>
                  <tr>
                    <th colspan="6">
                      <h4>Adres nadawcy</h4>
                    </th>
                  </tr>
                  <xsl:for-each select="//str:Nadawcy//adr:Adres">
                    <tr>
                      <th>Kraj</th>
                      <td colspan="5">
                        <xsl:value-of select="adr:Kraj"/>
                      </td>
                    </tr>
                    <tr>
                      <th>Województwo</th>
                      <td>
                        <xsl:value-of select="adr:Wojewodztwo"/>
                      </td>
                      <th>Gmina</th>
                      <td colspan="1">
                        <xsl:value-of select="adr:Gmina">
    										</xsl:value-of>
                      </td>
                      <th>Powiat</th>
                      <td colspan="3">
                        <xsl:value-of select="adr:Powiat">
    										</xsl:value-of>
                      </td>
                    </tr>
                    <tr>
                      <th>Kod Pocztowy</th>
                      <td>
                        <xsl:value-of select="adr:KodPocztowy">
    										</xsl:value-of>
                      </td>
                      <th>Poczta</th>
                      <td>
                        <xsl:value-of select="adr:Poczta">
    										</xsl:value-of>
                      </td>
                      <th>Miejscowość</th>
                      <td>
                        <xsl:value-of select="adr:Miejscowosc">
    										</xsl:value-of>
                      </td>
                    </tr>
                    <tr>
                      <th>Ulica</th>
                      <td>
                        <xsl:value-of select="adr:Ulica">
    										</xsl:value-of>
                      </td>
                      <th>Budynek</th>
                      <td>
                        <xsl:value-of select="//wnio:DaneDokumentu//adr:Budynek">
    										</xsl:value-of>
                      </td>
                      <th>Lokal</th>
                      <td colspan="3">
                        <xsl:value-of select="//wnio:DaneDokumentu//adr:Lokal">
    										</xsl:value-of>
                      </td>
                    </tr>
                  </xsl:for-each>
                </table>
                <h2>TREŚĆ WNIOSKU</h2>
                <xsl:for-each select="wnio:TrescDokumentu">
                  <table>
                    <tr>
                      <th colspan="4">
                        <h4>Treść wniosku</h4>
                      </th>
                    </tr>
                    <tr>
                      <th colspan="4">
                        <xsl:value-of select="wnio:TrescWniosku1"/>
                      </th>
                    </tr>
                    <tr>
                      <td>
                        <xsl:value-of select="wnio:TrescWniosku"/>
                      </td>
                    </tr>
                  </table>
                  <table>
                    <tr>
                      <th colspan="10">
                        <h4>Sposób i forma udostępnienia informacji</h4>
                      </th>
                    </tr>
                    <tr>
                      <th style="width:10%">Sposób</th>
                      <td colspan="3">
                        <xsl:value-of select="wnio:Sposob"/>
                        <xsl:if test="wnio:Sposob='Przesłanie pocztą elektroniczną'"><br/>na adres
    											<xsl:value-of select="wnio:AdresEmail"/></xsl:if>
                      </td>
                      <th style="width:10%">Forma</th>
                      <td colspan="3">
                        <xsl:value-of select="wnio:Forma"/>
                        <xsl:for-each select="wnio:InnyNosnik">
                          <br/>
                          <xsl:value-of select=".">
    											</xsl:value-of>
                        </xsl:for-each>
                      </td>
                    </tr>
                  </table>
                  <xsl:for-each select="str:Zalaczniki">
                    <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:Zalacznik">
                        <tr>
                          <td style="width:40%">
                            <xsl:value-of select="str:OpisZalacznika"/>
                          </td>
                          <td>
                            <xsl:value-of select="@nazwaPliku"/>
                          </td>
                          <td style="width:10%">
    											</td>
                        </tr>
                      </xsl:for-each>
                      <tr>
                        <td colspan="4">
    										</td>
                      </tr>
                    </table>
                  </xsl:for-each>
                  <table>
                    <tr>
                      <th>
                        <h4>Pouczenie</h4>
                      </th>
                    </tr>
                    <tr>
                      <td>
                        <xsl:value-of select="wnio:Pouczenie"/>
                      </td>
                    </tr>
                  </table>
                  <table>
                    <tr>
                      <th colspan="2">
                        <h4 style="text-align: center;">Podpis</h4>
                      </th>
                    </tr>
                    <tr>
                      <th>
                        <h5 style="text-align: right;">Imię</h5>
                      </th>
                      <td>
                        <xsl:value-of select="oso:Imie"/>
                      </td>
                    </tr>
                    <tr>
                      <th>
                        <h5 style="text-align: right;">Nazwisko</h5>
                      </th>
                      <td>
                        <xsl:value-of select="oso:Nazwisko"/>
                      </td>
                    </tr>
                    <tr>
                      <th>
                        <h5 style="text-align: right;">Data</h5>
                      </th>
                      <td>
                        <xsl:value-of select="wnio:DataZlozenia"/>
                      </td>
                    </tr>
                  </table>
                </xsl:for-each>
              </xsl:for-each>
              <xsl:call-template name="Podpisy_elektroniczne"/>
            </div>
          </body>
        </html>
      </xsl:template>
      <xsl:template name="PodmiotZobowiazanyDoZlozenia">
        <xsl:param name="wartosc"/>
        <xsl:choose>
          <xsl:when test="$wartosc='1'">właściciel</xsl:when>
          <xsl:when test="$wartosc='2'">współwłaściciel</xsl:when>
          <xsl:when test="$wartosc='3'">użytkownik wieczysty</xsl:when>
          <xsl:when test="$wartosc='4'">współużytkownik wieczysty</xsl:when>
          <xsl:when test="$wartosc='5'">posiadacz samoistny</xsl:when>
          <xsl:when test="$wartosc='6'">współposiadacz samoistny</xsl:when>
          <xsl:when test="$wartosc='7'">posiadacz zależny</xsl:when>
          <xsl:when test="$wartosc='8'">współposiadacz zależny</xsl:when>
          <xsl:otherwise>
            <xsl:value-of select="$wartosc"/>
          </xsl:otherwise>
        </xsl:choose>
        <xsl:text> </xsl:text>
        <xsl:value-of select="$wartosc/../wnio:PodmiotZobowiazanyDoZlozenia/@typ"/>
      </xsl:template>
      <xsl:template name="ObowiazekZlozeniaDeklaracji">
        <xsl:param name="okolicznosci"/>
        <xsl:choose>
          <xsl:when test="$okolicznosci='po_raz_pierwszy'">informacja składana po raz pierwszy</xsl:when>
          <xsl:when test="$okolicznosci='korekta'">korekta uprzednio złożonej informacji</xsl:when>
          <xsl:otherwise>
            <xsl:value-of select="$okolicznosci"/>
          </xsl:otherwise>
        </xsl:choose>
        <xsl:text> </xsl:text>
        <xsl:value-of select="$okolicznosci/wnio:Wartosc"/>
      </xsl:template>
      <xsl:template xmlns="http://www.w3.org/1999/xhtml" name="Podpisy_elektroniczne">
        <h2>Podpisy elektroniczne</h2>
        <table>
          <tr>
            <td>
              <xsl:choose>
                <xsl:when test="string-length(//wnio:Dokument/ds:Signature/ds:SignatureValue) &gt; 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']) &gt; 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 &gt;= count(//wnio:Dokument/ds:Signature/ds:Object/descendant::*[local-name() = 'SigningTime'])">
    								</xsl:when>
                  </xsl:choose>
                </xsl:when>
                <xsl:otherwise>
                  <xsl:text>Dokument nie zawiera podpisu</xsl:text>
                </xsl:otherwise>
              </xsl:choose>
            </td>
          </tr>
        </table>
      </xsl:template>
    </xsl:stylesheet>