[ Avaa Bypassed ]




Upload:

Command:

www-data@3.142.133.182: ~ $
<?php
add_action( 'widgets_init', 'tie_search_widget' );
function tie_search_widget() {
	register_widget( 'tie_search' );
}
class tie_search extends WP_Widget {

	public function __construct(){
		$widget_ops 	= array( 'classname' => 'search'  );
		$control_ops 	= array( 'width' => 250, 'height' => 350, 'id_base' => 'search-widget' );
		parent::__construct( 'search-widget', THEME_NAME .' - '.__( 'Search' , 'tie') , $widget_ops, $control_ops );
	}

	public function widget( $args, $instance ) { global $is_IE; ?>
		<div class="search-block-large widget">
			<form method="get" action="<?php echo home_url(); ?>/">
				<button class="search-button" type="submit" value="<?php if( !$is_IE ) _eti( 'Search' , 'tie' ) ?>"><i class="fa fa-search"></i></button>
				<input type="text" id="s" name="s" value="<?php _eti( 'Search' ) ?>" onfocus="if (this.value == '<?php _eti( 'Search' ) ?>') {this.value = '';}" onblur="if (this.value == '') {this.value = '<?php _eti( 'Search' ) ?>';}"  />
			</form>
		</div><!-- .search-block /-->
<?php
	}
}

Filemanager

Name Type Size Permission Actions
widget-ads.php File 60.2 KB 0664
widget-author-custom.php File 2.98 KB 0664
widget-author.php File 4.8 KB 0664
widget-authors-posts.php File 3.3 KB 0664
widget-category.php File 3.48 KB 0664
widget-comments-avatar.php File 2.58 KB 0664
widget-custom-author.php File 2.9 KB 0664
widget-facebook.php File 2.37 KB 0664
widget-feedburner.php File 3.78 KB 0664
widget-flickr.php File 3.74 KB 0664
widget-instagram.php File 17.6 KB 0664
widget-login.php File 1.44 KB 0664
widget-news-pic.php File 3.87 KB 0664
widget-posts.php File 4.54 KB 0664
widget-search.php File 1.02 KB 0664
widget-slider.php File 6.19 KB 0664
widget-social.php File 3.3 KB 0664
widget-soundcloud.php File 3.1 KB 0664
widget-tabbed.php File 5.94 KB 0664
widget-text-html.php File 3.73 KB 0664
widget-timeline.php File 2.99 KB 0664
widget-twitter.php File 8.42 KB 0664
widget-video.php File 4.35 KB 0664
widget-weather.php File 12.33 KB 0664
widget-youtube.php File 2.39 KB 0664