403Webshell
Server IP : 146.190.157.162  /  Your IP : 216.73.217.6
Web Server : Apache
System : Linux ubuntu-s-2vcpu-4gb-amd-sfo3-01-KIT-DIGITAL 6.5.0-44-generic #44-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 7 15:10:09 UTC 2024 x86_64
User : businessweek ( 639)
PHP Version : 8.2.10-2ubuntu2.2
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_signal,pcntl_signal_dispatch,pcntl_getpriority,pcntl_setpriority,dl,putenv,parse_ini_file,show_source
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/html/reformas/wp-content/plugins/cf7-utm-tracking/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/reformas/wp-content/plugins/cf7-utm-tracking/cf7utm-class-admin.php
<?php

class CF7_UTM_Tracking_Admin {
	
	public static function init() {
		add_submenu_page( 'wpcf7', 'UTM tracking', 'CF7 UTM tracking', 'manage_options', 'cf7-utm-tracking', array('CF7_UTM_Tracking_Admin', 'render_page') );
		//add_menu_page( 'CF7 UTM tracking', 'CF7 UTM tracking' , 'manage_options', 'cf7_utm_tracking', array('CF7_UTM_Tracking_Admin', 'render_page'), false, 75);

        if ( isset($_GET['action']) && $_GET['action'] === 'dismiss_cf7_utm_message' ) {
            self::dismiss_admin_message();
        }

        add_action( 'admin_notices', array( __CLASS__, 'admin_notices' ) );
	}
	
	public static function render_page() {
		include 'templates/admin.php';
	}

    /**
     * Admin message
     * @since 1.3
     */
	public static function admin_notices() {
        if ( ! get_option( 'cf7_utm_v1_3_tag' ) ) {
            echo '<div class="notice notice-info notification-notice"><p>';

            printf( '"Contact Form 7 UTM tracking" warning: since the version 1.3 UTM tags aren\'t automatically added to the emails. You have to <a href="%s" target="_blank">put manually the tag</a> <code>[utm_and_referer]</code>!',
                'https://res.cloudinary.com/dxo61viuo/image/upload/v1559999389/wp-vote.net/CF7_utm_mail_tag.jpg');

            echo '<a href="' . add_query_arg( array('action'=>'dismiss_cf7_utm_message', '_wpnonce' => wp_create_nonce('cf7-utm-dismiss')) ) . '" class="dismiss-beg-message button button-primary" type="submit" style="float: right;">';
            echo 'I already did this >';
            echo '</a>';

            echo '</p></div>';

        }

	}

    /**
     * Dismiss message
     * @since 1.3
     */
    public static function dismiss_admin_message() {

        check_admin_referer( 'cf7-utm-dismiss' );

        update_option( 'cf7_utm_v1_3_tag', 'dismissed' );

    }

}

Youez - 2016 - github.com/yon3zu
LinuXploit