<?php /* Smarty version Smarty-3.1.10, created on 2016-01-25 15:05:55
         compiled from "D:\wwwroot\71dir\wwwroot\viplan\default\header.html" */ ?>
<?php /*%%SmartyHeaderCode:2988756a5c95335e720-16719686%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd3f4967429e68171d21103c349ce88d7ac9af5aa' => 
    array (
      0 => 'D:\\wwwroot\\71dir\\wwwroot\\viplan\\default\\header.html',
      1 => 1452060709,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '2988756a5c95335e720-16719686',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'login_status' => 1,
    'site_root' => 0,
    'keyword' => 0,
    'search_words' => 0,
    'item' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.10',
  'unifunc' => 'content_56a5c9533a7538_52104669',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_56a5c9533a7538_52104669')) {function content_56a5c9533a7538_52104669($_smarty_tpl) {?><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;?>
  
	  
	  
	</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;?>
viplan/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  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['search_words']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
?><a href="<?php echo $_smarty_tpl->tpl_vars['item']->value['word_link'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['item']->value['word_name'];?>
</a>　<?php } ?>
	
	  </div>
	 
	 
	</div>
	
  </div>
  <div class="ad">
  <?php echo get_adcode(40);?>

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