403Webshell
Server IP : 206.188.193.52  /  Your IP : 216.73.217.114
Web Server : Apache
System : Linux prod-iad-vuxweb1501am 5.14.0-687.26.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jul 14 16:32:02 EDT 2026 x86_64
User : 2670060.2931588 ( 1910161)
PHP Version : 7.4.33
Disable Function : shell_exec,passthru,exec,system,pcntl_exec
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /data/20/2/18/60/2670060/user/2931588/htdocs/nsiwordpress/wp-content/themes/oceanwp/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /data/20/2/18/60/2670060/user/2931588/htdocs/nsiwordpress/wp-content/themes/oceanwp/searchform.php
<?php
/**
 * The template for displaying search forms.
 *
 * @package OceanWP WordPress theme
 */

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

// Post type.
$search_post_type = get_theme_mod( 'ocean_menu_search_source', 'any' );

// Generate unique form ID.
$ocean_sf_id = oceanwp_unique_id( 'ocean-search-form-' );

$display_label     = oceanwp_is_accessibility_feature_enabled( 'ocean_display_header_search_form_label' );
$custom_label_text = oceanwp_get_header_search_form_label();

$form_aria_label  = oceanwp_theme_strings('owp-string-search-form-label', false);
$input_aria_label = oceanwp_theme_strings('owp-string-search-field', false);
$form_placeholder = oceanwp_theme_strings( 'owp-string-search-text', false );
$form_close_scrd  = oceanwp_theme_strings( 'owp-string-esc-close-notice', false );

$label_text = ! empty( $custom_label_text )
	? $custom_label_text
	: $form_aria_label;

$form_aria_label_attr       = '';
$form_input_aria_label_attr = '';

if ( ! $display_label ) {

	$form_aria_label_attr = sprintf(
		'aria-label="%s"',
		esc_attr( $label_text )
	);

	$form_input_aria_label_attr = sprintf(
		'aria-label="%s"',
		esc_attr( $input_aria_label )
	);
}

// Setup the ESC description ID.
$desc_id = $ocean_sf_id . '-desc';

?>

<form <?php echo $form_aria_label_attr; ?> role="search" method="get" class="searchform" action="<?php echo esc_url( home_url( '/' ) ); ?>">

	<?php if ( $display_label ) : ?>
        <label for="<?php echo esc_attr( $ocean_sf_id ); ?>" class="header-search-visible-label">
            <?php echo esc_html( $label_text ); ?>
        </label>
    <?php endif; ?>

	<input type="search" id="<?php echo esc_attr( $ocean_sf_id ); ?>" class="field" autocomplete="off" placeholder="<?php echo esc_attr( $form_placeholder ); ?>" name="s" <?php echo $form_input_aria_label_attr; ?> aria-describedby="<?php echo esc_attr( $desc_id ); ?>">

	<?php if ( 'any' !== $search_post_type ) : ?>
        <input type="hidden" name="post_type" value="<?php echo esc_attr( $search_post_type ); ?>">
    <?php endif; ?>
    <?php do_action( 'wpml_add_language_form_field' ); ?>

	<span id="<?php echo esc_attr( $desc_id ); ?>" class="screen-reader-text">
        <?php echo esc_html( $form_close_scrd ); ?>
    </span>

</form>

Youez - 2016 - github.com/yon3zu
LinuXploit