7975

ID7975
Data2019-06-18
Symbol2019/06/18/7975
InstytucjaUrząd Miejski w Szklarskiej Porębie
NazwaWniosek o zawarcie umowy najmu na lokal mieszkalny/socjalny/zamienny
Czy Aktualny1

Ustawy (1)

  • URI://Dziennik_Ustaw/2019/700/16b/1
  • Ustawa z dnia 17 lutego 2005 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/2019/06/18/7975/" 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" version="1.0">
      <xsl:template match="/">
        <html xmlns="http://www.w3.org/1999/xhtml">
          <head>
            <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
            <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;
                        }
                    </style>
          </head>
          <body>
            <div style="width: 900px; margin: 0 auto;">
              <xsl:for-each select="//wnio:TrescDokumentu/wnio:Wartosc">
                <h1 style="text-align: center;">
                  <xsl:value-of select="//wnio:DaneDokumentu/str:Naglowek/str:NazwaDokumentu"/>
                </h1>
                <h2>NAGŁÓWEK</h2>
                <table border="1px">
                  <tr>
                    <th>Miejsce składania:</th>
                    <th>
                      <xsl:value-of select="wnio:MiejsceSkladania"/>
                    </th>
                  </tr>
                </table>
                <xsl:for-each select="wnio:Podmiot">
                  <table>
                    <tr>
                      <th colspan="6">
                        <h4>Wnioskodawca</h4>
                      </th>
                    </tr>
                    <xsl:for-each select="wnio:OsobaFizyczna">
                      <tr>
                        <th style="width:10%">Nazwisko</th>
                        <td style="width:25%">
                          <xsl:value-of select="oso:Nazwisko"/>
                        </td>
                        <th style="width:10%">Imię</th>
                        <td style="width:25%">
                          <xsl:value-of select="oso:Imie"/>
                        </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"/>
                        </td>
                      </tr>
                      <tr>
                        <th>Województwo</th>
                        <td>
                          <xsl:value-of select="adr:Wojewodztwo"/>
                        </td>
                        <th>Powiat</th>
                        <td>
                          <xsl:value-of select="adr:Powiat"/>
                        </td>
                        <th>Gmina</th>
                        <td>
                          <xsl:value-of select="adr:Gmina"/>
                        </td>
                      </tr>
                      <tr>
                        <th>Miejscowość</th>
                        <td>
                          <xsl:value-of select="adr:Miejscowosc"/>
                        </td>
                        <th>Kod pocztowy</th>
                        <td>
                          <xsl:value-of select="adr:KodPocztowy"/>
                        </td>
                        <th>Poczta</th>
                        <td>
                          <xsl:value-of select="adr:Poczta"/>
                        </td>
                      </tr>
                      <tr>
                        <th>Ulica</th>
                        <td>
                          <xsl:value-of select="adr:Ulica"/>
                        </td>
                        <th>Nr domu</th>
                        <td>
                          <xsl:value-of select="adr:Budynek"/>
                        </td>
                        <th>Nr lokalu</th>
                        <td>
                          <xsl:value-of select="adr:Lokal"/>
                        </td>
                      </tr>
                      <tr>
                        <th>Telefon</th>
                        <td>
                          <xsl:value-of select="adr:Telefon"/>
                        </td>
                        <th>E-mail</th>
                        <td colspan="3">
                          <xsl:value-of select="adr:Email"/>
                        </td>
                      </tr>
                    </table>
                  </xsl:for-each>
                  <xsl:for-each select="wnio:AdresKorespondencyjny[@wystepuje='tak']">
                    <table>
                      <tr>
                        <th colspan="6">
                          <h4>
                                                    Adres korespondencyjny inny niż powyższy
                                                </h4>
                        </th>
                      </tr>
                      <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>Powiat</th>
                        <td>
                          <xsl:value-of select="adr:Powiat"/>
                        </td>
                        <th>Gmina</th>
                        <td>
                          <xsl:value-of select="adr:Gmina"/>
                        </td>
                      </tr>
                      <tr>
                        <th>Miejscowość</th>
                        <td>
                          <xsl:value-of select="adr:Miejscowosc"/>
                        </td>
                        <th>Kod pocztowy</th>
                        <td>
                          <xsl:value-of select="adr:KodPocztowy"/>
                        </td>
                        <th>Poczta</th>
                        <td>
                          <xsl:value-of select="adr:Poczta"/>
                        </td>
                      </tr>
                      <tr>
                        <th>Ulica</th>
                        <td>
                          <xsl:value-of select="adr:Ulica"/>
                        </td>
                        <th>Nr domu</th>
                        <td>
                          <xsl:value-of select="adr:Budynek"/>
                        </td>
                        <th>Nr lokalu</th>
                        <td>
                          <xsl:value-of select="adr:Lokal"/>
                        </td>
                      </tr>
                      <tr>
                        <th>Telefon</th>
                        <td>
                          <xsl:value-of select="adr:Telefon"/>
                        </td>
                        <th>E-mail</th>
                        <td colspan="3">
                          <xsl:value-of select="adr:Email"/>
                        </td>
                      </tr>
                    </table>
                  </xsl:for-each>
                </xsl:for-each>
                <h2>TREŚĆ FORMULARZA</h2>
                <xsl:for-each select="//wnio:TrescDokumentu/wnio:Wartosc">
                  <xsl:for-each select="wnio:Tresc">
                    <table>
                      <tr>
                        <th>
                          <b>
                            <xsl:value-of select="concat(wnio:Part1, ' ', wnio:Wybor, ' ', wnio:Part2)"/>
                          </b>
                        </th>
                      </tr>
                    </table>
                  </xsl:for-each>
                  <xsl:for-each select="wnio:DaneWnioskujacego">
                    <table>
                      <tr>
                        <th colspan="5">
                          <b>
                                                    2. Dane wnioskującego i osób pozostających we wspólnym gospodarstwie
                                                    domowym.
                                                </b>
                        </th>
                      </tr>
                      <tr>
                        <th>
                          <b>
                                                    L.p.
                                                </b>
                        </th>
                        <th>
                          <b>
                                                    Nazwisko i imię
                                                </b>
                        </th>
                        <th>
                          <b>
                                                    Rok urodzenia
                                                </b>
                        </th>
                        <th>
                          <b>
                                                    Stosunek do wnioskodawcy
                                                </b>
                        </th>
                        <th>
                          <b>
                                                    Dochód za rok ubiegły
                                                </b>
                        </th>
                      </tr>
                      <xsl:for-each select="wnio:Osoba">
                        <tr>
                          <th>
                            <xsl:value-of select="concat(position(), '.')"/>
                          </th>
                          <td>
                            <xsl:value-of select="wnio:ImieNazwisko"/>
                          </td>
                          <td>
                            <xsl:value-of select="wnio:RokUrodzenia"/>
                          </td>
                          <td>
                            <xsl:value-of select="wnio:Stosunek"/>
                          </td>
                          <td>
                            <xsl:value-of select="wnio:Dochod"/>
                          </td>
                        </tr>
                      </xsl:for-each>
                    </table>
                  </xsl:for-each>
                  <xsl:for-each select="wnio:DaneOWarunkach">
                    <table>
                      <tr>
                        <th colspan="3">
                          <b>
                                                    3. Dane o aktualnych warunkach mieszkaniowych:
                                                </b>
                        </th>
                      </tr>
                      <tr>
                        <th>
                                                a) zajmowane obecnie mieszkanie jest lokalem
                                            </th>
                        <td colspan="2">
                          <xsl:if test="wnio:Lokal='1'">z zasobu miasta</xsl:if>
                          <xsl:if test="wnio:Lokal='2'">służbowym</xsl:if>
                          <xsl:if test="wnio:Lokal='3'">spółdzielczym lokatorskim</xsl:if>
                          <xsl:if test="wnio:Lokal='4'">własnościowym</xsl:if>
                          <xsl:if test="wnio:Lokal='5'">
                            <xsl:value-of select="concat('innym: ', wnio:InnyLokal)"/>
                          </xsl:if>
                          <xsl:value-of select="' '"/>
                          <xsl:if test="wnio:Polozenie='1'">położonym w budynku mieszkalnym</xsl:if>
                          <xsl:if test="wnio:Polozenie='2'">niemieszkalnym</xsl:if>
                          <xsl:if test="wnio:Polozenie='3'">przeznaczonym do rozbiórki (z uwagi na
                                                    stan zagrożenia, pod inwestycje)
                                                </xsl:if>
                          <xsl:if test="wnio:Polozenie='4'">
                            <xsl:value-of select="concat('inne: ', wnio:PolozenieInne)"/>
                          </xsl:if>
                        </td>
                      </tr>
                      <tr>
                        <th>
                                                b) mieszkanie składa się z
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:LiczbaPokoi"/>
                        </td>
                        <th>
                          <xsl:if test="number(wnio:LiczbaPokoi) &lt;= 1 or wnio:LiczbaPokoi = ''">
                                                    pokoju o powierzchni:
                                                </xsl:if>
                          <xsl:if test="number(wnio:LiczbaPokoi) &gt; 1">
                                                    pokoi o powierzchni każdego pokoju:
                                                </xsl:if>
                        </th>
                      </tr>
                      <xsl:for-each select="wnio:Pokoje">
                        <xsl:for-each select="wnio:Pokoj">
                          <tr>
                            <th style="text-align: right;">
                              <xsl:value-of select="concat(position(), '.')"/>
                            </th>
                            <td colspan="2">
                              <xsl:value-of select="concat(wnio:Powierzchnia, ' ', wnio:Jednostka)"/>
                            </td>
                          </tr>
                        </xsl:for-each>
                      </xsl:for-each>
                      <tr>
                        <th>
                                                i obejmuję łącznie powierzchnię użytkową
                                            </th>
                        <td>
                          <xsl:value-of select="concat(wnio:PowierzchniaRazem, ' ', wnio:Jednostka)"/>
                        </td>
                        <th/>
                      </tr>
                      <tr>
                        <th>
                                                Ilość osób zamieszkujących aktualnie w zajmowanym mieszkaniu:
                                            </th>
                        <td>
                          <xsl:value-of select="wnio:LiczbaOsob"/>
                        </td>
                        <th>
                                                osób.
                                            </th>
                      </tr>
                    </table>
                  </xsl:for-each>
                  <table>
                    <tr>
                      <th>
                        <b>
                          <xsl:value-of select="wnio:Uwaga"/>
                        </b>
                      </th>
                    </tr>
                  </table>
                </xsl:for-each>
                <h2>STOPKA</h2>
                <xsl:for-each select="wnio:PodstawaPrawna">
                  <table>
                    <tr>
                      <th>
                        <h4>
                                                Podstawa prawna:
                                            </h4>
                      </th>
                    </tr>
                    <tr>
                      <th>
                        <b>
                                                Dot. pkt. 1:
                                            </b>
                      </th>
                    </tr>
                    <tr>
                      <th>
                        <xsl:value-of select="wnio:Punkt1"/>
                      </th>
                    </tr>
                    <xsl:for-each select="wnio:AD3">
                      <tr>
                        <th>
                          <b>
                            <xsl:value-of select="wnio:Tytul"/>
                          </b>
                        </th>
                      </tr>
                      <tr>
                        <th>
                          <ol>
                            <xsl:for-each select="wnio:Punkt">
                              <li>
                                <xsl:value-of select="wnio:Tresc"/>
                              </li>
                              <ul>
                                <xsl:for-each select="wnio:PodPunkt">
                                  <li>
                                    <xsl:value-of select="."/>
                                  </li>
                                </xsl:for-each>
                              </ul>
                            </xsl:for-each>
                          </ol>
                        </th>
                      </tr>
                    </xsl:for-each>
                    <xsl:for-each select="wnio:AD4">
                      <tr>
                        <th>
                          <b>
                            <xsl:value-of select="wnio:Tytul"/>
                          </b>
                        </th>
                      </tr>
                      <tr>
                        <th>
                          <ol>
                            <xsl:for-each select="wnio:Punkt">
                              <li>
                                <xsl:value-of select="."/>
                              </li>
                            </xsl:for-each>
                          </ol>
                        </th>
                      </tr>
                    </xsl:for-each>
                    <xsl:for-each select="wnio:AD5">
                      <tr>
                        <th>
                          <b>
                            <xsl:value-of select="wnio:Tytul"/>
                          </b>
                        </th>
                      </tr>
                      <tr>
                        <th>
                          <ol>
                            <xsl:for-each select="wnio:Punkt">
                              <li>
                                <xsl:value-of select="."/>
                              </li>
                            </xsl:for-each>
                          </ol>
                        </th>
                      </tr>
                    </xsl:for-each>
                    <xsl:for-each select="wnio:AD6">
                      <tr>
                        <th>
                          <b>
                            <xsl:value-of select="wnio:Tytul"/>
                          </b>
                        </th>
                      </tr>
                      <tr>
                        <th>
                          <ol>
                            <xsl:for-each select="wnio:Punkt">
                              <li>
                                <xsl:value-of select="wnio:Tresc"/>
                              </li>
                              <ul>
                                <xsl:for-each select="wnio:PodPunkt">
                                  <li>
                                    <xsl:value-of select="."/>
                                  </li>
                                </xsl:for-each>
                              </ul>
                            </xsl:for-each>
                          </ol>
                        </th>
                      </tr>
                    </xsl:for-each>
                    <xsl:for-each select="wnio:Punkt2">
                      <tr>
                        <th>
                          <b>
                                                    Dot. pkt. 2:
                                                </b>
                        </th>
                      </tr>
                      <tr>
                        <th>
                          <xsl:for-each select="wnio:Tresc">
                            <xsl:value-of select="."/>
                            <br/>
                            <br/>
                          </xsl:for-each>
                        </th>
                      </tr>
                    </xsl:for-each>
                  </table>
                </xsl:for-each>
                <xsl:for-each select="wnio:DaneOsobowe">
                  <table>
                    <tr>
                      <th>
                        <h4>
                                                INFORMACJE O PRZETWARZANIU TWOICH DANYCH OSOBOWYCH
                                            </h4>
                      </th>
                    </tr>
                    <tr>
                      <th>
                        <xsl:value-of select="wnio:Tresc"/>
                        <ol>
                          <xsl:for-each select="wnio:Punkt">
                            <li>
                              <xsl:value-of select="."/>
                            </li>
                          </xsl:for-each>
                        </ol>
                      </th>
                    </tr>
                  </table>
                </xsl:for-each>
                <table>
                  <tr>
                    <th colspan="4">
                      <h4>Wyrażam zgodę na kontakt</h4>
                    </th>
                  </tr>
                  <xsl:for-each select="//wnio:TrescDokumentu/wnio:Wartosc/wnio:Podmiot/wnio:Kontakt">
                    <tr>
                      <td style="width:40%">
                        <xsl:if test="@rodzaj = ''">-- nie wybrano rodzaju kontaktu --</xsl:if>
                        <xsl:if test="@rodzaj = 'email'">elektroniczny (e-mail)</xsl:if>
                        <xsl:if test="@rodzaj = 'telefoniczny'">telefoniczny</xsl:if>
                      </td>
                      <td style="width:60%">
                        <xsl:value-of select="wnio:Telefoniczny[../@rodzaj='telefoniczny']"/>
                        <xsl:value-of select="wnio:Email[../@rodzaj='email']"/>
                      </td>
                    </tr>
                  </xsl:for-each>
                </table>
                <xsl:for-each select="str:Zalaczniki">
                  <table>
                    <tr>
                      <th colspan="2">
                        <h4>
                                                Załączniki:
                                            </h4>
                      </th>
                    </tr>
                    <xsl:if test="str:Zalacznik">
                      <tr>
                        <th>
                          <b>
                                                    Opis
                                                </b>
                        </th>
                        <th>
                          <b>
                                                    Plik
                                                </b>
                        </th>
                      </tr>
                      <xsl:for-each select="//wnio:TrescDokumentu/wnio:Wartosc/str:Zalaczniki/str:Zalacznik">
                        <tr>
                          <td style="width:40%">
                            <xsl:value-of select="str:OpisZalacznika"/>
                          </td>
                          <td>
                            <xsl:value-of select="@nazwaPliku"/>
                          </td>
                        </tr>
                      </xsl:for-each>
                    </xsl:if>
                    <xsl:if test="not(str:Zalacznik)">
                      <tr>
                        <td colspan="2">
                          <i>
                                                    Brak załączników
                                                </i>
                        </td>
                      </tr>
                    </xsl:if>
                  </table>
                </xsl:for-each>
                <table>
                  <tr>
                    <th colspan="2">
                      <h4>
                                            Podpis wnioskodawcy:
                                        </h4>
                    </th>
                  </tr>
                  <tr>
                    <th>Imię</th>
                    <td>
                      <xsl:value-of select="oso:Imie"/>
                    </td>
                  </tr>
                  <tr>
                    <th>Nazwisko</th>
                    <td>
                      <xsl:value-of select="oso:Nazwisko"/>
                    </td>
                  </tr>
                  <tr>
                    <th>Data wypełnienia</th>
                    <td>
                      <xsl:value-of select="wnio:DataWypelnienia"/>
                    </td>
                  </tr>
                </table>
              </xsl:for-each>
              <xsl:call-template name="Podpisy_elektroniczne"/>
            </div>
          </body>
        </html>
      </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>