<?php /* Smarty version Smarty-3.1.10, created on 2016-01-06 14:11:51
         compiled from "/home/wwwroot/youv1/public_html/viplan/default/header.html" */ ?>
<?php /*%%SmartyHeaderCode:161065559756873f37013d25-62759516%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'dff8b7b6ddb98e0ec7ae1a5df8db9f3c9a20c94a' => 
    array (
      0 => '/home/wwwroot/youv1/public_html/viplan/default/header.html',
      1 => 1452060709,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '161065559756873f37013d25-62759516',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.10',
  'unifunc' => 'content_56873f37016ba3_20626778',
  'variables' => 
  array (
    'login_status' => 1,
    'site_root' => 0,
    'keyword' => 0,
    'search_words' => 0,
    'item' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_56873f37016ba3_20626778')) {function content_56873f37016ba3_20626778($_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 }} ?>