<?php /* Smarty version Smarty-3.1.12, created on 2017-04-17 21:45:37
         compiled from "D:\WWW\youkeSY\themes\default\home\top.html" */ ?>
<?php /*%%SmartyHeaderCode:1957858f0f01b38f220-66731688%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'c08b678b5e97c693889053589fd47bd116160803' => 
    array (
      0 => 'D:\\WWW\\youkeSY\\themes\\default\\home\\top.html',
      1 => 1492400018,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1957858f0f01b38f220-66731688',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_58f0f01b42b644_33616645',
  'variables' => 
  array (
    'site_title' => 0,
    'site_keywords' => 0,
    'site_description' => 0,
    'instat' => 0,
    'outstat' => 0,
    'new' => 0,
    'hot' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_58f0f01b42b644_33616645')) {function content_58f0f01b42b644_33616645($_smarty_tpl) {?><!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title><?php echo $_smarty_tpl->tpl_vars['site_title']->value;?>
</title>
<meta name="Keywords" content="<?php echo $_smarty_tpl->tpl_vars['site_keywords']->value;?>
" />
<meta name="Description" content="<?php echo $_smarty_tpl->tpl_vars['site_description']->value;?>
" />
<meta name="Copyright" content="Powered By www.youke365.com" />
<?php echo $_smarty_tpl->getSubTemplate ("base.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

</head>
<body>
<?php echo $_smarty_tpl->getSubTemplate ("topbar.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<?php echo $_smarty_tpl->getSubTemplate ("header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<div class="wrapper">
	<div class="mainbox">
    	<div class="mainbox-left">
            <div class="topsite" style="margin-right: 10px;">
				<div class="topsite-title">入站排行榜 TOP10</div>
				<ul class="topsite-list">
					<?php  $_smarty_tpl->tpl_vars['instat'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['instat']->_loop = false;
 $_from = get_websites(0,10,false,'instat'); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['instat_website']['iteration']=0;
foreach ($_from as $_smarty_tpl->tpl_vars['instat']->key => $_smarty_tpl->tpl_vars['instat']->value){
$_smarty_tpl->tpl_vars['instat']->_loop = true;
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['instat_website']['iteration']++;
?>
					<li><span><?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['instat_website']['iteration'];?>
</span>
					<a href="<?php echo $_smarty_tpl->tpl_vars['instat']->value['web_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['instat']->value['web_name'];?>
" class="site_title"><?php echo $_smarty_tpl->tpl_vars['instat']->value['web_name'];?>
</a> - <em><a href="<?php echo $_smarty_tpl->tpl_vars['instat']->value['web_url'];?>
" class="visit" target="_blank" onclick="clickout(<?php echo $_smarty_tpl->tpl_vars['instat']->value['web_id'];?>
)"><?php echo $_smarty_tpl->tpl_vars['instat']->value['web_url'];?>
</a></em></li>
					<?php } ?>
				</ul>
            </div>
          <!--   <div class="topsite">
				<div class="topsite-title">出站排行榜 TOP10</div>
				<ul class="topsite-list">
					<?php  $_smarty_tpl->tpl_vars['outstat'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['outstat']->_loop = false;
 $_from = get_websites(0,10,false,'outstat'); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['outstat_website']['iteration']=0;
foreach ($_from as $_smarty_tpl->tpl_vars['outstat']->key => $_smarty_tpl->tpl_vars['outstat']->value){
$_smarty_tpl->tpl_vars['outstat']->_loop = true;
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['outstat_website']['iteration']++;
?>
					<li><span><?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['outstat_website']['iteration'];?>
</span><a href="<?php echo $_smarty_tpl->tpl_vars['outstat']->value['web_link'];?>
" class="site_title" title="<?php echo $_smarty_tpl->tpl_vars['outstat']->value['web_name'];?>
"><?php echo $_smarty_tpl->tpl_vars['outstat']->value['web_name'];?>
</a> - <em><a href="<?php echo $_smarty_tpl->tpl_vars['outstat']->value['web_url'];?>
" class="visit" target="_blank" onclick="clickout(<?php echo $_smarty_tpl->tpl_vars['outstat']->value['web_id'];?>
)"><?php echo $_smarty_tpl->tpl_vars['outstat']->value['web_url'];?>
</a></em></li>
					<?php } ?>
				</ul>
            </div> -->
            <div class="topsite" style="margin-right: 10px;">
				<div class="topsite-title">最新收录 TOP10</div>
				<ul class="topsite-list">
					<?php  $_smarty_tpl->tpl_vars['new'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['new']->_loop = false;
 $_from = get_websites(0,10,false,'ctime'); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['new_website']['iteration']=0;
foreach ($_from as $_smarty_tpl->tpl_vars['new']->key => $_smarty_tpl->tpl_vars['new']->value){
$_smarty_tpl->tpl_vars['new']->_loop = true;
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['new_website']['iteration']++;
?>
					<li><span><?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['new_website']['iteration'];?>
</span><a href="<?php echo $_smarty_tpl->tpl_vars['new']->value['web_link'];?>
" class="site_title" title="<?php echo $_smarty_tpl->tpl_vars['new']->value['web_name'];?>
"><?php echo $_smarty_tpl->tpl_vars['new']->value['web_name'];?>
</a> - <em><a href="<?php echo $_smarty_tpl->tpl_vars['new']->value['web_url'];?>
" class="visit" target="_blank" onclick="clickout(<?php echo $_smarty_tpl->tpl_vars['new']->value['web_id'];?>
)"><?php echo $_smarty_tpl->tpl_vars['new']->value['web_url'];?>
</a></em></li>
					<?php } ?>
				</ul>
            </div>
            <div class="topsite" style="">
				<div class="topsite-title">热门浏览 TOP10</div>
				<ul class="topsite-list">
					<?php  $_smarty_tpl->tpl_vars['hot'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['hot']->_loop = false;
 $_from = get_websites(0,10,false,'views'); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['hot_website']['iteration']=0;
foreach ($_from as $_smarty_tpl->tpl_vars['hot']->key => $_smarty_tpl->tpl_vars['hot']->value){
$_smarty_tpl->tpl_vars['hot']->_loop = true;
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['hot_website']['iteration']++;
?>
					<li><span><?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['hot_website']['iteration'];?>
</span><a href="<?php echo $_smarty_tpl->tpl_vars['hot']->value['web_link'];?>
" class="site_title" title="<?php echo $_smarty_tpl->tpl_vars['hot']->value['web_name'];?>
"><?php echo $_smarty_tpl->tpl_vars['hot']->value['web_name'];?>
</a> - <em><a href="<?php echo $_smarty_tpl->tpl_vars['hot']->value['web_url'];?>
" class="visit" target="_blank" onclick="clickout(<?php echo $_smarty_tpl->tpl_vars['hot']->value['web_id'];?>
)"><?php echo $_smarty_tpl->tpl_vars['hot']->value['web_url'];?>
</a></em></li>
					<?php } ?>
				</ul>
            </div>
		</div>
		<div class="mainbox-right">
			<div class="blank10"></div>
		</div>
	</div>
</div>
<?php echo $_smarty_tpl->getSubTemplate ("footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

</body>
</html><?php }} ?>