<?php /* Smarty version Smarty-3.1.10, created on 2016-02-02 17:12:33
         compiled from "D:\wwwroot\71dir\wwwroot\viphong\default\header.html" */ ?>
<?php /*%%SmartyHeaderCode:764356a5ca1c452202-20794641%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'ccde47ae60f2c1270b78729b6b6b910d07cfd375' => 
    array (
      0 => 'D:\\wwwroot\\71dir\\wwwroot\\viphong\\default\\header.html',
      1 => 1454404350,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '764356a5ca1c452202-20794641',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.10',
  'unifunc' => 'content_56a5ca1c4afaf8_43119313',
  'variables' => 
  array (
    'login_status' => 1,
    'site_root' => 0,
    'keyword' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_56a5ca1c4afaf8_43119313')) {function content_56a5ca1c4afaf8_43119313($_smarty_tpl) {?><script type="text/javascript">
  
var mobileAgent = new Array("iphone", "ipod", "ipad", "android", "mobile", "blackberry", "webos", "incognito", "webmate", "bada", "nokia", "lg", "ucweb", "skyfire");
  
var browser = navigator.userAgent.toLowerCase(); 
  
var isMobile = false; 
  
for (var i=0; i<mobileAgent.length; i++){ if (browser.indexOf(mobileAgent[i])!=-1){ isMobile = true; 
  
//alert(mobileAgent[i]); 
  
location.href = '/m/';
  
break; } } 
  
</script>
<div class="header">
  <div class="header_bar">
    <div class="left">
	<div id="showtime"></div>
	<script>setInterval("showtime.innerHTML=new Date().toLocaleString()+' 星期'+'日一二三四五六'.charAt(new Date().getDay());",1000);
</script>
	</div>
	<div class="left2">
	 <iframe width="310" scrolling="no" height="25" frameborder="0" allowtransparency="true" src="http://i.tianqi.com/index.php?c=code&id=40&icon=1&num=3"></iframe>
	</div>
	<div class="right">
	  
	  <?php echo $_smarty_tpl->tpl_vars['login_status']->value;?>
  |  <a href="/feedback/" target="_blank">建议反馈</a>  |  <a href="/member/?mod=website&amp;act=add" target="_blank">网站提交</a>  |  <a href="/member/?mod=article&amp;act=add" target="_blank">软文投稿</a>

	  
	</div>
  </div>
</div>

<div class="logo">
  <div class="logo_left">
  <a href="<?php echo $_smarty_tpl->tpl_vars['site_root']->value;?>
" target="_blank"><img src="<?php echo $_smarty_tpl->tpl_vars['site_root']->value;?>
viphong/default/images/logo.png" /></a>
  </div>
  	 
  <div class="logo_search">
    <div class="logo_search_1">
 <form name="sofrm" class="sofrm" method="get" action="" onSubmit="return rewrite_search()">

            	<input name="mod" type="hidden" id="mod" value="search" />

                <input name="type" type="hidden" id="type" value="name" />
 
		<input name="query" type="text" class="k" id="query" onFocus="this.value='<?php echo $_smarty_tpl->tpl_vars['keyword']->value;?>
';" placeholder="请输入网站名称的关键词" />


	  <input type="submit" class="sou" value="搜索" />

    
    </form>
	</div>
	<div class="logo_search_lei">
	 <div class="lei_text">

	 <?php echo get_adcode(39);?>

	
	  </div>
	 
	 
	</div>
	
  </div>
  <div class="ad">
  <?php echo get_adcode(40);?>

  </div>
</div>
<div class="clear"></div>
<?php }} ?>