HEX
Server: nginx/1.16.1
System: Linux VM-0-14-centos 4.18.0-348.7.1.el8_5.x86_64 #1 SMP Wed Dec 22 13:25:12 UTC 2021 x86_64
User: www (1000)
PHP: 8.3.31
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/1.scey.cn/wp-content/themes/Leading/template-parts/single/single-1.php
<?php wp_reset_query();?>
<div class="cur_position">
	<p>
		<?php get_breadcrumbs();?>
	</p>
</div>
<div class="main_body">

	<div class="main_left<?php if( wpjam_theme_get_setting('sidebar_left') ){ echo ' sidebar_left'; }?>">

		<div class="title_author">
			<div class="news_title">
				<p>
					<?php the_title(); ?>
				</p>
			</div>
			<div class="author_date">
				<div class="news_author">
					<a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>">
					<p>
						<strong style="font-weight:normal;"><?php echo get_the_author(); ?></strong>
					</p>
					</a>
				</div>
				<div class="news_date">
					<p>
						发布日期:<?php the_time('Y-m-d'); ?>
					</p>
				</div>
				<div class="news_date">
					<p>
						浏览:<?php echo wpjam_get_post_views(get_the_ID()); ?>次
					</p>
				</div>
			</div>

			<div class="title_line"></div>

		</div>

		<div class="news_con">
			<div class="info_con">
				<?php while( have_posts() ): the_post(); ?>
					<?php the_content();?>
				<?php endwhile; ?>
			</div>
		</div>

		<div class="wap_footer_fg">
		</div>

		<div class="con_from">
			<div class="con_from_left">
				<p>
					本文出自 <a href="<?php echo home_url(); ?>"><strong><?php echo get_bloginfo('name'); ?></strong></a> ,原文链接:<?php the_permalink() ?> 。如若转载请注明出处。
				</p>
			</div>
		</div>

		<div class="tag_fx_ewm">
			<div class="tag_div">
				<div class="tag_div_child">
					<?php the_tags('<div class="tag_div_child1" style="cursor:pointer;">', '</div><div class="tag_div_child1" style="cursor:pointer;">', '</div>') ?>
				</div>
			</div>
		</div>

		<?php
		if( !wpjam_theme_get_setting('close_related') ){
		$related_query = wpjam_get_related_posts_query(4);
		if($related_query->have_posts()){ ?>
		<?php while( $related_query->have_posts() ) { $related_query->the_post(); ?>
		<div class="listnews_box_text">
			<a href="<?php the_permalink(); ?>" class="listnews_box_img">
				<img src="<?php echo wpjam_get_post_thumbnail_url($post,array(300,200), $crop=1); ?>" width="300" height="200" alt="<?php the_title(); ?>">
			</a>
			<h3 class="listnews_box_h5">
				<a href="<?php the_permalink(); ?>" target="_blank"><?php the_title(); ?></a>
			</h3>
			<?php the_excerpt();?>
			<p class="listnews_box_info">
				<span class="date mr10"><?php the_time('Y-m-d') ?></span>
				<span class="keywords">
					<?php the_tags('', '', '') ?>
				</span>
			</p>
		</div>
		<?php } } wp_reset_query(); ?>
		<?php }?>
	</div>

	<?php get_sidebar();?>
</div>