<?php /* Smarty version Smarty-3.1.10, created on 2016-12-27 19:49:01
         compiled from "/home/wwwroot/changming/public_html/themes/default/index.html" */ ?>
<?php /*%%SmartyHeaderCode:1938379972584bac70aaa363-96303715%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '37623fcd38250c0b226985d8f419c7ceb6eca6ff' => 
    array (
      0 => '/home/wwwroot/changming/public_html/themes/default/index.html',
      1 => 1482839338,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1938379972584bac70aaa363-96303715',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.10',
  'unifunc' => 'content_584bac70e34891_11624716',
  'variables' => 
  array (
    'site_title' => 0,
    'site_keywords' => 0,
    'site_description' => 0,
    'site_root' => 0,
    'cfg' => 0,
    'best' => 0,
    'cate' => 0,
    'scate' => 0,
    'quick' => 0,
    'instat' => 0,
    'outstat' => 0,
    'art' => 0,
    'link' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_584bac70e34891_11624716')) {function content_584bac70e34891_11624716($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_truncate')) include '/home/wwwroot/changming/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>
 
<?php echo $_smarty_tpl->getSubTemplate ("head.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<div class="header">
  <div class="nav">
    
	<div class="yn-nav">
	
	<li class="cur"><a href="?mod=index">网站首页</a></li>
	<li><a href="/news/">头条新闻</a></li>
	<li><a href="?mod=shop">网上商城</a></li>
	<li><a href="?mod=huoyuan">微商货源</a></li>
	<li><a href="?mod=weixin">微信导航</a></li>
	<li><a href="?mod=webdir">网站百科</a></li>
	<li><a href="?mod=article">投稿专栏</a></li>
	
	<li><a href="?mod=category">分类浏览</a></li>
	<li><a href="?mod=city">地区分类</a></li>
	<li><a href="?mod=update">最新收录</a></li>
    <!--<li><a href="?mod=weblink">链接交换</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">
	
	    
		<a href="?mod=feedback" target="_blank">建议反馈</a>
	  
	
	
	<div class="clear"></div>
	</div>
	<div class="clear"></div>
  </div>
</div>
<?php echo $_smarty_tpl->getSubTemplate ("tuitop.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>


<div class="main">
 <div class="left">
   <div class="quanwei">
     
	   <ul>

      <li><a href="/url.php?url=http://www.baidu.com/" target="_blank">百度</a> • <a href="/url.php?url=http://tieba.baidu.com/" target="_blank">贴吧</a></li>
	  <li><a href="/url.php?url=http://www.sina.com.cn/" target="_blank">新浪</a> • <a href="/url.php?url=http://www.weibo.com/" target="_blank">微博</a></li>
	  <li><a href="http://www.0519.name/url.php?url=http://www.baidu.com/" target="_blank">百度</a></li>
	  <li><a href="http://www.0519.name/url.php?url=http://www.baidu.com/" target="_blank">百度</a></li>
	  <li><a href="http://www.0519.name/url.php?url=http://www.baidu.com/" target="_blank">百度</a></li>
	  
	  
	   <li><a href="/url.php?url=http://www.puss7.com/" target="_blank">七猫网</a> • <a href="/url.php?url=http://www.60cms.com/" target="_blank">优能目录</a></li>
      </ul><div class="clear"></div>
	         
	   <ul>

      <li><a href="http://www.0519.name/url.php?url=http://www.baidu.com/" target="_blank">百度</a></li>
	  <li><a href="http://www.0519.name/url.php?url=http://www.baidu.com/" target="_blank">百度</a></li>
	  <li><a href="http://www.0519.name/url.php?url=http://www.baidu.com/" target="_blank">百度</a></li>
	  <li><a href="http://www.0519.name/url.php?url=http://www.baidu.com/" target="_blank">百度</a></li>
	  <li><a href="http://www.0519.name/url.php?url=http://www.baidu.com/" target="_blank">百度</a></li>
	  <li><a href="http://www.0519.name/url.php?url=http://www.baidu.com/" target="_blank">百度</a></li>
	
	 

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

      <li><a href="http://www.0519.name/url.php?url=http://www.baidu.com/" target="_blank">百度</a></li>
	  <li><a href="http://www.0519.name/url.php?url=http://www.baidu.com/" target="_blank">百度</a></li>
	  <li><a href="http://www.0519.name/url.php?url=http://www.baidu.com/" target="_blank">百度</a></li>
	  <li><a href="http://www.0519.name/url.php?url=http://www.baidu.com/" target="_blank">百度</a></li>
	  <li><a href="http://www.0519.name/url.php?url=http://www.baidu.com/" target="_blank">百度</a></li>
	  <li><a href="http://www.0519.name/url.php?url=http://www.baidu.com/" target="_blank">百度</a></li>
	
	

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

      <li><a href="http://www.0519.name/url.php?url=http://www.baidu.com/" target="_blank">百度</a></li>
	  <li><a href="http://www.0519.name/url.php?url=http://www.baidu.com/" target="_blank">百度</a></li>
	  <li><a href="http://www.0519.name/url.php?url=http://www.baidu.com/" target="_blank">百度</a></li>
	  <li><a href="http://www.0519.name/url.php?url=http://www.baidu.com/" target="_blank">百度</a></li>
	  <li><a href="http://www.0519.name/url.php?url=http://www.baidu.com/" target="_blank">百度</a></li>
	  <li><a href="http://www.0519.name/url.php?url=http://www.baidu.com/" target="_blank">百度</a></li>
	
	 

      </ul><div class="clear"></div>
	   <ul>
 <?php  $_smarty_tpl->tpl_vars['best'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['best']->_loop = false;
 $_from = get_websites(0,6,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'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['best']->value['web_name'];?>
" target="_blank"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['best']->value['web_name'],"8");?>
</a></li>
       

               		<?php } ?>
    
	

      </ul><div class="clear"></div>
	   </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'){?>

        		
      
          
	   <ul>
 <div class="tou"><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>
                		<?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'],9); 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 } ?>
<li><a href="<?php echo $_smarty_tpl->tpl_vars['cate']->value['cate_link'];?>
">更多>></a> </li>
                	</ul><div class="clear"></div>
	   

                <?php }?>

            	<?php } ?>
	  
	   </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,9,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><em><?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['quick_website']['iteration'];?>
</em>
           <dt><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"><?php echo $_smarty_tpl->tpl_vars['quick']->value['web_name'];?>
</a></dt>
           <dd><?php echo $_smarty_tpl->tpl_vars['quick']->value['web_intro'];?>
</dd>
         </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['instat'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['instat']->_loop = false;
 $_from = get_websites(0,9,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><em><?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['instat_website']['iteration'];?>
</em>
           <dt><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></dt>
           <dd><?php echo $_smarty_tpl->tpl_vars['instat']->value['web_intro'];?>
</dd>
         </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,9,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><em><?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['outstat_website']['iteration'];?>
</em>
           <dt><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"><?php echo $_smarty_tpl->tpl_vars['outstat']->value['web_name'];?>
</a></dt>
           <dd><?php echo $_smarty_tpl->tpl_vars['outstat']->value['web_intro'];?>
</dd>
         </dl>
		  	<?php } ?>
		  
		 
         <div class="clear"></div>
		</div>
	 </div>
	 
  </div>
  <div class="right">
    <div id="cen_right_top">
	<h3 class="active">头条</h3>
	<h3>社会</h3>
	<h3>娱乐</h3>
	<h3>体育</h3>
	<div style="display:block">   <?php  $_smarty_tpl->tpl_vars['art'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['art']->_loop = false;
 $_from = get_dedearts(1,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="/news/<?php echo $_smarty_tpl->tpl_vars['art']->value['id'];?>
.html" target="_blank"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['art']->value['title'],"16");?>
</a></li>

         <?php } ?>
		 </div>
	<div>
	  <?php  $_smarty_tpl->tpl_vars['art'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['art']->_loop = false;
 $_from = get_dedearts(2,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="/news/<?php echo $_smarty_tpl->tpl_vars['art']->value['id'];?>
.html" target="_blank"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['art']->value['title'],"16");?>
</a></li>
         <?php } ?>
		 </div>
	<div>  <?php  $_smarty_tpl->tpl_vars['art'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['art']->_loop = false;
 $_from = get_dedearts(3,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="/news/<?php echo $_smarty_tpl->tpl_vars['art']->value['id'];?>
.html" target="_blank"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['art']->value['title'],"16");?>
</a></li>
         <?php } ?>
		 </div>
	<div>  <?php  $_smarty_tpl->tpl_vars['art'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['art']->_loop = false;
 $_from = get_dedearts(4,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="/news/<?php echo $_smarty_tpl->tpl_vars['art']->value['id'];?>
.html" target="_blank"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['art']->value['title'],"16");?>
</a></li>
         <?php } ?>
		 </div>
</div>
<script type="text/javascript">

// JavaScript Document
window.onload=function()
{
	var oTab=document.getElementById("cen_right_top");
	var aH3=oTab.getElementsByTagName("h3");
	var aDiv=oTab.getElementsByTagName("div");
	for(var i=0;i<aH3.length;i++)
	{
		aH3[i].index=i;
		aH3[i].onmouseover=function()
		{
			for(var i=0;i<aH3.length;i++)
			{
				aH3[i].className="";
				aDiv[i].style.display="none";
			}
			this.className="active";
			aDiv[this.index].style.display="block";
		}
	}
	var oTab2=document.getElementById("cen_right_top2");
	var a2H3=oTab2.getElementsByTagName("h3");
	var a2Div=oTab2.getElementsByTagName("div");
	for(var i=0;i<a2H3.length;i++)
	{
		a2H3[i].index=i;
		a2H3[i].onmouseover=function()
		{
			for(var i=0;i<a2H3.length;i++)
			{
				a2H3[i].className="";
				a2Div[i].style.display="none";
			}
			this.className="active";
			a2Div[this.index].style.display="block";
		}
	}
	
}

</script>
    
	   <div id="cen_right_top2">
	<h3 class="active">财经</h3>
	<h3>军事</h3>
	<h3>国际</h3>
	<h3>科技</h3>
	<div style="display:block">   <?php  $_smarty_tpl->tpl_vars['art'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['art']->_loop = false;
 $_from = get_dedearts(5,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="/news/<?php echo $_smarty_tpl->tpl_vars['art']->value['id'];?>
.html" target="_blank"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['art']->value['title'],"16");?>
</a></li>

         <?php } ?>
		 </div>
	<div>
	  <?php  $_smarty_tpl->tpl_vars['art'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['art']->_loop = false;
 $_from = get_dedearts(6,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="/news/<?php echo $_smarty_tpl->tpl_vars['art']->value['id'];?>
.html" target="_blank"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['art']->value['title'],"16");?>
</a></li>
         <?php } ?>
		 </div>
	<div>  <?php  $_smarty_tpl->tpl_vars['art'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['art']->_loop = false;
 $_from = get_dedearts(7,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="/news/<?php echo $_smarty_tpl->tpl_vars['art']->value['id'];?>
.html" target="_blank"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['art']->value['title'],"16");?>
</a></li>
         <?php } ?>
		 </div>
	<div>  <?php  $_smarty_tpl->tpl_vars['art'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['art']->_loop = false;
 $_from = get_dedearts(8,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="/news/<?php echo $_smarty_tpl->tpl_vars['art']->value['id'];?>
.html" target="_blank"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['art']->value['title'],"16");?>
</a></li>
         <?php } ?>
		 </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(0,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="ad"><?php echo get_adcode(58);?>
</div>
	<div class="news">
	  <div class="bt">热门新闻</div>
	  <div class="list">
	  
          <!-- 代码1：放在页面需要展示的位置  -->
<!-- 如果您配置过sourceid，建议在div标签中配置sourceid、cid(分类id)，没有请忽略  -->
<div id="cyHotnews" role="cylabs" data-use="hotnews"></div>
<!-- 代码2：用来读取评论框配置，此代码需放置在代码1之后。 -->
<!-- 如果当前页面有评论框，代码2请勿放置在评论框代码之前。 -->
<!-- 如果页面同时使用多个实验室项目，以下代码只需要引入一次，只配置上面的div标签即可 -->
<script type="text/javascript" charset="utf-8" src="http://changyan.itc.cn/js/lib/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="https://changyan.sohu.com/js/changyan.labs.https.js?appid=cysJVs2Kh"></script>



         
	  
	   </div>
	</div>
	<div class="lian">
	<!-- 代码1：放在页面需要展示的位置  -->
<!-- 如果您配置过sourceid，建议在div标签中配置sourceid、cid(分类id)，没有请忽略  -->
<div id="cyHotusers" role="cylabs" data-use="hotusers"></div>
<!-- 代码2：用来读取评论框配置，此代码需放置在代码1之后。 -->
<!-- 如果当前页面有评论框，代码2请勿放置在评论框代码之前。 -->
<!-- 如果页面同时使用多个实验室项目，以下代码只需要引入一次，只配置上面的div标签即可 -->
<script type="text/javascript" charset="utf-8" src="http://changyan.itc.cn/js/lib/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="https://changyan.sohu.com/js/changyan.labs.https.js?appid=cysJVs2Kh"></script>
	</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">
  友情链接：
  
  <?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;
?>

			<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>

            <?php } ?>
  </div>


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


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