<?php /* Smarty version Smarty-3.0.8, created on 2012-03-26 12:32:31
         compiled from "E:/wwwroot/guanjianzi/wwwroot/themes/default/index.html" */ ?>
<?php /*%%SmartyHeaderCode:127194f6ff15f57aab5-65141985%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '783057145f21c73253b8ba710b48b78db0a68287' => 
    array (
      0 => 'E:/wwwroot/guanjianzi/wwwroot/themes/default/index.html',
      1 => 1332736343,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '127194f6ff15f57aab5-65141985',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
﻿<!DOCTYPE html>
<html>
<head>
<title><?php echo $_smarty_tpl->getVariable('site_title')->value;?>
</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="<?php echo $_smarty_tpl->getVariable('site_keywords')->value;?>
">
<meta name="description" content="<?php echo $_smarty_tpl->getVariable('site_description')->value;?>
">
<script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('site_root')->value;?>
public/scripts/jquery.js"></script>
<script type="text/javascript" src="<?php echo $_smarty_tpl->getVariable('site_root')->value;?>
public/scripts/common.js"></script>
<link href="<?php echo $_smarty_tpl->getVariable('site_root')->value;?>
themes/default/skin/style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="wrapper">
	<div id="header">
    	<div id="topbox">
       	  <a href="<?php echo $_smarty_tpl->getVariable('site_url')->value;?>
" title="<?php echo $_smarty_tpl->getVariable('site_title')->value;?>
" id="logo"></a>
            <div id="search">
			<form id="myfrm" method="get" action="" onSubmit="return chksearch()">
            	<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" />
               	<input type="submit" class="sbtn" value="搜 索" />
            </form>
        	</div>
      </div>
        <div id="navbar">
        	<ul>
            	<li><a href="<?php echo $_smarty_tpl->getVariable('site_root')->value;?>
?mod=index">网站首页</a></li>
            	<li><a href="<?php echo $_smarty_tpl->getVariable('site_root')->value;?>
member/?mod=website&act=add" target="_blank">提交网站</a></li>
            	<li><a href="<?php echo $_smarty_tpl->getVariable('site_root')->value;?>
?mod=category">分类目录</a></li>
            	<li><a href="<?php echo $_smarty_tpl->getVariable('site_root')->value;?>
?mod=update">最新收录</a></li>
            	<li><a href="<?php echo $_smarty_tpl->getVariable('site_root')->value;?>
?mod=archives">数据归档</a></li>
            	<li><a href="<?php echo $_smarty_tpl->getVariable('site_root')->value;?>
?mod=top">TOP排行榜</a></li>
            	<li><a href="<?php echo $_smarty_tpl->getVariable('site_root')->value;?>
?mod=feedback">意见反馈</a></li>
               </ul>
			   <div id="other"><?php echo $_smarty_tpl->getVariable('login_status')->value;?>
</div>
        </div>
    </div>
    <div id="sitepath"><span style="float: right;">[ <font color="#336600">最新统计：</font>本站共有<span class="stat"><em><font color="#FF0000"><?php echo $_smarty_tpl->getVariable('stat')->value['category'];?>
</font></em>个主题分类，<em><font color="#FF0000"><?php echo $_smarty_tpl->getVariable('stat')->value['apply'];?>
</font></em>个待审站点，共收录<em><font color="#FF0000"><?php echo $_smarty_tpl->getVariable('stat')->value['website'];?>
</font></em>个站点 ]</span></span><?php echo $_smarty_tpl->getVariable('site_path')->value;?>
 <?php echo $_smarty_tpl->getVariable('site_rss')->value;?>
</div>
  <div id="homead">
    	<div id="homead-top" class="info"><table width="100%" height="90" align="center"><p>
  <tr>
    <td height="25">· <a href="#" target="_blank"><font size="2px">上海知名高校，师资力量雄厚</font></a></td>
    <td>· <a href="#" target="_blank"><font size="2px">北京电影学院，电影人才的摇篮</font></a></td>
    <td>· <a href="#" target="_blank"><font size="2px">南京雅思培训班，知名培训基地</font></a></td>
    <td>· <a href="#" target="_blank"><font size="2px">安徽民办高校典范，师资力量雄厚</font></a></td>
  </tr>
  <tr>
    <td>· <a href="#" target="_blank"><font size="2px">知名培训机构，中国IT教育十大品牌</font></a></td>
    <td>· <a href="#" target="_blank"><font size="2px">出国留学GAC国际预科培训值得信赖</font></a></td>
    <td>· <a href="#" target="_blank"><font size="2px">音乐学校，学音乐，唱出你的精彩</font></a></td>
    <td>· <a href="#" target="_blank"><font size="2px" color="#FF0000">校园网广告联系QQ：88886666</font></a></td>
  </tr>
  <tr>
    <td height="24">· <a href="#" target="_blank"><font size="2px">浙江高等学府，师资力量雄厚</font></a></td>
    <td>· <a href="#" target="_blank"><font size="2px" color="#FF0000">校园网广告联系QQ：88886666</font></a></td>
    <td>· <a href="#" target="_blank"><font size="2px">江苏知名高校，师资力量雄厚</font></a></td>
    <td>· <a href="#" target="_blank"><font size="2px">超值精品广告位，您还等什么呢？</font></a></td>
  </tr></p>
</table></div>
    </div>
    <div id="homebox" class="clearfix mtop10">
    	<div id="homebox-left">
        	<div id="homecate">
            	<h2>分类目录</h2>
                <ul>
                    <?php  $_smarty_tpl->tpl_vars['c'] = new Smarty_Variable;
 $_from = get_categories(); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['c']->key => $_smarty_tpl->tpl_vars['c']->value){
?>
                    <li><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></li>
               		<?php }} ?>
               	</ul>
            </div>
            <div class="mtop10">

            </div>

            <div class="mtop10">

            </div>
        </div>
        <div id="homebox-center" class="mleft10">
        	<div id="homeelite">
            	<h2>特别推荐</h2>
        		<ul>
                    <?php  $_smarty_tpl->tpl_vars['best'] = new Smarty_Variable;
 $_from = get_websites(0,10,true); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['best']->key => $_smarty_tpl->tpl_vars['best']->value){
?>
					<li><a href="<?php echo $_smarty_tpl->tpl_vars['best']->value['web_link'];?>
"><img src="<?php echo $_smarty_tpl->tpl_vars['best']->value['web_thumb'];?>
" width="100" height="80" alt="<?php echo $_smarty_tpl->tpl_vars['best']->value['web_name'];?>
" /></a><div class="info"><h3><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></h3><p><?php echo $_smarty_tpl->tpl_vars['best']->value['web_intro'];?>
</p><address><a href="<?php echo $_smarty_tpl->tpl_vars['best']->value['web_url'];?>
" target="_blank" class="visit" onClick="clickout(<?php echo $_smarty_tpl->tpl_vars['best']->value['web_id'];?>
)"><?php echo $_smarty_tpl->tpl_vars['best']->value['web_url'];?>
</a> - <span class="gre"><?php echo $_smarty_tpl->tpl_vars['best']->value['web_ctime'];?>
</span></address></div></li>
					<?php }} ?>
            	</ul>
            </div>
        </div>
        <div id="homebox-right" class="mleft10">
        	<div id="update">
            	<h2>最新收录</h2>
                <ul>
                	<?php  $_smarty_tpl->tpl_vars['new'] = new Smarty_Variable;
 $_from = get_websites(0,10,false); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['new']->key => $_smarty_tpl->tpl_vars['new']->value){
?>
                    <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="homepop" class="mtop10">
            	<h2>最受欢迎</h2>
                <ul>
                   	<?php  $_smarty_tpl->tpl_vars['hot'] = new Smarty_Variable;
 $_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;
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['hot']->key => $_smarty_tpl->tpl_vars['hot']->value){
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['hot_website']['iteration']++;
?>
                   	<li><span><?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['hot_website']['iteration'];?>
.</span><strong><a href="<?php echo $_smarty_tpl->tpl_vars['hot']->value['web_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['hot']->value['web_name'];?>
"><?php echo $_smarty_tpl->tpl_vars['hot']->value['web_name'];?>
</a></strong><p><?php echo $_smarty_tpl->tpl_vars['hot']->value['web_intro'];?>
</p></li>
                   	<?php }} ?>
               	</ul>
            </div>
            <div id="archives" class="mtop10">
            	<h2>数据归档</h2>
                <ul>
					<?php  $_smarty_tpl->tpl_vars['arr'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['year'] = new Smarty_Variable;
 $_from = get_archives(); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['arr']->key => $_smarty_tpl->tpl_vars['arr']->value){
 $_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['month'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['arr']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
 $_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 id="linkbox" class="mtop10">
            	<h2>友情连接</h2>
				<ul>
        			<?php  $_smarty_tpl->tpl_vars['link'] = new Smarty_Variable;
 $_from = get_links(); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['link']->key => $_smarty_tpl->tpl_vars['link']->value){
?>
        			<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>
    </div>
    <div class="clearfix"></div>
<?php $_template = new Smarty_Internal_Template("footer.html", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?>
</div>
</body>
</html>