{% set title = 'House Search' %} {% set content %} {% if errors is not empty %} {% for error in errors %}

{{ error }}

{% endfor %} {% else %} Here you can see the list of all available houses, flats{{ guildString }}. Click on any view button to get more information about a house or adjust the search criteria and start a new search.

{% if cleanOldHouse is not empty or rentType != 'never' %} Every morning during global server save there is automatic house cleaning. Server delete house owners who have not logged in last {{ cleanOldHouse }} days{% if rentType != 'never' %} or have not paid {{ rentType }} house rent. Remember to leave money for a rent in {% if config.lua.bankSystem is not empty %}your house bank or {% else %}depo in same city where you have house!{% endif %}{% else %}.{% endif %}

{% endif %} {% if houses is not empty or housesSearch %} {% if houses is not empty %} {% elseif housesSearch %} {% endif %} {% if houses is not empty %} {% set i = 0 %} {% for house in houses %} {% set i = i + 1 %} {% endfor %} {% endif %}
Available {{ houseType }}{% if townName is not empty %} in {{ townName }}{% endif %} on {{ config.lua.serverName }}
Name Size Rent Status  No {{ houseType }} with specified criterias.
{{ house.name }} {{ house.size }} {{ house.rent }} golds {{ house.rentedBy|raw }} {{ include('buttons.view.html.twig') }}

{% endif %}
House Search
Town Status Order
{% set checked = false %} {% for id, name in config.towns %} {% if id > 0 %} {% if ((townId is empty and name is not empty) or id == townId) and not checked %} {% set variable = "checked" %} {% set checked = true %} {% else %} {% set variable = "" %} {% endif %}
{% endif %} {% endfor %}










{{ include('buttons.submit.html.twig') }}
{% endif %} {% endset %} {% include 'tables.headline.html.twig' %}