HEX
Server: nginx/1.26.3
System: Linux debian 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64
User: root (0)
PHP: 5.6.40
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/gxdaosen.net/wp-content/themes/simplepark/header.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta name="viewport" content="width=device-width, initial-scale=1" />	
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<?php if (get_option('mytheme_eso_jr') == ""){ ?>
<meta name="keywords" content="<?php  ob_start();theme_keyworeds(); ?>" />
<meta name="description" content="<?php  ob_start();theme_description(); ?>" />
<?php if (is_search()) { ?><meta name="robots" content="noindex, nofollow" /> <?php } ;?>
<title><?php if(get_option('mytheme_word_t12')==""){$word_t12='找到标签';}else{ $word_t12=get_option('mytheme_word_t12');};
		     if(get_option('mytheme_word_t9')!=""){$word_t9=get_option('mytheme_word_t9');}else{$word_t9='搜索结果:';}  
		     if(get_option('mytheme_word_t10')!=""){$word_t10=get_option('mytheme_word_t10');}else{$word_t9='很遗憾,没有找到你要的信息:';}  
			 $singletitle_p =get_post_meta($post->ID, "title_p",true);
			 $singletitle =get_post_meta($post->ID, "title",true);
			 global $wp_query;
	         $detect = new Mobile_Detect();
             $term_id = get_query_var('cat');
             $cat_title=get_option('cat_title_'.$term_id);
             $cat_title_p=get_option('cat_title_p_'.$term_id);
		      if (function_exists('is_tag') && is_tag()) {
		         single_tag_title($word_t12."&quot;"); echo '&quot; - '; }
		      elseif (is_archive()) {
				 if ($detect->isMobile()||$detect->isTablet()){
					 if($cat_title_p){echo $cat_title_p;}elseif( $cat_title){echo  $cat_title;}else{ wp_title(''); echo ' - '.get_bloginfo('name');; }
					 }else{	 
		        if( $cat_title){echo  $cat_title;}else{ wp_title(''); echo ' - '.get_bloginfo('name');; }
					 }
				 }
		      elseif (is_search()) {
		         echo $word_t9.' &quot;'.wp_specialchars($s).'&quot; - '; }
		      elseif (!(is_404()) && (is_single()) || (is_page())) {
		        if ($detect->isMobile()||$detect->isTablet()){
					 if($singletitle_p){echo $singletitle_p;}elseif( $singletitle){echo  $singletitle;}else{ wp_title(''); echo ' - '.get_bloginfo('name');; }
					 }else{	 
		        if( $singletitle){echo  $singletitle;}else{ wp_title(''); echo ' - '.get_bloginfo('name');; }
					 }
			    }
		      elseif (is_404()) {
		         echo $word_t10.'- '; }
		      if (is_home()) {
				  
				   if ($detect->isMobile()||$detect->isTablet()){
					 if(get_option('mytheme_title_p')){echo get_option('mytheme_title_p');}elseif(get_option('mytheme_title')){echo get_option('mytheme_title');}else{  bloginfo('name'); echo ' - '; bloginfo('description');  }
					 }else{
						 
		        if(get_option('mytheme_title')){echo get_option('mytheme_title');}else{  bloginfo('name'); echo ' - '; bloginfo('description'); }
					 }
		        }
		      if ($paged>1) {
		         echo ' - page '. $paged;echo ' - '; bloginfo('description'); }
		   ?></title>
<?php } $logo= get_option('mytheme_logo') ;$ico= get_option('mytheme_ico');?>
<link rel="shortcut icon" href="<?php echo $ico; ?>" type="image/x-icon" />
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>

<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
<?php wp_head(); ?>
	
</head>
<?php $detect = new Mobile_Detect();
if ($detect->isMobile()){
	get_template_part( 'move/header' );
	}
elseif($detect->isTablet()){
	get_template_part( 'move/header' );
}else{ 

?>

<body <?php body_class(); ?>>
	
	
       <div id="header">
            <div class="top">
            
                <div class="top_in">
           
                  
                  <span class="tell"><b></b><a><?php echo get_option('mytheme_tell');  ?></a></span>
                  <span class="mail"><b></b><a><?php echo get_option('mytheme_email');  ?></a></span>
                    
                
               <?php if( get_option('mytheme_default_language') !=""){  ?>
                  <span class="langug">
                  <b></b>
                  <a href="<?php echo get_option('mytheme_default_language_link');  ?>"><?php echo get_option('mytheme_default_language');  ?></a>
                  /
                  <a href="<?php echo get_option('mytheme_language_link1');  ?>"><?php echo get_option('mytheme_language1');  ?></a>
                  </span>
                  <?php }; ?>
              
                   
                       <div class="search">
                     <form action="<?php bloginfo('siteurl'); ?>" id="searchform" method="get">
                             <label for="s" class="screen-reader-text">Search for:</label>
                            
                             <input type="text" id="s" name="s" value="" />
                            
                              <input type="submit" value="SEARCH" id="searchsubmit" />
                          </form>
                </div>
                       
                     
                    

                </div>
            </div>
            <div id="header_in">
                <a href="<?php bloginfo('url'); ?>" class="logo"><img src="<?php  if($logo==""){ echo get_bloginfo('template_url').'/images/logo.png';}else{echo $logo; } ?>" /></a>
                <div id="nav"> <?php wp_nav_menu(array( 'theme_location' => 'header-menu','menu_class'=> 'menu_nav' ) ); ?> </div>
             
            </div>
            
            
		</div>

<?php } ?>