You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

206 lines
10 KiB
HTML

2 years ago
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<!-- top -->
<link rel="stylesheet" href="__CSS__/selfbuilt/top_login.css">
<link rel="stylesheet" href="__CSS__/selfbuilt/global.css">
<link rel="stylesheet" type="text/css" href="__CSS__/selfbuilt/common_top.css">
<!-- endtop -->
<link href="__CSS__/selfbuilt/base.css" rel="stylesheet">
<script src="__JS__/selfbuilt/jquery-1.9.1.min.js" type="text/javascript"></script>
<script type="text/javascript" src="__JS__/selfbuilt/common_top.js"></script>
<link rel="stylesheet" type="text/css" href="__CSS__/selfbuilt/basic.css">
<link rel="stylesheet" type="text/css" href="__CSS__/selfbuilt/n-common.css">
<link href="__CSS__/selfbuilt/global(1).css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="__CSS__/selfbuilt/platform-common.css">
<link href="{:get_cover(C('PC_SET_ICO'),'path')}" type="image/x-icon" rel="shortcut icon">
<if condition="(ACTION_NAME eq game_detail and CONTROLLER_NAME eq Game) || (ACTION_NAME eq game and CONTROLLER_NAME eq Selfbuilt)">
<title>{:seo_replace(C('media_game_detail.seo_title'),array('game_name'=>$data['game_name'],'game_type_name'=>$data['game_type_name'],'giftbag_name'=>$data['giftbag_name'],'title'=>$data['title']),'media')}</title>
<meta name="keywords" content="{:seo_replace(C('media_game_detail.seo_keyword'),array('game_name'=>$data['game_name'],'game_type_name'=>$data['game_type_name'],'giftbag_name'=>$data['giftbag_name'],'title'=>$selftbuilt['keyword']),'media')}">
<meta name="description" content="{:seo_replace(C('media_game_detail.seo_description'),array('game_name'=>$data['game_name'],'game_type_name'=>$data['game_type_name'],'giftbag_name'=>$data['giftbag_name'],'title'=>$data['title']),'media')}">
<elseif condition="ACTION_NAME eq detail and CONTROLLER_NAME eq Selfbuilt"/>
<title>{:seo_replace(C('media_news_detail.seo_title'),array('game_name'=>$data['game_name'],'title'=>$detail['title'],'game_type_name'=>$data['game_type_name'],'giftbag_name'=>$data['giftbag_name']),'media')}</title>
<meta name="keywords" content="{:seo_replace(C('media_news_detail.seo_keyword'),array('game_name'=>$data['game_name'],'title'=>$data['title'],'game_type_name'=>$data['game_type_name'],'giftbag_name'=>$data['giftbag_name']),'media')}">
<meta name="description" content="{:seo_replace(C('media_news_detail.seo_description'),array('game_name'=>$data['game_name'],'title'=>$data['title'],'game_type_name'=>$data['game_type_name'],'giftbag_name'=>$data['giftbag_name']),'media')}">
<elseif condition="ACTION_NAME eq lists and CONTROLLER_NAME eq Selfbuilt"/>
<title>{:seo_replace(C('media_news_list.seo_title'),array('game_name'=>$gift['game_name'],'title'=>$data['title'],'game_type_name'=>$gift['game_type_name'],'giftbag_name'=>$gift['giftbag_name']),'media')}</title>
<meta name="keywords" content="{:seo_replace(C('media_news_list.seo_keyword'),array('game_name'=>$gift['game_name'],'title'=>$data['title'],'game_type_name'=>$gift['game_type_name'],'giftbag_name'=>$gift['giftbag_name']),'media')}">
<meta name="description" content="{:seo_replace(C('media_news_list.seo_description'),array('game_name'=>$gift['game_name'],'title'=>$data['title'],'game_type_name'=>$gift['game_type_name'],'giftbag_name'=>$gift['giftbag_name']),'media')}">
</if>
<style type="text/css">
.body {
background:#e2e2e2 url({$selftbuilt.backgroundimg|get_cover='path'}) top center no-repeat;
background-color: {$selftbuilt.backgroundcolor};
}
</style>
</head>
<!-- top -->
<body>
<!-- top -->
<div class="top_sub_main">
<div class="top_sub_nav clearfix">
<div class="sub_nav_right fr">
<div class="top_login_tips fl" id="top_login_tips">
<if condition="session('member_auth') eq ''">
<a class="t_btn1" href="{:U('Member/plogin')}" rel="nofollow"><i class="c_login_icon"></i>登录</a>
<a class="t_btn2" href="{:U('Member/register')}" rel="nofollow"><i class="c_reg_icon"></i>注册</a>
<else/>
<a href="{:U('Member/users_index')}"><i class="icon i-user"></i>欢迎您:{:session('member_auth.account')}</a>&nbsp;<a href="javascript:;" id="quitlogin">[退出]</a>
</if>
</div>
<span class="all_games_ico g-allgame-trigger fl" id="all_game_hover">全部游戏<i class="game_list_icon"></i></span>
</div>
<div class="sub_nav_left fl">
<a href="{:U('Index/index')}" rel="nofollow" title="{:C('media_index.seo_title')}" target="_blank"><img src="{:get_cover(C('PC_SET_LOGO'),'path')}" height="38px"></a>
<!-- <a href="javascript:addToDesk();" rel="nofollow"> <i class="c_web_icon"></i>保存桌面 </a> -->
<a href="javascript:SetHome(this,window.location);" rel="nofollow"> <i class="c_home_icon"></i>设为首页</a>
<a href="javascript:addToFav(document.title,window.location);" rel="nofollow"><i class="c_add_icon"></i>加入收藏</a>
</div>
<div class="g-allgame-list">
<i class="icon i-garr"></i>
<div class="col-bd fix">
<div class="__data__" page="" postfix="current_gid_" style="display: none; ">
<div></div><span>游戏中心</span></div>
<div class="col fl">
<div class="hd">Android游戏</div>
<ul class="bd fix">
<foreach name="hot_game_and" item="vo">
<li>
<a href="{:U('Game/game_detail',array('id'=>$vo['id']))}" target="_blank">{$vo.relation_game_name}</a>
</li>
</foreach>
</ul>
</div>
<div class="col fl">
<div class="__data__" data_id="__data__[8501]" page="" postfix="index" style="display: none; ">
<div></div><span>IOS游戏</span></div>
<div class="hd">IOS游戏</div>
<ul class="bd fix">
<foreach name="hot_game_ios" item="vo">
<li>
<a href="{:U('Game/game_detail',array('id'=>$vo['id']))}" target="_blank">{$vo.relation_game_name}</a>
</li>
</foreach>
</ul>
</div>
</div>
<a href="{:U('Game/game_center')}" class="fd"><i class="icon i-add"></i> 全部手机游戏</a>
</div>
</div>
</div>
<script type="text/javascript">
$('#quitlogin').click(function(){
changyanurl="http://changyan.sohu.com/api/2/logout?client_id='{:C('changyan.partner')}'";
$.ajax({
type: 'get',
url: changyanurl,
cache: false,
dataType: "jsonp", //跨域采用jsonp方式
processData: false,
complete:function (data) {
}
});
var turl = $('#turl').val();
if (turl == 'plogin'){
url = "{:U('Member/logout',array('url'=>'plogin'))}";
}else{
url = "{:U('Member/logout')}";
}
$.ajax({
type: 'POST',
url: url ,
success:function(data){
window.location.href=data.reurl;
}
});
});
$('.g-allgame-trigger, .g-allgame-list').hover(function() {
$('.g-allgame-trigger').addClass('active');
$('.g-allgame-list').show();
}, function() {
$('.g-allgame-trigger').removeClass('active');
$('.g-allgame-list').hide();
});
</script>
<!-- endtop -->
<div class="body">
<div class="header-wrap">
<div class="header">
<div class="header">
<div class="header-top clearfix">
<div class="header-nav">
<ul style="margin-left: 65px;">
<li>
<a href="{:U('Selfbuilt/game',array('game_id'=>$selftbuilt['gameid'],'union_id'=>session('site.union_id')))}" class="cur">官网首页<br><span style="color: #878787">HOME</span></a>
</li>
<li>
<a href="{:U('Selfbuilt/lists',array('game_id'=>$selftbuilt['gameid'],'cid'=>7,'union_id'=>session('site.union_id')))}" target="_blank">游戏活动<br><span style="color: #878787">ACTIVITY</span></a>
</li>
<li>
<a href="{:U('Selfbuilt/lists',array('game_id'=>$selftbuilt['gameid'],'cid'=>1,'union_id'=>session('site.union_id')))}" target="_blank">新闻资讯<br><span style="color: #878787">NEWS</span></a>
</li>
</ul>
<div class="header-logo">
<a href="{:U('Selfbuilt/game',array('game_id'=>$selftbuilt['gameid'],'union_id'=>session('site.union_id')))}"><img src="{$selftbuilt.logo|get_cover='path'}" width="260" height="80"></a>
</div>
<ul>
<li>
<a href="{:U('Selfbuilt/lists',array('id'=>$vo['id'],'cid'=>2,'game_id'=>$selftbuilt['gameid']))}" target="_blank">游戏攻略<br><span style="color: #878787">RAIDERS</span></a>
</li>
<li>
<a href="{:U('Recharge/pay',array('union_id'=>session('site.union_id')))}" target="_blank">充值中心<br><span style="color: #878787">RECHARGE</span></a>
</li>
<li>
<a href="{:U('Service/index',array('union_id'=>session('site.union_id')))}" target="_blank">客服中心<br><span style="color: #878787">SERVICE</span></a>
</li>
</ul>
</div>
</div>
</div>
<block name="body"> </block>
</div>
<div class="footer-box">
<div class="footer-wrap">
<div class="meiti">
<div class="meiti-box"></div>
</div>
<div class="m-footer" style="margin-top:45px;">
<div class="m-foot-logo" style="background: url({:get_cover(C('PC_SET_LOGO'),'path')}) no-repeat;"></div>
<div class="m-foot-desc">
<p>健康游戏忠告:抵制不良游戏 拒绝盗版游戏 注意自我保护 谨防受骗上当 适度游戏益脑 沉迷游戏伤身 合理安排 时间享受健康生活</p>
<p>{:C('PC_SET_COPYRIGHT')} ©版权所有 </p>
</div>
</div>
</div>
</div>
</div>
<script>
$(function() {
$(".category li").on("click", function() {
$(this).addClass("current").siblings().removeClass("current");
});
})
</script>
<script type="text/javascript" src="__JS__/selfbuilt/n-tool.js"></script>
<script type="text/javascript" src="__JS__/selfbuilt/index.js"></script>
</div>
</body>
</html>