<extend name="Public/gbases"/>

<block name="body">
				<div class="header">
					<link rel="stylesheet" type="text/css" href="__CSS__/selfbuilt/index.css">
					<div class="header-words">
						<p>扫一扫,下载游戏</p>
					</div>
					<div class="header-main">
						<div class="btns l">
							<div class="ewm erweima">
							<img src="{:U('Game/dow_url_generate',array('game_id'=>$data['relation_game_id']))}"  width="187px">
							<img src="{$data.icon|get_cover='path'}" style="width: 30px;position: absolute;left: 80px;top: 80px;z-index: 22; background-color: white;border-radius: 3px;">
							</div>
							<div class="android">
							<if condition="$gamesou['and_id'] neq ''">
	                            <a href="{:U('Down/down_file',array('game_id'=>$data['relation_game_id'],'type'=>1))}" target="_blank"></a>
	                        <else />
	                          	<a class="off" onclick="alert('敬请期待');"></a>
	                        </if>
							</div>
							<div class="ios-zb">
							<if condition="$gamesou['ios_id'] neq ''">
                            	<a href="{:U('Down/down_file',array('game_id'=>$data['relation_game_id'],'type'=>2))}" target="_blank"></a>
                          	<else />
                          		<a class="off" onclick="alert('敬请期待');"></a>
                          	</if>
							</div>
						</div>
						<div class="lunbo l">
							<div class="slideBox fl" id="js-looppic">

								<div class="SlideBox" style="width: 100%; height: 100%; position: relative;">
									<ul class="slideUl" style="width: 100%; height: 100%; position: relative;background:#dadada">
										<foreach name="selftbuilt.gshuffling" item="vo">
										<li style="position: absolute; z-index: {:$key+1}; left: 0px; top: 0px; opacity: {$key};">
											<a  title="" href="javascript:">
												<img border="0" src="{$vo|get_cover='path'}">
											</a>
										</li>
										</foreach>
									</ul>
								</div>
							</div>
						</div>
						<div class="news-box l" id="js-list-outer-n1">
							<ul class="n-list-title">
								<li class="current">
									<a href="javascript:void(0);" class="kf-ios"></a>
								</li>
								<li>
									<a href="javascript:void(0);" class="kf-android"></a>
								</li>
							</ul>
							<div class="tab-box" style="display: block;">
								<div class="kf-table">
									<ul class="kf-title">
										<li>日期</li>
										<li>时间</li>
										<li>服务器</li>
									</ul>
									<foreach name="ios_server" item="vo">
									<ul class="kf-content">
										<li>{$vo.start_time|date="m-d",###}</li>
										<li>{$vo.start_time|date="H:i",###}</li>
										<li>{$vo.server_name}</li>
									</ul>
									</foreach>
								</div>
							</div>
							<div class="tab-box" style="display: none;">
								<div class="kf-table">
									<ul class="kf-title">
										<li>日期</li>
										<li>时间</li>
										<li>服务器</li>
									</ul>
									<foreach name="and_server" item="vo">
									<ul class="kf-content">
										<li>{$vo.start_time|date="m-d",###}</li>
										<li>{$vo.start_time|date="H:i",###}</li>
										<li>{$vo.server_name}</li>
									</ul>
									</foreach>
								</div>
							</div>
						</div>
					</div>
					<div class="header-main-x">
						<div class="btns-x l">
							<div class="con2-left">
								<a target="_blank" href="{:U('Gift/gift')}" class="con-gift"></a>
							</div>
						</div>
						<div class="lunbo-x l">
							<div class="news-header" id="js-tab">
								<ul class="con2-mid">
									<li class="current">
										<a href="{:U('Selfbuilt/lists',array('cid'=>1,'game_id'=>$selftbuilt['gameid']))}" target="_blank">新闻</a>
									</li>
									<li>
										<a href="{:U('Selfbuilt/lists',array('cid'=>7,'game_id'=>$selftbuilt['gameid']))}" target="_blank">活动</a>
									</li>
									<li>
										<a href="{:U('Selfbuilt/lists',array('cid'=>3,'game_id'=>$selftbuilt['gameid']))}" target="_blank">新手</a>
									</li>
									<li>
										<a href="{:U('Selfbuilt/lists',array('cid'=>5,'game_id'=>$selftbuilt['gameid']))}" target="_blank">进阶</a>
									</li>
									<li>
										<a href="{:U('Selfbuilt/lists',array('cid'=>6,'game_id'=>$selftbuilt['gameid']))}" target="_blank">特色</a>
									</li>
									<li></li>
									<!-- <li class="tab-more" lastismore="true">
										<a href="#" target="_blank"></a>
									</li> -->
								</ul>

								<div class="tab-box" style="display: block;">
									<ul class="news">
									    <volist name="news" id="vo">
										<li>
											<span class="news-date">[{$vo.create_time|date="m-d",###}]</span>
											<a target="_blank" data-artid="{$vo['id']}" href="{:U('Selfbuilt/detail',array('id'=>$vo['id'],'cid'=>1,'game_id'=>$selftbuilt['gameid']))}" style="color:#e95d26" title="{$vo.title}">{$vo.title}</a>
										</li>
										</volist>
									</ul>

								</div>
								<div class="tab-box" style="display: none;">
									<ul class="news">
									    <volist name="active" id="vo">
										<li>
											<span class="news-date">[{$vo.create_time|date="m-d",###}]</span>
											<a target="_blank" data-artid="{$vo['id']}" href="{:U('Selfbuilt/detail',array('id'=>$vo['id'],'cid'=>7,'game_id'=>$selftbuilt['gameid']))}" style="color:#e95d26" title="{$vo.title}">{$vo.title}</a>
										</li>
										</volist>
									</ul>
								</div>
								<div class="tab-box" style="display: none;">
									<ul class="news">
									    <volist name="novice_guide" id="vo">
										<li>
											<span class="news-date">[{$vo.create_time|date="m-d",###}]</span>
											<a target="_blank" data-artid="{$vo['id']}" href="{:U('Selfbuilt/detail',array('id'=>$vo['id'],'cid'=>3,'game_id'=>$selftbuilt['gameid']))}" style="color:#e95d26" title="{$vo.title}">{$vo.title}</a>
										</li>
										</volist>
									</ul>
								</div>
								<div class="tab-box" style="display: none;">
									<ul class="news">
									    <volist name="master" id="vo">
										<li>
											<span class="news-date">[{$vo.create_time|date="m-d",###}]</span>
											<a target="_blank" data-artid="{$vo['id']}" href="{:U('Selfbuilt/detail',array('id'=>$vo['id'],'cid'=>5,'game_id'=>$selftbuilt['gameid']))}" style="color:#e95d26" title="{$vo.title}">{$vo.title}</a>
										</li>
										</volist>
									</ul>
								</div>
								<div class="tab-box" style="display: none;">
									<ul class="news">
									    <volist name="features" id="vo">
										<li>
											<span class="news-date">[{$vo.create_time|date="m-d",###}]</span>
											<a target="_blank" data-artid="{$vo['id']}" href="{:U('Selfbuilt/detail',array('id'=>$vo['id'],'cid'=>6,'game_id'=>$selftbuilt['gameid']))}" style="color:#e95d26" title="{$vo.title}">{$vo.title}</a>
										</li>
										</volist>
									</ul>
								</div>
							</div>
						</div>
						<div class="news-box-x l">
							<ul class="con2-rt">
								<li class="one">
									<a href="{:U('Selfbuilt/lists',array('id'=>$vo['id'],'cid'=>4,'game_id'=>$selftbuilt['gameid']))}" target="_blank"></a>
								</li>
								<li class="three">
									<a href="{:U('Selfbuilt/lists',array('id'=>$vo['id'],'cid'=>2,'game_id'=>$selftbuilt['gameid']))}" target="_blank"></a>
								</li>
								<li class="four">
									<a href="{:U('Gift/gift')}" target="_blank"></a>
								</li>
								<li class="five">
									<a href="{:U('Selfbuilt/lists',array('id'=>$vo['id'],'cid'=>7,'game_id'=>$selftbuilt['gameid']))}" target="_blank"></a>
								</li>
							</ul>
						</div>
					</div>
				</div>
			</div>

			<div class="foot-wrap">
				<div class="jietu">
					<div class="wrap">
						<div class="jietu-title"><span class="jietu-icon"></span>游戏截图<span>/GAME PICTURES</span></div>
						<div class="jietu-con">
							<ul class="jietu-list">
				            	<foreach name="selftbuilt.gpic" item="vo">
								<li>
									<div class="little-item" data-rid="1"><img src="{$vo|get_cover='path'}"></div>
									<div class="big-item"><img src="{$vo|get_cover='path'}"></div>
								</li>
				            	</foreach>	
							</ul>
						</div>
					</div>
				</div>
				<div class="service">
					<div class="wrap footwrap-bg">
						<div class="game-wechart l clearfix">
						<img class="wechart-img l" src="{:U('Game/dow_url_generate',array('game_id'=>$data['relation_game_id']))}">
						<img src="{$data.icon|get_cover='path'}" style="float:left;width: 30px;position: relative;left: -85px;top: 60px;z-index: 22; background-color: white;border-radius: 3px;">
							<div class="l" style="margin-top: 20px;">
								<div class="wechart-title">{$data['relation_game_name']}</div>
								<div class="wechart-desc">
									<p>扫一扫</p>下载{$data['relation_game_name']}官方手游</div>
							</div>
						</div>
						<div class="service-box l">
							<h3 class="service-title">联系客服</h3>
							<p>客服电话:{:C('PC_SET_SERVER_TEL')}<br>客服Q Q:<a href="http://wpa.qq.com/msgrd?v=3&amp;uin={:C('PC_SET_SERVER_QQ')}&amp;site=qq&amp;menu=yes" target="_blank" title="客服" class="olkf">{:C('PC_SET_SERVER_QQ')}</a><br>服务时间:{:C('PC_WORK_TIME')}</p>
						</div>
					</div>
				</div>
			</div
</block>