
{% include 'header.twig' %}



<br>

<!-- Main variables *content* -->
          
<div class="container-fluid" >
  
    
	<div class="row services-page">
    <ul class="social-btn-wrap" id="dc-body">
        
        
      <li>
        <a class=" services-list-filter social-button brand-category" href="javascript:btnFltr('facebook');" data-services-filter="facebook"><i class="fab fa-facebook-f"></i> Facebook</a>
      </li>
      <li>
        <a class="services-list-filter social-button brand-category" href="javascript:btnFltr('twitter');" data-services-filter="twitter"><i class="fab fa-twitter"></i> Twitter</a>
      </li>
      <li>
        <a class="services-list-filter social-button brand-category" href="javascript:btnFltr('instagram');" data-services-filter="instagram"><i class="fab fa-instagram"></i> Instagram</a>
      </li>
      <li>
        <a class="services-list-filter social-button brand-category" href="javascript:btnFltr('youtube');" data-services-filter="youtube"><i class="fab fa-youtube"></i> Youtube</a>
      </li>
      <li>
        <a class="services-list-filter social-button brand-category" href="javascript:btnFltr('linkedin');" data-services-filter="linkedin"><i class="fab fa-linkedin"></i> Linkedin</a>
      </li>
      <li>
        <a class="services-list-filter social-button brand-category" href="javascript:btnFltr('tiktok');" data-services-filter="tiktok"><i class="fab fa-tiktok"></i> Tiktok</a>
      </li>
      <li>
        <a class="services-list-filter social-button brand-category" href="javascript:btnFltr('telegram');" data-services-filter="telegram"><i class="fab fa-telegram-plane"></i> Telegram</a>
      </li>
	    <li>
        <a class="services-list-filter social-button brand-category" href="javascript:btnFltr('spotify');" data-services-filter="spotify"><i class="fab fa-spotify"></i> Spotify</a>
      </li>
	    <li>
        <a class="services-list-filter social-button brand-category" href="javascript:btnFltr('soundcloud');" data-services-filter="soundcloud"><i class="fab fa-soundcloud"></i> Soundcloud</a>
      </li>
	    <li>
        <a class="services-list-filter social-button brand-category" href="javascript:btnFltr('traffic');" data-services-filter="traffic"><i class="fas fa-globe"></i> Website Traffic</a>
      </li>
	    <li>
        <a class="services-list-filter social-button brand-category" href="javascript:btnFltr();" data-services-filter=""<i class="fab fa-audible"></i> Everything</a>
      </li>
    </ul>
  </div>


         <div class="row">
    <div class="col-sm-12">
      <div class="search-wrap">
        <div class="input-group row">

          <div class="col-lg-9 col-md-9 col-sm-10 col-xs-8 mt-15">
            <input id="serv-inp" type="text" class="form-control" placeholder="Search">
          </div>

          <div class="col-lg-1 col-md-1 col-sm-2 col-xs-4 mt-15">
            <span class="input-group-btn-search">
              <button onClick="searchServices()" class="btn btn-default" data-filter-search-btn="true">
                <i class="fas fa-search"></i>
              </button>
            </span>
          </div>
          
          <!-- end -->
          
                 



        </div>
      </div>
    </div>
  </div>

                  


<div class="row">
                <div class="col">
                    <div class="services-list__table">
                        <div class="table-bg component_table ">
                            <div class="table-wr table-responsive">
                                <table class="table" id="service-table"> 
                                    <thead>
                                    <tr>
                                        <th>ID</th>
                                        <th class="nowrap">Service</th>
                                        <th class="nowrap">Rate for 1000</th>
                                        <th class="nowrap">Mininmum / Maximum</th>
                                        <th class="nowrap" nowrap>
                                                <div class="d-flex align-items-center">
                                                    <span>Average Time</span>
                                                    <span class="ml-1 mr-1 fa fa-exclamation-circle" data-toggle="tooltip" data-placement="top" title="The average time is based on 10 latest completed orders per 1000 quantity."></span>
                                                </div>
                                            </th>
                                     <th class="hidden-xs hidden-sm service-description__th">Service <br>Description</th> </tr>
                                    </thead>
                                    <tbody>
            

                                       {% for category in serviceCategory %}
                                            <tr class="services-list-category-title" data-filter-table-category-id="{{ category["category_id"] }}">
                                                <td colspan="7">
                                                  <div class="w-100 ">
                                                       <div style="border-radius:10px;" class="style-bg-primary-alpha-20 style-text-primary services-category p-3">
                                                          <strong> {{ category["category_name"] }}</strong>
                                                       </div>
                                                   </div>
                                                </td>
                                            </tr>


                                                

                         {% for service in category['services'] %}
                  <tr data-filter-table-category-id="{{ category["category_id"] }}">
                    <td data-label="ID" data-filter-table-service-id="{{ service["service_id"] }}"><span id="service-{{ service["service_id"] }}">{{ service["service_id"] }}</span>
                                        <a>
                                            <span
                                                data-clip="true"
                                                title="Service id copied"
                                                data-clipboard-action="copy"
                                                data-clipboard-target="#service-{{ service["service_id"] }}"
class="fas fa-clone"></span>
                                        </a></td>
                    <td data-label="Service" class="table-service" data-filter-table-service-name="true">{{ service["service_name"] }}</td>
<td><span class="badge" style="background:#0dd887;">

{% if user["auth"] == "1" %} 
{{service["service_price"]}} PER 1K

{% else %}
{{service["without_login_service_price"]}} PER 1K
{% endif %}
    </span></td>

<td data-th="Min" data-column="column3"><span class="badge" style="background:#ED4166;">{{ service["service_min"] }} / {{ service["service_max"] }}</span></td>
                    <td>{{ service["time"] }}</td>
                    <td>
                     <!-- Modal -->
                        <div class="modal fade" id="servis{{ service["service_id"] }}" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
                          <div class="modal-dialog modal-dialog-centered" role="document">
                            <div class="modal-content">
                              <div class="modal-header">
                                <h5 class="modal-title" id="exampleModalLabel">{{ service["service_name"] }} </h5> 
                                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                                  <span aria-hidden="true">×</span>
                                </button>
                              </div>
                              <div class="modal-body text-left">
                                <p class="detail-data details-split-959"> {{ service["service_description"] }}</p>
                              </div>
                              <div class="modal-footer">
                                <button type="button" class="btn btn-actions" data-dismiss="modal">Close</button>
                              </div>
                            </div>
                          </div>{% if service["service_description"]  %}
                        </div><a href="javascript:void(0)" class="btn btn-actions " data-toggle="modal" data-target="#servis{{ service["service_id"] }}">
                         View
                      </a>
                  {% endif %} 
                        </td>
                  </tr>
                {% endfor %}
              {% endfor %}
          </tbody>
        </table>
      </div></br></br>
    </div>
  </div>
</div>



{% include 'footer.twig' %}