Uname:Linux EDL-STRETCH 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64

403WebShell
403Webshell
Server IP : 188.114.97.2  /  Your IP : 104.23.197.230
Web Server : Apache/2.4.59 (Debian)
System : Linux EDL-STRETCH 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64
User : edlftp ( 1002)
PHP Version : 7.4.33
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 : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/nicolasj/www/blog.ecoledelangues.be/wp-content/plugins/nk-google-analytics/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/nicolasj/www/blog.ecoledelangues.be/wp-content/plugins/nk-google-analytics/admin/metabox.php
<?php

defined('ABSPATH') or die("No script kiddies please!");

	wp_nonce_field( 'NKgoogleanalytics_meta_box', 'NKgoogleanalytics_meta_box_nonce' );

?>

<table class="form-table">
	<tr valign="top">
	<th scope="row"><?php _e( 'Tracking code location', 'NKgoogleanalytics' ); ?></th>
	<td>
	<select name="nkweb_code_in_head">
	<option value="default"<?php if ( get_post_meta( $post->ID, 'nkweb_code_in_head', true) == "default") { echo ' selected="selected"'; } ?>><?php _e( 'Default', 'NKgoogleanalytics' ); ?></option>
	<option value="true"<?php if ( get_post_meta( $post->ID, 'nkweb_code_in_head', true) == "true") { echo ' selected="selected"'; } ?>><?php _e( 'Head', 'NKgoogleanalytics' ); ?></option>
	<option value="false"<?php if ( get_post_meta( $post->ID, 'nkweb_code_in_head', true) == "false") { echo ' selected="selected"'; } ?>><?php _e( 'End of the page', 'NKgoogleanalytics' ); ?></option>
	</select>
	</td>
	</tr>

	<tr valign="top">
	<th scope="row"><?php _e( 'Javascript code executed before pageview', 'NKgoogleanalytics' ); ?></th>
	<td>
	<select name="nkweb_Use_Custom_js">
	<option name="nkweb_Use_Custom_js" value="default"<?php if ( get_post_meta( $post->ID, 'nkweb_Use_Custom_js', true) == "default") { echo ' selected="selected"'; } ?>><?php _e( 'Default, use global settings', 'NKgoogleanalytics' ); ?></option>
	<option name="nkweb_Use_Custom_js" value="true"<?php if ( get_post_meta( $post->ID, 'nkweb_Use_Custom_js', true) == "true") { echo ' selected="selected"'; } ?>><?php _e( 'Yes, use the following code', 'NKgoogleanalytics' ); ?></option>
	<option name="nkweb_Use_Custom_js" value="false"<?php if ( get_post_meta( $post->ID, 'nkweb_Use_Custom_js', true) == "false") { echo ' selected="selected"'; } ?>><?php _e( 'No, do not use any', 'NKgoogleanalytics' ); ?></option>
	</select><br>
	<textarea name="nkweb_Custom_js" class="nk-textarea<?php if (get_post_meta( $post->ID, 'nkweb_Use_Custom_js', true) != "true"){ echo ' input-disabled" readonly="readonly'; } ?>"><?php echo get_post_meta( $post->ID, 'nkweb_Custom_js', true); ?></textarea>
	<div class="description"><?php _e('Get elements from the page and do operations before passing them as values, dimensions or metrics', 'NKgoogleanalytics'); ?></div>
	</td>
	</tr>
	
	<tr valign="top">
	<th scope="row"><?php _e( 'Other values, dimensions and metrics', 'NKgoogleanalytics' ); ?></th>
	<td>
	<select name="nkweb_Use_Custom_Values">
	<option name="nkweb_Use_Custom_Values" value="default"<?php if ( get_post_meta( $post->ID, 'nkweb_Use_Custom_Values', true) == "default") { echo ' selected="selected"'; } ?>><?php _e( 'Default, use global settings', 'NKgoogleanalytics' ); ?></option>
	<option name="nkweb_Use_Custom_Values" value="true"<?php if ( get_post_meta( $post->ID, 'nkweb_Use_Custom_Values', true) == "true") { echo ' selected="selected"'; } ?>><?php _e( 'Yes, use the following code', 'NKgoogleanalytics' ); ?></option>
	<option name="nkweb_Use_Custom_Values" value="false"<?php if ( get_post_meta( $post->ID, 'nkweb_Use_Custom_Values', true) == "false") { echo ' selected="selected"'; } ?>><?php _e( 'No, do not use any', 'NKgoogleanalytics' ); ?></option>
	</select><br>
	<textarea name="nkweb_Custom_Values" class="nk-textarea<?php if (get_post_meta( $post->ID, 'nkweb_Use_Custom_Values', true) != "true"){ echo ' input-disabled" readonly="readonly'; } ?>"><?php echo get_post_meta( $post->ID, 'nkweb_Custom_Values', true); ?></textarea>
	<div class="description"><?php esc_attr_e('Example: \'forceSSL\': true, \'dimension1\': \'some data\', \'metric2\': totalprice', 'NKgoogleanalytics'); ?></div>
	</td>
	</tr>
	
	<tr valign="top">
	<th scope="row"><?php _e( 'Use custom Google Analytics tracking code', 'NKgoogleanalytics' ); ?></th>
	<td>
	<input type="radio" id="nkweb_Use_Custom_true" name="nkweb_Use_Custom" value="true" <?php if (get_post_meta( $post->ID, 'nkweb_Use_Custom', true) == "true"){ echo "checked "; } ?>> Yes, use the following code<br>
	<input type="radio" id="nkweb_Use_Custom_false" name="nkweb_Use_Custom" value="false" <?php if (get_post_meta( $post->ID, 'nkweb_Use_Custom', true) != "true"){ echo "checked "; } ?>> No, use global configuration<br>
	<textarea name="nkweb_Custom_Code" class="nk-textarea<?php if (get_post_meta( $post->ID, 'nkweb_Use_Custom', true) != "true"){ echo ' input-disabled" readonly="readonly'; } ?>"><?php echo get_post_meta( $post->ID, 'nkweb_Custom_Code', true); ?></textarea>
	</td>
	</tr>
</table>

Youez - 2016 - github.com/yon3zu
LinuXploit