{% include 'header.twig' %}

<style>
    
    
    
    @media (max-width:991px){ #block_93 
.totals-block__card-right {margin-left:-13px;padding-left:22px;border:2px solid;border-bottom-width:0px;border-top-width:0px;border-right-width:0px;border-radius: 0px 12px 12px 0px;margin-right:-10px;}}
.news-item{display: flex;align-items: flex-start;gap: 20px;}
.news-item:first-child{margin-top:-20px;}
.news-icon-inline{width: 30px;margin-right:7px;}
.news-icon img{width: 100%;}
.news-details{flex: 1;}
.news-title{display: flex;font-size: 14px;margin-bottom:0px;padding:7px ;background:;border-radius:12px 12px 0 0;}
.news-content{margin: 0;color: #000;padding:7px ;background:;border-radius:0px 0px 12px 12px;}
.headsir{position:sticky;top:0;width:101%;font-weight: 700;font-size: 22px;padding: 1rem 1rem;color: #fff;margin:-1.2px 0px 0px -1.2px;border-radius:12px 12px 0px 0px;background: #3ab315;box-shadow: 0px 5px 15px -3px rgba(0,0,0,0.1);}
.news-date {margin: 0;padding:0.5px 0px;color: #fff;font-size: 12px;width:50%;text-align: center;border-radius:8px;background: #3ab315;margin-bottom:10px;margin-top:20px;}
.ssw{max-height: 450px;overflow-y: auto;padding-top: 25px;padding-bottom: 25px;padding-right: 20px;padding-left: 20px;}
@media (min-width: 992px){
    .news-date{width:40%;}}
    .select2-container--default .select2-results > 
    .select2-results__options {max-height: 412px;overflow-y: auto;}
    .body .form-group .select2-results__option {border-bottom: 0px solid white;}
    .select2-container .select2-selection--single .select2-selection__rendered{padding: 4px;margin-left:-5px}
    .body .style-bg-primary-alpha-10 {box-shadow: 0px 3px 10px 0px rgba(0,0,0,0.2);transform: skew(0deg, 0deg);overflow: hidden;}
    .body .style-bg-primary-alpha-10:before {content: '';display: block;background: #ffffff50;height: 205%;width: 20px;transform: rotate(35deg);position: absolute;left: 0;top: -24px;transition: all 0.3s ease-in-out;animation: 3.2s shine infinite;}@keyframes shine {0% {left: -20px;}20% {left: 100%;top: -20px;}100% {left: 100%;top: -20px;}}.mop{transform:rotatey(180deg);margin-bottom:-5px;margin-top:-12px;opacity:2}.select2-container--default .select2-results__option[aria-selected=true] a{color:#fff;}.select2-container--default .select2-results__option:hover a{color:#fff;}.badge.badge-secondary {color: #fff;}.body .style-bg-primary-alpha-10 {background: rgb(233 233 233 / 22%);}

    
    
    
</style>



<style>
		#service_description,
		#service_avg_time {
			padding: 13px;
			border-radius: 10px;
			color: #393e46;
			box-shadow:1px 1px 1px #f2f4f5;
			background-color: #f2f4f5;}
	svg {fill: #ffffff;}@media (min-width:992px){
    .totals-block__card-right{ background-color: #fff; }
}
</style>



   <div class="wrapper-content">
    <div class="wrapper-content__header">
          </div>
    <div class="wrapper-content__body">
      <!-- Main variables *content* -->
      <div id="block_118"><div class="block-bg"></div><div class="container-fluid"><div class="totals ">
  <div class="row align-items-start justify-content-start">
                  <div class="col-lg-4 col-md-6 col-sm-12 mb-2 mt-2">
          <div class="card h-100"
               style="
                                                                                                                                                padding-top: 24px;                                  padding-bottom: 24px;                                                                                                                                                                                                                                                                                                                                                                                                  border-style: solid; ">
            <div class="totals-block__card">
                              <div class="totals-block__card-left">
                  <div
                          class="totals-block__icon-preview style-bg-primary-alpha-10 style-border-radius-default style-text-primary"
                          style="
                                                                                                                                                                                                                            ">
                        <span class="totals-block__icon style-text-primary fas fa-user" style="
                                font-size: 38px;
                                transform: rotate(0deg);
                                color: ;
                                text-shadow: Array;
                                border-radius: 0px;
                                "></span>
                  </div>
                </div>
                            <div class="totals-block__card-right">
                                <div class="totals-block__count">
                  <h2 class="totals-block__count-value style-text-primary"
                      style="">
                                                                  {{ user["username"]  }}
                                                                                </h2>
                </div>
                <div class="totals-block__card-name">
                                      <p>Welcome to panel!</p>
                                  </div>
              </div>
            </div>
          </div>
        </div>
                                            <div class="col-lg-4 col-md-6 col-sm-12 mb-2 mt-2">
          <div class="card h-100"
               style="
                                                                                                                                                padding-top: 24px;                                  padding-bottom: 24px;                                                                                                                                                                                                                                                                                                                                                                                                  border-style: solid; ">
            <div class="totals-block__card">
                              <div class="totals-block__card-left">
                  <div
                          class="totals-block__icon-preview style-bg-primary-alpha-10 style-border-radius-default style-text-primary"
                          style="
                                                                                                                                                                                                                            ">
                        <span class="totals-block__icon style-text-primary fas fa-wallet" style="
                                font-size: 38px;
                                transform: rotate(0deg);
                                color: ;
                                text-shadow: Array;
                                border-radius: 0px;
                                "></span>
                  </div>
                </div>
                            <div class="totals-block__card-right">
                                <div class="totals-block__count">
                  <h2 class="totals-block__count-value style-text-primary"
                      style="">
                                                               {{ user["balance"] }} 
                                                                                </h2>
                </div>
                <div class="totals-block__card-name">
                                      <p>Account balance</p>
                                  </div>
              </div>
            </div>
          </div>
        </div>
                        <div class="col-lg-4 col-md-6 col-sm-12 mb-2 mt-2">
          <div class="card h-100"
               style="
                                                                                                                                                padding-top: 24px;                                  padding-bottom: 24px;                                                                                                                                                                                                                                                                                                                                                                                                  border-style: solid; ">
            <div class="totals-block__card">
                              <div class="totals-block__card-left">
                  <div
                          class="totals-block__icon-preview style-bg-primary-alpha-10 style-border-radius-default style-text-primary"
                          style="
                                                                                                                                                                                                                            ">
                        <span class="totals-block__icon style-text-primary fal fa-envelope" style="
                                font-size: 38px;
                                transform: rotate(0deg);
                                color: ;
                                text-shadow: Array;
                                border-radius: 0px;
                                "></span>
                  </div>
                </div>
                            <div class="totals-block__card-right">
                                <div class="totals-block__count">
                  <h2 class="totals-block__count-value style-text-primary"
                      style="">
                                                             {{totalorders}}
                                      </h2>
                </div>
                <div class="totals-block__card-name">
                                      <p>Active Order</p>
                                  </div>
              </div>
            </div>
          </div>
        </div>
                      </div>
                      
                      
</div></div></div><div id="block_122"><div class="block-bg"></div><div class="container-fluid"><div class="new_order-block ">
  <div class="row">
    <div class="col-lg-7 mb-3 mb-lg-0">
      <div class="component_form_group component_card component_radio_button">
        <div class="card ">
            
                {% if error %}
      <div class="alert alert-dismissible alert-danger">
        {{ errorText }}
      </div>
    {% endif %}

     {% if data["order"]["success"] == 1 %}
      <div class="alert alert-dismissible alert-success"><h4>Your Order  received.</h4>
          <strong> {{ lang["neworder.success.id"] }}: </strong> {{ data['order']['id'] }} <br>
          <strong> {{ lang["neworder.success.service"] }}: </strong> {{ data['order']['service'] }} <br>
          <strong> {{ lang["neworder.success.link"] }}: </strong> {{ data['order']['link'] }} <br>
          <strong> {{ lang["neworder.success.quantity"] }}: </strong> {{ data['order']['quantity'] }} <br>
          <strong> {{ lang["neworder.success.charge"] }}: </strong> {{ data['order']['price'] }} <br>
          <strong> {{ lang["neworder.success.balance"] }}: </strong>{{ data['order']['balance'] }} <br>
<a href="/"><span class="badge badge-primary">Close</span></a>

      </div>
    {% endif %}
    
    
    {% if data["order"]["success"] == 2 %}
      <div class="alert alert-dismissible alert-success">
 <strong> {{ lang["neworder.success.id"] }}: </strong> {{ data['order']['id'] }} <br>
 <strong> {{ lang["neworder.success.service"] }}: </strong> {{ data['order']['service'] }} <br>
 <strong> {{ lang["neworder.success.username"] }}: </strong> {{ data['order']['link'] }} <br>
 <strong> {{ lang["neworder.success.quantity"] }}: </strong> {{ data['order']['min'] }} - {{ data['order']['max'] }} <br>
 <strong> {{ lang["neworder.success.posts"] }}: </strong> {{ data['order']['posts'] }} <br>
 <strong> {{ lang["neworder.success.delay"] }}: </strong>{{ data['order']['delay'] }} <br>
       </div>
    {% endif %}
            
            
            
     <div class="well">

	
<form method="post" action="">
    
<div class="component_button_forms">
                                                                                          <div class="form-group">
{% if settings.search_enabled == 1 %}
  <div class="form-group">
    
      <div class="form-group">
        <div class="search_services_content">
          <!-- Search input and clear icon -->
          <div class="input-group">
            <!-- Search input -->
            <input 
              type="search" 
              id="search_services_field" 
              class="form-control" 
              placeholder="Search by Service ID or Name"
              data-gtm-form-interact-field-id="0"
            >
          </div>
        </div>

        <!-- Search result dropdown -->
        <div 
          id="dropdown_for_search" 
          class="dropdown"
          style="
            display: none; /* Dropdown is hidden by default */
            max-height: 600px;
            overflow-y: auto;
            border: 1px solid #ddd;
            border-radius: 5px;
            padding: 5px;
            margin-top: 5px;
            box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.2);
          ">
          <div class="text-center" style="display: none;">
            Please Wait...
          </div>
        </div>
      </div>
    
  </div>
{% endif %}
                                                  <div class="form-group">
        
<label for="orderform-category" class="control-label">{{ lang["neworder.category"] }}</label>

<select class="form-control" id="neworder_category" name="categories" data-select="true" data-select-search="true" data-select-search-placeholder="Search" data-select-container="#select-category-container" tabindex="-1" aria-hidden="true">
{{ category_html_simplify }}

</select>
<div id="select-category-container" class="position-relative"></div>
</div>
</div>
    <div class="form-group">
<label for="orderform-service" class="control-label">{{ lang["neworder.service"] }}</label>
<select class="form-control" id="neworder_services" name="services" data-select="true" data-select-search="true" data-select-search-placeholder="Search" data-select-container="#select-service-container" tabindex="-1" aria-hidden="true">
<option value="1">No services found in this category</option>
</select>
<div id="select-service-container" class="position-relative"></div>
    </div>


  
  
  
  
  
  
  

    <div id="neworder_fields"></div>
      <div class="form-group" id="charge_div">
      <label for="charge" class="control-label">Charge</label>
      <input type="text" class="form-control" id="charge" readonly>
    </div> 
	
	
	<input type="hidden" name="csrf_token" value="{{ csrfToken }}">
                  <button type="submit" class="btn btn-block btn-big-primary">Submit</button>
            </div>
          </form>
        </div>
      </div>
    </div>

<div class="col-lg-5 mt-3">
  <div class="component_content_card component_content_button component_content_headers">
{% if news %}
    <div style="padding-top: 0px;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 0px;" class="card mb-3">
      <div class="style-bg-primary headsir"><i class="fal fa-newspaper mr-2"></i>Latest News</div>
      <div class="ssw">
      {% for new in news %}
      <div class="news-item">
        <div class="news-details">
          <p class="style-bg-primary news-date"><i class="fad fa-calendar-alt mr-1" style="--fa-secondary-opacity: 0.65;"></i>{{ new['news_date'] }}</p>
          <h4 id="service_description" class=" news-title"style="border-bottom-left-radius:0px;border-bottom-right-radius:0px;">
            <span class="icon-container">
              <img width="30" class="news-icon-inline" src="{{ new['news_icon'] }}" alt="News Icon">
            </span>
            {{ new['news_title'] }}
          </h4>
          <p id="service_description" class= "news-content" style="border-top-left-radius:0px;border-top-right-radius:0px;">{{ new['news_content'] }}</p>
        </div>
      </div>
      {% endfor %}
      </div>
  </div>
  </div>
{% endif%}

<div class="container">
</div>	
{% if contentText2 %}
<div class="card mt-3 mb-4">
{{ contentText2 }}
</div>
{% endif %}
														
</div></div>
</div></div>
</div>
</div></div></div>
</div></div>
</div>
</div>
{% include 'footer.twig' %}




