<!doctype html>
<html lang="zh">
<head>
    <meta charset="utf-8" />
    <title><?php if( empty($top_title)): ?>关注web架构与底层开发,seo和网络营销--郝海川博客<?php else: ?><?php echo $top_title; ?><?php endif; ?></title>
    <meta name="Description" content="描述">
    <meta name="Keywords" content="关键词是" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="baidu-site-verification" content="EB1fBuGMGk" />
    <link href="./sundry/static_file/img/favicon.ico" rel="icon" type="image/x-icon" />
    <link href="./sundry/static_file/img/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <link rel="stylesheet" href="<?php echo TPL; ?>/css/css1.css">
    <link rel="stylesheet" href="<?php echo TPL; ?>/css/css2.css">
    <style type="text/css">
        .hhc_page{padding:35px 20px;}
        .hhc_page .page_1{padding:8px 11px;border:1px solid #E5E5E5;font-size:12px;border-radius:5px;margin-right:2px;color:#777777;margin-right:5px;}
        .hhc_page .dangqianye{background:#E1E1E1;}
        .hhc_page span{cursor:default;}
        .hhc_page a:hover{text-decoration:none;background:#E1E1E1;color:#777777;}
    </style>
<script type="text/javascript" src="./sundry/static_file/js/jquery.js"></script>
<?php if((!empty($_COOKIE['body_style_id']))): ?>
    <link id="dec-css" rel="stylesheet" href="games/box/tpl/css/body_bg/<?php echo $_COOKIE['body_style_id']; ?>.css">
<?php endif; ?>

</head>
<body class="theme-blue">
<div class="ui-top-nav">
    <div class="ui-top-nav-inner">
        <div class="wrap">
             <ul class="site-link">
                 <li class="store-sz">
                     <a target="_self" onclick="AddFavorite(this,window.location,document.title)" href="javascript:void(0);">收藏本站</a>
                 <li>
                     <a target="_self" href="javascript:void(0)" onclick="setHomepage()">设为首页</a>
                 </li>
                 </li>
                 <li>
                     <a target="_self" href="games.php?h=other&c=bczm">保存到桌面</a>
                 </li>
             </ul>
            <ul class="site-link user-area" id="login-out">
                 <?php if((empty($_SESSION['user']['user_id']))): ?>
                 <li class="first" id="first">
                     <a target="_blank" href="user.php?h=login&c=login" id="login-btn"> <i class="icon i-login"></i>登录</a>
                 </li>
                 <li>
                     <a target="_blank" href="user.php?h=login&c=register">注册</a>
                 </li>
                 <?php else: ?>
                <li class="first" id="first">
                     <a target="_blank" href="user.php" id="login-btn"> <i class="icon i-login"></i>会员中心</a>
                 </li>
                 <li>
                     <a target="_blank" href="user.php?h=login&c=goout">安全退出</a>
                 </li>
                 <?php endif; ?>
                 </li>
                 <li class="decorate" id="decorate" id="btn-decorate">
                     <a target="_self" href="#"><i class="icon i-decorate"></i>装扮</a>
                 </li>
            </ul>

            <div class="vip-login-tips">
                <span class="close" onclick="$(this).parent().hide();"></span>
            </div>
             
        </div><!-- wrap -->

    </div>
</div><!-- ui-top-nav -->


<div class="menu-decorate" id="cont-decorate" style="display: none; top: 174.5px;">
    <a href="javascript:void(0);" target="_self" data-k="<?php if( !empty($_COOKIE['body_style_id'])): ?><?php echo $_COOKIE['body_style_id']; ?><?php endif; ?>" class="decorate-close"></a>
    <a href="javascript:void(0);" target="_self" class="decorate-right decorate_right"></a>
    <div class="decorate-con">
        <div class="decorate-tabs">
            <ul>
                <li class="current"><a href="javascript:void(0);" target="_self">推荐</a></li>
                <li class=""><a href="javascript:void(0);" target="_self">全部</a></li>
            </ul>
        </div>
        <div class="decorate-tabs-panel">
            <div class="decorate-outer decorate-rec" lazyload="ok" style="display: block;">
                <div class="wrap-ul">
                    <ul class="skin-item ui-img-list">
                        <li class="base000" data-theme="base" data-id="000">
                            <a href="#" hidefocus="true" class="active" target="_self">
                                <span class="skin-pic">
                                <i class="i-select"></i></span>
                                <span class="skin-tit">默认灰色</span>
                            </a>
                        </li>
                        <li class="blue001" data-theme="blue" data-id="001">
                            <a href="#" hidefocus="true" class="" target="_self">
                                <span class="skin-pic">
                                </span>
                                <span class="skin-tit">冲吧~海贼王</span>
                            </a>
                        </li>
                        <li class="brown003" data-theme="brown" data-id="003">
                            <a href="#" hidefocus="true" class="" target="_self">
                                <span class="skin-pic">
                                </span>
                                <span class="skin-tit">冒险王</span>
                            </a>
                        </li>
                        <li class="pink004" data-theme="pink" data-id="004">
                            <a href="#" hidefocus="true" target="_self">
                                <span class="skin-pic">
                                </span>
                                <span class="skin-tit">阿sueの丗堺</span>
                            </a>
                        </li>                        
                        <li class="green002" data-theme="green" data-id="002">
                            <a href="#" hidefocus="true" class="" target="_self">
                                <span class="skin-pic">
                                </span>
                                <span class="skin-tit">萌小熊一家</span>
                            </a>
                        </li>
                        <li class="orange005" data-theme="orange" data-id="005">
                            <a href="#" hidefocus="true" class="" target="_self">
                                <span class="skin-pic">
                                </span>
                                <span class="skin-tit">薀暖の咚ㄖ</span>
                            </a>
                        </li>
                        <li class="theme106" data-theme="orange" data-id="106">
                            <a href="#" hidefocus="true" class="" target="_self">
                                <span class="skin-pic">
                                </span>
                                <span class="skin-tit">卡通女孩</span>
                            </a>
                        </li>
                        <li class="theme107" data-theme="orange" data-id="107">
                            <a href="#" hidefocus="true" class="" target="_self">
                                <span class="skin-pic">
                                </span>
                                <span class="skin-tit">柯南滑雪</span>
                            </a>
                        </li>
                    </ul>
                    <ul class="skin-item ui-img-list" style="display:none;">
                        <li class="theme100" data-theme="base" data-id="006">
                            <a href="#" hidefocus="true" class="" target="_self">
                                <span class="skin-pic">
                                </span>
                                <span class="skin-tit">Touch</span>
                            </a>
                        </li>
                        <li class="theme101" data-theme="blue" data-id="007">
                            <a href="#" hidefocus="true" class="" target="_self">
                                <span class="skin-pic">
                                </span>
                                <span class="skin-tit">创世兵魂</span>
                            </a>
                        </li>
                        <li class="theme112" data-theme="brown" data-id="008">
                            <a href="#" hidefocus="true" class="" target="_self">
                                <span class="skin-pic"></span>
                                <span class="skin-tit">大黄鸭</span>
                            </a>
                        </li>
                        <li class="theme113" data-theme="green" data-id="009">
                            <a href="#" hidefocus="true" class="" target="_self">
                                <span class="skin-pic"></span>
                                <span class="skin-tit">爸爸去哪儿</span>
                            </a>
                        </li>
                        <li class="theme114" data-theme="orange" data-id="010">
                            <a href="#" hidefocus="true" class="" target="_self">
                                <span class="skin-pic"></span>
                                <span class="skin-tit">圣诞快乐</span>
                            </a>
                        </li>
                        <li class="theme115" data-theme="blue" data-id="011">
                            <a href="#" hidefocus="true" class="" target="_self">
                                <span class="skin-pic"></span>
                                <span class="skin-tit">冰雪冬日</span>
                            </a>
                        </li>
                        <li class="theme116" data-theme="pink" data-id="012">
                            <a href="#" hidefocus="true" class="" target="_self">
                                <span class="skin-pic"></span>
                                <span class="skin-tit">KK秀装扮</span>
                            </a>
                        </li>
                        <li class="theme110" data-theme="brown" data-id="110">
                            <a href="#" hidefocus="true" class="" target="_self">
                                <span class="skin-pic">
                                </span>
                                <span class="skin-tit">树林</span>
                            </a>
                        </li>
                    </ul>
                </div>
                <div class="ui-slide-trigger4">
                    <div class="ui-slide1">
                        <a href="javascript:void(0);" target="_self" class="ui-slide-btn-left"></a>
                        <ul class="ui-slide-trigger2">
                            <li class="current"><a href="javascript:void(0);" target="_self">1</a></li>
                            <li><a href="javascript:void(0);" target="_self">2</a></li>
                        </ul>
                        <a href="javascript:void(0);" target="_self" class="ui-slide-btn-right"></a>
                    </div>
                </div>
            </div>
            <div class="decorate-outer decorate-free" style="display: none;" lazyload="ok">
                <div class="wrap-ul">
                    <ul class="skin-item ui-img-list">
                        <li class="base000" data-theme="base" data-id="000">
                            <a href="#" hidefocus="true" class="active" target="_self">
                                <span class="skin-pic">
                                <i class="i-select"></i></span>
                                <span class="skin-tit">默认灰色</span>
                            </a>
                        </li>
                        <li class="blue001" data-theme="blue" data-id="001">
                            <a href="#" hidefocus="true" class="" target="_self">
                                <span class="skin-pic">
                                </span>
                                <span class="skin-tit">冲吧~海贼王</span>
                            </a>
                        </li>
                        <li class="brown003" data-theme="brown" data-id="003">
                            <a href="#" hidefocus="true" class="" target="_self">
                                <span class="skin-pic">
                                </span>
                                <span class="skin-tit">冒险王</span>
                            </a>
                        </li>
                        <li class="pink004" data-theme="pink" data-id="004">
                            <a href="#" hidefocus="true" target="_self">
                                <span class="skin-pic">

                                </span>
                                <span class="skin-tit">阿sueの丗堺</span>
                            </a>
                        </li>
                        
                        <li class="green002" data-theme="green" data-id="002">
                            <a href="#" hidefocus="true" class="" target="_self">
                                <span class="skin-pic">
                                </span>
                                <span class="skin-tit">萌小熊一家</span>
                            </a>
                        </li>
                        <li class="orange005" data-theme="orange" data-id="005">
                            <a href="#" hidefocus="true" class="" target="_self">
                                <span class="skin-pic">
                                </span>
                                <span class="skin-tit">薀暖の咚ㄖ</span>
                            </a>
                        </li>
                        <li class="theme100" data-theme="base" data-id="006">
                            <a href="#" hidefocus="true" class="" target="_self">
                                <span class="skin-pic">
                                </span>
                                <span class="skin-tit">Touch</span>
                            </a>
                        </li>
                        <li class="theme101" data-theme="blue" data-id="007">
                            <a href="#" hidefocus="true" class="" target="_self">
                                <span class="skin-pic">
                                </span>
                                <span class="skin-tit">创世兵魂</span>
                            </a>
                        </li>
                    </ul>
                    <ul class="skin-item ui-img-list" style="display:none;">
                        <li class="theme102" data-theme="brown" data-id="102">
                            <a href="#" hidefocus="true" class="" target="_self">
                                <span class="skin-pic">
                                </span>
                                <span class="skin-tit">春天</span>
                            </a>
                        </li>
                        <li class="theme103" data-theme="pink" data-id="103">
                            <a href="#" hidefocus="true" target="_self">
                                <span class="skin-pic">
                                </span>
                                <span class="skin-tit">单纯的爱</span>
                            </a>
                        </li>                        
                        <li class="theme104" data-theme="green" data-id="104">
                            <a href="#" hidefocus="true" class="" target="_self">
                                <span class="skin-pic">
                                </span>
                                <span class="skin-tit">化妆去约会</span>
                            </a>
                        </li>
                        <li class="theme105" data-theme="orange" data-id="105">
                            <a href="#" hidefocus="true" class="" target="_self">
                                <span class="skin-pic">
                                </span>
                                <span class="skin-tit">卡通乐队</span>
                            </a>
                        </li>
                        <li class="theme106" data-theme="orange" data-id="106">
                            <a href="#" hidefocus="true" class="" target="_self">
                                <span class="skin-pic">
                                </span>
                                <span class="skin-tit">卡通女孩</span>
                            </a>
                        </li>
                        <li class="theme107" data-theme="orange" data-id="107">
                            <a href="#" hidefocus="true" class="" target="_self">
                                <span class="skin-pic">
                                </span>
                                <span class="skin-tit">柯南滑雪</span>
                            </a>
                        </li>
                        <li class="theme108" data-theme="base" data-id="108">
                            <a href="#" hidefocus="true" class="" target="_self">
                                <span class="skin-pic">
                                </span>
                                <span class="skin-tit">恋爱熊</span>
                            </a>
                        </li>
                        <li class="theme109" data-theme="blue" data-id="109">
                            <a href="#" hidefocus="true" class="" target="_self">
                                <span class="skin-pic">
                                </span>
                                <span class="skin-tit">马年</span>
                            </a>
                        </li>
                    </ul>
                    <ul class="skin-item ui-img-list" style="display:none;">
                        <li class="theme110" data-theme="brown" data-id="110">
                            <a href="#" hidefocus="true" class="" target="_self">
                                <span class="skin-pic">
                                </span>
                                <span class="skin-tit">树林</span>
                            </a>
                        </li>
                        <li class="theme111" data-theme="pink" data-id="111">
                            <a href="#" hidefocus="true" class="" target="_self">
                                <span class="skin-pic">
                                </span>
                                <span class="skin-tit">小黄鸡</span>
                            </a>
                        </li>
                        <li class="theme112" data-theme="brown" data-id="008">
                            <a href="#" hidefocus="true" class="" target="_self">
                                <span class="skin-pic"></span>
                                <span class="skin-tit">大黄鸭</span>
                            </a>
                        </li>
                        <li class="theme113" data-theme="green" data-id="009">
                            <a href="#" hidefocus="true" class="" target="_self">
                                <span class="skin-pic"></span>
                                <span class="skin-tit">爸爸去哪儿</span>
                            </a>
                        </li>
                        <li class="theme114" data-theme="orange" data-id="010">
                            <a href="#" hidefocus="true" class="" target="_self">
                                <span class="skin-pic"></span>
                                <span class="skin-tit">圣诞快乐</span>
                            </a>
                        </li>
                        <li class="theme115" data-theme="blue" data-id="011">
                            <a href="#" hidefocus="true" class="" target="_self">
                                <span class="skin-pic"></span>
                                <span class="skin-tit">冰雪冬日</span>
                            </a>
                        </li>
                        <li class="theme116" data-theme="pink" data-id="012">
                            <a href="#" hidefocus="true" class="" target="_self">
                                <span class="skin-pic"></span>
                                <span class="skin-tit">KK秀装扮</span>
                            </a>
                        </li>
                        <li class="please-wait">
                            <a href="#" class="" target="_self">
                                <span class="skin-pic"></span>
                                <span class="skin-tit">更多...</span>
                            </a>
                        </li>
                    </ul>
                </div>
                <input type="hidden" class="kds" value="">
                <div class="ui-slide-trigger4">
                    <div class="ui-slide1">
                        <a href="javascript:void(0);" target="_self" class="ui-slide-btn-left"></a>
                        <ul class="ui-slide-trigger2">
                            <li class="current"><a href="javascript:void(0);" target="_self">1</a></li>
                            <li><a href="javascript:void(0);" target="_self">2</a></li>
                            <li><a href="javascript:void(0);" target="_self">3</a></li>
                        </ul>
                        <a href="javascript:void(0);" target="_self" class="ui-slide-btn-right"></a>
                    </div>

                    <script type="text/javascript">
                        $(function(){
                            $('.decorate-rec li').click(function(){
                                $('.kds').val($(this).attr('data-id'));
                            })
                            $('.decorate_right').click(function(){
                                var kds = $('.kds').val();
                                $.post('games.php?h=other&c=pifu','k='+kds,function(data){
                                    $('#decorate-mask').hide();
                                    $('#cont-decorate').hide();
                                })
                            })
                        })
                    </script>
                </div>
            </div>
        </div>
    </div>
</div>




<div class="page">
    <div class="wrap header">
        <div class="cf main-mod">
            <a class="logoz" target="_self" href="game.php" style="display:block;float:left;margin:8px 0 0 0px;">
                <img style="height:55px;" src="./sundry/uploads/20150102/1420173626453.png">
            </a>
            <!-- <div class="header-bg"></div> -->
            <?php
                $file = './sundry/cache/json/games/top_data.php';
                $str = '';
                if(is_file($file)){
                    include $file;
                    $data = json_decode($json,true);
            ?>
            <div class="ui-slide">
                <div class="ui-slide-cont-wrap">
                    <div class="ui-slide-cont" id="c-mg">
                        <ul class="ui-img-list">
                            <?php
                foreach($data as $v){
                            ?>
                          <?php if(empty($v['pic'])){$v['pic']=FILE_PATH."{$v['pic2']}";} ?>
                            <li><a title="<?php echo $v['title']; ?>" href="games.php?h=index&c=game_content&k=<?php echo $v['class_id']; ?>&key=<?php echo $v['id']; ?>" target="_blank"><img src="<?php echo $v['pic']; ?>" alt="" width="50" height="50"></a></li>
                            <?php } ?>
                        </ul>
                    </div>
                </div>
                <span class="ui-slide-btn-left" id="c-mgl"></span>
                <span class="ui-slide-btn-right" id="c-mgr"></span>
            </div><!-- ui-slide -->
            <?php } ?>
            <div class="search">
                <form target="_blank" method="get" name="header_so" action="games.php" onsubmit="return verifySoForm(this);">
                    <div class="sug-wrap">
                        <i class="icon i-zoom"></i>
                        <input type="hidden" name="h" value="index">
                        <input type="hidden" name="c" value="search">
                        <input type="text" value="<?php if( empty($_GET['keyword'])): ?>郝海川博客<?php else: ?><?php echo $_GET['keyword']; ?><?php endif; ?>" class="s-text"  title="请输入关键词" name="keyword"   autocomplete="off" placeholder="">
                        <span class="s-submit-wrap"><button type="submit" class="s-submit" value="">搜 索</button></span>
						<div class="sug-auto-complete" style="display:none;">
                            <div class="sug-auto-list">
                                <dl class="sug-hot">
                                    <dt>热门搜索</dt>
                                </dl>
                            </div>
                        </div>
                    </div>
            
                </form>
            </div>
        </div>

        <div class="sub-nav cf" style="overflow:hidden;">
            <ul class="sub-nav-cont nav-left">
                <?php
	$nav = include_nav();
	foreach($nav as $v){
		if($v['nav_xianshi']!='1' || $v['nav_parent_id']!='0'){
			continue;
		}
		?>
		
                <li><a href="<?php if($v['nav_type']=='0'){
	echo $v['nav_link'];
}else if($v['nav_type']=='1'){
	echo "index.php?h=index&c=moxing_list&moxing_id={$v['nav_moxing']}&lanmu_id={$v['nav_id']}";
}else if($v['nav_type']=='2'){
	//模块
}else if($v['nav_type']=='100'){
	echo 'index.php';
}

?>" <?php
	if($v['nav_dakai']=='1'){
		echo 'target="_blank"';
	}
?> title="<?php echo str_replace('_ueditor_page_break_tag_','',$v['nav_yincang']);
		?>"><?php echo str_replace('_ueditor_page_break_tag_','',$v['nav_name']);
		?></a></li>
                
		<?php
	}
?>
                <script type="text/javascript">
                    $(function(){
                        <?php if($_GET['h']=='index' && $_GET['c']=='index'){
                        ?>
                            $('.sub-nav-cont li a').each(function(){
                                if($(this).attr('href')=='games.php'){
                                    $(this).parent().addClass('current');
                                }
                            })
                        <?php
                        }else if($_GET['c']=='game_list' || $_GET['c']=='game_content'){
                        ?>
                            $('.sub-nav-cont li a').each(function(){
                                if($(this).attr('href')=="games.php?h=index&c=game_list&k=<?php echo $_GET['k']; ?>"){
                                    $(this).parent().addClass('current');
                                }
                            })
                        <?php
                        }elseif($_GET['c']=='search'){
                        ?>
                            $('.sub-nav-cont li a').each(function(){
                                if($(this).attr('href')=='games.php'){
                                    $(this).parent().addClass('current');
                                }
                            })
                        <?php
                        } ?>
                    })
                </script>
            </ul>
        </div>
    </div><!-- header -->


    <script type="text/javascript">
        function AddFavorite(a,url,title){
            url = url || a.href;
            title = title || a.title;
            try{
                window.external.addFavorite(url,title);
            }catch(e){
                try{
                    window.sidebar.addPanel(title,url,"");
                }catch(e){
                    if(/Opera/.test(window.navigator.userAgent)){
                        a.rel = "sidebar";
                        a.href = url;
                        return true;
                    }
                    alert('您的浏览器不支持，请使用 Ctrl+D 进行添加');
                }
            }
            return false;
        }

        function setHomepage(){ 
            try{  
                document.body.style.behavior='url(#default#homepage)';
                document.body.setHomePage(document.URL);  
            }catch(e){  
                   try{  
                      netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");  
                   }catch(e){  
                      alert( "您的浏览器不支持，请手动设置" );  
                   }  
                var prefs = Components.classes['@mozilla.org/preferences-service;1'].getService(Components. interfaces.nsIPrefBranch);  
                prefs.setCharPref('browser.startup.homepage',document.URL);  
             }  
        } 
    </script>
    




    <div class="wrap main-top">
        <div class="tag-rec cf main-mod">
<?php    
    $file = './sundry/cache/json/games/index_data1.php';
    $str = '';
    if(is_file($file)){
        include $file;
        $str = trim($str,']');
        $str = str_replace('【','[',$str);
        $str = str_replace('】',']',$str);
        $str = str_replace('；',';',$str);
    }
    if(!empty($str)){
        $arr = explode("]",$str);
        foreach($arr as $v){
            $a = false;
            if(strpos($v,'*')!==false){
                $v = str_replace('*','',$v);
                $a= true;
            }
            $z_arr = explode('[',$v);
            $c_arr = explode(';',trim($z_arr['1'],';'));
?>
            <dl class="tag-list <?php if( $a): ?>last<?php endif; ?>">
                <dt>
                    <a ="javascript:void(0)" style="cursor:default;"><?php echo $z_arr['0']; ?></a>
                    <span class="tabs-arrow">
                        <i class="css-arrow"></i>
                        <i class="css-arrow css-arrow-inner"></i>
                    </span>
                </dt>
                <dd>
                <?php 
                    foreach($c_arr as $v){ 
                        $d_arr = explode(':',$v);
                        $t = isset($d_arr['0']) ? $d_arr['0'] : '';
                        $l = isset($d_arr['1']) ? $d_arr['1'] : '';
                        $c = isset($d_arr['2']) ? $d_arr['2'] : '';
                ?>
                    <a href="<?php echo $l; ?>" target="_blank" style="<?php if( !empty($c)): ?>color:<?php echo $c; ?>;<?php endif; ?>"><?php echo $t; ?></a>
                <?php } ?>
                </dd>
            </dl>
<?php 
        }
    } 
?>
    </div><!-- tag-rec -->
    </div>


    <div class="wrap main-column">
        <div class="col-main">

            <div class="article">
                <div class="main-mod">
                <div class="box" id="tab-tj">
                    <div class="box-hd cf hd-ml">
                        <div class="ui-tabs">
                            <ul>
                                <li has-load="yes" class="current ui-nobd"><a target="_self" href="#bottom">热门推荐</a></li>
                                <li has-load="no" data-id=""><i class="icon i-hot"></i><a target="_self" href="#bottom">最新更新</a></li>
                            </ul>
                        </div>
                        <div class="box-hd-act"> 
                            
                        </div>
                    </div><!-- box-hd -->
                    <div class="box-bd">
<?php
    $file = './sundry/cache/json/games/index_tuijian.php';
    $str = '';
    if(is_file($file)){
        include $file;
    }
    $data1 = empty($tuijian_json) ? array() : json_decode($tuijian_json,true);
    $data2 = empty($zuijin_json) ? array() : json_decode($zuijin_json,true);
    $data3 = empty($paihang_json) ? array() : json_decode($paihang_json,true);
?>
                    <div class="ui-img-cont index-sp-iframe-ad-wrap">
                        <ul class="ui-img-list span7 lazyload-part">
                          <?php foreach($data1 as $v){ ?>
                          <?php if(empty($v['pic'])){$v['pic']=FILE_PATH."{$v['pic2']}";} ?>
                           <li><a href="games.php?h=index&c=game_content&k=<?php echo $v['class_id']; ?>&key=<?php echo $v['id']; ?>" title="<?php echo $v['title']; ?>" target="_blank"><img lz_src="<?php echo $v['pic']; ?>" class="pic" width="76" height="77" alt="<?php echo $v['title']; ?>"><span class="ui-li-name"><?php echo mb_substr($v['title'],0,'5','utf-8'); ?></span></a></li>
                           <?php } ?>
                        </ul>
                        <ul class="ui-img-list span7" style="float: left; *display:inline; position: relative; background: #fff; margin-top: -105px; margin-left: 12px; text-align: left;" id="index_sp"></ul>
                        <ul class="ui-img-list span7" id="index_sp3"></ul>
                        <ul class="ui-img-list span7" id="index_sp4"></ul>
                    </div>

                    <div class="ui-img-cont" style="display:none">
                        <ul class="ui-img-list span7" >
                        <?php foreach($data2 as $v){ ?>
                          <?php if(empty($v['pic'])){$v['pic']=FILE_PATH."{$v['pic2']}";} ?>
                            <li><a href="games.php?h=index&c=game_content&k=<?php echo $v['class_id']; ?>&key=<?php echo $v['id']; ?>" title="<?php echo $v['title']; ?>" target="_blank"><img _src="<?php echo $v['pic']; ?>" class="pic" width="76" height="77" alt="<?php echo $v['title']; ?>"><span class="ui-li-name"><?php echo mb_substr($v['title'],0,'5','utf-8'); ?></span></a>
                            </li>
                        <?php } ?>
                        </ul>
                    </div>
                    </div><!-- box-bd -->
                </div><!-- box -->
                
            </div>
            </div><!-- article -->
        </div><!-- col-main -->

        <div class="col-side">
            <div class="main-mod">
               

            <div class="box webgame mb8">
                <div class="box-hd">
                    <h2>排行榜</h2>
                    <div class="box-hd-act">
                        <a href=""><?php /*<i class="icon i-more">更多</i>*/ ?></a>
                    </div>
                </div>
                <div class="box-bd">
                    <ul class="ui-img-list span3">
                        <?php foreach($data3 as $v){ ?>
                          <?php if(empty($v['pic'])){$v['pic']=FILE_PATH."{$v['pic2']}";} ?>
                            <li><a href="games.php?h=index&c=game_content&k=<?php echo $v['class_id']; ?>&key=<?php echo $v['id']; ?>" title="<?php echo $v['title']; ?>" target="_blank" ><img src="<?php echo $v['pic']; ?>" class="pic" width="76" height="77" alt="<?php echo $v['title']; ?>"><span class="ui-li-name"><?php echo mb_substr($v['title'],0,'5','utf-8'); ?></span></a></li>
                        <?php } ?>
                    </ul>
                </div>
            </div><!-- webgame -->
            

           </div>
        </div><!-- col-side -->
    </div><!-- wrap -->



    <div class="ad-box" id="index_sp1"></div>
   
    <div class="wrap box main-mod">
        <div class="box-hd box-hd-line">
            <h2>我玩过的</h2>
            <a href="games.php?h=other&c=game_out_clear" style="float:right">清空</a>
<?php
    if(!empty($_COOKIE['game_out'])){
        $pdo = get_pdo();
        $game_out = $pdo -> query('select pic,id,pic2,title from '.DB_PRE."z_games_content where id in({$_COOKIE['game_out']}) order by find_in_set(id,'{$game_out}')");
    }


    $game_out = empty($game_out) ? array() : $game_out;
?>
        </div><!-- box-hd -->
        <div class="box-bd">
            <ul class="ui-img-list span10 lazyload-part">
             <?php foreach($game_out as $v){ ?>
            <?php if(empty($v['pic'])){$v['pic']=FILE_PATH."{$v['pic2']}";} ?>
              <li><a target="_blank" href="games.php?h=index&c=game_content&k=<?php echo $v['class_id']; ?>&key=<?php echo $v['id']; ?>" title="<?php echo $v['title']; ?>"><img lz_src="<?php echo $v['pic']; ?>" class="pic" width="76" height="77" alt="<?php echo $v['title']; ?>"><span class="ui-li-name"><?php echo mb_substr($v['title'],0,'5','utf-8'); ?></span></a></li>
              <?php } ?>
            </ul>
        </div><!-- box-bd -->
    </div><!-- box -->


    <div class="wrap box main-mod">
        <div class="box-hd box-hd-line">
            <h2>经典小游戏</h2>
<?php
    $file = './sundry/cache/json/games/index_jingdian.php';
    $str = '';
    if(is_file($file)){
        include $file;
    }
    $data = empty($json) ? array() : json_decode($json,true);
?>
        </div><!-- box-hd -->
        <div class="box-bd">
            <ul class="ui-img-list span10 lazyload-part">
             <?php foreach($data as $v){ ?>
            <?php if(empty($v['pic'])){$v['pic']=FILE_PATH."{$v['pic2']}";} ?>
              <li><a target="_blank" href="games.php?h=index&c=game_content&k=<?php echo $v['class_id']; ?>&key=<?php echo $v['id']; ?>" title="<?php echo $v['title']; ?>"><img lz_src="<?php echo $v['pic']; ?>" class="pic" width="76" height="77" alt="<?php echo $v['title']; ?>"><span class="ui-li-name"><?php echo mb_substr($v['title'],0,'5','utf-8'); ?></span></a></li>
              <?php } ?>
            </ul>
        </div><!-- box-bd -->
    </div><!-- box -->



    <div class="wrap">
        <div class="box col2-left main-mod">
            <div class="box-hd">
                <h2><a href="games.php?h=index&c=game_list&k=2" target="_blank">益智小游戏</a></h2>
                <div class="box-hd-act">
                    <a href="games.php?h=index&c=game_list&k=2" target="_blank"><i class="icon i-more"></i>更多</a>
                </div>
            </div>
            <div class="box-bd">
                <ul class="ui-img-list span10 lazyload-part">
                   <?php
                    $pdo = get_pdo();
    $res = $pdo -> query('select title,pic,pic2,id from '.DB_PRE."z_games_content where class_id='2' order by rand() limit 15");
foreach($res as $v){
                   ?>
                          <?php if(empty($v['pic'])){$v['pic']=FILE_PATH."{$v['pic2']}";} ?>
                    <li>
                        <a href="games.php?h=index&c=game_content&k=2&key=<?php echo $v['id']; ?>" title="<?php echo $v['title']; ?>" target="_blank"><img lz_src="<?php echo $v['pic']; ?>" alt="<?php echo $v['title']; ?>" class="pic" width="76" height="77"><span class="ui-li-name"><?php echo mb_substr($v['title'],0,'5','utf-8'); ?></span></a>
                    </li>
                    <?php } ?>
                </ul>
            </div>
        </div><!-- box -->

        <div class="box col2-right main-mod">
            <div class="box-hd">
                <h2><a href="games.php?h=index&c=game_list&k=3" target="_blank">动作小游戏</a></h2>
                <div class="box-hd-act">
                    <a href="games.php?h=index&c=game_list&k=3" target="_blank"><i class="icon i-more"></i>更多</a>
                </div>
            </div>
            <div class="box-bd">
                <ul class="ui-img-list span10 lazyload-part">
                                     <?php
    $res = $pdo -> query('select title,pic,pic2,id from '.DB_PRE."z_games_content where class_id='3' order by rand() limit 15");
foreach($res as $v){
                   ?>
                          <?php if(empty($v['pic'])){$v['pic']=FILE_PATH."{$v['pic2']}";} ?>
                    <li>
                        <a href="games.php?h=index&c=game_content&k=3&key=<?php echo $v['id']; ?>" title="<?php echo $v['title']; ?>" target="_blank"><img lz_src="<?php echo $v['pic']; ?>" alt="<?php echo $v['title']; ?>" class="pic" width="76" height="77"><span class="ui-li-name"><?php echo mb_substr($v['title'],0,'5','utf-8'); ?></span></a>
                    </li>
                    <?php } ?>
                </ul>
            </div>
        </div><!-- box -->
    </div><!-- wrap -->

    <div class="wrap">
        <div class="box col2-left main-mod">
            <div class="box-hd">
                <h2><a href="games.php?h=index&c=game_list&k=4" target="_blank">射击小游戏</a></h2>
                <div class="box-hd-act">
                    <a href="games.php?h=index&c=game_list&k=4" target="_blank"><i class="icon i-more"></i>更多</a>
                </div>
            </div>
            <div class="box-bd">
                <ul class="ui-img-list span10 lazyload-part">
                                     <?php
    $res = $pdo -> query('select title,pic,pic2,id from '.DB_PRE."z_games_content where class_id='4' order by rand() limit 15");
foreach($res as $v){
                   ?>
                          <?php if(empty($v['pic'])){$v['pic']=FILE_PATH."{$v['pic2']}";} ?>
                    <li>
                        <a href="games.php?h=index&c=game_content&k=4&key=<?php echo $v['id']; ?>" title="<?php echo $v['title']; ?>" target="_blank"><img lz_src="<?php echo $v['pic']; ?>" alt="<?php echo $v['title']; ?>" class="pic" width="76" height="77"><span class="ui-li-name"><?php echo mb_substr($v['title'],0,'5','utf-8'); ?></span></a>
                    </li>
                    <?php } ?>
                </ul>
            </div>
        </div><!-- box -->

        <div class="box col2-right main-mod">
            <div class="box-hd">
                <h2><a href="games.php?h=index&c=game_list&k=5" target="_blank">敏捷小游戏</a></h2>
                <div class="box-hd-act">
                    <a href="games.php?h=index&c=game_list&k=5" target="_blank"><i class="icon i-more"></i>更多</a>
                </div>
            </div>
            <div class="box-bd">
                <ul class="ui-img-list span10 lazyload-part">
                                     <?php
    $res = $pdo -> query('select title,pic,pic2,id from '.DB_PRE."z_games_content where class_id='5' order by rand() limit 15");
foreach($res as $v){
                   ?>
                          <?php if(empty($v['pic'])){$v['pic']=FILE_PATH."{$v['pic2']}";} ?>
                    <li>
                        <a href="games.php?h=index&c=game_content&k=5&key=<?php echo $v['id']; ?>" title="<?php echo $v['title']; ?>" target="_blank"><img lz_src="<?php echo $v['pic']; ?>" alt="<?php echo $v['title']; ?>" class="pic" width="76" height="77"><span class="ui-li-name"><?php echo mb_substr($v['title'],0,'5','utf-8'); ?></span></a>
                    </li>
                    <?php } ?>
                </ul>
            </div>
        </div><!-- box -->
    </div><!-- wrap -->

    <div class="wrap">
        <div class="box col2-left main-mod">
            <div class="box-hd">
                <h2><a href="games.php?h=index&c=game_list&k=6" target="_blank">冒险小游戏</a></h2>
                <div class="box-hd-act">
                    <a href="games.php?h=index&c=game_list&k=6" target="_blank"><i class="icon i-more"></i>更多</a>
                </div>
            </div>
            <div class="box-bd">
                <ul class="ui-img-list span10 lazyload-part">
                                     <?php
    $res = $pdo -> query('select title,pic,pic2,id from '.DB_PRE."z_games_content where class_id='6' order by rand() limit 15");
foreach($res as $v){
                   ?>
                          <?php if(empty($v['pic'])){$v['pic']=FILE_PATH."{$v['pic2']}";} ?>
                    <li>
                        <a href="games.php?h=index&c=game_content&k=6&key=<?php echo $v['id']; ?>" title="<?php echo $v['title']; ?>" target="_blank"><img lz_src="<?php echo $v['pic']; ?>" alt="<?php echo $v['title']; ?>" class="pic" width="76" height="77"><span class="ui-li-name"><?php echo mb_substr($v['title'],0,'5','utf-8'); ?></span></a>
                    </li>
                    <?php } ?>
                </ul>
            </div>
        </div><!-- box -->

        <div class="box col2-right main-mod">
            <div class="box-hd">
                <h2><a href="games.php?h=index&c=game_list&k=7" target="_blank">搞笑小游戏</a></h2>
                <div class="box-hd-act">
                    <a href="games.php?h=index&c=game_list&k=7" target="_blank"><i class="icon i-more"></i>更多</a>
                </div>
            </div>
            <div class="box-bd">
                <ul class="ui-img-list span10 lazyload-part">
                                     <?php
    $res = $pdo -> query('select title,pic,pic2,id from '.DB_PRE."z_games_content where class_id='7' order by rand() limit 15");
foreach($res as $v){
                   ?>
                          <?php if(empty($v['pic'])){$v['pic']=FILE_PATH."{$v['pic2']}";} ?>
                    <li>
                        <a href="games.php?h=index&c=game_content&k=7&key=<?php echo $v['id']; ?>" title="<?php echo $v['title']; ?>" target="_blank"><img lz_src="<?php echo $v['pic']; ?>" alt="<?php echo $v['title']; ?>" class="pic" width="76" height="77"><span class="ui-li-name"><?php echo mb_substr($v['title'],0,'5','utf-8'); ?></span></a>
                    </li>
                    <?php } ?>
                </ul>
            </div>
        </div>
    </div><!-- wrap -->

    <div class="wrap">
        <div class="box col2-left main-mod">
            <div class="box-hd">
                <h2><a href="games.php?h=index&c=game_list&k=8" target="_blank">休闲小游戏</a></h2>
                <div class="box-hd-act">
                    <a href="games.php?h=index&c=game_list&k=8" target="_blank"><i class="icon i-more"></i>更多</a>
                </div>
            </div>
            <div class="box-bd">
                <ul class="ui-img-list span10 lazyload-part">
                                     <?php
    $res = $pdo -> query('select title,pic,pic2,id from '.DB_PRE."z_games_content where class_id='8' order by rand() limit 15");
foreach($res as $v){
                   ?>
                          <?php if(empty($v['pic'])){$v['pic']=FILE_PATH."{$v['pic2']}";} ?>
                    <li>
                        <a href="games.php?h=index&c=game_content&k=8&key=<?php echo $v['id']; ?>" title="<?php echo $v['title']; ?>" target="_blank"><img lz_src="<?php echo $v['pic']; ?>" alt="<?php echo $v['title']; ?>" class="pic" width="76" height="77"><span class="ui-li-name"><?php echo mb_substr($v['title'],0,'5','utf-8'); ?></span></a>
                    </li>
                    <?php } ?>
                </ul>
            </div>
        </div><!-- box -->

        <div class="box col2-right main-mod">
            <div class="box-hd">
                <h2><a href="games.php?h=index&c=game_list&k=9" target="_blank">体育小游戏</a></h2>
                <div class="box-hd-act">
                    <a href="games.php?h=index&c=game_list&k=9" target="_blank"><i class="icon i-more"></i>更多</a>
                </div>
            </div>
            <div class="box-bd">
                <ul class="ui-img-list span10 lazyload-part">
                                     <?php
    $res = $pdo -> query('select title,pic,pic2,id from '.DB_PRE."z_games_content where class_id='9' order by rand() limit 15");
foreach($res as $v){
                   ?>
                          <?php if(empty($v['pic'])){$v['pic']=FILE_PATH."{$v['pic2']}";} ?>
                    <li>
                        <a href="games.php?h=index&c=game_content&k=9&key=<?php echo $v['id']; ?>" title="<?php echo $v['title']; ?>" target="_blank"><img lz_src="<?php echo $v['pic']; ?>" alt="<?php echo $v['title']; ?>" class="pic" width="76" height="77"><span class="ui-li-name"><?php echo mb_substr($v['title'],0,'5','utf-8'); ?></span></a>
                    </li>
                    <?php } ?>
                </ul>
            </div>
        </div><!-- box -->
    </div><!-- wrap -->


    <div class="wrap">
        <div class="box col2-left main-mod">
            <div class="box-hd">
                <h2><a href="games.php?h=index&c=game_list&k=10" target="_blank">策略小游戏</a></h2>
                <div class="box-hd-act">
                    <a href="games.php?h=index&c=game_list&k=10" target="_blank"><i class="icon i-more"></i>更多</a>
                </div>
            </div>
            <div class="box-bd">
                <ul class="ui-img-list span10 lazyload-part">
                                     <?php
    $res = $pdo -> query('select title,pic,pic2,id from '.DB_PRE."z_games_content where class_id='10' order by rand() limit 15");
foreach($res as $v){
                   ?>
                          <?php if(empty($v['pic'])){$v['pic']=FILE_PATH."{$v['pic2']}";} ?>
                    <li>
                        <a href="games.php?h=index&c=game_content&k=10&key=<?php echo $v['id']; ?>" title="<?php echo $v['title']; ?>" target="_blank"><img lz_src="<?php echo $v['pic']; ?>" alt="<?php echo $v['title']; ?>" class="pic" width="76" height="77"><span class="ui-li-name"><?php echo mb_substr($v['title'],0,'5','utf-8'); ?></span></a>
                    </li>
                    <?php } ?>
                </ul>
            </div>
        </div><!-- box -->

        <div class="box col2-right main-mod">
            <div class="box-hd">
                <h2><a href="games.php?h=index&c=game_list&k=11" target="_blank">装扮小游戏</a></h2>
                <div class="box-hd-act">
                    <a href="games.php?h=index&c=game_list&k=11" target="_blank"><i class="icon i-more"></i>更多</a>
                </div>
            </div>
            <div class="box-bd">
                <ul class="ui-img-list span10 lazyload-part">
                                     <?php
    $res = $pdo -> query('select title,pic,pic2,id from '.DB_PRE."z_games_content where class_id='11' order by rand() limit 15");
foreach($res as $v){
                   ?>
                          <?php if(empty($v['pic'])){$v['pic']=FILE_PATH."{$v['pic2']}";} ?>
                    <li>
                        <a href="games.php?h=index&c=game_content&k=11&key=<?php echo $v['id']; ?>" title="<?php echo $v['title']; ?>" target="_blank"><img lz_src="<?php echo $v['pic']; ?>" alt="<?php echo $v['title']; ?>" class="pic" width="76" height="77"><span class="ui-li-name"><?php echo mb_substr($v['title'],0,'5','utf-8'); ?></span></a>
                    </li>
                    <?php } ?>
                </ul>
            </div>
        </div><!-- box -->
    </div><!-- wrap -->

    <?php /*<div class="wrap star-games main-mod" id="tab-star">
        <div class="ui-tabs mb8">
            <ul>
                <li data-id="0"   data-count="1" class="first-child current ui-nobd"><a target="_self" href="#bottom">五星小游戏</a></li>
                <li data-id="461" data-count="0"><a target="_self" href="#bottom">益智</a></li>
                <li data-id="485" data-count="0"><a target="_self" href="#bottom">动作</a></li>
                <li data-id="478" data-count="0"><a target="_self" href="#bottom">射击</a></li>
                <li data-id="499" data-count="0"><a target="_self" href="#bottom">敏捷</a></li>
                <li data-id="457" data-count="0"><a target="_self" href="#bottom">冒险</a></li>
                <li data-id="459" data-count="0"><a target="_self" href="#bottom">搞笑</a></li>
                <li data-id="456" data-count="0"><a target="_self" href="#bottom">休闲</a></li>
                <li data-id="458" data-count="0"><a target="_self" href="#bottom">体育</a></li>
                <li data-id="491" data-count="0"><a target="_self" href="#bottom">策略</a></li>
                <li data-id="489" data-count="0"><a target="_self" href="#bottom">装扮</a></li>
                <li data-id="484" data-count="0"><a target="_self" href="#bottom">热门</a></li>
            </ul>
        </div>
        <div class="ui-tabs-panel">
            <ul class="ui-img-list span10 lazyload-part">
                <?php for($i=0;$i<10;$i++){ ?>
               <li><a href="flash/109905.htm" title="救世英雄2中文无敌版" target="_blank"><img lz_src="http://i2.7kimg.cn/cms/cms11/e/d/109905_2574.jpg" class="pic" width="76" height="77" alt="救世英雄2中文无敌版"><span class="ui-li-name">救世英雄2中文无敌版</span></a></li>
               <?php } ?>
            </ul>
            <ul class="ui-img-list span10" style="display:none">
                <?php for($i=0;$i<9;$i++){ ?>
               <li><a href="flash/109905.htm" title="救世英雄2中文无敌版" target="_blank"><img lz_src="http://i2.7kimg.cn/cms/cms11/e/d/109905_2574.jpg" class="pic" width="76" height="77" alt="救世英雄2中文无敌版"><span class="ui-li-name">救世英雄2中文无敌版</span></a></li>
               <?php } ?>
            </ul>
            <ul class="ui-img-list span10" style="display:none">
                <?php for($i=0;$i<8;$i++){ ?>
               <li><a href="flash/109905.htm" title="救世英雄2中文无敌版" target="_blank"><img lz_src="http://i2.7kimg.cn/cms/cms11/e/d/109905_2574.jpg" class="pic" width="76" height="77" alt="救世英雄2中文无敌版"><span class="ui-li-name">救世英雄2中文无敌版</span></a></li>
               <?php } ?>
            </ul>
            <ul class="ui-img-list span10" style="display:none">
                <?php for($i=0;$i<7;$i++){ ?>
               <li><a href="flash/109905.htm" title="救世英雄2中文无敌版" target="_blank"><img lz_src="http://i2.7kimg.cn/cms/cms11/e/d/109905_2574.jpg" class="pic" width="76" height="77" alt="救世英雄2中文无敌版"><span class="ui-li-name">救世英雄2中文无敌版</span></a></li>
               <?php } ?>
            </ul>
            <ul class="ui-img-list span10" style="display:none">
                <?php for($i=0;$i<6;$i++){ ?>
               <li><a href="flash/109905.htm" title="救世英雄2中文无敌版" target="_blank"><img lz_src="http://i2.7kimg.cn/cms/cms11/e/d/109905_2574.jpg" class="pic" width="76" height="77" alt="救世英雄2中文无敌版"><span class="ui-li-name">救世英雄2中文无敌版</span></a></li>
               <?php } ?>
            </ul>
            <ul class="ui-img-list span10" style="display:none">
                <?php for($i=0;$i<5;$i++){ ?>
               <li><a href="flash/109905.htm" title="救世英雄2中文无敌版" target="_blank"><img lz_src="http://i2.7kimg.cn/cms/cms11/e/d/109905_2574.jpg" class="pic" width="76" height="77" alt="救世英雄2中文无敌版"><span class="ui-li-name">救世英雄2中文无敌版</span></a></li>
               <?php } ?>
            </ul>
            <ul class="ui-img-list span10" style="display:none">
                <?php for($i=0;$i<4;$i++){ ?>
               <li><a href="flash/109905.htm" title="救世英雄2中文无敌版" target="_blank"><img lz_src="http://i2.7kimg.cn/cms/cms11/e/d/109905_2574.jpg" class="pic" width="76" height="77" alt="救世英雄2中文无敌版"><span class="ui-li-name">救世英雄2中文无敌版</span></a></li>
               <?php } ?>
            </ul>
            <ul class="ui-img-list span10" style="display:none">
                <?php for($i=0;$i<3;$i++){ ?>
               <li><a href="flash/109905.htm" title="救世英雄2中文无敌版" target="_blank"><img lz_src="http://i2.7kimg.cn/cms/cms11/e/d/109905_2574.jpg" class="pic" width="76" height="77" alt="救世英雄2中文无敌版"><span class="ui-li-name">救世英雄2中文无敌版</span></a></li>
               <?php } ?>
            </ul>
            <ul class="ui-img-list span10" style="display:none">
                <?php for($i=0;$i<2;$i++){ ?>
               <li><a href="flash/109905.htm" title="救世英雄2中文无敌版" target="_blank"><img lz_src="http://i2.7kimg.cn/cms/cms11/e/d/109905_2574.jpg" class="pic" width="76" height="77" alt="救世英雄2中文无敌版"><span class="ui-li-name">救世英雄2中文无敌版</span></a></li>
               <?php } ?>
            </ul>
            <ul class="ui-img-list span10" style="display:none">
                <?php for($i=0;$i<1;$i++){ ?>
               <li><a href="flash/109905.htm" title="救世英雄2中文无敌版" target="_blank"><img lz_src="http://i2.7kimg.cn/cms/cms11/e/d/109905_2574.jpg" class="pic" width="76" height="77" alt="救世英雄2中文无敌版"><span class="ui-li-name">救世英雄2中文无敌版</span></a></li>
               <?php } ?>
            </ul>
            <ul class="ui-img-list span10" style="display:none">
                <?php for($i=0;$i<10;$i++){ ?>
               <li><a href="flash/109905.htm" title="救世英雄2中文无敌版" target="_blank"><img lz_src="http://i2.7kimg.cn/cms/cms11/e/d/109905_2574.jpg" class="pic" width="76" height="77" alt="救世英雄2中文无敌版"><span class="ui-li-name">救世英雄2中文无敌版</span></a></li>
               <?php } ?>
            </ul>
            <ul class="ui-img-list span10" style="display:none">
                <?php for($i=0;$i<9;$i++){ ?>
               <li><a href="flash/109905.htm" title="救世英雄2中文无敌版" target="_blank"><img lz_src="http://i2.7kimg.cn/cms/cms11/e/d/109905_2574.jpg" class="pic" width="76" height="77" alt="救世英雄2中文无敌版"><span class="ui-li-name">救世英雄2中文无敌版</span></a></li>
               <?php } ?>
            </ul>
        </div><!-- ui-tabs-panel -->*/ ?>

    </div><!-- wrap -->

    </div>

 
    </div>
<div class="ad-box" id="index_sp2"></div>

<div class="footer">
    <div class="wrap footer-link cf" id="footer-link">

<style type="text/css">
.copyright .b img{vertical-align:middle;}
</style>
<div class="copyright">
  <div class="a">
  </div>
  <div class="b">
    Copyright @ 郝海川博客0&nbsp;&nbsp;&nbsp;
    <a rel="nofollow" target="_blank" href="http://www.miibeian.gov.cn">沪ICP备14034501号</a>&nbsp;&nbsp; Program By<a style="padding:0 5px;" target="_blank" href="http://www.ithhc.cn/">郝海川博客</a>
  </div>
  <div class="c">游戏作品版权归原作者享有，如无意之中侵犯了您的版权，请您告知我们，本网站将应您的要求删除。</div>    </div>
        <div class="friend-link">
        <h3>友情链接:</h3>
        <div class="fr-cont-wrap" id="c-link" style="margin:0px">
        <ul class="fr-cont">
  <?php
    $pdo = get_pdo();
    $res = $pdo -> query('select name,link from '.DB_PRE."links order by paixu desc");
    $res = empty($res) ? array() : $res;
  ?>
  <li> 
        <?php foreach($res as $v){ ?>
      <a target="_blank" href="<?php echo $v['link']; ?>"><?php echo $v['name']; ?></a>
        <?php } ?>
  </li>
</ul>        </div>
    </div>
        <span class="foot-cat"></span>
  </div>
</div><!-- footer -->
    <a style="bottom:140px;" href="javascript:void(0);" target="_self" class="backTop"></a>
    <a style="bottom:40px;" href="games.php?h=other&c=feedback" target="_blank" class="ui-btn-feedback"></a>
</div><!-- page -->

<?php
  $file = './sundry/cache/json/games/hot_so.php';
  $str = '';
  if(is_file($file)){
    include $file;
  }
?>

<script type="text/javascript">
    var options={
        'hot':'<?php if( !empty($str)): ?><?php echo $str; ?><?php endif; ?>'
    }
    function verifySoForm() {
        return true;
    }
</script>

<script src="<?php echo TPL; ?>/js/js1.js"></script>
<script src="<?php echo TPL; ?>/js/require.js" data-main="<?php echo TPL; ?>/js/js2" defer async="true"></script>


<?php
  include './sundry/cache/json/kefu.php';
?>
<?php if($yingyong=='1'){ ?>
<link rel="stylesheet" type="text/css" href="<?php echo TPL; ?>/public/kefu.css">
<div id="onService_panel">
<div class="onService_panel_s">
<div class="online_boxs">
<div class="boxs_t"><span class="boxs_t_l"></span><span class="boxs_t_m"></span><span class="boxs_t_r"></span></div>
  <div class="boxs_m_l">
    <div class="boxs_m_r">
      <div class="box_m_m">
        <div id="onlineList">
          <em class="online_close" id="onlineClose" title="关闭"></em>
          <div class="online_open  " id="onlineOpen"></div>
          <div id="online_tel_icon" class="online_icon">
            <span class="pic"><img src="<?php echo TPL; ?>/img/online_tel.png" /></span>
            <span class="name">&#30005;&#35805;&#30452;&#21628;</span>
          </div>
          <div id="online_qq_icon" class="online_icon">
            <span class="pic"><img src="<?php echo TPL; ?>/img/online_qq.png" /></span>
            <span class="name">&#22312;&#32447;&#23458;&#26381;</span>
          </div>
          <div id="online_message_icon" class="online_icon">
            <span class="pic"><img src="<?php echo TPL; ?>/img/online_message.png" /></span>
            <span class="name">&#22312;&#32447;&#30041;&#35328;</span>
          </div>
                    <div id="onlineTelTab" class="online_tab">
            <div class="online_boxs">
            <div class="boxs_t"><span class="boxs_t_l"></span><span class="boxs_t_m"></span><span class="boxs_t_r"></span></div>
              <div class="boxs_m_l">
                <div class="boxs_m_r">
                  <div class="box_m_m">
                    <div id="onlineTel" class="online_tab_c">
                    <small class="sanjiao"></small><small class="tab_close"></small>
                      <dl>
                        <dt><strong>&#32852;&#31995;&#25105;&#20204;：</strong></dt>
                        <dd><strong>&#32852;&#31995;&#20154;：</strong><span><?php echo $name; ?></span></dd>                                                <dd><strong>&#30005;&#35805;：</strong><span><?php echo $phone; ?></span></dd>                                                                      </dl>
                    </div>
                  </div>
                </div>
              </div>
            <div class="boxs_b"><span class="boxs_b_l"></span><span class="boxs_b_m"></span><span class="boxs_b_r"></span></div>
            </div>
          </div>
          <div id="onlineQQTab" class="online_tab">
            <div class="online_boxs">
            <div class="boxs_t"><span class="boxs_t_l"></span><span class="boxs_t_m"></span><span class="boxs_t_r"></span></div>
              <div class="boxs_m_l">
                <div class="boxs_m_r">
                  <div class="box_m_m">
                    <div id="onlineQQ" class="online_tab_c">
                    <small class="sanjiao"></small><small class="tab_close"></small>
                    <dl>
                      <style type="text/css">
                        #onlineQQ dd{margin-bottom:5px;}
                      </style>
                      <script type="text/javascript">
                        $(function(){
                          $('#onlineQQ dd:last').css('margin','0');
                        })
                      </script>
                    <dt>在线客服</dt>
                    <?php
                      $arr = explode("\n",$qq);
                    ?>
                    <?php foreach($arr as $v){ ?>
                    <?php 
                      $ex = explode(':',$v);
                      $exqq = $ex['0'];
                      $exname = empty($ex['1']) ? '点击这里给我发消息': $ex['1'];
                    ?>
                          <dd><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=<?php echo $exqq; ?>&site=qq&menu=yes"><img border="0" src="<?php echo TPL; ?>/img/button_111.gif" alt="<?php echo $exname; ?>" title="<?php echo $exname; ?>"/></a>
                                </dd>
                    <?php } ?>
                    </dl>
                    </div>
                  </div>
                </div>
              </div>
            <div class="boxs_b"><span class="boxs_b_l"></span><span class="boxs_b_m"></span><span class="boxs_b_r"></span></div>
            </div>
          </div>
          <div id="onlineMessageTab" class="online_tab">
            <div class="online_boxs">
            <div class="boxs_t"><span class="boxs_t_l"></span><span class="boxs_t_m"></span><span class="boxs_t_r"></span></div>
              <div class="boxs_m_l">
                <div class="boxs_m_r">
                  <div class="box_m_m">
                    <div id="onlineMessage" class="online_tab_c">
                    <small class="sanjiao"></small><small class="tab_close"></small>
                      <dl>
        <form id="" target="_blank" method="post" action="games.php?h=other&c=feedback_submit">
                        <dt><textarea onfocus="h_con()" onblur="s_con()" name="content" id="content2"></textarea></dt>
                        <dd class="text_length"></dd>
                        <dd><label>留言标题：</label><input type="text" class="text_input" name="title" id="e_mail" maxlength="50"/></dd>
                        <dd><label>联系方式：</label><input type="text" class="text_input" name="lianxi" id="tel" maxlength="30"/><input type="submit" class="submitBut" value="提交" onclick="sub_check(446632)" /></dd>
                      </dl>
                    </div>
                  </form>
                  </div>
                </div>
              </div>
            <div class="boxs_b"><span class="boxs_b_l"></span><span class="boxs_b_m"></span><span class="boxs_b_r"></span></div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
<div class="boxs_b"><span class="boxs_b_l"></span><span class="boxs_b_m"></span><span class="boxs_b_r"></span></div>
</div>
</div>
</div>
<script type="text/javascript" src="<?php echo TPL; ?>/public/kefu.js"></script>

<?php } ?>

</body>
</html>

