src/NCBS/WebsiteBundle/Resources/views/Includes/footer.html.twig line 1

Open in your IDE?
  1. {# Contents of #footer, to load (and cache) separately after page load   #}
  2. {# note this variable was defined in (what was) the parent; we need to duplicate here
  3. and for any other variables which might be defined elsewhere but used here.
  4. (can be either in twig templates, or maybe in the Includes controller) #}
  5. {% set current_locale_code = app.request.attributes.get('_route_params')['_locale'] %}
  6.       <div class="container">
  7.             
  8.               <div class="row mobile-hide">
  9.           <div class="col-lg-3 col-md-3" style="padding-bottom:15px;">
  10.           <h4>{{ app.session.get('ui_str')["linktitle.short.bible.main"]|raw }}</h4>
  11.           <hr>
  12.           <h6><a href="javascript:openBibleIndex();">{{ app.session.get('ui_str')["linktitle.short.bible.read"]|raw }}</a></h6>
  13.           <h6><a href="{{ path('bible_stories') }}">{{ app.session.get('ui_str')["linktitle.short.bible.stories"]|raw }}</a></h6>
  14.           <h6><a href="{{ path('concepts') }}">{{ app.session.get('ui_str')["linktitle.short.concepts"]|raw }}</a></h6>
  15.           <h6><a href="{{ path('reading_plan_index') }}">{{ app.session.get('ui_str')["linktitle.short.bible.readingplans"]|raw }}</a></h6>
  16.           <h6><a href="{{ path('daily_verse') }}">{{ app.session.get('ui_str')["linktitle.short.dailyverse"]|raw }}</a></h6>
  17.           <h6><a href="{{ path('bible_studies') }}">{{ app.session.get('ui_str')["linktitle.short.bible-studies"] }}</a></h6>
  18.           </div>
  19.           
  20.           <div class="col-lg-3 col-md-3" style="padding-bottom:15px;">
  21.           <h4>{{ app.session.get('ui_str')["homepage.quadrants.swedenborg.title"]|raw }}</h4>
  22.           <hr>
  23.           <h6><a href="{{ path('swedenborg') }}">{{ app.session.get('ui_str')["linktitle.short.swedenborg.read"]|raw }}</a></h6>
  24.           <h6><a href="{{ path('consider') }}">{{ app.session.get('ui_str')["linktitle.short.consider"]|raw }}</a></h6>
  25.           <h6><a href="{{ path('swedenborg_research_tools') }}">{{ app.session.get('ui_str')["linktitle.short.research"]|raw }}</a></h6>
  26.           </div>
  27.           
  28.           <div class="col-lg-3 col-md-3" style="padding-bottom:15px;">
  29.           <h4>{{ app.session.get('ui_str')["linktitle.short.tools"]|raw }}</h4>
  30.           <hr>
  31.           {% if not bLoggedIn  %}
  32.               <h6><a href="{{ path('register') }}">{{ app.session.get('ui_str')["linktitle.short.register"]|raw }}</a></h6>
  33.           {% endif %}
  34.           <h6><a href="{{ path('otle_videos') }}">{{ app.session.get('ui_str')["videopage.heading"]|raw }}</a></h6>
  35.           <h6><a href="{{ path('audio_hub') }}">{{ app.session.get('ui_str')["audiopage.heading"]|raw }}</a></h6>
  36.           <h6><a href="{{ path('classes_and_groups') }}">{{ app.session.get('ui_str')["classpage.heading"]|raw }}</a></h6>
  37.           <h6><a href="{{ path('new_church_map') }}">{{ app.session.get('ui_str')["linktitle.short.newchurchmap"]|raw }}</a></h6>
  38.           <h6><a href="{{ path('resources') }}">{{ app.session.get('ui_str')["linktitle.short.resources"]|raw }}</a></h6>
  39.           <h6><a href="{{ path('advanced_search') }}">{{ app.session.get('ui_str')["search.title.advanced"]|raw }}</a></h6>
  40.           </div>
  41.           
  42.           <div class="col-lg-3 col-md-3" style="padding-bottom:15px;">
  43.           <h4>{{ app.session.get('ui_str')["linktitle.short.more"]|raw }}</h4>
  44.           <hr>
  45.           <h6><a href="{{ path('news') }}">{{ app.session.get('ui_str')["linktitle.short.news"]|raw }}</a></h6>
  46.           <h6><a href="{{ path('about') }}">{{ app.session.get('ui_str')["linktitle.short.about"]|raw }}</a></h6>
  47.           <h6><a href="{{ path('q_and_a') }}">{{ app.session.get('ui_str')["qandapage.heading"]|raw }}</a></h6>
  48.           <h6><a href="{{ path('partners') }}">{{ app.session.get('ui_str')["linktitle.short.partners"]|raw }}</a></h6>
  49.           <h6><a href="{{ path('get_involved') }}">{{ app.session.get('ui_str')["linktitle.short.getinvolved"]|raw }}</a></h6>          
  50.           <h6><a href='javascript:reporttous();'>{{ app.session.get('ui_str')["linktitle.short.bugreport"]|raw }}</a></h6>
  51.           <h6><a href="{{ path('contact') }}">{{ app.session.get('ui_str')["linktitle.short.contact"]|raw }}</a></h6>
  52.           </div>
  53.            
  54.         <div class="col-lg-12"><hr></div>
  55.                       
  56.        </div>    
  57.                   
  58.             
  59.             <div class="row">
  60.       <div class="col-lg-6 col-md-6" style="padding-top:5px;padding-bottom:5px;">
  61.             <span style="vertical-align:top;">{{ app.session.get('ui_str')["generic.footer.followus"]|raw }} &nbsp;<a href="https://www.facebook.com/NewChristianBibleStudy" target="_blank" rel="noopener" title="follow us on facebook"><img alt="follow us on facebook" style="width:35px; height:35px;vertical-align:middle;" src="{{ asset('/bundles/ncbsw/media/facebok-48.webp') }}" /></a>&nbsp;&nbsp;&nbsp;{{ app.session.get('ui_str')["generic.footer.donate"]|raw }} &nbsp;</span><a href="{{ path('donate') }}" class="card-body-link">
  62. <img alt="Donate with PayPal" border="0" src="{{ asset('/bundles/ncbsw/img/btn_donate_LG.gif') }}" style="width:92px; height:26px;"></a>
  63.             </div>
  64.             
  65.              <div class="col-lg-6 col-md-6" style="padding-top:5px;padding-bottom:5px;">
  66.             <i class="fas fa-feather-pointed" style="color:#6c3a2a;"></i> {{ app.session.get('ui_str')["apppage.heading"] }}: &nbsp<a href="{{ path('mobile_app') }}">{{ app.session.get('ui_str')["generic.downloadnow"] }}</a>
  67.             </div>
  68.             
  69.         <div style="clear:both;"><hr /></div>
  70. </div>
  71.   
  72.   
  73.         <div class="row">
  74.                 <div class="col-lg-12">
  75.                 <hr />
  76.           <p>{{ app.session.get('ui_str')["generic.copyright.notice"]|raw }} <a href="{{ path('terms_of_use') }}">{{ app.session.get('ui_str')["linktitle.short.terms"]|raw }}</a> | <a href="{{ path('privacy_policy') }}">{{ app.session.get('ui_str')["linktitle.short.privacy"]|raw }}</a>.</p>   
  77.         </div>
  78.                 </div>
  79.                 
  80.                 
  81.       </div>
  82.       
  83. <script>
  84.      var sUrl = document.URL;
  85.     var nMaxBodyText = 500;
  86.     
  87. function contactGroupFromMap(vGroupID,vGroupName)
  88. {
  89.     openNav("Contact "+vGroupName,"{{ path("popup_form", {"typeName":"contact_group"}) }}?id="+vGroupID+"&name="+encodeURIComponent(vGroupName));
  90. }  
  91. function reporttous()
  92. {
  93.     var sUrl = document.URL;
  94.     openNav("{{ app.session.get('ui_str')["linktitle.short.bugreport"]|raw }}","{{ path("popup_form", {"typeName":"userreport"}) }}?url="+encodeURIComponent(sUrl));
  95. }
  96. function openchatbot()
  97. {        
  98.     {% set sLink = path('chatbot') %}    
  99.     openWin("{{ sLink }}", screen.width/2, screen.height/1.1, 20, 20);
  100. }     
  101.         
  102. </script>