templates/components/packages/pricing.html.twig line 1

  1. <!-- Pricing-Section -->
  2. <section class="row_am pricing_section" id="pricing">
  3.     <!-- container start -->
  4.     <div class="container">
  5.         <div class="section_title" data-aos="fade-up" data-aos-duration="1500" data-aos-delay="300">
  6.             <!-- h2 -->
  7.             <h2>{{ tString("section_pricing_title_1") }} <span>{{ tString("section_pricing_title_2") }}</span></h2>
  8.             <!-- p -->
  9.             <p>{{ tString("section_pricing_p") }}</p>
  10.         </div>
  11.         <!-- toggle button -->
  12.         {% if app.user %}
  13.             <div class="d-flex justify-content-center">
  14.                 <ul class="nav nav-pills mb-3" id="pills-tab" role="tablist">
  15.                     <li class="nav-item" role="presentation">
  16.                         <button class="nav-link active" id="pills-first-tab" data-toggle="pill" data-target="#pills-first" type="button" role="tab" aria-controls="pills-first" aria-selected="true">START</button>
  17.                     </li>
  18.                 </ul>
  19.             </div>
  20.         {% endif %}
  21.         <div class="tab-content" id="pills-tabContent">
  22.             <div class="tab-pane fade show active" id="pills-first" role="tabpanel" aria-labelledby="pills-first-tab">
  23.                 <!-- Pricing-Section -->
  24.                 <section class="row_am pricing_section" id="pricing">
  25.                     <!-- container start -->
  26.                     <div class="container">
  27.                         <!-- toggle button -->
  28.                         <div class="toggle_block" data-aos="fade-up" data-aos-duration="1500">
  29.                             <span class="month text-capitalize">{{ tString("monthly") }}</span>
  30.                             <div class="tog_block">
  31.                                 <span class="tog_btn month_active"></span>
  32.                             </div>
  33.                             <span class="years active text-capitalize">{{ tString("yearly") }}</span>
  34.                         </div>
  35.                         <!-- pricing box  monthly start -->
  36.                         <div class="pricing_pannel active" data-aos="fade-up" data-aos-duration="1500">
  37.                             <!-- row start -->
  38.                             <div class="row">
  39.                                 {% for item in monthly %}
  40.                                     <!-- pricing box 1 -->
  41.                                     <div class="col-md-4 monthly_package d-none">
  42.                                         <div class="pricing_block {% if item.extract %}highlited_block{% endif %}">
  43.                                             <div class="pkg_name mb-4">
  44.                                                 {% set name = item.name %}
  45.                                                 {% set itemText = item.itemText %}
  46.                                                 {% for translation in item.productTranslations() %}
  47.                                                     {% if translation.getLocale() == app.request.locale %}
  48.                                                         {% set name = translation.name %}
  49.                                                         {% set itemText = translation.itemText %}
  50.                                                     {% endif %}
  51.                                                 {% endfor %}
  52.                                                 <h3>{{ name }}</h3>
  53.                                             </div>
  54.                                             <span class="price">
  55.                                                 {% if item.oldPrice %}
  56.                                                     <div class="h4"><del>{{ item.oldPrice|number_format(0,",",".") }} &euro; <br></del></div>
  57.                                                 {% endif %}
  58.                                                 {{ item.price|number_format(0,",",".") }} &euro; <br>
  59.                                             </span>
  60.                                             <div>
  61.                                                 {{ itemText|raw() }}
  62.                                             </div>
  63.                                             <p class="mt-3"><a class="btn white_btn text-uppercase" href="{{ path('user_register_free_trial') }}?product={{ item.id }}">{{ tString("isprobaj_besplatno") }} </a></p>
  64.                                             {% if route == "web_packages" %}
  65.                                                 <form action="{{ path('choose_plan') }}" method="get">
  66.                                                     <input type="hidden" value="{{ item.id }}" name="product_id">
  67.                                                     <input type="hidden" value="2" name="price_type">
  68.                                                     <button type="submit" class="btn btn-link btn-theme-link text-uppercase">{{ tString("buy") }} <i class="fa fa-arrow-right"></i></button>
  69.                                                 </form>
  70.                                             {% endif %}
  71.                                         </div>
  72.                                     </div>
  73.                                 {% endfor %}
  74.                                 {% for item in yearly %}
  75.                                     <!-- pricing box 1 -->
  76.                                     <div class="col-md-4 yearly_package d-block">
  77.                                         <div class="pricing_block {% if item.extract %}highlited_block{% endif %}">
  78.                                             <div class="pkg_name mb-4">
  79.                                                 {% set name = item.name %}
  80.                                                 {% set itemText = item.itemText %}
  81.                                                 {% for translation in item.productTranslations() %}
  82.                                                     {% if translation.getLocale() == app.request.locale %}
  83.                                                         {% set name = translation.name %}
  84.                                                         {% set itemText = translation.itemText %}
  85.                                                     {% endif %}
  86.                                                 {% endfor %}
  87.                                                 <h3>{{ name }}</h3>
  88.                                             </div>
  89.                                             <span class="price">
  90.                                                 {% if item.oldPrice %}
  91.                                                     <div class="h4"><del>{{ item.oldPrice|number_format(0,",",".") }} &euro; <br></del></div>
  92.                                                 {% endif %}
  93.                                                 {{ item.price|number_format(0,",",".") }} &euro; <br>
  94.                                             </span>
  95.                                             <div>
  96.                                                 {{ itemText|raw() }}
  97.                                             </div>
  98.                                             <p class="mt-3"><a class="btn white_btn text-uppercase" href="{{ path('user_register_free_trial') }}?product={{ item.id }}">{{ tString("isprobaj_besplatno") }} </a></p>
  99.                                             {% if route == "web_packages" %}
  100.                                                 <form action="{{ path('choose_plan') }}" method="get">
  101.                                                     <input type="hidden" value="{{ item.id }}" name="product_id">
  102.                                                     <input type="hidden" value="2" name="price_type">
  103.                                                     <button type="submit" class="btn btn-link btn-theme-link text-uppercase">{{ tString("buy") }} <i class="fa fa-arrow-right"></i></button>
  104.                                                 </form>
  105.                                             {% endif %}
  106.                                         </div>
  107.                                     </div>
  108.                                 {% endfor %}
  109.                             </div>
  110.                             <!-- row end -->
  111.                         </div>
  112.                         <!-- pricing box monthly end -->
  113.                     </div>
  114.                     <!-- container start end -->
  115.                 </section>
  116.                 <!-- Pricing-Section end -->
  117.             </div>
  118.         </div>
  119.         <p class="contact_text" data-aos="fade-up" data-aos-duration="1500">{{ tString("not_sure_what_to_choose") }} <a href="{{ path('web_contact') }}">{{ tString("contact_us") }}</a> {{ tString("for_custom_packages") }}</p>
  120.     </div>
  121.     <!-- container start end -->
  122. </section>
  123. <!-- Pricing-Section end -->