<?php /* Smarty version Smarty-3.1.10, created on 2016-11-10 09:33:15
         compiled from "/www/web/smulu/public_html/themes/default/index.html" */ ?>
<?php /*%%SmartyHeaderCode:96435025957f659b37640f0-27924253%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'da9bff6be8813605c980ce170defd93e7855dbb0' => 
    array (
      0 => '/www/web/smulu/public_html/themes/default/index.html',
      1 => 1478741592,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '96435025957f659b37640f0-27924253',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.10',
  'unifunc' => 'content_57f659b3a11904_05178985',
  'variables' => 
  array (
    'site_title' => 0,
    'site_keywords' => 0,
    'site_description' => 0,
    'site_root' => 0,
    'cfg' => 0,
    'login_status' => 1,
    'best' => 0,
    'quick' => 0,
    'instat' => 0,
    'outstat' => 0,
    'stat' => 0,
    'zz_kuaishen' => 0,
    'zz_haozhan' => 0,
    'zz_zhiding' => 0,
    'zz_qq' => 0,
    'art' => 0,
    'link' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_57f659b3a11904_05178985')) {function content_57f659b3a11904_05178985($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_truncate')) include '/www/web/smulu/public_html/source/extend/smarty/plugins/modifier.truncate.php';
?><!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>
<meta http-equiv="Content-Type" content="text/html; 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;?>
" />
<link href="<?php echo $_smarty_tpl->tpl_vars['site_root']->value;?>
themes/default/css/style.css" rel="StyleSheet" type="text/css" />
<script type="text/javascript">

var radius = 100;

var dtr = Math.PI/180;

var d=200;



var mcList = [];

var active = false;

var lasta = 1;

var lastb = 0.1;

var distr = true;

var tspeed=0.5;

var size=250;



var mouseX=0;

var mouseY=0;



var howElliptical=1;



var aA=null;

var oDiv=null;



window.onload=function ()

{

	var i=0;

	var oTag=null;

	

	oDiv=document.getElementById('tagbox');

	

	aA=oDiv.getElementsByTagName('a');

	

	for(i=0;i<aA.length;i++)

	{

		oTag={};

		

		oTag.offsetWidth=aA[i].offsetWidth;

		oTag.offsetHeight=aA[i].offsetHeight;

		

		mcList.push(oTag);

	}

	

	sineCosine( 0,0,0 );

	

	positionAll();

	

	oDiv.onmouseover=function ()

	{

		active=true;

	};

	

	oDiv.onmouseout=function ()

	{

		active=false;

	};

	

	oDiv.onmousemove=function (ev)

	{

		var oEvent=window.event || ev;

		

		mouseX=oEvent.clientX-(oDiv.offsetLeft+oDiv.offsetWidth/2);

		mouseY=oEvent.clientY-(oDiv.offsetTop+oDiv.offsetHeight/2);

		

		mouseX/=5;

		mouseY/=5;

	};

	

	setInterval(update, 30);

};



function update()

{

	var a;

	var b;

	

	if(active)

	{

		a = (-Math.min( Math.max( -mouseY, -size ), size ) / radius ) * tspeed;

		b = (Math.min( Math.max( -mouseX, -size ), size ) / radius ) * tspeed;

	}

	else

	{

		a = lasta * 0.98;

		b = lastb * 0.98;

	}

	

	lasta=a;

	lastb=b;

	

	if(Math.abs(a)<=0.01 && Math.abs(b)<=0.01)

	{

		return;

	}

	

	var c=0;

	sineCosine(a,b,c);

	for(var j=0;j<mcList.length;j++)

	{

		var rx1=mcList[j].cx;

		var ry1=mcList[j].cy*ca+mcList[j].cz*(-sa);

		var rz1=mcList[j].cy*sa+mcList[j].cz*ca;

		

		var rx2=rx1*cb+rz1*sb;

		var ry2=ry1;

		var rz2=rx1*(-sb)+rz1*cb;

		

		var rx3=rx2*cc+ry2*(-sc);

		var ry3=rx2*sc+ry2*cc;

		var rz3=rz2;

		

		mcList[j].cx=rx3;

		mcList[j].cy=ry3;

		mcList[j].cz=rz3;

		

		per=d/(d+rz3);

		

		mcList[j].x=(howElliptical*rx3*per)-(howElliptical*2);

		mcList[j].y=ry3*per;

		mcList[j].scale=per;

		mcList[j].alpha=per;

		

		mcList[j].alpha=(mcList[j].alpha-0.6)*(10/6);

	}

	

	doPosition();

	depthSort();

}



function depthSort()

{

	var i=0;

	var aTmp=[];

	

	for(i=0;i<aA.length;i++)

	{

		aTmp.push(aA[i]);

	}

	

	aTmp.sort

	(

		function (vItem1, vItem2)

		{

			if(vItem1.cz>vItem2.cz)

			{

				return -1;

			}

			else if(vItem1.cz<vItem2.cz)

			{

				return 1;

			}

			else

			{

				return 0;

			}

		}

	);

	

	for(i=0;i<aTmp.length;i++)

	{

		aTmp[i].style.zIndex=i;

	}

}



function positionAll()

{

	var phi=0;

	var theta=0;

	var max=mcList.length;

	var i=0;

	

	var aTmp=[];

	var oFragment=document.createDocumentFragment();

	

	//随机排序

	for(i=0;i<aA.length;i++)

	{

		aTmp.push(aA[i]);

	}

	

	aTmp.sort

	(

		function ()

		{

			return Math.random()<0.5?1:-1;

		}

	);

	

	for(i=0;i<aTmp.length;i++)

	{

		oFragment.appendChild(aTmp[i]);

	}

	

	oDiv.appendChild(oFragment);

	

	for( var i=1; i<max+1; i++){

		if( distr )

		{

			phi = Math.acos(-1+(2*i-1)/max);

			theta = Math.sqrt(max*Math.PI)*phi;

		}

		else

		{

			phi = Math.random()*(Math.PI);

			theta = Math.random()*(2*Math.PI);

		}

		//坐标变换

		mcList[i-1].cx = radius * Math.cos(theta)*Math.sin(phi);

		mcList[i-1].cy = radius * Math.sin(theta)*Math.sin(phi);

		mcList[i-1].cz = radius * Math.cos(phi);

		

		aA[i-1].style.left=mcList[i-1].cx+oDiv.offsetWidth/2-mcList[i-1].offsetWidth/2+'px';

		aA[i-1].style.top=mcList[i-1].cy+oDiv.offsetHeight/2-mcList[i-1].offsetHeight/2+'px';

	}

}



function doPosition()

{

	var l=oDiv.offsetWidth/2;

	var t=oDiv.offsetHeight/2;

	for(var i=0;i<mcList.length;i++)

	{

		aA[i].style.left=mcList[i].cx+l-mcList[i].offsetWidth/2+'px';

		aA[i].style.top=mcList[i].cy+t-mcList[i].offsetHeight/2+'px';

		

		aA[i].style.fontSize=Math.ceil(12*mcList[i].scale/2)+8+'px';

		

		aA[i].style.filter="alpha(opacity="+100*mcList[i].alpha+")";

		aA[i].style.opacity=mcList[i].alpha;

	}

}



function sineCosine( a, b, c)

{

	sa = Math.sin(a * dtr);

	ca = Math.cos(a * dtr);

	sb = Math.sin(b * dtr);

	cb = Math.cos(b * dtr);

	sc = Math.sin(c * dtr);

	cc = Math.cos(c * dtr);

}

</script>

<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['link_struct'];?>
';</script>

<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['site_root']->value;?>
public/scripts/jquery.min.js"></script>

<script type="text/javascript" src="<?php echo $_smarty_tpl->tpl_vars['site_root']->value;?>
public/scripts/common.js"></script>

</head>

<body>
<div class="header">
  <div class="nav">
    <div class="logo"></div>
	<div class="yn-nav">
	<li class="cur"><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><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="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 class="ad"><?php echo get_adcode(55);?>
</div>
	 <div class="haozhan">
	    <div class="bt">最新快审
		</div>
		<div class="zhan">
		
		<?php  $_smarty_tpl->tpl_vars['quick'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['quick']->_loop = false;
 $_from = get_websites(0,12,true); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['quick_website']['iteration']=0;
foreach ($_from as $_smarty_tpl->tpl_vars['quick']->key => $_smarty_tpl->tpl_vars['quick']->value){
$_smarty_tpl->tpl_vars['quick']->_loop = true;
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['quick_website']['iteration']++;
?>
			
	     
		 <dl><a href="<?php echo $_smarty_tpl->tpl_vars['quick']->value['web_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['quick']->value['web_name'];?>
" target="_blank"><em><?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['quick_website']['iteration'];?>
</em>
           <dt><?php echo $_smarty_tpl->tpl_vars['quick']->value['web_name'];?>
</dt>
           <dd><?php echo $_smarty_tpl->tpl_vars['quick']->value['web_intro'];?>
</dd></a>
         </dl>
		 <?php } ?>
		
		
         <div class="clear"></div>
		</div>
	 </div>
 
	  <div class="haozhan">
	    <div class="bt">最新点入
		</div>
		<div class="zhan">
			 	

          	
           
		 	<?php  $_smarty_tpl->tpl_vars['instat'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['instat']->_loop = false;
 $_from = get_websites(0,12,false,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']++;
?>
			
<dl><a href="<?php echo $_smarty_tpl->tpl_vars['instat']->value['web_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['instat']->value['web_name'];?>
" target="_blank"><em><?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['instat_website']['iteration'];?>
</em>
           <dt><?php echo $_smarty_tpl->tpl_vars['instat']->value['web_name'];?>
</dt>
           <dd><?php echo $_smarty_tpl->tpl_vars['instat']->value['web_intro'];?>
</dd></a>
         </dl>

            <?php } ?>

           
		 
		  
		
         <div class="clear"></div>
		</div>
	 </div>
	 <div class="ad"><?php echo get_adcode(56);?>
</div>
	 <div class="haozhan">
	    <div class="bt">最新出站
		</div>
		<div class="zhan">
			<?php  $_smarty_tpl->tpl_vars['outstat'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['outstat']->_loop = false;
 $_from = get_websites(0,15,false,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']++;
?>
                  
                  <dl><a href="<?php echo $_smarty_tpl->tpl_vars['outstat']->value['web_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['outstat']->value['web_name'];?>
" target="_blank"><em><?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['outstat_website']['iteration'];?>
</em>
           <dt><?php echo $_smarty_tpl->tpl_vars['outstat']->value['web_name'];?>
</dt>
           <dd><?php echo $_smarty_tpl->tpl_vars['outstat']->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="bt">数据统计</div>
	  <div class="sj">
	    <li>主题分类：<span><?php echo $_smarty_tpl->tpl_vars['stat']->value['category'];?>
</span>个</li>
	    <li>总收录数：<span><?php echo $_smarty_tpl->tpl_vars['stat']->value['website'];?>
</span>个</li>
	    <li>等待审核：<span><?php echo $_smarty_tpl->tpl_vars['stat']->value['apply'];?>
</span>个</li>
	    <li>新闻资讯：<span><?php echo $_smarty_tpl->tpl_vars['stat']->value['article'];?>
</span>个</li>
		<li><span>审核须知</span></li>
		<li>免费收录：请先加本站为友链，再提交网站</li>
		<li>快速审核：<span><?php echo $_smarty_tpl->tpl_vars['zz_kuaishen']->value;?>
</span>元/个</li>
		<li>好站推荐：<span><?php echo $_smarty_tpl->tpl_vars['zz_haozhan']->value;?>
</span>元/月</li>
		<li>全站置顶：<span><?php echo $_smarty_tpl->tpl_vars['zz_zhiding']->value;?>
</span>元/月</li>
		<li>联系QQ：<a href="http://wpa.qq.com/msgrd?v=3&amp;uin=<?php echo $_smarty_tpl->tpl_vars['zz_qq']->value;?>
&amp;site=<?php echo $_smarty_tpl->tpl_vars['site_title']->value;?>
&amp;menu=yes" target="_blank"><img src="http://wpa.qq.com/pa?p=2:<?php echo $_smarty_tpl->tpl_vars['zz_qq']->value;?>
:41" alt="点击这里给我发消息" border="0" align="absmiddle"></a></li>
	   </div>
	</div>
	 <div class="ad"><?php echo get_adcode(57);?>
</div>
	<div class="news">
	  <div class="bt">站长新闻</div>
	  <div class="list">
	   <?php  $_smarty_tpl->tpl_vars['art'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['art']->_loop = false;
 $_from = get_articles(120,10,false); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['art']->key => $_smarty_tpl->tpl_vars['art']->value){
$_smarty_tpl->tpl_vars['art']->_loop = true;
?>




 <li><a href="<?php echo $_smarty_tpl->tpl_vars['art']->value['art_link'];?>
" target="_blank"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['art']->value['art_title'],"20");?>
</a></li>

         <?php } ?>
	   
	    
	   </div>
	</div>
	<div class="lian">
	  <div class="bt">链接交换</div>
	  <div class="list">
	  <?php  $_smarty_tpl->tpl_vars['link'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['link']->_loop = false;
 $_from = get_weblinks(0,10); 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['web_link'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['link']->value['link_name'];?>
 - PR<?php echo $_smarty_tpl->tpl_vars['link']->value['web_grank'];?>
，百度权重<?php echo $_smarty_tpl->tpl_vars['link']->value['web_brank'];?>
，<?php echo $_smarty_tpl->tpl_vars['link']->value['deal_type'];?>
友情链接</a></li>

					



      <?php } ?>
	   
	   </div>
	</div>
	<div class="ad"><?php echo get_adcode(58);?>
</div>
	<div class="news">
	  <div class="bt">使用帮助</div>
	  <div class="list">
	  
                		<?php  $_smarty_tpl->tpl_vars['art'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['art']->_loop = false;
 $_from = get_articles(116,10,false); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['art']->key => $_smarty_tpl->tpl_vars['art']->value){
$_smarty_tpl->tpl_vars['art']->_loop = true;
?>



         <li><a href="<?php echo $_smarty_tpl->tpl_vars['art']->value['art_link'];?>
" target="_blank"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['art']->value['art_title'],"20");?>
 </a></span2></li>



         <?php } ?>
	  
	   </div>
	</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);?>

  
  <div class="link">
  友情链接：
  <a href="/update/">最新收录</a>
	 <a href="/update/">最新收录</a>
  </div>


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


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