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/email/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/sura/templates/email/basket_quote_attachment.html.twig
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>{{ data['title'] }}</title>
    <style>
        body{
            margin:0;
            padding:0;
            /*background:#d6d7df;*/
            font-size:14px;
            color:#000000;
            font-family:'Fira Sans', Arial, Helvetica, sans-serif;
        }
        table, th, td{
            border: 1px solid black;
            text-align: center;
        }
        table{
            width: 100%;
            border-collapse: collapse;
        }
        td{
            height: 30px;
        }
        th{
            height: 30px;
        }
        #basket, #date{
            font-size: 1.2rem;
        }
        #date{
            float: right;
        }
    </style>
</head>
<body>

{# @var cart \App\Entity\Cart #}
{% set cart = data['cart'] %}

<h4 align="center">{{ data['title'] }}</h4><hr>
<div style="margin-bottom: 30px">
    <span id="basket">Basket id: {{ cart.id }}</span>
    <span id="date">{{ cart.createTime.format("d F Y, h:i:s ") }}</span>
</div>

<div class="row">
    <table>
        <thead>
        <tr>
            <th>Stock ID</th>
            <th>Title</th>
            <th>Size</th>
            <th>Licence Type</th>
            <th>Price</th>
        </tr>
        </thead>
        <tbody>
        {# @var item \App\Entity\CartItem #}
        {% for item in cart.cartItems %}
            <tr>
                <td>{{ item.stock.formattedId ? item.stock.formattedId : item.stock.id }}</td>
                <td>{{ item.stock.title }}</td>
                <td>{{ item.size }}</td>
                <td>
                    {{ item.stock.licenceType }} ({{ item.size }})
                    {% if item.exclusiveLicence|lower !='none' %}
                        - 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 }}
                        {#{{ item.exclusiveLicence / 12 >= 1 ? item.exclusiveLicence/12 ~ durationIn : item.exclusiveLicence ~ durationIn }}#}
                    {% endif %}
                    {{ item.exclusiveLicence|lower !='none'?'(Exclusive '~item.exclusiveLicence~')':'' }}
                </td>
                <td>{{ item.amount }}</td>
            </tr>
        {% endfor %}
        <tr class="alt">
            <td colspan="5" align="right"><h3 class="total_amount">Total Price: ${{ data['cart'].total }}</h3></td>
        </tr>
        </tbody>
    </table>
</div>

</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit