<?php /* Smarty version Smarty-3.1.10, created on 2017-02-21 11:23:02
         compiled from "E:\phpStudy\home\qingtest\template\themes\default\index.html" */ ?>
<?php /*%%SmartyHeaderCode:918858abb18f6f6524-81700830%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '00e25d863c775a4b514e0d82de6e16b95e59c999' => 
    array (
      0 => 'E:\\phpStudy\\home\\qingtest\\template\\themes\\default\\index.html',
      1 => 1487647358,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '918858abb18f6f6524-81700830',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.10',
  'unifunc' => 'content_58abb18fe8fef1_17119519',
  'variables' => 
  array (
    'site_title' => 0,
    'site_keywords' => 0,
    'site_description' => 0,
    'site_url' => 0,
    'best' => 0,
    'cate' => 0,
    'scate' => 0,
    'art' => 0,
    'web' => 0,
    'link' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_58abb18fe8fef1_17119519')) {function content_58abb18fe8fef1_17119519($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_truncate')) include 'E:\\phpStudy\\home\\qingtest\\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" />
    <meta http-equiv="Cache-Control" content="no-transform" />
    <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_url']->value;?>
template/themes/default/css/style.css" rel="StyleSheet" type="text/css" />
    <link rel="alternate" type="application/rss+xml" title="<?php echo $_smarty_tpl->tpl_vars['site_title']->value;?>
" href="<?php echo $_smarty_tpl->tpl_vars['site_url']->value;?>
rssfeed/index/" />
    <script type="text/javascript">var mobileAgent = new Array("iphone", "ipod", "ipad", "android", "mobile", "blackberry", "webos", "incognito", "webmate", "bada", "nokia", "lg", "ucweb", "skyfire");

      var browser = navigator.userAgent.toLowerCase();

      var isMobile = false;

      for (var i = 0; i < mobileAgent.length; i++) {
        if (browser.indexOf(mobileAgent[i]) != -1) {
          isMobile = true;

          //alert(mobileAgent[i]); 
          location.href = '/m/';

          break;
        }
      }</script>
    <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>
  </head>
  
  <body><?php echo $_smarty_tpl->getSubTemplate ("ihead.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

    <div class="main">
      <div class="left">
        <div class="quanwei"><?php echo get_adcode(22);?>

          <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="dianru">
          <div class="duan">最新点入：</div><?php  $_smarty_tpl->tpl_vars['best'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['best']->_loop = false;
 $_from = get_websites(0,10,false,false,'instat'); 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;
?>
          <div class="duan">
            <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_modifier_truncate($_smarty_tpl->tpl_vars['best']->value['web_name'],"8");?>
</a></div><?php } ?></div>
        <div class="clear"></div>
		
		
		 
	
        <div class="fenlei">
          <div class="top">
            <h2>网站百科</h2>
            <div class="more">最新快审： <?php  $_smarty_tpl->tpl_vars['best'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['best']->_loop = false;
 $_from = get_websites(0,5,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;
?>
              <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_tpl->tpl_vars['best']->value['web_name'];?>
</a><?php } ?>
              <a href="/webdir/">更多</a></div>
          </div>
          <div class="clear"></div><?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;
?>
            <a href="<?php echo $_smarty_tpl->tpl_vars['scate']->value['cate_link'];?>
" target="_blank">
              <li><?php echo $_smarty_tpl->tpl_vars['scate']->value['cate_name'];?>
</li></a><?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="fenlei">
          <div class="top">
            <h2>微信导航</h2>
            <div class="more">最新快审： <?php  $_smarty_tpl->tpl_vars['best'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['best']->_loop = false;
 $_from = get_wx(0,5,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;
?>
              <a href="<?php echo $_smarty_tpl->tpl_vars['best']->value['wx_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['best']->value['wx_name'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['best']->value['wx_name'];?>
</a><?php } ?>
              <a href="/weixin/">更多</a></div>
          </div>
          <div class="clear"></div><?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']=='weixin'){?>
          <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;
?>
            <a href="<?php echo $_smarty_tpl->tpl_vars['scate']->value['cate_link'];?>
" target="_blank">
              <li><?php echo $_smarty_tpl->tpl_vars['scate']->value['cate_name'];?>
</li></a><?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="fenlei">
          <div class="top">
            <h2>网购导航</h2>
            <div class="more">最新快审： <?php  $_smarty_tpl->tpl_vars['best'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['best']->_loop = false;
 $_from = get_shop(0,5,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;
?>
              <a href="<?php echo $_smarty_tpl->tpl_vars['best']->value['shop_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['best']->value['shop_name'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['best']->value['shop_name'];?>
</a><?php } ?>
              <a href="/shop/">更多</a></div>
          </div>
          <div class="clear"></div><?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']=='shop'){?>
          <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;
?>
            <a href="<?php echo $_smarty_tpl->tpl_vars['scate']->value['cate_link'];?>
" target="_blank">
              <li><?php echo $_smarty_tpl->tpl_vars['scate']->value['cate_name'];?>
</li></a><?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="fenlei">
          <div class="top">
            <h2>货源大全</h2>
            <div class="more">最新快审： <?php  $_smarty_tpl->tpl_vars['best'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['best']->_loop = false;
 $_from = get_huoyuan(0,5,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;
?>
              <a href="<?php echo $_smarty_tpl->tpl_vars['best']->value['huoyuan_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['best']->value['huoyuan_name'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['best']->value['huoyuan_name'];?>
</a><?php } ?>
              <a href="/huoyuan/">更多</a></div>
          </div>
          <div class="clear"></div><?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']=='huoyuan'){?>
          <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;
?>
            <a href="<?php echo $_smarty_tpl->tpl_vars['scate']->value['cate_link'];?>
" target="_blank">
              <li><?php echo $_smarty_tpl->tpl_vars['scate']->value['cate_name'];?>
</li></a><?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>
      <div class="right">
        <div id="slider">
          <ul class="pics"><?php echo get_adcode(21);?>
</ul>
          <ul id="nav">
            <li onmouseover="setTimeout(function(){lanrenzhijia.slider.pos(0)},300)">1</li>
            <li onmouseover="setTimeout(function(){lanrenzhijia.slider.pos(1)},300)">2</li>
            <li onmouseover="setTimeout(function(){lanrenzhijia.slider.pos(2)},300)">3</li>
            <li onmouseover="setTimeout(function(){lanrenzhijia.slider.pos(3)},300)">4</li>
            <li onmouseover="setTimeout(function(){lanrenzhijia.slider.pos(4)},300)">5</li></ul>
        </div>
        <script>var lanrenzhijia = {},
          H$ = function(id) {
            return document.getElementById(id)
          },
          H$$ = function(c, p) {
            return p.getElementsByTagName(c)
          }
          lanrenzhijia.slider = function() {
            return {
              init: function(id, options) {
                var ul = this.u = H$$('ul', H$(id))[0],
                li = H$$('li', ul);
                this.l = li.length;
                this.index = 0;
                if (options.navId && options.curClass) {
                  this.nav = H$$('li', H$(options.navId)),
                  this.c = options.curClass;
                }
                this.a = options.auto || 0;
                this.v = options.vertical || 0;
                H$(id).style.overflow = 'hidden';
                H$(id).style.position = 'relative';
                ul.style.position = 'absolute';
                if (this.v) {
                  ul.style.top = 0;
                  this.h = options.height || li[0].offsetHeight;
                  ul.style.height = (this.l * this.h) + 'px';
                } else {
                  ul.style.left = 0;
                  this.w = options.width || li[0].offsetWidth;
                  ul.style.width = (this.l * this.w) + 'px';
                }
                this.pos(options.index || 0, this.a ? 1 : 0);
              },

              pos: function(pos, a) {
                clearInterval(this.u.posAnim);
                clearInterval(this.u.auto);
                var curPos = this.v ? parseInt(this.u.style.top) : parseInt(this.u.style.left),
                correctPos = this.v ? pos * this.h: pos * this.w,
                direction = correctPos > Math.abs(curPos) ? 1 : -1;
                correctPos *= -1;
                this.index = pos;
                if (this.nav) {
                  for (var i = 0; i < this.l; i++) {
                    this.nav[i].className = i == pos ? this.c: ''
                  }
                }
                this.u.posAnim = setInterval(function() {
                  lanrenzhijia.slider.anim(correctPos, direction, a)
                },
                10);
              },

              anim: function(des, dir, a) {
                var curPos = this.v ? parseInt(this.u.style.top) : parseInt(this.u.style.left);
                if (curPos == des) {
                  clearInterval(this.u.posAnim);
                  if (a || this.a) {
                    lanrenzhijia.slider.auto()
                  }
                } else {
                  var v = curPos - Math.ceil(Math.abs(des - curPos) * .07) * dir + 'px';
                  this.v ? this.u.style.top = v: this.u.style.left = v;
                }
              },

              auto: function() {
                this.u.auto = setInterval(function() {
                  lanrenzhijia.slider.move(1, 1)
                },
                this.a * 1000)
              },

              move: function(n, a) {
                var num = this.index + n,
                i = n == 1 ? num == this.l ? 0 : num: num < 0 ? this.l - 1 : num;
                lanrenzhijia.slider.pos(i, a);
              }
            };
          } ();</script>
        <script>lanrenzhijia.slider.init('slider', {
            auto: 3,
            vertical: 1,
            navId: 'nav',
            curClass: 'nav',
            index: 0
          });</script>
        <!--代码部分end-->
        <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="http://www.0519.name/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'],"20");?>
</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="http://www.0519.name/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'],"20");?>
</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="http://www.0519.name/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'],"20");?>
</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="http://www.0519.name/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'],"20");?>
</a></li><?php } ?></div>
        </div>
        <div class="ad"><?php echo get_adcode(23);?>
</div>
        <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="http://www.0519.name/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'],"20");?>
</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="http://www.0519.name/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'],"20");?>
</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="http://www.0519.name/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'],"20");?>
</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="http://www.0519.name/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'],"20");?>
</a></li><?php } ?></div>
        </div>
        <div class="news">
          <iframe src="http://www.0519.name/so/?a=code&type=top" frameborder="0" scrolling="no" width="290" height="300"></iframe>
        </div>
        <div class="ad"><?php echo get_adcode(24);?>
</div>
        <div class="news">
          <div class="ibt">投稿专栏</div>
          <div class="more">
            <a href="/article/" target="_blank">更多</a></div>
          <div class="clear"></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(24);?>
</div>
        <div class="news">
          <div class="ibt">SEO最新查询</div>
          <div class="more">
            <a href="/webdir/" target="_blank">更多</a></div>
          <div class="clear"></div>
          <div class="list"><?php  $_smarty_tpl->tpl_vars['web'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['web']->_loop = false;
 $_from = get_websites(0,6,false); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['web']->key => $_smarty_tpl->tpl_vars['web']->value){
$_smarty_tpl->tpl_vars['web']->_loop = true;
?>
            <li>
              <a href="/seo/<?php echo $_smarty_tpl->tpl_vars['web']->value['web_url'];?>
" target="_blank"><?php echo smarty_modifier_truncate($_smarty_tpl->tpl_vars['web']->value['web_name'],"20");?>
</a></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">友情链接： <?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 }} ?>