<commit_before>
{% extends "./layout/site.html" %}
    {% block content %}
        <title>Show Profile</title>
        
          {% block header_profile %}
            {% include 'user/header_profile.html' %}
          {% endblock %}
      <style>
        div.list_item_container {
            height: 50px;
            padding: 2px;
        }
        div.image {
            width: 90px;
            height: 50px;
            float: left;
        }
        div.city {
            font-style: italic;
            font-size: 0.8em;
            color: gray;
        }
      </style>
            <table border="1px solid">
                <td>
                    <tr>
                        <td>{{ user.name }}</td>
                    </tr>
                    <tr>
                        <td>{{ user.city }}</td><td>{{ user.uf }}</td>
                    </tr>
                    <tr>
                        <td>descricao :</td>
                    </tr>
                    <tr>
                        <td>{{ user.aboutme}}</td>
                    </tr>
                    <tr>
                      <td>{{ user.phone}}</td>
                    </tr>
                </td>
            </table>
        </div>
        <div id="locais">
            <span><a href="local/new/">Novo Local</a></span>
            <span><a href="local/new/">Novo Imovel</a></span>
            <span><a href="route/new/">Nova Rota</a></span>
            <span><a href="album">Meus Albums</a></span>
        </div>

        <!-- ALBUMS -->
        <div class="container">
          {% if(albums|length>0) %}
              {% for album in albums%}

          <table width="100%" border="1">
            <tbody>
                  <tr>
                      <td bgcolor="#CCCCCC">

                          <table width="100%" border="0">
                              <tbody>
                                <tr>
                                    <td><a href="album/edit/{{album.id}}">{{album.album_name}}</a></td>
                                    <td class="direita"><p>&nbsp;</p></td>
                                 </tr>
                              </tbody>
                          </table>

                          <table id="album" width="100%" border="0" class="centro">
                              <tbody>
                                  <tr>
                                      {% if (locals_albums|length > 0) %}

                                          {% for locals in locals_albums %}

                                            {% for j,local in locals %}
                                            
                                            {% if(local.albums_id == album.id) %}

                                            <a href="local/{{local.id}}">
                                               {% if (imagens_locals_albums|length > 0) %}
                                                  {% for arrimg in imagens_locals_albums %}
                                                    {% for k,aimg in arrimg %}
                                                      {% for img in aimg %}
                                                        {% if k==j %}
                                                         {% if (img.locals_id == local.id) %}
                                                           <img width="100" height="77" src="uploads_locais/{{ img.name }}"/>
                                                         {% else %}
                                                           <img width="100" height="77" src="img/semfoto.png"/>
                                                         {% endif %}
                                                        {% endif %}
                                                      {% endfor %}
                                                    {% endfor %}
                                                  {% endfor %}
                                               {% else %}
                                                     <span>Não há fotos cadastradas</span>
                                               {% endif %}
                                                   {{ local.name }}
                                              </a>

                                            {% endif %}

                                            {% endfor %} 

                                          {% endfor %}

                                      {% else %}
                                          <span>Não há locais cadastrados</span>
                                      {% endif %}
<commit_msg>mudando o k para arrimg<commit_after>
{% extends "./layout/site.html" %}
    {% block content %}
        <title>Show Profile</title>
        
          {% block header_profile %}
            {% include 'user/header_profile.html' %}
          {% endblock %}
      <style>
        div.list_item_container {
            height: 50px;
            padding: 2px;
        }
        div.image {
            width: 90px;
            height: 50px;
            float: left;
        }
        div.city {
            font-style: italic;
            font-size: 0.8em;
            color: gray;
        }
      </style>
            <table border="1px solid">
                <td>
                    <tr>
                        <td>{{ user.name }}</td>
                    </tr>
                    <tr>
                        <td>{{ user.city }}</td><td>{{ user.uf }}</td>
                    </tr>
                    <tr>
                        <td>descricao :</td>
                    </tr>
                    <tr>
                        <td>{{ user.aboutme}}</td>
                    </tr>
                    <tr>
                      <td>{{ user.phone}}</td>
                    </tr>
                </td>
            </table>
        </div>
        <div id="locais">
            <span><a href="local/new/">Novo Local</a></span>
            <span><a href="local/new/">Novo Imovel</a></span>
            <span><a href="route/new/">Nova Rota</a></span>
            <span><a href="album">Meus Albums</a></span>
        </div>

        <!-- ALBUMS -->
        <div class="container">
          {% if(albums|length>0) %}
              {% for album in albums%}

          <table width="100%" border="1">
            <tbody>
                  <tr>
                      <td bgcolor="#CCCCCC">

                          <table width="100%" border="0">
                              <tbody>
                                <tr>
                                    <td><a href="album/edit/{{album.id}}">{{album.album_name}}</a></td>
                                    <td class="direita"><p>&nbsp;</p></td>
                                 </tr>
                              </tbody>
                          </table>

                          <table id="album" width="100%" border="0" class="centro">
                              <tbody>
                                  <tr>
                                      {% if (locals_albums|length > 0) %}

                                          {% for locals in locals_albums %}

                                            {% for j,local in locals %}
                                            
                                            {% if(local.albums_id == album.id) %}

                                            <a href="local/{{local.id}}">
                                               {% if (imagens_locals_albums|length > 0) %}
                                                  {% for k,arrimg in imagens_locals_albums %}
                                                    {% for aimg in arrimg %}
                                                      {% for img in aimg %}
                                                        {% if k==j %}
                                                         {% if (img.locals_id == local.id) %}
                                                           <img width="100" height="77" src="uploads_locais/{{ img.name }}"/>
                                                         {% else %}
                                                           <img width="100" height="77" src="img/semfoto.png"/>
                                                         {% endif %}
                                                        {% endif %}
                                                      {% endfor %}
                                                    {% endfor %}
                                                  {% endfor %}
                                               {% else %}
                                                     <span>Não há fotos cadastradas</span>
                                               {% endif %}
                                                   {{ local.name }}
                                              </a>

                                            {% endif %}

                                            {% endfor %} 

                                          {% endfor %}

                                      {% else %}
                                          <span>Não há locais cadastrados</span>
                                      {% endif %}

{'fraction_non_alphanumeric': 0.11597658790375028, 'fraction_numerical': 0.007587253414264037, 'mean_word_length': 0.5625740897544453, 'pattern_counts': {'":': 0, '<': 163, '<?xml version=': 0, '>': 169, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 130, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2342140', 'n_tokens_mistral': 2078, 'n_tokens_neox': 1798, 'n_words': 364}