<?php /* Smarty version Smarty-3.1.10, created on 2012-12-13 20:54:06
         compiled from "D:\APMServ\www\htdocs\themes\default\index.html" */ ?>
<?php /*%%SmartyHeaderCode:1239150c9c0774224b8-71646377%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'b21c01037027067de92ce5a3fa0c0cdc2692621f' => 
    array (
      0 => 'D:\\APMServ\\www\\htdocs\\themes\\default\\index.html',
      1 => 1355403014,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1239150c9c0774224b8-71646377',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.10',
  'unifunc' => 'content_50c9c077d9c231_42398208',
  'variables' => 
  array (
    'site_title' => 0,
    'site_keywords' => 0,
    'site_description' => 0,
    'site_root' => 0,
    'cfg' => 0,
    'site_url' => 0,
    'site_name' => 0,
    'login_status' => 1,
    'cate' => 0,
    'best' => 0,
    'web' => 0,
    'instat' => 0,
    'outstat' => 0,
    'stat' => 0,
    'new' => 0,
    'year' => 0,
    'arr' => 0,
    'item' => 0,
    'month' => 0,
    'link' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_50c9c077d9c231_42398208')) {function content_50c9c077d9c231_42398208($_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 35dir.com" />
<meta name="Robots" content="all" />
<link href="<?php echo $_smarty_tpl->tpl_vars['site_root']->value;?>
themes/default/skin/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">var sitepath = '<?php echo $_smarty_tpl->tpl_vars['site_root']->value;?>
'; var rewrite = '<?php echo $_smarty_tpl->tpl_vars['cfg']->value['is_enabled_rewrite'];?>
';</script>
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['site_root']->value;?>
public/scripts/jquery.js"></script>
<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['site_root']->value;?>
public/scripts/common.js"></script>
</head>

<body>
<div id="wrapper">
	<div id="header">
    	<div id="topbox">
    		<a id="logo" href="<?php echo $_smarty_tpl->tpl_vars['site_url']->value;?>
" title="<?php echo $_smarty_tpl->tpl_vars['site_name']->value;?>
"></a>
        	<ul id="navbar" class="clearfix">
				<li><a href="?mod=index">网站首页</a></li>
            	<li><a href="<?php echo $_smarty_tpl->tpl_vars['site_root']->value;?>
member/?mod=website&act=add" target="_blank">提交网站</a></li>
            	<li><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">TOP排行榜</a></li>
            	<li><a href="?mod=feedback">意见反馈</a></li>
			</ul>
        	<div id="other"><?php echo $_smarty_tpl->tpl_vars['login_status']->value;?>
</div>
        </div>
		<div id="sobox">
        	<div id="search">
				<form name="myfrm" 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" />
           	  		<div id="selopt">
                		<div id="cursel">网站名称</div>
           				<ul id="options">
				  			<li class="current"><a href="javascript: void(0);" name="name">网站名称</a></li> 
							<li><a href="javascript: void(0);" name="url">网站地址</a></li>
							<li><a href="javascript: void(0);" name="tags">TAG标签</a></li>
							<li><a href="javascript: void(0);" name="intro">网站描述</a></li>
                		</ul>
                	</div>
                	<input name="query" type="text" class="sipt" id="query" onfocus="this.value='';" />
                	<input type="submit" class="sbtn" value="Search" />
                </form>
            </div>
		</div>
    </div>
	<div id="homebox" class="clearfix mag">
		<div id="homebox-left">
        	<div id="homecate" class="clearfix">
            	<h2>分类目录</h2>
                <ul class="hcatelist">
                	<?php  $_smarty_tpl->tpl_vars['cate'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['cate']->_loop = false;
 $_from = get_categories(); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['cate']->key => $_smarty_tpl->tpl_vars['cate']->value){
$_smarty_tpl->tpl_vars['cate']->_loop = true;
?>
                	<li><a href="<?php echo $_smarty_tpl->tpl_vars['cate']->value['cate_link'];?>
"><?php echo $_smarty_tpl->tpl_vars['cate']->value['cate_name'];?>
</a><em>(<?php echo $_smarty_tpl->tpl_vars['cate']->value['cate_postcount'];?>
)</em></li>
                    <?php } ?>
                </ul>
            </div>
        	<div id="homebest" class="clearfix mag">
            	<h2>推荐站点</h2>
				<ul class="hbestlist">
                	<?php  $_smarty_tpl->tpl_vars['best'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['best']->_loop = false;
 $_from = get_websites(0,8,true); 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'];?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['best']->value['web_thumb'];?>
" width="130" height="110" alt="<?php echo $_smarty_tpl->tpl_vars['best']->value['web_name'];?>
" /><strong><?php echo $_smarty_tpl->tpl_vars['best']->value['web_name'];?>
</strong></a><span><?php echo $_smarty_tpl->tpl_vars['web']->value['web_intro'];?>
</span></li>
					<?php } ?>
				</ul>
            </div>
            <div id="hiobox" class="clearfix mag">
                <div id="hinbox">
                	<h2>最新点入</h2>
                	<ul class="hinlist">
                		<?php  $_smarty_tpl->tpl_vars['instat'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['instat']->_loop = false;
 $_from = get_websites(0,8,false,'instat'); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['instat']->key => $_smarty_tpl->tpl_vars['instat']->value){
$_smarty_tpl->tpl_vars['instat']->_loop = true;
?>
						<li><strong><a href="<?php echo $_smarty_tpl->tpl_vars['instat']->value['web_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['instat']->value['web_name'];?>
"><?php echo $_smarty_tpl->tpl_vars['instat']->value['web_name'];?>
</a></strong><p><?php echo $_smarty_tpl->tpl_vars['instat']->value['web_intro'];?>
</p></li>
                    	<?php } ?>
                	</ul>
                </div>
                <div id="houtbox">
                	<h2>最新点出</h2>
                	<ul class="houtlist">
                		<?php  $_smarty_tpl->tpl_vars['outstat'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['outstat']->_loop = false;
 $_from = get_websites(0,8,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><strong><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></strong><p><?php echo $_smarty_tpl->tpl_vars['outstat']->value['web_intro'];?>
</p></li>
                    	<?php } ?>
                	</ul>
                </div>
            </div>
        </div>
		<div id="homebox-right">
        	<div id="count">分类：<em><?php echo $_smarty_tpl->tpl_vars['stat']->value['category'];?>
</em> 个主题分类<br />网站： <em><?php echo $_smarty_tpl->tpl_vars['stat']->value['website'];?>
</em> 个优秀网站</div>
			<div class="mag" style="height: 250px;">
            <script type="text/javascript"><!--
			google_ad_client = "pub-8831251864505283";
			/* 35DIR-COM200x200内容广告 */
			google_ad_slot = "8359441854";
			google_ad_width = 250;
			google_ad_height = 250;
			//-->
			</script>
			<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
            </div>
            <div id="newbox" class="clearfix mag">
            	<h2>最新收录</h2>
               	<ul class="newlist">
               		<?php  $_smarty_tpl->tpl_vars['new'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['new']->_loop = false;
 $_from = get_websites(0,10,false); 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'];?>
"><?php echo $_smarty_tpl->tpl_vars['new']->value['web_name'];?>
</a></li>
                   	<?php } ?>
               	</ul>
			</div>
			<div id="archives" class="clearfix mag">
				<h2>数据归档</h2>
				<ul class="arclist">
					<?php  $_smarty_tpl->tpl_vars['arr'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['arr']->_loop = false;
 $_smarty_tpl->tpl_vars['year'] = new Smarty_Variable;
 $_from = get_archives(); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['arr']->key => $_smarty_tpl->tpl_vars['arr']->value){
$_smarty_tpl->tpl_vars['arr']->_loop = true;
 $_smarty_tpl->tpl_vars['year']->value = $_smarty_tpl->tpl_vars['arr']->key;
?>
                	<li>
                		<h3><?php echo $_smarty_tpl->tpl_vars['year']->value;?>
年</h3>
                    	<p>
                    		<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_smarty_tpl->tpl_vars['month'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['arr']->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;
 $_smarty_tpl->tpl_vars['month']->value = $_smarty_tpl->tpl_vars['item']->key;
?>
                    		<a href="<?php echo $_smarty_tpl->tpl_vars['item']->value['arc_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['year']->value;?>
年<?php echo $_smarty_tpl->tpl_vars['month']->value;?>
月共有<?php echo $_smarty_tpl->tpl_vars['item']->value['site_count'];?>
个站点"><?php echo $_smarty_tpl->tpl_vars['month']->value;?>
月</a>
                        	<?php } ?>
                    	</p>
                	</li>
					<?php } ?>
				</ul>
			</div>
		</div>
	</div>
    <div id="linkbox" class="clearfix mag">
    	<h2>友情链接</h2>
		<ul class="linklist">
        	<?php  $_smarty_tpl->tpl_vars['link'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['link']->_loop = false;
 $_from = get_links(); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['link']->key => $_smarty_tpl->tpl_vars['link']->value){
$_smarty_tpl->tpl_vars['link']->_loop = true;
?>
        	<li><a href="<?php echo $_smarty_tpl->tpl_vars['link']->value['link_url'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['link']->value['link_name'];?>
</a></li>
        	<?php } ?>
        </ul>
    </div>
    <div id="footer" class="mag">
		<div id="fmenu"><?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = get_pages(); 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['page_link'];?>
"><?php echo $_smarty_tpl->tpl_vars['item']->value['page_name'];?>
</a> | <?php } ?><a href="?mod=update">最新收录</a> | <a href="?mod=archives">数据归档</a> | <a href="?mod=top">TOP排行榜</a> | <a href="?mod=sitemap">站点地图</a></div>
		<div id="fcopy"><?php echo insert_script_time(array(),$_smarty_tpl);?>
<br /><script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['site_root']->value;?>
?mod=getdata&type=instat"></script><script src="http://s4.cnzz.com/stat.php?id=3839514&web_id=3839514&show=pic" language="JavaScript"></script></div>
	</div>
</div>
</body>
</html><?php }} ?>