<?php /* Smarty version Smarty-3.1.10, created on 2016-11-10 09:46:24
         compiled from "/www/web/smulu/public_html/themes/default/category.html" */ ?>
<?php /*%%SmartyHeaderCode:41032257457f79e85bfab54-51567912%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '69203bef2308866cdad3c2a4aa7792e35a2e1988' => 
    array (
      0 => '/www/web/smulu/public_html/themes/default/category.html',
      1 => 1478742381,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '41032257457f79e85bfab54-51567912',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.10',
  'unifunc' => 'content_57f79e85d0ed98_97104550',
  'variables' => 
  array (
    'site_title' => 0,
    'site_keywords' => 0,
    'site_description' => 0,
    'site_root' => 0,
    'login_status' => 1,
    'site_path' => 0,
    'site_rss' => 0,
    'c' => 0,
    'sc' => 0,
    'best' => 0,
    'new' => 0,
    'outstat' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_57f79e85d0ed98_97104550')) {function content_57f79e85d0ed98_97104550($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo $_smarty_tpl->tpl_vars['site_title']->value;?>
</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<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 60cms.com" />
<link href="<?php echo $_smarty_tpl->tpl_vars['site_root']->value;?>
themes/default/css/style.css" rel="StyleSheet" type="text/css" />


</head>

<body>
<div class="header">
  <div class="nav">
    <div class="logo"></div>
	<div class="yn-nav">
	<li><a href="?mod=index">网站首页</a></li>
	<li><a href="?mod=webdir">网站目录</a></li>
	<li><a href="?mod=article">站长资讯</a></li>
    <li><a href="?mod=weblink">链接交换</a></li>
    <li class="cur"><a href="?mod=category">分类浏览</a></li>
    <li><a href="?mod=update">最新收录</a></li>
    <li><a href="?mod=archives">数据归档</a></li>
    <li><a href="?mod=top">排行榜单</a></li>	
	<div class="clear"></div>
	</div>
	<div class="yn-user">
	<?php echo $_smarty_tpl->tpl_vars['login_status']->value;?>

	<div class="clear"></div>
	</div>
	<div class="clear"></div>
  </div>
</div>
<div class="top"></div>
<div class="main">
  <div class="left">
     <div class="tuijian">
	   <?php echo get_adcode(53);?>

	   <div class="clear"></div>
	 </div>
	 <div class="haozhan">
	    <div class="btinfo"><?php echo $_smarty_tpl->tpl_vars['site_path']->value;?>
 <?php echo $_smarty_tpl->tpl_vars['site_rss']->value;?>

		</div>
		<div class="zhan" id="zhan">
		   
			
			<div id="allcate">
				<?php  $_smarty_tpl->tpl_vars['c'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['c']->_loop = false;
 $_from = get_categories(); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['c']->key => $_smarty_tpl->tpl_vars['c']->value){
$_smarty_tpl->tpl_vars['c']->_loop = true;
?>
            	<div id="catebox" class="clearfix">
            		<h2><a href="<?php echo $_smarty_tpl->tpl_vars['c']->value['cate_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['c']->value['cate_name'];?>
"><?php echo $_smarty_tpl->tpl_vars['c']->value['cate_name'];?>
</a> <em>(<?php echo $_smarty_tpl->tpl_vars['c']->value['cate_postcount'];?>
)</em></h2>
            		<ul>
						<?php  $_smarty_tpl->tpl_vars['sc'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['sc']->_loop = false;
 $_from = get_categories($_smarty_tpl->tpl_vars['c']->value['cate_id']); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['sc']->key => $_smarty_tpl->tpl_vars['sc']->value){
$_smarty_tpl->tpl_vars['sc']->_loop = true;
?>
                		<li><a href="<?php echo $_smarty_tpl->tpl_vars['sc']->value['cate_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['sc']->value['cate_name'];?>
"><?php echo $_smarty_tpl->tpl_vars['sc']->value['cate_name'];?>
</a> <em>(<?php echo $_smarty_tpl->tpl_vars['sc']->value['cate_postcount'];?>
)</em></li>
                		<?php } ?>
                	</ul>
				</div>
				<?php } ?>
            </div>
			  
			</div>
		
	 </div>
     <div class="ad"> <?php echo get_adcode(64);?>
</div>
	
	
	
<div class="haozhan">
	    <div class="bt">好站推荐
		</div>
		<div class="zhan" id="zhan">
		 
       <?php  $_smarty_tpl->tpl_vars['best'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['best']->_loop = false;
 $_from = get_websites(0,9,false,true); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['best_website']['iteration']=0;
foreach ($_from as $_smarty_tpl->tpl_vars['best']->key => $_smarty_tpl->tpl_vars['best']->value){
$_smarty_tpl->tpl_vars['best']->_loop = true;
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['best_website']['iteration']++;
?>


         <dl><a href="<?php echo $_smarty_tpl->tpl_vars['best']->value['web_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['best']->value['web_name'];?>
" target="_blank"><em><?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['best_website']['iteration'];?>
</em>
           <dt><?php echo $_smarty_tpl->tpl_vars['best']->value['web_name'];?>
</dt>
           <dd><?php echo $_smarty_tpl->tpl_vars['best']->value['web_intro'];?>
</dd></a>
         </dl>

               		<?php } ?>
		 
         <div class="clear"></div>
		</div>
	 </div>
	 
  </div>
  <div class="right">
     <div class="sear">
        <div class="search">
		 <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"  placeholder="输入关键词" class="text-msearch"  id="query" onFocus="this.value='';" /><input type="submit" class="btn-msearch" value="" />
			</form>
       </div>
	 </div>
     <div class="tkey">
	    <?php echo get_adcode(54);?>

		<div class="clear"></div>
    </div>
    <div class="shuju">
	  <div class="inbt"></div>
	  <div class="info">
	   <a href="/member/?mod=website&act=add" target="_blank">提交网站</a>
		<a href="/member/?mod=article&act=add" target="_blank">文章投稿</a>
	  
	   </div>
	</div>
	 <div class="ad2"><?php echo get_adcode(60);?>
</div>
	<div class="news">
	  <div class="bt">最新收录</div>
	  <div class="list">
	    <?php  $_smarty_tpl->tpl_vars['new'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['new']->_loop = false;
 $_from = get_websites(0,10,false,false,'ctime'); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['new']->key => $_smarty_tpl->tpl_vars['new']->value){
$_smarty_tpl->tpl_vars['new']->_loop = true;
?>
                   	<li><a href="<?php echo $_smarty_tpl->tpl_vars['new']->value['web_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['new']->value['web_name'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['new']->value['web_name'];?>
</a> - <em><a href="<?php echo $_smarty_tpl->tpl_vars['new']->value['web_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['new']->value['web_name'];?>
"><?php echo $_smarty_tpl->tpl_vars['new']->value['web_url'];?>
</a></em></li>
                   	<?php } ?>
	   </div>
	</div>
	<div class="lian">
	  <div class="bt">入站排行</div>
	  <div class="list">
	  	<?php  $_smarty_tpl->tpl_vars['best'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['best']->_loop = false;
 $_from = get_websites(0,10,false,false,'instat'); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['best']->key => $_smarty_tpl->tpl_vars['best']->value){
$_smarty_tpl->tpl_vars['best']->_loop = true;
?>
                   	  <li><a href="<?php echo $_smarty_tpl->tpl_vars['best']->value['web_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['best']->value['web_name'];?>
"><?php echo $_smarty_tpl->tpl_vars['best']->value['web_name'];?>
</a>- <em><a href="<?php echo $_smarty_tpl->tpl_vars['best']->value['web_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['best']->value['web_name'];?>
"><?php echo $_smarty_tpl->tpl_vars['best']->value['web_url'];?>
</a></em></li>
                   	<?php } ?>
		
	   </div>
	</div>
	<div class="ad"><?php echo get_adcode(61);?>
</div>
	<div class="news">
	  <div class="bt">出站排行</div>
	  <div class="list">
	  <?php  $_smarty_tpl->tpl_vars['outstat'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['outstat']->_loop = false;
 $_from = get_websites(0,10,false,false,'outstat'); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['outstat']->key => $_smarty_tpl->tpl_vars['outstat']->value){
$_smarty_tpl->tpl_vars['outstat']->_loop = true;
?>
                   	  <li><a href="<?php echo $_smarty_tpl->tpl_vars['outstat']->value['web_link'];?>
" 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_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['outstat']->value['web_name'];?>
"><?php echo $_smarty_tpl->tpl_vars['outstat']->value['web_url'];?>
</a></em></li>
                   	<?php } ?>
		
	   </div>
	</div>
	
	   <div class="ad"><?php echo get_adcode(58);?>
</div>
  </div>
  <div class="clear"></div>  
 <?php echo $_smarty_tpl->getSubTemplate ("bom.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

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


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