HEX
Server: nginx/1.18.0
System: Linux iZuf6ar3jbed2aosvzu1ofZ 4.18.0-240.22.1.el8_3.x86_64 #1 SMP Thu Apr 8 19:01:30 UTC 2021 x86_64
User: root (0)
PHP: 7.3.28
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/wood-lk.cn/wp-content/themes/mlk/archive-news.php
<?php 
/*
Template Name: 树屋鉴赏
Author: 畔游科技  
Version: 1.0  
*/
get_header(); ?>  
<div class="container">
	<div class="flex pages-wrap">
		<div class="pages-left">
			<div class="aside-nav">
				<div class="flex aside-nav-title">
					<h3>树屋鉴赏</h3>
				</div>
				<!-- ./ -->
				<div class="aside-nav-current">
					<ul>
						<li class="on"><a href="/news">树屋案例</a></li>
					</ul>
				</div>
				<!-- ./ -->
			</div>
			<!-- ./nav -->
			<?php get_sidebar(); ?>
			<!-- ./ -->
		</div>
		<!-- ./left -->


		<div class="pages-right">
			<div class="page-path">
				当前位置:<a href="<?php echo esc_url( home_url( '/' ) ); ?>">首页</a> <b></b> <span>树屋案例</span>
			</div>
			<!-- ./ -->
			<div class="pages-curcatagory">
				<h3><i></i>树屋案例 </h3>
			</div>
			<!-- ./ -->
			<div class="case">
				<ul>
				<?php if (have_posts()) : while (have_posts()) : the_post();  ?>
					<li class="flex">
						<a href="<?php the_permalink(); ?>" class="case-poster" title="<?php the_title(); ?>">
							<?php if ( has_post_thumbnail() ) { ?>
								<img src="<?php echo wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'large')[0]; ?>" alt="<?php the_title(); ?>">
							<?php } else {?>
								<img src="<?php bloginfo('template_url'); ?>/assets/images/case/p1.png" alt="<?php the_title(); ?>">
							<?php } ?>
						</a>
						<!-- ./ -->
						<div class="case-content">
							<h3><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3>
							<span><?php the_time('Y.m.d'); ?></span>
							<p><?php echo mb_strimwidth(strip_tags(apply_filters('the_content', $post->post_content)), 0, 80, '...'); ?></p>
						</div>
					</li>
				<?php endwhile; endif; ?>
				</ul>
			</div>
			<!-- ./ -->
			<?php if (have_posts()) { ?>
				<?php MBThemes_paging();?>
			<?php } ?>
			<!-- ./ -->
		</div>
		<!-- ./right -->
	</div>
</div>
<?php get_footer(); ?>