{% include 'header.twig' %}
      
      
      
      
      
      
      
        
        <!-- Main variables *content* -->
        <style>
#dashboard #content .auth {
    padding-left: 15px !important;
    padding-top: 80px;
    padding-right: 15px;
}
  .container-fluid{
        padding-right: 0px !important;
    padding-left: 0px !important;
  }
</style>
		
		<!-- Main variables *content* -->
        <main class="auth">
                    <div class="about_us_effect">
            <img
              src="https://smmxz.sacloud.site/images/about-us-page-left-image.png"
              class="img-fluid about_us_img_left"
              alt=""
            />
            <img
              src="https://smmxz.sacloud.site/images/about-us-page-right-image.png"
              class="img-fluid about_us_img_right"
              alt=""
            />
          </div>
          		    <!-- Order Search Box -->
<div class="search__box">
    <div class="container-fluid">
      <div class="row">
        <div class="col-lg-12">
          <div class="card card_v2 mb-3">
            <div class="card-body">
              <div class="search_box_with_dropdown">
                <div class="search_bar">
                  <form action="/updates" method="get" id="history-search">
                    <div class="search_inputs ">
                        <div class="search">
                            <input
                              type="text"
                              class="search_input"
                              placeholder="Search"
                              name="search"
                              data-search-service="#service-table"
                              id="filterServicesInput"
                            />
                            <button type="submit" class="icon" data-filter-serch-btn="true">
                              <iconify-icon icon="material-symbols:search"></iconify-icon>
                            </button>
                        </div>
                    </div>
                </form>
                </div>
                <div class="drop_menu">
                                    <div class="dropdown">
                      <button class="btn btn-primary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">
                          <span>All</span>
                      </button>
                      <ul class="dropdown-menu dropdown-menu-dark">
                                                    <li>
                            <a  class="dropdown-item  active" href="/updates">
                              All
                            </a>
                          </li>
                                                  <li>
                            <a  class="dropdown-item " href="/updates/new">
                              New service
                            </a>
                          </li>
                                                  <li>
                            <a  class="dropdown-item " href="/updates/decreased">
                              Rate decreased
                            </a>
                          </li>
                                                  <li>
                            <a  class="dropdown-item " href="/updates/increased">
                              Rate increased
                            </a>
                          </li>
                                                  <li>
                            <a  class="dropdown-item " href="/updates/enabled">
                              Service enabled
                            </a>
                          </li>
                                                  <li>
                            <a  class="dropdown-item " href="/updates/disabled">
                              Service disabled
                            </a>
                          </li>
                                              </ul>
                    </div>
                                    </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <!-- ### Order Search Box -->
















 <div class="content">
        <!-- page and other top info -->
        <div id="page_info">

        </div>
        <!-- // page and other top info -->
        <div id="affiliates">
    <div class="container-fluid">
        <div class="row">
{% if PageText %}

   
    <div class="col-md-12">
      
      <div class="card">
        {{ contentText }}
      </div>
    </div>
</div>
    </div>
  </div></div></div></div></div>
{% endif %} 
     <div class="col-md-12">
                <div class="card card_v2">
                    <div class="card-body">
                <div class="col">
                    <div class="orders-history__margin-tab">
                        <div class="component_status_tabs">
                            <div class="">
      <ul class="nav nav-pills tab ">
	  
        <li class="nav-item" >
		
      </ul><br>
	
     <div class="row">
                <div class="col">
                    <div class="orders-history__margin-table">
                        <div class="table-bg component_table ">
                            <div class="table-wr table-responsive">
        <table class="table ">
          <thead>
            <tr>
                	<th><font size="3" color="red"><b>Updated ID</b></font></th>
													<th><font size="3" color="red"><b>Service Id</b></font></th>
													<th><font size="3" color="red"><b>Service Name</b></font></th>
													<th><font size="3" color="red"><b>Description</b></font></th>
													<th><font size="3" color="red"><b>Date</b></font></th>
													<th><font size="3" color="red"><b>Action</b></font></th>
                
                
             
            </tr>
          </thead>
          <tbody>
{#reject - #702283#}
{#completed-0e7f00#}
{#inprogress-0721ed#}
{#pending-42b7af#}
{#error-f71111#}

<td colspan="9">
            {% for order in orders %}
              <tr>
<td>{{ order['id'] }}</td> 
<td>{{ order['service_id'] }}</td> 
                <td>{{ order['service_name'] }}</td>
               
                 <td>{{ order['description'] }}</td> 
      <td>{{ order['date'] }}</td> 
          <td>{{ order['action'] }}</td>
               

              </tr>
            {% endfor %}
</td>
          </tbody>
        </table>
      </div>
    <br>
      {% if pagination["count"] > 1 %}
        <ul class="pagination">

          {% if pagination["current"] == 1 %}
            <li>
              <a href="updates/{{ status }}/{{ pagination["previous"] }}{% if search %}?search={{ search }}{% endif %}" aria-label="Previous">
                <span aria-hidden="true">ﾃつｫ</span>
              </a>
            </li>
          {% endif %}

          {% set r, l = 3, 3 %}

          {% if pagination['current'] == 1 %}
            {% set r = 7 %}
          {% endif %}

          {% if pagination['current'] == 2 %}
            {% set r = 5 %}
          {% endif %}

          {% if pagination['current'] >= pagination['count'] %}
            {% set l = 5 %}
          {% endif %}

          {% for page in 1..pagination["count"] %}
            {% if page >= (pagination['current']-l) and page <= (pagination['current']+r) %}
              <div style="border:1px solid rgb(128,128,128); padding:4px; margin-left:8px; min-width:21px; text-align:center;"><li{% if page == pagination['current'] %} class="active" {%endif%}><a href="updates/{{ status }}/{{ page }}{% if search %}?search={{ search }}{% endif %}">{{ page }}</a></li></div>
            {%endif%}
          {% endfor %}

          {% if pagination['current'] < pagination['count'] %}
            <li>
              <a style="margin-left:8px;" href="updates/{{ status }}/{{ pagination['next'] }}{% if search %}?search={{ search }}{% endif %}" aria-label="Next">
                <span aria-hidden="true">ﾃつｻ</span>
              </a>
            </li>
          {% endif %}

        </ul>
      {% endif %}

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




<br><br><br><br><br>










<script type="text/javascript"  src="https://storage.perfectcdn.com/libs/jquery/1.12.4/jquery.min.js" >
                            </script>
                    <script type="text/javascript"  src="https://storage.perfectcdn.com/global/6lea6p5h1se0ydlc.js" >
                            </script>
                    <script type="text/javascript"  src="https://storage.perfectcdn.com/global/lpckws4jmmcjpzoh.js" >
                            </script>
                    <script type="text/javascript"  src="https://storage.perfectcdn.com/global/41oyxac8gg4eoke6.js" >
                            </script>
                    <script type="text/javascript"  src="https://storage.perfectcdn.com/global/dmabhtcke4de93dz.js" >
                            </script>
                    <script type="text/javascript"  src="https://storage.perfectcdn.com/global/7hl6zfgduel1sfu0.js" >
                            </script>
                    <script type="text/javascript"  src="https://storage.perfectcdn.com/o9v0gb/umnk9pmrxf8674fk.js" >
                            </script>
					<script type="text/javascript" >
				                window.modules.layouts = {"theme_id":1,"auth":1,"live":true,"csrftoken":"i42_6JiehV0GM-TMb-SDfo4nIGMt2F_Q01XS8Rpa_Bbz-M-M1du3DHZpk7lXi_Md7RVuVH-sN4KVMYqoTxOeLg=="};
                			</script>
					<script type="text/javascript" >
				                window.modules.alerts = {"alerts":[]};
                			</script>
					<script type="text/javascript" >
							</script>
		
        <!-- Footer Scripts -->
                 <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-Fy6S3B9q64WdZWQUiU+q4/2Lc9npb8tCaSX9FK7E8HnRr0Jz8D6OP9dO5Vg3Q9ct" crossorigin="anonymous"></script>

                <!-- Swiper JS -->
        <script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js"></script>