<?php /* Smarty version Smarty-3.1.12, created on 2017-04-17 20:30:12
         compiled from "D:\WWW\youkeSY\themes\default\home\index.html" */ ?>
<?php /*%%SmartyHeaderCode:1117558f0cbba91a758-57912005%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'c967753e099be8e73766b421f8fabf4dc5aff452' => 
    array (
      0 => 'D:\\WWW\\youkeSY\\themes\\default\\home\\index.html',
      1 => 1492401492,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1117558f0cbba91a758-57912005',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_58f0cbbaac4448_68823854',
  'variables' => 
  array (
    'site_title' => 0,
    'site_keywords' => 0,
    'site_description' => 0,
    'cfg' => 1,
    'top' => 0,
    'best' => 0,
    'item' => 0,
    'cool' => 0,
    'stat' => 0,
    'vo' => 0,
    'cid' => 0,
    'a' => 0,
    'cate' => 0,
    'scate' => 0,
    'v' => 0,
    'gamelist' => 0,
    'instat' => 1,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_58f0cbbaac4448_68823854')) {function content_58f0cbbaac4448_68823854($_smarty_tpl) {?><!DOCTYPE HTML>
<html>
<head>
<meta 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;?>
" />
<?php echo $_smarty_tpl->getSubTemplate ("base.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

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

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

<div class="wrapper">
	<div class="homebox">
        <!-- 顶置 开始-->
        <?php if ($_smarty_tpl->tpl_vars['cfg']->value['home_best']>0){?>
        <div class="recommended">
		<div class="main-top"><i class="fa fa-thumbs-o-up" aria-hidden="true"></i> 权威推荐</div>
		<ul class="index-top">
		  <?php  $_smarty_tpl->tpl_vars['top'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['top']->_loop = false;
 $_from = getTop($_smarty_tpl->tpl_vars['cfg']->value['home_best']); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['top']->key => $_smarty_tpl->tpl_vars['top']->value){
$_smarty_tpl->tpl_vars['top']->_loop = true;
?>
          <li id="dowebok" class="qq animated bounceInDown">
            <a href="<?php echo $_smarty_tpl->tpl_vars['top']->value['web_url'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['top']->value['web_name'];?>
</a>
          </li>
		   	<?php } ?>
		</ul>
    </div>
    <?php }?>
      <!-- 顶置 结束-->
<div class="blank10"></div>

        <!-- 快审 开始-->
        <?php if ($_smarty_tpl->tpl_vars['cfg']->value['home_pay']>0){?>
        <div class="recommended">
		<div class="main-top"><i class="fa fa-flag-o" aria-hidden="true"></i> 最新快审</div>
		<ul class="index-top">
		  <?php  $_smarty_tpl->tpl_vars['top'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['top']->_loop = false;
 $_from = get_website_list("w.web_ispay = 1 and w.web_status = 3 ",'utime','desc',0,$_smarty_tpl->tpl_vars['cfg']->value['home_pay']); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['top']->key => $_smarty_tpl->tpl_vars['top']->value){
$_smarty_tpl->tpl_vars['top']->_loop = true;
?>
          <li id="dowebok" class="qq animated bounceInDown">
            <a href="<?php echo $_smarty_tpl->tpl_vars['top']->value['web_url'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['top']->value['web_name'];?>
</a>
          </li>
		   	<?php } ?>
		</ul>
    </div>
    <?php }?>
      <!-- 快审 结束-->

	<div class="homebox-right">
		<div class="blank10"></div>
<!-- 推荐 -->
<?php if ($_smarty_tpl->tpl_vars['cfg']->value['home_isbest']>'0'){?>
<div class="bestbox">
	<div class="bestbox-body">
		<ul class="clearfix bestbox-list">
			<?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['cfg']->value['home_isbest'];?>
<?php $_tmp1=ob_get_clean();?><?php  $_smarty_tpl->tpl_vars['best'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['best']->_loop = false;
 $_from = get_websites(0,$_tmp1,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_url'];?>
" target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['best']->value['web_name'];?>
">
			<?php if ($_smarty_tpl->tpl_vars['best']->value['web_ico']){?><img src="<?php echo $_smarty_tpl->tpl_vars['best']->value['web_ico'];?>
" style="width:15px;height:15px;"><?php }?> <?php echo $_smarty_tpl->tpl_vars['best']->value['web_name'];?>
</a></li>
			<?php } ?>
		</ul>
	</div>
</div>
<div class="blank10"></div>
<!-- 广告 开始 -->
<div class="ad2">
<?php echo get_adcode(18);?>
	
</div> 
<!-- 广告 开始 -->
<div class="blank10"></div>
<?php }?>
<!-- 推荐分类 -->
	<div class="coolbox">
        <div class="coolbox-body">
		    <ul class="coolbox-list">
				<?php  $_smarty_tpl->tpl_vars['item'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['item']->_loop = false;
 $_from = get_best_categories('webdir'); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['isite']['iteration']=0;
foreach ($_from as $_smarty_tpl->tpl_vars['item']->key => $_smarty_tpl->tpl_vars['item']->value){
$_smarty_tpl->tpl_vars['item']->_loop = true;
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']['isite']['iteration']++;
?>
				<li class="clearfix">
				       <strong><a href="<?php echo $_smarty_tpl->tpl_vars['item']->value['cate_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['item']->value['cate_name'];?>
"><?php echo $_smarty_tpl->tpl_vars['item']->value['cate_name'];?>
</a></strong>
						<span>
						<?php  $_smarty_tpl->tpl_vars['cool'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['cool']->_loop = false;
 $_from = get_websites($_smarty_tpl->tpl_vars['item']->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 id="coolbox-a"><a href="<?php echo $_smarty_tpl->tpl_vars['cool']->value['web_link'];?>
" 
						title="<?php echo $_smarty_tpl->tpl_vars['cool']->value['web_name'];?>
">
						<?php if ($_smarty_tpl->tpl_vars['cool']->value['web_ico']){?><img src="<?php echo $_smarty_tpl->tpl_vars['cool']->value['web_ico'];?>
" style="width:15px;height:15px;"><?php }?><?php echo $_smarty_tpl->tpl_vars['cool']->value['web_name'];?>
</a></span>
						<?php } ?></span>
						<em><a href="<?php echo $_smarty_tpl->tpl_vars['item']->value['cate_link'];?>
" class="more">更多>></a></em>
				</li>
				<?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['isite']['iteration']%5==0&&$_smarty_tpl->getVariable('smarty')->value['foreach']['isite']['iteration']!=20){?>
				<li class="sline"></li>
				<?php }?>
				<?php } ?>
			</ul>
		</div>
	</div>
</div>





		<div class="homebox-left">
		<div class="blank10"></div>
			<div class="newsbox">
			<!-- 导航盒子 开始-->
				<?php echo $_smarty_tpl->tpl_vars['cfg']->value['nav_code'];?>

			<!-- 导航盒子结束 -->
			</div>
		<div class="blank10"></div>
		<?php if ($_smarty_tpl->tpl_vars['cfg']->value['is_enabled_tj']=='yes'){?>
				<div class="newsbox">
				<div class="newsbox-title">数据统计</div>
				 <ul class="tj-list">
					<li style=""><a style="width:52px;height:30px;line-height:30px;text-align:center;font-size:16px;display:block;"><?php echo $_smarty_tpl->tpl_vars['stat']->value['website'];?>
</a>优秀站点</li>
					<li><a style="width:52px;height:30px;line-height:30px;text-align:center;font-size:16px;display:block;"><?php echo $_smarty_tpl->tpl_vars['stat']->value['apply'];?>
</a>待审站点</li>
				</ul>
			</div>
		<div class="blank10"></div>
       <?php }?>
        <!-- 首页左侧广告位 开始 250X90 -->
		<div class="youkeadverta">
			  <?php echo get_adcode(1);?>

		</div>
		<!-- 首页左侧广告位 结束 250X90 -->	
        <div class="blank10"></div>
		<div class="slideTxtBox-a box1">
		<div class="slideTxtBox">
			<div class="hd">
				<ul>
		<?php  $_smarty_tpl->tpl_vars['vo'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['vo']->_loop = false;
 $_from = get_categories_mod('article',4,'true'); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['vo']->key => $_smarty_tpl->tpl_vars['vo']->value){
$_smarty_tpl->tpl_vars['vo']->_loop = true;
?>
				<li><?php echo $_smarty_tpl->tpl_vars['vo']->value['cate_name'];?>
</li>
        <?php } ?>
				</ul>
			</div>
			<div class="bd">
		<!-- 显示文章 -->
             <?php  $_smarty_tpl->tpl_vars['vo'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['vo']->_loop = false;
 $_from = get_categories_mod('article',4,'true'); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['vo']->key => $_smarty_tpl->tpl_vars['vo']->value){
$_smarty_tpl->tpl_vars['vo']->_loop = true;
?>
               <!-- <?php echo $_smarty_tpl->tpl_vars['vo']->value['cate_id'];?>
 -->
                 <?php $_smarty_tpl->tpl_vars["cid"] = new Smarty_variable($_smarty_tpl->tpl_vars['vo']->value['cate_id'], null, 0);?>

				<ul>
				<?php  $_smarty_tpl->tpl_vars['vo'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['vo']->_loop = false;
 $_from = get_articles($_smarty_tpl->tpl_vars['cid']->value,7); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['vo']->key => $_smarty_tpl->tpl_vars['vo']->value){
$_smarty_tpl->tpl_vars['vo']->_loop = true;
?>
					<li><a href="" target="_blank"><?php echo $_smarty_tpl->tpl_vars['vo']->value['art_title'];?>
</a></li>

					 <?php } ?>
				</ul>
                <?php } ?>
			</div>
		</div>
		<div class="blank10"></div>
<div align="center" style="width:250px; margin:0 auto">
<div class="banner">
	<div class="banner-btn">
		<a href="javascript:;" class="prevBtn"><i></i></a>
		<a href="javascript:;" class="nextBtn"><i></i></a>
	</div>
	<ul class="banner-img">
	<!-- 图文幻灯片 -->
		<?php  $_smarty_tpl->tpl_vars['a'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['a']->_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['a']->key => $_smarty_tpl->tpl_vars['a']->value){
$_smarty_tpl->tpl_vars['a']->_loop = true;
?>
			<?php if (get_img($_smarty_tpl->tpl_vars['a']->value['art_content'])){?>
		<li>
		    <a href="<?php echo $_smarty_tpl->tpl_vars['a']->value['art_link'];?>
">
		    <img src="<?php echo get_img($_smarty_tpl->tpl_vars['a']->value['art_content']);?>
"></a>
            <div class="cont1"><span><?php echo $_smarty_tpl->tpl_vars['a']->value['art_title'];?>
</span></div>
		</li>
		<?php }?>
        <?php } ?>
	</ul>
	<!-- <ul class="banner-circle"></ul> -->
</div>
</div>
<div class="blank10"></div>
		<div class="slideTxtBox-a box2">
		<div class="slideTxtBox">
			<div class="hd">
				<!-- 下面是前/后按钮代码，如果不需要删除即可 -->
				<span class="arrow"><a class="next"></a><a class="prev"></a></span>
				<ul><li>视频</li><li>游戏</li><li>资讯</li><li>网站</li></ul>
			</div>
			<div class="bd">
		<!-- 最新视频 -->
				<ul>
				<?php  $_smarty_tpl->tpl_vars['vo'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['vo']->_loop = false;
 $_from = get_video_list('','ctime','desc',0,7); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['vo']->key => $_smarty_tpl->tpl_vars['vo']->value){
$_smarty_tpl->tpl_vars['vo']->_loop = true;
?>
					<li><a href="<?php echo $_smarty_tpl->tpl_vars['vo']->value['url'];?>
" target="_blank"><i class="fa fa-play-circle" aria-hidden="true"></i> <?php echo $_smarty_tpl->tpl_vars['vo']->value['title'];?>
</a></li>
					<?php } ?>
				</ul>
		<!-- 最新游戏		 -->
				<ul>
				<?php  $_smarty_tpl->tpl_vars['vo'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['vo']->_loop = false;
 $_from = get_game_list('','ctime','desc',0,14); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['vo']->key => $_smarty_tpl->tpl_vars['vo']->value){
$_smarty_tpl->tpl_vars['vo']->_loop = true;
?>
					<li>· <a href="<?php echo $_smarty_tpl->tpl_vars['vo']->value['url'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['vo']->value['title'];?>
</a></li>
				<?php } ?>
				</ul>
		<!-- 最新文章 -->
				<ul>
				<?php  $_smarty_tpl->tpl_vars['vo'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['vo']->_loop = false;
 $_from = get_article_list('','ctime','desc',0,7); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['vo']->key => $_smarty_tpl->tpl_vars['vo']->value){
$_smarty_tpl->tpl_vars['vo']->_loop = true;
?>
					<li>· <a href="<?php echo $_smarty_tpl->tpl_vars['vo']->value['art_link'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['vo']->value['art_title'];?>
</a></li>
					<?php } ?>

				</ul>
		<!-- 最新站点 -->
				<ul>
				<?php  $_smarty_tpl->tpl_vars['vo'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['vo']->_loop = false;
 $_from = get_website_list('','ctime','desc',0,14); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['vo']->key => $_smarty_tpl->tpl_vars['vo']->value){
$_smarty_tpl->tpl_vars['vo']->_loop = true;
?>
					<li><a href="<?php echo $_smarty_tpl->tpl_vars['vo']->value['web_link'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['vo']->value['web_name'];?>
</a></li>
				<?php } ?>

				</ul>
			</div>
		</div>
		<script type="text/javascript">jQuery(".slideTxtBox").slide();</script>
		<div class="blank10"></div>
        <!-- 首页左侧广告位 开始 250X185 -->
		<div class="youkeadvertb">
		      <?php echo get_adcode(2);?>

		</div>
		<!-- 首页左侧广告位 结束 250X185 -->	
<?php if ($_smarty_tpl->tpl_vars['cfg']->value['home_new']>'0'){?>
			<div class="blank10"></div>
	
<?php }?>
		</div>
	</div>
</div>
<div class="blank10"></div>
<div class="wrapper">
	<div class="clearfix hcatebox">
		<?php  $_smarty_tpl->tpl_vars['cate'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['cate']->_loop = false;
 $_from = get_categories(0,5); 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']++;
?>
		<?php if ($_smarty_tpl->getVariable('smarty')->value['foreach']['csite']['iteration']%5==0){?>
		<dl class="hcatebox-one" style="border-right: 0;">
		<?php }else{ ?>
		<dl class="hcatebox-one">
		<?php }?>
			<dt><a href="<?php echo $_smarty_tpl->tpl_vars['cate']->value['cate_link'];?>
" target="_blank" title="<?php echo $_smarty_tpl->tpl_vars['cate']->value['cate_name'];?>
"><?php echo $_smarty_tpl->tpl_vars['cate']->value['cate_name'];?>
</a></dt>
			<dd>
				<?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'],15); 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'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['scate']->value['cate_name'];?>
"><?php echo $_smarty_tpl->tpl_vars['scate']->value['cate_name'];?>
</a>
				<?php } ?>
            </dd>
		</dl>
		<?php } ?>
	</div>
</div>

<div class="blank10"></div>

<!-- 1200*90 广告开始 -->
<?php echo get_adcode(3);?>


<!-- 1200*90 广告结束 -->

<!--===== 看视频模块 开始=====-->
<div class="wrapper">
    <div class="inbox-title"><i class="fa fa-film" aria-hidden="true"></i> 看视频</div>
	<div class="outBox" style="margin:0 auto">
<!-- <div class="hd"><ul><li>影视大全</li><li>电视剧</li><li>电影</li><li>综艺</li><li>动漫</li></ul></div> -->
		<div class="">
			<div class="inBox">
				<div class="inBd">
					<ul>
						<li>
							<div class="youketvfl">

				
							<div class="youketvleft">
		
							
								  <?php  $_smarty_tpl->tpl_vars['vo'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['vo']->_loop = false;
 $_from = get_video_list('a.isbest = 1','ctime','desc',0,1); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['vo']->key => $_smarty_tpl->tpl_vars['vo']->value){
$_smarty_tpl->tpl_vars['vo']->_loop = true;
?>
								
									<a href="<?php echo $_smarty_tpl->tpl_vars['vo']->value['url'];?>
" target="_blank">
									<img src="<?php echo $_smarty_tpl->tpl_vars['vo']->value['cover'];?>
">
									<div class="youkepa"><?php echo $_smarty_tpl->tpl_vars['vo']->value['title'];?>
</div>
									<div class="youkea1"><i class="fa fa-play-circle-o fa-4x" aria-hidden="true"></i></div>
									</a>
								 <?php } ?>
			
								</div>
									
								<?php  $_smarty_tpl->tpl_vars['vo'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['vo']->_loop = false;
 $_from = get_video_list('a.isbest = 1','ctime','desc',1,4); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['vo']->key => $_smarty_tpl->tpl_vars['vo']->value){
$_smarty_tpl->tpl_vars['vo']->_loop = true;
?>
								    <div class="youketvright">
									<a href="<?php echo $_smarty_tpl->tpl_vars['vo']->value['url'];?>
" target="_blank">
									<img src="<?php echo $_smarty_tpl->tpl_vars['vo']->value['cover'];?>
">
									<div class="youkepb"><?php echo $_smarty_tpl->tpl_vars['vo']->value['title'];?>
</div>
									<div class="youkea2"><i class="fa fa-play-circle-o fa-2x" aria-hidden="true"></i></div>
									</a>
										</div>
								 <?php } ?>
						
								<div class="tvselected">
								    <h2>热门精选</h2>

		<div id="slideBox" class="slideBox">

			<div class="tvbd">
				<ul>
					<li>
							<?php  $_smarty_tpl->tpl_vars['vo'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['vo']->_loop = false;
 $_from = get_video_list('a.ishot = 1','ctime','desc',0,4); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['vo']->key => $_smarty_tpl->tpl_vars['vo']->value){
$_smarty_tpl->tpl_vars['vo']->_loop = true;
?>
									<div class="youketvbottom">
									<a href="<?php echo $_smarty_tpl->tpl_vars['vo']->value['url'];?>
" target="_blank">
										<img src="<?php echo $_smarty_tpl->tpl_vars['vo']->value['cover'];?>
">
										<div class="youkepf"><?php echo $_smarty_tpl->tpl_vars['vo']->value['title'];?>
</div>
										<div class="youkea6"><i class="fa fa-play-circle-o fa-2x" aria-hidden="true"></i></div>
										</a>
									</div>
							<?php } ?>
					</li>

					<li>
							<?php  $_smarty_tpl->tpl_vars['vo'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['vo']->_loop = false;
 $_from = get_video_list('a.ishot = 1','ctime','desc',4,8); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['vo']->key => $_smarty_tpl->tpl_vars['vo']->value){
$_smarty_tpl->tpl_vars['vo']->_loop = true;
?>
									<div class="youketvbottom">
									<a href="<?php echo $_smarty_tpl->tpl_vars['vo']->value['url'];?>
" target="_blank">
										<img src="<?php echo $_smarty_tpl->tpl_vars['vo']->value['cover'];?>
">
										<div class="youkepf"><?php echo $_smarty_tpl->tpl_vars['vo']->value['title'];?>
</div>
										<div class="youkea6"><i class="fa fa-play-circle-o fa-2x" aria-hidden="true"></i></div>
										</a>
									</div>
							<?php } ?>
					</li>
					<li>
							<?php  $_smarty_tpl->tpl_vars['vo'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['vo']->_loop = false;
 $_from = get_video_list('a.ishot = 1','ctime','desc',8,12); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['vo']->key => $_smarty_tpl->tpl_vars['vo']->value){
$_smarty_tpl->tpl_vars['vo']->_loop = true;
?>
									<div class="youketvbottom">
									<a href="<?php echo $_smarty_tpl->tpl_vars['vo']->value['url'];?>
" target="_blank">
										<img src="<?php echo $_smarty_tpl->tpl_vars['vo']->value['cover'];?>
">
										<div class="youkepf"><?php echo $_smarty_tpl->tpl_vars['vo']->value['title'];?>
</div>
										<div class="youkea6"><i class="fa fa-play-circle-o fa-2x" aria-hidden="true"></i></div>
										</a>
									</div>
							<?php } ?>
					</li>
				</ul>
			</div>
			<a class="prev" href="javascript:void(0)"></a>
			<a class="next" href="javascript:void(0)"></a>

		</div>


<script>
jQuery(".tvselected .slideBox").slide({mainCell:".tvbd ul",effect:"left",easing:"easeOutCirc",delayTime:1000});
</script>
								</div>
							</div>
							<div class="youketvfr">      
								<div class="slideyouke" style="margin:0 auto">
									<div class="youkebd">
										<div class="inyouke">
											<div class="youkeHd">
											    <ul>
											    <?php  $_smarty_tpl->tpl_vars["vo"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["vo"]->_loop = false;
 $_from = get_categories_mod('video',5,'true'); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["vo"]->key => $_smarty_tpl->tpl_vars["vo"]->value){
$_smarty_tpl->tpl_vars["vo"]->_loop = true;
?>
												    <li><?php echo $_smarty_tpl->tpl_vars['vo']->value['cate_name'];?>
</li>
                                                 <?php } ?>
											    </ul>
											</div>
											<div class="youkeBd">
										  <?php  $_smarty_tpl->tpl_vars["vo"] = new Smarty_Variable; $_smarty_tpl->tpl_vars["vo"]->_loop = false;
 $_from = get_categories_mod('video',5,'true'); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars["vo"]->key => $_smarty_tpl->tpl_vars["vo"]->value){
$_smarty_tpl->tpl_vars["vo"]->_loop = true;
?>

											<?php $_smarty_tpl->tpl_vars["cid"] = new Smarty_variable($_smarty_tpl->tpl_vars['vo']->value['cate_id'], null, 0);?>
												<ul>
													<li>
													    <div class="youkeranking">
													  	    <ul>
													  	   <?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
 $_from = get_video($_smarty_tpl->tpl_vars['cid']->value,24); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value){
$_smarty_tpl->tpl_vars['v']->_loop = true;
?>
																<li><a href=""><?php echo $_smarty_tpl->tpl_vars['v']->value['title'];?>
<?php echo $_smarty_tpl->tpl_vars['cid']->value;?>
</a></li>
															<?php } ?>
								
													  	    </ul>
													    </div>
													</li>
												</ul>
                             
                                                 <?php } ?>

											</div>
											<div class="youkeAD">
												<div class="picScroll-left">
													<div class="tempWrap">
														<div class="bd">
															<ul class="picList">
<!-- 最新视频 -->
<?php  $_smarty_tpl->tpl_vars['vo'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['vo']->_loop = false;
 $_from = get_video_list('','ctime','desc',0,4); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['vo']->key => $_smarty_tpl->tpl_vars['vo']->value){
$_smarty_tpl->tpl_vars['vo']->_loop = true;
?>
																<li>
																<div class="pic">
																<a href="<?php echo $_smarty_tpl->tpl_vars['vo']->value['url'];?>
" target="_blank">
																	<img src="<?php echo $_smarty_tpl->tpl_vars['vo']->value['cover'];?>
">
																			<div class="title">
																			    <span><?php echo $_smarty_tpl->tpl_vars['vo']->value['title'];?>
</span>
																			</div>
																		</a>
																	</div>
																</li>
											
 <?php } ?>
															</ul>
														</div>
													</div>
												</div>
												<script type="text/javascript">
												jQuery(".picScroll-left").slide({titCell:".hd ul",mainCell:".bd ul",autoPage:true,effect:"left",autoPlay:true,vis:2,delayTime:1000});
												</script>
											</div>
										</div>
									</div>
								</div>
							    <script type="text/javascript">
							    /* 内层inBox渐显切换，注意titCell、mainCell等不能与外层相同 */
								jQuery(".inyouke").slide({ titCell:".youkeHd li",mainCell:".youkeBd" });
								/* 外层outBox左滚动切换 */
								jQuery(".slideyouke").slide({ effect:"left" });
								</script>
							</div>
						</li>
					</ul>
				</div>
			</div>		
		</div>
	</div>
	<script type="text/javascript">
	/* 内层inBox渐显切换，注意titCell、mainCell等不能与外层相同 */
	jQuery(".inBox").slide({ titCell:".inHd li",mainCell:".inBd" });
	/* 外层outBox左滚动切换 */
	jQuery(".outBox").slide({ effect:"left" });
	</script>
</div>
<!--===== 看视频模块 结束=====-->

<div class="blank10"></div>


<!-- 1200*90 广告开始 -->
<?php echo get_adcode(4);?>


<!-- 1200*90 广告结束 -->

<!--===== 小游戏模块 开始=====-->
<div class="wrapper">
    <div class="inbox-title game"><i class="fa fa-gamepad fa-lg" aria-hidden="true"></i> 玩游戏</div>
	<div id="slideBox" class="slideBox">
		<div class="bd">
			<ul>
				<li>
					<div class="youkegame">
						<div class="clearfix">
<!-- 广告开始 -->
							<?php echo get_adcode(19);?>

<!-- 广告结束 -->
						</div>
					</div>
				    <?php $_smarty_tpl->tpl_vars["gamelist"] = new Smarty_variable(get_game(543,20), null, 0);?>
					<ul class="gamelist">
					    <?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['gamelist']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value){
$_smarty_tpl->tpl_vars['v']->_loop = true;
?>
						<li>
							<a href="<?php echo $_smarty_tpl->tpl_vars['v']->value['url'];?>
" target="_blank">
								<img src="<?php echo $_smarty_tpl->tpl_vars['v']->value['cover'];?>
" />
								<h3><?php echo $_smarty_tpl->tpl_vars['v']->value['title'];?>
</h3>
							</a>
						</li>
					    <?php } ?>
					</ul>
				</li>
			</ul>
		</div>
	    <a class="prev" href="javascript:void(0)"></a>
	    <a class="next" href="javascript:void(0)"></a>
	</div>
	<script type="text/javascript">
	jQuery(".slideBox").slide({mainCell:".bd ul",effect:"left",trigger:"click"});
	</script>
</div>
<!--===== 小游戏模块 结束=====-->

<div class="blank10"></div>


<!-- 1200*90 广告开始 -->
<?php echo get_adcode(5);?>


<!-- 1200*90 广告结束 -->

<!-- 最新点入模块 -->
<div class="wrapper">
<?php if ($_smarty_tpl->tpl_vars['cfg']->value['home_instat']>'0'){?>
	<div class="inbox">
		<div class="inbox-title">最新点入（实时更新）</div>
		<ul class="clearfix inbox-list">
          	
			<?php ob_start();?><?php echo $_smarty_tpl->tpl_vars['cfg']->value['home_instat'];?>
<?php $_tmp2=ob_get_clean();?><?php  $_smarty_tpl->tpl_vars['instat'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['instat']->_loop = false;
 $_from = get_websites(0,$_tmp2,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;
?>
			<a href="<?php echo $_smarty_tpl->tpl_vars['instat']->value['web_link'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['instat']->value['web_name'];?>
">
             <li>
			   <div class="inbox-list-top">
			     <?php echo $_smarty_tpl->tpl_vars['instat']->value['web_name'];?>

			  </div>
			  <div class="inbox-list-bottom">
			    <span>人气<br> <?php echo $_smarty_tpl->tpl_vars['instat']->value['web_views'];?>
</span>&nbsp;<div class="intro"><?php echo $_smarty_tpl->tpl_vars['instat']->value['web_intro'];?>
</div>&nbsp;
			  </div>  
			</li>
			</a>
			<?php } ?>
            
		</ul>
	</div>
	<div class="blank10"></div>
<?php }?>
</div>
</div>

<!-- 返回顶部 -->
<div class="youketop">
  	<div class="toTop" id="roll_top" title="返回顶部">
	    <i class="fa fa-angle-up fa-3x" aria-hidden="true"></i>
	</div>
</div>
</div>
<?php echo $_smarty_tpl->getSubTemplate ("footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

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