{% 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: #e70720e0;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: #e70720e0;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: 12px;
			color: #393e46;
			box-shadow: 0px 4px 10px -5px #000000;
			background-color: #FCF5E6;}
	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_87"><div class="block-bg"></div><div class="block-divider-top"><svg width="-100%" height="-50%" viewBox="0 0 1280 140" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><g fill="currentColor"><path d="M504.854,80.066c7.812,0,14.893,0.318,21.41,0.879 c-25.925,22.475-56.093,40.852-102.946,40.852c-20.779,0-37.996-2.349-52.898-6.07C413.517,107.295,434.056,80.066,504.854,80.066z M775.938,51.947c19.145,18.596,39.097,35.051,77.956,35.051c46.907,0,62.299-14.986,80.912-24.98 c-21.357-15.783-46.804-28.348-85.489-28.348C816.829,33.671,794.233,41.411,775.938,51.947z" fill-opacity=".3"/><path d="M1200.112,46.292c39.804,0,59.986,22.479,79.888,39.69v16.805 c-19.903-10.835-40.084-21.777-79.888-21.777c-72.014,0-78.715,43.559-147.964,43.559c-56.84,0-81.247-35.876-117.342-62.552 c9.309-4.998,19.423-8.749,34.69-8.749c55.846,0,61.99,39.617,115.602,39.617C1143.177,92.887,1142.618,46.292,1200.112,46.292z M80.011,115.488c-40.006,0-60.008-12.206-80.011-29.506v16.806c20.003,10.891,40.005,21.782,80.011,21.782 c80.004,0,78.597-30.407,137.669-30.407c55.971,0,62.526,24.026,126.337,24.026c9.858,0,18.509-0.916,26.404-2.461 c-57.186-14.278-80.177-48.808-138.66-48.808C154.698,66.919,131.801,115.488,80.011,115.488z M526.265,80.945 c56.848,4.902,70.056,28.726,137.193,28.726c54.001,0,73.43-35.237,112.48-57.724C751.06,27.782,727.548,0,665.691,0 C597.381,0,567.086,45.555,526.265,80.945z" fill-opacity=".5"/><path d="M0,0v85.982c20.003,17.3,40.005,29.506,80.011,29.506c51.791,0,74.688-48.569,151.751-48.569 c58.482,0,81.473,34.531,138.66,48.808c43.096-8.432,63.634-35.662,134.433-35.662c7.812,0,14.893,0.318,21.41,0.879 C567.086,45.555,597.381,0,665.691,0c61.856,0,85.369,27.782,110.246,51.947c18.295-10.536,40.891-18.276,73.378-18.276 c38.685,0,64.132,12.564,85.489,28.348c9.309-4.998,19.423-8.749,34.69-8.749c55.846,0,61.99,39.617,115.602,39.617 c58.08,0,57.521-46.595,115.015-46.595c39.804,0,59.986,22.479,79.888,39.69V0H0z"/></g></svg></div><div class="container-fluid"><div class="totals ">
  <div class="row align-items-start justify-content-start">
                  <div class="col-lg-6 col-sm-12 mb-2 mt-2">
          <div class="card h-100"
               style="
                background: var(--color-id-26);                                  color: var(--text-dark);                                                                  border-color: var(--color-id-64);                                  padding-top: 10px;                                  padding-bottom: 12px;                                  padding-left: 23px;                                  padding-right: 10px;                                  border-top-left-radius: 35px;                                  border-bottom-left-radius: 35px;                                  border-top-right-radius: 35px;                                  border-bottom-right-radius: 35px;                                  border-left-width: 1px;                                  border-right-width: 1px;                                  border-bottom-width: 1px;                                  border-top-width: 1px;                                  box-shadow: 0px 0px 7px 0px var(--color-id-101);                                  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="
                           background: var(--color-id-62);                                          border-top-left-radius: 10px;                                          border-bottom-left-radius: 10px;                                          border-top-right-radius: 10px;                                          border-bottom-right-radius: 10px;                                   ">
                        <span class="totals-block__icon style-text-primary fas fa-user-cowboy" style="
                                font-size: 38px;
                                transform: rotate(0deg);
                                color: var(--color-id-26);
                                text-shadow: Array;
                                border-radius: 0px;
                                "></span>
                  </div>
                </div>
                            <div class="totals-block__card-right">
                                  <style>
                    #block_87 .totals-block__count a {
                      color: var(--color-id-43) !important;
                    }
                  </style>
                                <div class="totals-block__count">
                  <h2 class="totals-block__count-value style-text-primary"
                      style=" color: var(--color-id-43); ">
                                                                 {{ user["username"]  }}
                                                                                </h2>
                </div>
                <div class="totals-block__card-name">
                                      <p><span style="color: var(--color-id-43)"><strong style="font-weight: bold">Welcome to panel!</strong></span></p>
                                  </div>
              </div>
            </div>
          </div>
        </div>
                        <div class="col-lg-6 col-sm-12 mb-2 mt-2">
          <div class="card h-100"
               style="
                background: var(--color-id-26);                                  color: var(--text-dark);                                                                  border-color: var(--color-id-64);                                  padding-top: 10px;                                  padding-bottom: 12px;                                  padding-left: 23px;                                  padding-right: 10px;                                  border-top-left-radius: 35px;                                  border-bottom-left-radius: 35px;                                  border-top-right-radius: 35px;                                  border-bottom-right-radius: 35px;                                  border-left-width: 1px;                                  border-right-width: 1px;                                  border-bottom-width: 1px;                                  border-top-width: 1px;                                  box-shadow: 0px 0px 7px 0px var(--color-id-101);                                  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="
                           background: var(--color-id-62);                                          border-top-left-radius: 10px;                                          border-bottom-left-radius: 10px;                                          border-top-right-radius: 10px;                                          border-bottom-right-radius: 10px;                                   ">
                        <span class="totals-block__icon style-text-primary fas fa-envelope-open-dollar" style="
                                font-size: 38px;
                                transform: rotate(0deg);
                                color: var(--color-id-26);
                                text-shadow: none;
                                border-radius: 0px;
                                "></span>
                  </div>
                </div>
                            <div class="totals-block__card-right">
                                  <style>
                    #block_87 .totals-block__count a {
                      color: var(--color-id-43) !important;
                    }
                  </style>
                                <div class="totals-block__count">
                  <h2 class="totals-block__count-value style-text-primary"
                      style=" color: var(--color-id-43); ">
                                                                  {{ user["spent"] }}
                                                                                </h2>
                </div>
                <div class="totals-block__card-name">
                                      <p><span style="color: var(--color-id-43)"><strong style="font-weight: bold">Spent balance</strong></span></p>
                                  </div>
              </div>
            </div>
          </div>
        </div>
                        <div class="col-lg-6 col-sm-12 mb-2 mt-2">
          <div class="card h-100"
               style="
                background: var(--color-id-26);                                  color: var(--text-dark);                                                                  border-color: var(--color-id-64);                                  padding-top: 10px;                                  padding-bottom: 12px;                                  padding-left: 23px;                                  padding-right: 10px;                                  border-top-left-radius: 35px;                                  border-bottom-left-radius: 35px;                                  border-top-right-radius: 35px;                                  border-bottom-right-radius: 35px;                                  border-left-width: 1px;                                  border-right-width: 1px;                                  border-bottom-width: 1px;                                  border-top-width: 1px;                                  box-shadow: 0px 0px 7px 0px var(--color-id-101);                                  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="
                           background: var(--color-id-62);                                          border-top-left-radius: 10px;                                          border-bottom-left-radius: 10px;                                          border-top-right-radius: 10px;                                          border-bottom-right-radius: 10px;                                   ">
                        <span class="totals-block__icon style-text-primary far fa-atom-alt" style="
                                font-size: 38px;
                                transform: rotate(0deg);
                                color: var(--color-id-26);
                                text-shadow: none;
                                border-radius: 0px;
                                "></span>
                  </div>
                </div>
                            <div class="totals-block__card-right">
                                  <style>
                    #block_87 .totals-block__count a {
                      color: var(--color-id-43) !important;
                    }
                  </style>
                                <div class="totals-block__count">
                  <h2 class="totals-block__count-value style-text-primary"
                      style=" color: var(--color-id-43); ">
                                                          {{totalorders}} 
                                      </h2>
                </div>
                <div class="totals-block__card-name">
                                      <p><span style="color: var(--color-id-43)"><strong style="font-weight: bold">Panel orders</strong></span></p>
                                  </div>
              </div>
            </div>
          </div>
        </div>
                        <div class="col-lg-6 col-sm-12 mb-2 mt-2">
          <div class="card h-100"
               style="
                background: var(--color-id-26);                                  color: var(--text-dark);                                                                  border-color: var(--color-id-64);                                  padding-top: 10px;                                  padding-bottom: 12px;                                  padding-left: 23px;                                  padding-right: 10px;                                  border-top-left-radius: 35px;                                  border-bottom-left-radius: 35px;                                  border-top-right-radius: 35px;                                  border-bottom-right-radius: 35px;                                  border-left-width: 1px;                                  border-right-width: 1px;                                  border-bottom-width: 1px;                                  border-top-width: 1px;                                  box-shadow: 0px 0px 7px 0px var(--color-id-101);                                  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="
                           background: var(--color-id-62);                                          border-top-left-radius: 10px;                                          border-bottom-left-radius: 10px;                                          border-top-right-radius: 10px;                                          border-bottom-right-radius: 10px;                                   ">
                        <span class="totals-block__icon style-text-primary fas fa-comments-alt-dollar" style="
                                font-size: 38px;
                                transform: rotate(0deg);
                                color: var(--color-id-26);
                                text-shadow: none;
                                border-radius: 0px;
                                "></span>
                  </div>
                </div>
                            <div class="totals-block__card-right">
                                  <style>
                    #block_87 .totals-block__count a {
                      color: var(--color-id-43) !important;
                    }
                  </style>
                                <div class="totals-block__count">
                  <h2 class="totals-block__count-value style-text-primary"
                      style=" color: var(--color-id-43); ">
                                                           {{ user["balance"] }}
                                                                                </h2>
                </div>
                <div class="totals-block__card-name">
                                      <p><span style="color: var(--color-id-43)"><strong style="font-weight: bold">Account balance</strong></span></p>
                                  </div>
              </div>
            </div>
          </div>
        </div>
                                </div>
                                
                                
      </div></div></div><div id="block_60"><div class="block-bg"></div><div class="block-divider-bottom"><svg width="100%" height="100%" viewBox="0 0 1280 140" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><g fill="currentColor"><path d="M0 47.44L170 0l626.48 94.89L1110 87.11l170-39.67V140H0V47.44z" fill-opacity=".5"/><path d="M0 90.72l140-28.28 315.52 24.14L796.48 65.8 1140 104.89l140-14.17V140H0V90.72z"/></g></svg></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>
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">✕</span></button>

      </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">
                    <div class="search-dropdown" id="new-order-search" style="position: relative;" data-lang-placeholder="Search" >
                      <div class="input-wrapper" style="position: relative;">
                        <button style="position: absolute;top: 50%;transform: translateY(-50%);padding: 0px 2px;background: none;border: none;left: 12px;" type="button">
                          <span class="fas fa-search"></span>
                        </button>
                        <input type="text" class="form-control" id="template-input" value="" placeholder="Search">
                      </div>
                    </div>
                  </div>     
                  
                                                  <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">
                <label for="charge" class="control-label">Charge</label>
                <input type="text" class="form-control" id="charge" value="" readonly>
              </div>
                          </div>
            <input type="hidden" name="_csrf" value="8E-I7pmyFJ-NgctPEqOxKvMk2-ENsCLq2NnAclujbQ-WK7if7edNzsPR8yZh8PdesgmylE_VZIb1g_A6a_YyOw==">
            <div class="new-order-button-submit component_button_submit ">
              <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' %}                        
                                