403Webshell
Server IP : 172.67.214.6  /  Your IP : 216.73.216.73
Web Server : LiteSpeed
System : Linux premium900.web-hosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
User : redwjova ( 1790)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : OFF |  Pkexec : OFF
Directory :  /home/redwjova/fyntric.com/wp-content/themes/smart-mag/partials/header/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/redwjova/fyntric.com/wp-content/themes/smart-mag/partials/header/search.php
<?php
/**
 * Partial: Search used in header
 */

$props = array_replace([
	'type' => '',
], $props);


$input_classes = ['query'];

// live search enabled?
if (Bunyad::options()->header_search_live) {
	$input_classes[] = 'live-search-query';
}

?>

<?php if ($props['type'] === 'icon'): ?>

	<a href="#" class="search-icon has-icon-only is-icon" title="<?php esc_attr_e('Search', 'bunyad'); ?>">
		<i class="tsi tsi-search"></i>
	</a>

<?php else: ?>

	<div class="smart-head-search">
		<form role="search" class="search-form" action="<?php echo esc_url(home_url('/')); ?>" method="get">
			<input type="text" name="s" class="<?php echo esc_attr(join(' ', $input_classes)); ?>" value="<?php the_search_query(); ?>" placeholder="<?php esc_attr_e('Search...', 'bunyad'); ?>" autocomplete="off" />
			<button class="search-button" type="submit">
				<i class="tsi tsi-search"></i>
				<span class="visuallyhidden"><?php esc_html__('Search', 'bunyad'); ?></span>
			</button>
		</form>
	</div> <!-- .search -->

<?php endif; ?>

Youez - 2016 - github.com/yon3zu
LinuXploit