HEX
Server: nginx/1.15.10
System: Linux vps240vn 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
User: www (1000)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,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_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/vietktv.vn/wp-content/themes/binhvu.off/search.php
<?php get_header(); ?>
<div id="search-tmp" class="site-main-wrapper">
<div class="container">
		<?php //  get_sidebar('left');?>

		<main class="site-main"> 
		
				<section class="search-tmp-results">

					<header class="section-header">		
						<div class="search-tmp-title"><?php echo 'Kết quả tìm kiếm cho từ khóa :';?> <?php printf('<span class="search-keywords">' . get_search_query() . '</span>' ); ?></div>
					</header>

					<div class="section-main clearfix">

					<?php if (have_posts()): ; ?>
					<div class="search-result-items">
						<ul>
							<?php while (have_posts()): the_post();  ?>

							<li><a href="<?php the_permalink();?>"><?php the_title();?></a></li>

							<?php endwhile;?>
						</ul>
					</div>
					<?php wp_pagenavi();?>
					
					<?php else : ?>
						<div class="no-post-message message"><span> Không tìm thấy kết quả nào phù hợp </span></div>
					<?php endif;?>
					</div>				
				</section>
			
			
		</main>
		<?php // get_sidebar('right');?>
</div>	
</div>
<?php get_footer(); ?>

<?php 
/*<form id="wp-search-form-1" role="search" method="get" class="search-form" action="<?php echo esc_url( home_url( '/' ) ); ?>">
	
	<input type="search" class="search-field" placeholder="Nhập từ khóa" value="<?php echo get_search_query(); ?>" name="s" required/>
	
	<button type="submit" class="search-submit">Tìm</button>
</form>
*/?>