Deprecated: Constant E_STRICT is deprecated since 8.4, the error level was removed in /home3/sc2cenacle/sites/crm.dev/vendor/symfony/error-handler/ErrorHandler.php on line 58

Deprecated: Constant E_STRICT is deprecated since 8.4, the error level was removed in /home3/sc2cenacle/sites/crm.dev/vendor/symfony/error-handler/ErrorHandler.php on line 76

Deprecated: Method ReflectionProperty::setAccessible() is deprecated since 8.5, as it has no effect since PHP 8.1 in /home3/sc2cenacle/sites/crm.dev/vendor/symfony/error-handler/ErrorHandler.php on line 191
Symfony Profiler

templates/modules/footer.html.twig line 1

Open in your IDE?
  1. <footer class="d-flex m-0">
        <div class="contact col-xl-4 col-lg-4 col-md-4">
            <h6>{% trans %}footer.contactus.title{% endtrans %}</h6>
            
            {% if club is defined and club.uuid is defined %}
                <div class="data-contact">
                    {% if canConfigure == 'true' %}
                        <span><a class="btn btn-warning" href="{{ app.request.baseUrl }}/club/{{ club.uuid }}/locations" role="button" style="margin: 10px"><i class="fas fa-pencil-alt"></i></a></span>
                    {% endif %}
                    {% for location in club.locations %}
                        <p>{{ location.name }}</p>
                        {{ location.address }}<br>
                        {{ location.zipcode }} {{ location.city }}<br>
                        {{ location.country }}<br>
                        <br>
                    {% endfor %}
                    
                    {% if(club.contact_phone is defined and club.contact_phone != '') %}
                        {% set phones = club.contact_phone %}
                    {% elseif(clubProperties["club.contact.default.phones"] is defined) %}
                        {% set phones = clubProperties["club.contact.default.phones"] %}
                    {% else %}
                        {% set phones = '' %}
                    {% endif %}
                    {%  for phone in phones|split('/') %}
                        <a href="tel:{{ phone|trim|replace({' ':''}) }}"><i class="fas fa-phone-alt"></i>{{ phone|trim }}</a>
                       {% endfor %}
                    
                    {% if(club.contact_emails is defined and club.contact_emails != '') %}
                        {% set emails = club.contact_emails %}
                    {% elseif(clubProperties["club.contact.default.emails"] is defined) %}
                        {% set emails = clubProperties["club.contact.default.emails"] %}
                    {% else %}
                        {% set emails = '' %}
                    {% endif %}
                     {%  for email in emails|split(',') %}
                        <a href="mailto:{{ email|trim }}"><i class="fas fa-envelope"></i>{{ email|trim }}</a>
                       {% endfor %}
                </div>
            {% else %}
                {% if(cenacleProperties["cenacle.contact.name"] is defined) %}
                    <p>{{ cenacleProperties["cenacle.contact.name"] }}</p>
                {% endif %}
                {% if(cenacleProperties["cenacle.contact.address"] is defined) %}
                    {{ cenacleProperties["cenacle.contact.address"] }}<br>
                {% endif %}
                {% if(cenacleProperties["cenacle.contact.city"] is defined) %}
                    {{ cenacleProperties["cenacle.contact.city"] }}<br>
                {% endif %}
                <div class="data-contact">
                    {% if(cenacleProperties["cenacle.contact.phones"] is defined) %}
                        {% set phones = cenacleProperties["cenacle.contact.phones"] %}
                    {% else %}
                        {% set phones = '' %}
                    {% endif %}
                    {%  for phone in phones|split('/') %}
                        <a href="tel:{{ phone|trim|replace({' ':''}) }}"><i class="fas fa-phone-alt"></i>{{ phone|trim }}</a>
                       {% endfor %}
    
                    {% if(cenacleProperties["cenacle.contact.emails"] is defined) %}
                        {% set emails = cenacleProperties["cenacle.contact.emails"] %}
                    {% else %}
                        {% set emails = '' %}
                    {% endif %}
                     {%  for email in emails|split(',') %}
                        <a href="mailto:{{ email|trim }}"><i class="fas fa-envelope"></i>{{ email|trim }}</a>
                       {% endfor %}
               </div>
            {% endif %} 
        </div>
    
        <div class="plan col-xl-3 col-lg-3">
            <h6>{% trans %}footer.siteplan.title{% endtrans %}</h6>
            <ul>
                <a href="{{ app.request.baseUrl }}/"><li class="link">{% trans %}footer.siteplan.thecenacle{% endtrans %}</li></a> 
                <a href="{{ app.request.baseUrl }}/master"><li class="link">{% trans %}footer.siteplan.themaster{% endtrans %}</li></a> 
                {% if club is defined and club.uuid is defined %}
                    <a href="{{ app.request.baseUrl }}/club?select=clear"><li class="link">{% trans %}footer.siteplan.clubselected{% endtrans %}</li></a>
                {% else %}
                    <a href="{{ app.request.baseUrl }}/club"><li class="link">{% trans %}footer.siteplan.clublist{% endtrans %}</li></a>
                {% endif %}
                <a href="{{ app.request.baseUrl }}/login"><li class="link">{% trans %}footer.siteplan.login{% endtrans %}</li></a> 
                {#<a href="{{ app.request.baseUrl }}/#"><li class="link">{% trans %}footer.siteplan.privacypolicy{% endtrans %}</li></a>#}
                <a href="{{ app.request.baseUrl }}/swagger"><li class="link">API</li></a>
            </ul>
        </div>
    
        <div class="courses col-xl-3 col-lg-3">
            <h6>{% trans %}footer.ourdisciplines.title{% endtrans %}</h6>
            <ul>
                <a href="{{ app.request.baseUrl }}/taekwonkido"><li class="link">{% trans %}discipline.taekwonkido{% endtrans %}</li></a>
                <a href="{{ app.request.baseUrl }}/taekwondo"><li class="link">{% trans %}discipline.taekwondo{% endtrans %}</li></a>
                <a href="{{ app.request.baseUrl }}/hapkido"><li class="link">{% trans %}discipline.hapkido{% endtrans %}</li></a>
                <a href="{{ app.request.baseUrl }}/sinkido"> <li class="link">{% trans %}discipline.sinkido{% endtrans %}</li></a>
            </ul>
        </div>
    
        <div class="social col-xl-2 col-lg-2">
            {% set url = {} %}
            {% if club is defined and club.uuid is defined %}
                {% if club.facebook_url is defined and club.facebook_url is not empty %}
                    {% set url = url|merge({'facebook': club.facebook_url }) %}
                {% endif %}
            {% elseif cenacleProperties["cenacle.contact.facebook.url"] is defined %}
                {% set url = url|merge({'facebook': cenacleProperties["cenacle.contact.facebook.url"] })%}
            {% endif %}
            
            {% if club is defined and club.uuid is defined %}
                {% if club.instagram_url is defined and club.instagram_url is not empty %}
                    {% set url = url|merge({'instagram': club.instagram_url }) %}
                {% endif %}
            {% elseif cenacleProperties["cenacle.contact.instagram.url"] is defined %}
                {% set url = url|merge({'instagram': cenacleProperties["cenacle.contact.instagram.url"] })%}
            {% endif %}
    
            {% if club is defined and club.uuid is defined %}
                {% if club.twitter_url is defined and club.twitter_url is not empty %}
                    {% set url = url|merge({'twitter': club.twitter_url }) %}
                {% endif %}
            {% elseif cenacleProperties["cenacle.contact.twitter.url"] is defined %}
                {% set url = url|merge({'twitter': cenacleProperties["cenacle.contact.twitter.url"] })%}
            {% endif %}
    
            {% if club is defined and club.uuid is defined %}
                {% if club.youtube_url is defined and club.youtube_url is not empty %}
                    {% set url = url|merge({'youtube': club.youtube_url }) %}
                {% endif %}
            {% elseif cenacleProperties["cenacle.contact.youtube.url"] is defined %}
                {% set url = url|merge({'youtube': cenacleProperties["cenacle.contact.youtube.url"] })%}
            {% endif %}
            
             {% if club is defined and club.uuid is defined %}
                {% if club.dailymotion_url is defined and club.dailymotion_url is not empty %}
                    {% set url = url|merge({'dailymotion': club.dailymotion_url }) %}
                {% endif %}
            {% elseif cenacleProperties["cenacle.contact.dailymotion.url"] is defined %}
                {% set url = url|merge({'dailymotion': cenacleProperties["cenacle.contact.dailymotion.url"] })%}
            {% endif %}
            
            {% if (club is not defined or club.uuid is not defined) and cenacleProperties["cenacle.contact.github.url"] is defined %}
                {% set url = url|merge({'github': cenacleProperties["cenacle.contact.github.url"] })%}
            {% endif %}
            
            {% if url is not empty %}
                <h6>{% trans %}footer.followus.title{% endtrans %}</h6>
                <div class="icons flex-xl-row flex-lg-column flex-md-column align-items-center">
                    {% for key,value in url %}
                        <a href="{{ value }}"><i class="fab fa-{{ key }}"></i></a>
                    {% endfor %}
                </div>
            {% endif %}
        </div>
    
    </footer>