HEX
Server: nginx/1.16.1
System: Linux iZ7xv2zauie3qihz0jlnrxZ 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: www (1000)
PHP: 7.2.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/shzthfdcpg.com/wp-content/themes/shzhaotao/archive.php
<?php get_header(); ?>
 	<div class="main_box main_box_style1">
 		<?php if(in_category(1)||in_category(4)){ ?>
	 		<div class="main_box main_box_style1">
				<div class="main_box_inner">
					<div class="main_box_inner_left">
						<div class="nav_box nav_box_menu">
							<div class="nav_title">
								<span class="nav_sign"><?php $nolink_category = get_the_category(); echo $nolink_category[0]->cat_name; ?></span><span class="nav_more"></span>
							</div>
							<div class="nav_menu collapse navbar-collapse" id="navs">
								<?php wp_nav_menu( array( 'theme_location' => 'new-left' )); ?>
							</div>
						</div>
					</div>
					<div class="main_box_inner_right">
						<div class="current_location ">
							<ul>
								<li class="current_location_1">当前位置:<a href="<?php echo esc_url( home_url( '/' ) ); ?>">首页</a> » <a><?php $nolink_category = get_the_category(); echo $nolink_category[0]->cat_name; ?></a></li>
								<li class="current_location_2"><?php $nolink_category = get_the_category(); echo $nolink_category[0]->cat_name; ?></li>
							</ul>
						</div>
						<div class="sublanmu_box ">
							<div class="sublanmu_content sublanmu_content_article">
								<ul class="article">
									<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
										<li><span class="title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></span><span class="date"><?php the_time("Y-m-d"); ?></span></li>
									<?php endwhile; endif; ?>
								</ul>
							</div>
						</div>
					</div>
				</div>
				<div class="clear main_box_inner_bottom">
				</div>
			</div>
 		<?php }else{ ?>
			<div class="main_box_inner">
				<div class="main_box_inner_left">
					<div class="nav_box nav_box_menu">
						<div class="nav_title">
							<span class="nav_sign">产品中心</span><span class="nav_more"></span>
						</div>
						<div class="nav_menu collapse navbar-collapse" id="navs" style="z-index:300;">
							<?php wp_nav_menu( array( 'theme_location' => 'pro-menu' )); ?>
						</div>
					</div>
				</div>
				<div class="main_box_inner_right">
					<div class="current_location ">
						<ul>
							<li class="current_location_1">当前位置:<a href="<?php echo esc_url( home_url( '/' ) ); ?>">首页</a> » <a><?php $nolink_category = get_the_category(); echo $nolink_category[0]->cat_name; ?></a></li>
							<li class="current_location_2"><?php $nolink_category = get_the_category(); echo $nolink_category[0]->cat_name; ?></li>
						</ul>
						<script type="text/javascript">
							var urls=window.location.href.substr(-15,15);
							if (urls=="chanpinzhongxin") {
								jQuery(".current_location_2").html("产品中心");
							};
						</script>
					</div>
					<div class="sublanmu_box ">
						<div class="sublanmu_content sublanmu_content_product">
							<ul class="pro-zxyhhd-box">
								<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
									<li class="zxyhhd zxyhhd-wc animated fadeInDown" data-wow-delay="0.2s" style="visibility: visible; animation-delay: 0.2s;">
										<a class="pic" href="<?php the_permalink(); ?>">
											<?php if ( has_post_thumbnail() ) { ?>
							                  <?php the_post_thumbnail(); ?>
							                <?php } else {?>
							                  <img src="<?php bloginfo('template_url'); ?>/images/moban2/defaultpic.jpg" />
							                <?php } ?>
										</a>
										<a class="title" href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
									</li>
		 						<?php endwhile; endif; ?>
							</ul>
						</div>
					</div>
				</div>
			</div>
			<div class="clear main_box_inner_bottom">
			</div>
		<?php } ?>
		<?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>
	</div>
	<!--分页样式-->
	<script type="text/javascript">
	    jQuery(".wp-pagenavi").attr('style','width:100%;min-width:320px;background:#fff;padding:13px 3%; text-align:center');
	    jQuery(".wp-pagenavi .pages").attr('style','font-size:12px;color:#737373;border:1px solid #737373;');
	    jQuery(".wp-pagenavi a").attr('style','font-size:12px;color:#737373;border:1px solid #737373');
	    jQuery(".wp-pagenavi .current").attr('style','border:1px solid #f00;color:#f00;');
	    jQuery(".wp-pagenavi a").hover(function(){
	      jQuery(this).css('color','#f00');
	      jQuery(this).css('border','1px solid #f00');
	    });
	    jQuery(".wp-pagenavi a").mouseleave(function(){
	      jQuery(this).css('color','#737373');
	      jQuery(this).css('border','1px solid #737373');
	    });
  	</script>
<?php get_footer(); ?>