HEX
Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/8.2.20
System: Linux 825a8fd6cf8c 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User: apache (48)
PHP: 8.2.20
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/themes/frameMyrskyNew/images_ad/header.php
<?php
		//p#17 @lushixin @2010-4-27
	include_once("code/include/functions/customer_tracking.php");
	handle_customer_tracking();
    // Creating the doctype
    thematic_create_doctype();
    echo " ";
    language_attributes();
    echo ">\n";
    
    // Creating the head profile
    thematic_head_profile();

    // Creating the doc title
    thematic_doctitle();
    
    // Creating the content type
    thematic_create_contenttype();
    
    // Creating the description
    thematic_show_description();
    
    // Creating the robots tags
    thematic_show_robots();
    
    // Creating the canonical URL
    thematic_canonical_url();
    
    // Loading the stylesheet
    thematic_create_stylesheet();
    
    // Creating the internal RSS links
    thematic_show_rss();
    
    // Creating the comments RSS links
    thematic_show_commentsrss();
    
    // Creating the pingback adress
    thematic_show_pingback();
    
    // Enables comment threading
    thematic_show_commentreply();

    // Calling WordPress' header action hook
	wp_head();
?>
<script type="text/javascript" src="<?php bloginfo('stylesheet_directory');?>/js/led.js"></script>
<?php 
//Bug #7485 lxq 2012-09-28 myrsky添加google头。
include_once("config.php");
global $servers;
if(!$servers["is_test_web"]){ ?>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-1423049-2']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script><?php } ?></head>

<body>
<?
if(get_page_by_title("login")){
	//$login_link = get_page_link(get_page_by_title("login")->ID);
	$login_link = "http://".$_SERVER['SERVER_NAME']."/login/";
}elseif(get_page_by_title("Login")){
	//$login_link = get_page_link(get_page_by_title("Login")->ID);
	$login_link = "http://".$_SERVER['SERVER_NAME']."/Login/";
}elseif(get_page_by_title("客户登录")){
	//$login_link = get_page_link(get_page_by_title("Login")->ID);
	$login_link = "http://".$_SERVER['SERVER_NAME']."/客户登录/";
}else{
	$login_link = "http://".$_SERVER['SERVER_NAME']."/code/signin.php";
}
if(get_page_by_title("register")){
	//$register_link = get_page_link(get_page_by_title("register")->ID);
	$register_link = "http://".$_SERVER['SERVER_NAME']."/register/";
}elseif(get_page_by_title("Register")){
	//$register_link = get_page_link(get_page_by_title("Register")->ID);
	$register_link = "http://".$_SERVER['SERVER_NAME']."/Register/";
}elseif(get_page_by_title("用户注册")){
	//$register_link = get_page_link(get_page_by_title("Register")->ID);
	$register_link = "http://".$_SERVER['SERVER_NAME']."/用户注册/";
}else{
	$register_link ="http://".$_SERVER['SERVER_NAME']."/code/register/register_new_user.php?from=".$_SERVER['SERVER_NAME'];
}
?>
<div class="main">
<div class="logo">
<a href="http://<? echo $_SERVER['SERVER_NAME'];?>" style="text-decoration:none;">
	<div style="cursor: pointer;">
   <h2><strong> 迈瑞凯电子科技(天津)有限公司
</strong></h2>
	</div>
</a>
<p align="left">
	<strong><? _e("电话:") ?></strong><? _e(" 800-897-2800") ?><br />
	<strong><? _e("邮箱: ") ?></strong><a href="mailto:sales@myrsky.com.cn "><? _e(" sales@myrsky.com.cn") ?></a><br />
   
  <?php //if(!empty($_SESSION["user_email"])&&!empty($_SESSION["user_id"])){echo "<b>用户ID: </b>".$_SESSION["user_id"]." ";echo "<a href='/code/share/main.php?user_email=".$_SESSION["user_email"]."&log=out'><img src=/code/images/logout.png border=0 align='middle'></a>";}else{?><a href="<? echo $login_link;?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/login1.gif" /></a><?php ?>
   &nbsp; <a href="<? echo $register_link;?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/register1.gif" /></a><?php //}?>
</p>
<!--<p style="padding:25px 30px 0 0;position:absolute;margin-left:605px;">
	<a href="javascript:void(window.open('http://www.myroled.com/Chat/livezilla.php','','width=590,height=550,left=0,top=0,resizable=yes,menubar=no,location=no,status=yes,scrollbars=yes'))">  
			<img src="/Chat/image.php?id=01" width="95" height="25" border="0" alt="LiveZilla Live Help">
	</a>
	<noscript><div><a href="http://www.myroled.com/Chat/livezilla.php" target="_blank">Start Live Help Chat</a></div></noscript>

</p>-->
</div>
</div>
<div style="clear:both;"></div>

<div class="head_menu">
	<ul class="sf-menu sf-js-enabled">
			<? 
			//$config_path = getcwd()."/config.php";		
			$config_path = dirname(__FILE__)."/config.php";		
			$config_path = str_replace("\\","/",$config_path);		
			if(file_exists($config_path))include_once($config_path);				
			global $not_in_menu;
			if(!is_array($not_in_menu)) $not_in_menu = array();
    		$pages = get_pages('sort_column=menu_order'); 
    		foreach($pages as $page){
    			if(in_array($page->post_title,$not_in_menu)) continue;
    			if(in_array($page->post_title,array("客户登录","用户注册","购物车","产品展示","设备展示","ISO认证","PCB询价","PCBA询价",'购物车','product-list','product-detail'))) continue;
    			if($page->post_parent == 0){
    				$title_array["$page->ID"][0] = $page->post_title;
    			}else{
    				if(get_page($page->post_parent)->post_parent == 0)
    				$title_array["$page->post_parent"]["$page->ID"] = $page->post_title;
    				//echo $title_array['$page->post_parent'] = $page->ID;
    				//echo "<li><a href='".get_page_link($page->post_parent)."'><span>".$page->post_title."</span></a><ul>";
    				//echo "</ul></li>";
    			}
    		}
    		//var_dump($title_array);
    		foreach($title_array as $key => $value){
    			if(count($value) == 1){
    				if(strtoupper($title_array[$key][0])=="MY CART"){
    					$cart_key = $key;
    					//echo "<li><a href='".get_page_link($key)."' style='color:#ff9933'><span>".$title_array[$key][0]."</span></a></li>";
    				}else{
    					echo "<li><a href='".get_page_link($key)."'><span>".$title_array[$key][0]."</span></a></li>";
    				}
    			}elseif(count($value) > 1){
    				echo "<li><a href='".get_page_link($key)."'><span>".$title_array[$key][0]."</span></a><ul class=\"sub-menu\">";
    				foreach($value as $key2 => $temp){
    					if($key2 != 0){
    						echo "<li><a href='".get_page_link($key2)."'>".$temp."</a></li>";
    					}
    				}
    				echo "</ul></li>";
    			}
    				
    		}
    	?>
		<div class="head_search">
		<form method="get" id="searchform" action="<?php bloginfo('home'); ?>" >
			<div width="240"><input type="text" value="" name="s" id="s" />
			<input type="submit" id="searchsubmit" value="" style="cursor:pointer;padding:5px;"/>		
			</div>
		</form>
    </div>
		
	</ul>
	<div class="clear"></div>
</div>
<div class="contents">