<?php /* Smarty version Smarty-3.1.10, created on 2017-02-08 16:03:30
         compiled from "E:\phpStudy\home\demo\themes\default\index.html" */ ?>
<?php /*%%SmartyHeaderCode:6502589acffcc22cf8-25217777%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '46004305de79d0ab1d889f84ca0c3d1c0bab1784' => 
    array (
      0 => 'E:\\phpStudy\\home\\demo\\themes\\default\\index.html',
      1 => 1486541008,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '6502589acffcc22cf8-25217777',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.10',
  'unifunc' => 'content_589acffd4bf7b1_40384032',
  'variables' => 
  array (
    'site_title' => 0,
    'site_keywords' => 0,
    'site_description' => 0,
    'site_root' => 0,
    'cfg' => 0,
    'site_name' => 0,
    'login_status' => 1,
    'stat' => 0,
    'instat' => 0,
    'new' => 0,
    'cate' => 0,
    'scate' => 0,
    'quick' => 0,
    'best' => 0,
    'outstat' => 0,
    'cool' => 0,
    'art' => 0,
    'link' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_589acffd4bf7b1_40384032')) {function content_589acffd4bf7b1_40384032($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_truncate')) include 'E:\\phpStudy\\home\\demo\\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;?>
" />
<meta name="Copyright" content="Powered By 87690.net" />
<link href="<?php echo $_smarty_tpl->tpl_vars['site_root']->value;?>
themes/default/skin/index.css" rel="stylesheet" type="text/css" />
<meta property="qc:admins" content="063730075760761066547" />
<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>

<SCRIPT type=text/javascript>kfguin="88251776";ws="www.60cms.com"; companyname="优能目录"; welcomeword="您好,欢迎光临优能目录<brT>请问,有什么可以帮到您的吗?"; type="1";</SCRIPT>
<SCRIPT src="/kefu/js/kf.js" type=text/javascript></SCRIPT>
</head>

<body>
 <div class="topbg">
    <div class="topbar">
	   
	   <div class="tijiao">
	    欢迎您加入<?php echo $_smarty_tpl->tpl_vars['site_name']->value;?>
: 提交网站流程 -> <a href="/member/?mod=register" target="_blank" class="lan">注册会员</a> -> <a href="/member/?mod=website&act=add" target="_blank" class="red">提交网站</a> -> <span class="zi">等待审核...</span>
	   </div>
	   <div class="tdenglu">
	    <a target="_blank" href="http://shang.qq.com/wpa/qunwpa?idkey=5220460025667db58930d888fb37f1cfc171303f9c02391a49649a2226133d2d"><img border="0" src="http://pub.idqqimg.com/wpa/images/group.png" alt="【<?php echo $_smarty_tpl->tpl_vars['site_name']->value;?>
】" title="【<?php echo $_smarty_tpl->tpl_vars['site_name']->value;?>
】"></a> <?php echo $_smarty_tpl->tpl_vars['login_status']->value;?>

	   </div>
	</div>
 </div>

 <div class="banner">
    <div class="banlogo">
	  <a href="/" target="_blank"  class="logo"></a>
	  <div class="sou"> 
	  <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" />

                <div id="selopt">

                	<div id="cursel">网站名称</div>

                    <ul id="options">

                    	<li><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="本站搜索" />

			</form></div>
	</div>
	
 </div>
 <div class="nav">
    <div class="navall">
	<ul>
	<li class="hov"><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">TOP排行榜</a></li>
      <li><a href="http://www.60cms.com/thread-6-1-1.html" target="_blank">购买授权</a></li>
	</ul>
	</div>
	
 </div>
 <div class="clear"></div>
 
  <div class="wrap">
    <div class="main">
	  <div class="txtbox">
	  <div class="boxleft">
	  数据统计：<span><?php echo $_smarty_tpl->tpl_vars['stat']->value['category'];?>
</span>个主题分类，<span><?php echo $_smarty_tpl->tpl_vars['stat']->value['website'];?>
</span>个优秀站点，<span><?php echo $_smarty_tpl->tpl_vars['stat']->value['apply'];?>
</span>个站点正在排队审核，<span><?php echo $_smarty_tpl->tpl_vars['stat']->value['article'];?>
</span>篇站长资讯
	  </div>
	  <div class="boxright">
      <?php echo get_adcode(36);?>

	  </div>
	  </div>
	  <div class="navall"> <a href="http://www.60cms.com/thread-6-1-1.html" target="_blank"><img src="http://www.60cms.com/data/attachment/portal/201612/17/105511pwqophb1ukz1wpaw.jpg" width="100%"></a></div>
	 <div class="main-left">
	   <div class="xindian">
	   <div class="top">
	   <b>最新点入网站</b>
	   </div>
	   <ul>
	   	

          	<?php  $_smarty_tpl->tpl_vars['instat'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['instat']->_loop = false;
 $_from = get_websites(0,28,false,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><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"><?php echo $_smarty_tpl->tpl_vars['instat']->value['web_name'];?>
</a></li>

            <?php } ?>

            
	 
	   </ul>
	   </div>
	   
	   <div class="shoulu">
	   <div class="top">
	   <b>最新收录 TOP10</b>
	   </div>
	   <ul>
	   	<?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');}
 $_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'];?>
" 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_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 } ?>
	  
	   
	   </ul>
	   </div>
       
	    <div class="fenlei">
		<?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;
?>

                <?php if ($_smarty_tpl->tpl_vars['cate']->value['cate_mod']=='webdir'){?>

        		
        <div class="top">
	    <b><a href="<?php echo $_smarty_tpl->tpl_vars['cate']->value['cate_link'];?>
"><?php echo $_smarty_tpl->tpl_vars['cate']->value['cate_name'];?>
</a> </b>
		</div>
            <div class="fl">
	   <ul>

                		<?php  $_smarty_tpl->tpl_vars['scate'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['scate']->_loop = false;
 $_from = get_categories($_smarty_tpl->tpl_vars['cate']->value['cate_id']); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['scate']->key => $_smarty_tpl->tpl_vars['scate']->value){
$_smarty_tpl->tpl_vars['scate']->_loop = true;
?>
						
						

                		  <li><a href="<?php echo $_smarty_tpl->tpl_vars['scate']->value['cate_link'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['scate']->value['cate_name'];?>
</a></li>

                    	<?php } ?>

                	</ul><div class="clear"></div>
	   </div>

                <?php }?>

            	<?php } ?>
	  
	   </div>
	 </div>
	 <div class="main-right">
	   <div class="kuaishen">
	     <div class="top">
		 
		 <div class="biaoti"><strong>最新快审</strong></div>
		
		<div class="more">
		<?php echo get_adcode(37);?>

		</div>
		 </div>
		 <ul>
		<?php  $_smarty_tpl->tpl_vars['quick'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['quick']->_loop = false;
 $_from = get_websites(0,30,true); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['quick']->key => $_smarty_tpl->tpl_vars['quick']->value){
$_smarty_tpl->tpl_vars['quick']->_loop = true;
?>
	      <li><div  class="duan"><a href="<?php echo $_smarty_tpl->tpl_vars['quick']->value['web_link'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['quick']->value['web_name'];?>
</a></div><img src="<?php echo $_smarty_tpl->tpl_vars['site_root']->value;?>
themes/default/skin/audit.gif" /></li>
		<?php } ?>
		
		 </ul>
	   </div>
       
	   <div class="tuijian">
	    <div class="top">
		<div class="biaoti"><strong>网站推荐</strong></div>
		
		<div class="more">本站仅推荐付费快速审核的优质网站！</div>
		</div>
	   <ul>
	   <?php  $_smarty_tpl->tpl_vars['best'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['best']->_loop = false;
 $_from = get_websites(0,12,false,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'];?>
" target="_blank"><img src="<?php echo $_smarty_tpl->tpl_vars['best']->value['web_pic'];?>
" /></a> 
		   <div class="tjduan">
		   <a href="<?php echo $_smarty_tpl->tpl_vars['best']->value['web_link'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['best']->value['web_name'];?>
</a><img src="<?php echo $_smarty_tpl->tpl_vars['site_root']->value;?>
themes/default/skin/tuijian2.gif" />
		   </div></li>
               		<?php } ?>
	   
	   </ul>
	   </div>
       
	   <div class="ruzhan">
	     <div class="top">
		 
		 <div class="biaoti"><strong>入站排行榜</strong></div>
		 <div class="more">请将本站加入友情链接，一旦有人点入即可排在首位！</div>
		 </div>
		 <ul>
		 	
		 	<?php  $_smarty_tpl->tpl_vars['instat'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['instat']->_loop = false;
 $_from = get_websites(0,35,false,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><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></li>

                   	<?php } ?>
		 </ul>
	   </div>
       
	   <div class="biaoyun">
	     <div class="top">
		 <div class="biaoti"><strong>出站排行榜</strong></div>
		 <div class="more">被优能目录收录的网站，一旦出站就会排在这个位置，建议将本站设为首页。</div>
		 </div>
		 <ul>
		 
<?php  $_smarty_tpl->tpl_vars['outstat'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['outstat']->_loop = false;
 $_from = get_websites(0,35,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']++;
?>

                   	<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'];?>
" 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'];?>
" 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="kuzhan">
	     <div class="top">
		 <div class="biaoti">酷站导航</div>
		 <div class="more"><a href="/webdir/" target="_blank">更多>></a></div>
		 </div>
		  <ul>

            		<?php  $_smarty_tpl->tpl_vars['cate'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['cate']->_loop = false;
 $_from = get_best_categories(); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['csite']['iteration']=0;
foreach ($_from as $_smarty_tpl->tpl_vars['cate']->key => $_smarty_tpl->tpl_vars['cate']->value){
$_smarty_tpl->tpl_vars['cate']->_loop = true;
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['csite']['iteration']++;
?>

                	<li><h4><a href="<?php echo $_smarty_tpl->tpl_vars['cate']->value['cate_link'];?>
"><strong><?php echo $_smarty_tpl->tpl_vars['cate']->value['cate_name'];?>
</strong></a></h4><a href="<?php echo $_smarty_tpl->tpl_vars['cate']->value['cate_link'];?>
" class="more">更多>></a><?php  $_smarty_tpl->tpl_vars['cool'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['cool']->_loop = false;
 $_from = get_websites($_smarty_tpl->tpl_vars['cate']->value['cate_id'],7); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['cool']->key => $_smarty_tpl->tpl_vars['cool']->value){
$_smarty_tpl->tpl_vars['cool']->_loop = true;
?><span><a href="<?php echo $_smarty_tpl->tpl_vars['cool']->value['web_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['cool']->value['web_name'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['cool']->value['web_name'];?>
</a></span><?php } ?></li>

                    <?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['csite']['iteration']%7==0&&$_smarty_tpl->getVariable('smarty')->value['foreach']['csite']['iteration']!=20){?>

                    <li class="sline"></li>

                    <?php }?>

                	<?php } ?>

            	</ul>
		</div>
        
	   <div class="news">
	     <div class="top">
		   <div class="biaoti">站长资讯</div>
		   <div class="more"><a href="/article/" target="_blank">更多>></a></div>
		 </div>
		 <div class="left">
		 <ul>
		 <?php  $_smarty_tpl->tpl_vars['art'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['art']->_loop = false;
 $_from = get_articles(120,6,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'];?>
"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['art']->value['art_title'],"20");?>
 </a><span2>(阅<font color="#0066FF"><?php echo $_smarty_tpl->tpl_vars['art']->value['art_views'];?>
</font>次)</span2></li>

         <?php } ?>
		 <?php  $_smarty_tpl->tpl_vars['art'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['art']->_loop = false;
 $_from = get_articles(128,6,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'];?>
"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['art']->value['art_title'],"20");?>
 </a><span2>(阅<font color="#0066FF"><?php echo $_smarty_tpl->tpl_vars['art']->value['art_views'];?>
</font>次)</span2></li>

         <?php } ?>
		 </ul>
		 </div>
		 <div class="right">
		 <ul>
		 <?php  $_smarty_tpl->tpl_vars['art'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['art']->_loop = false;
 $_from = get_articles(108,6,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'];?>
"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['art']->value['art_title'],"20");?>
 </a><span2>(阅<font color="#0066FF"><?php echo $_smarty_tpl->tpl_vars['art']->value['art_views'];?>
</font>次)</span2></li>

         <?php } ?>
		 <?php  $_smarty_tpl->tpl_vars['art'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['art']->_loop = false;
 $_from = get_articles(109,6,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'];?>
"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['art']->value['art_title'],"20");?>
 </a><span2>(阅<font color="#0066FF"><?php echo $_smarty_tpl->tpl_vars['art']->value['art_views'];?>
</font>次)</span2></li>

         <?php } ?>
		 </ul>
		 </div>
	   </div>
       
	   <div class="link">
	     <div class="top">
		   <div class="toplf">
		   <div class="biaoti">
		   链接交换
		   </div>
		   <div class="more">
		   <a href="/weblink/" target="_blank">更多>></a>
		   </div>
		   </div>
		   <div class="toprg">
		   <div class="biaoti">
		   网站帮助
		   </div>
		   <div class="more">
		   <a href="/article/help/116-1.html" target="_blank">更多>></a>
		   </div>
		   </div>
		 </div>
		 <div class="left">
		 <ul>

                		<?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'];?>
"><?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 } ?>

                	</ul>
		</div>
		<div class="right">
		 <ul>

                		<?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'];?>
"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['art']->value['art_title'],"20");?>
 </a><span2>(阅<font color="#0066FF"><?php echo $_smarty_tpl->tpl_vars['art']->value['art_views'];?>
</font>次)</span2></li>

         <?php } ?>

                	</ul>
		</div>
		
		
	   </div>
		
		
	 </div>
	</div>
	<div class="clear"></div>
	<div class="libox">
	<div class="top">
	  <div class="biaoti">友情链接</div>
	  <div class="more"> <?php echo get_adcode(38);?>
</div>
	</div>
	 <ul>

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

 </div>
 
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"slide":{"type":"slide","bdImg":"1","bdPos":"right","bdTop":"152.5"},"image":{"viewList":["qzone","tsina","tqq","renren","weixin"],"viewText":"分享到：","viewSize":"16"},"selectShare":{"bdContainerClass":null,"bdSelectMiniList":["qzone","tsina","tqq","renren","weixin"]}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>


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