<?php defined('IN_DESTOON') or exit('Access Denied');?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php if($seo_title) { ?><?php echo $seo_title;?><?php } else { ?><?php if($head_title) { ?><?php echo $head_title;?><?php echo $DT['seo_delimiter'];?><?php } ?>
<?php if($city_sitename) { ?><?php echo $city_sitename;?><?php } else { ?><?php echo $DT['sitename'];?><?php } ?>
<?php } ?>
</title>
<?php if($head_keywords) { ?>
<meta name="keywords" content="<?php echo $head_keywords;?>"/>
<?php } ?>
<?php if($head_description) { ?>
<meta name="description" content="<?php echo $head_description;?>"/>
<?php } ?>
<?php if($head_mobile) { ?>
<meta http-equiv="mobile-agent" content="format=xhtml; url=<?php echo $head_mobile;?>">
<meta http-equiv="mobile-agent" content="format=html5; url=<?php echo $head_mobile;?>">
<?php } ?>
<link href="/skin/youxi/7881/common_7881/css/list_detail.css" rel="stylesheet" type="text/css" />
<link href="/skin/youxi/7881/common_7881/css/7881.common.css" rel="stylesheet" type="text/css" />
<link href="/skin/youxi/7881/common_7881/css/global_new.css" rel="stylesheet" type="text/css" />
<style></style>
<!--[if lte IE 6]>
<style type="text/css">
body { behavior:url("/market/css/csshover.htc");}
</style>
<![endif]-->
<script type="text/javascript" src="/skin/youxi/market/js/kefu.js"></script>
<script type="text/javascript" src="/skin/youxi/common/js/jquery1.5.js"></script>
<script type="text/javascript" src="/json/info.js"></script>
<script type="text/javascript" src="/skin/youxi/common/smartinput/character.core.js"></script>
<script type="text/javascript" src="/skin/youxi/common/smartinput/jquery.smartinput.js"></script>
<script type="text/javascript" src="/skin/youxi/common/js/restrict_input.js"></script>
<script type="text/javascript">
function SetCookie(name,value)//两个参数，一个是cookie的名子，一个是值
{
    var Days = 30; //此 cookie 将被保存 30 天
    var exp  = new Date();    //new Date("December 31, 9998");
    exp.setTime(exp.getTime() + Days*24*60*60*1000);
    document.cookie = name + "="+ escape (value) + ";expires=" + exp.toGMTString();
}
function getCookie(name)//取cookies函数
{

    var arr = document.cookie.match(new RegExp("(^| )"+name+"=([^;]*)(;|$)"));
    if(arr != null) return unescape(arr[2]); return null;
}
function delCookie(name)//删除cookie
{
    var exp = new Date();
    exp.setTime(exp.getTime() - 1);
    var cval=getCookie(name);
    if(cval!=null) document.cookie= name + "="+cval+";expires="+exp.toGMTString();
}
$(function(){
if(getCookie('xiaoqi')=="closeclick"){
        $(".yd").hide();
    }else{
        $(".yd").show();
    }
    $('.gb').click(function(){
    $(".yd").hide();
    $(".newqp").hide();
        SetCookie ("xiaoqi", "closeclick")
        })
})
</script>
<script src="http://libs.baidu.com/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript" src="<?php echo DT_STATIC;?>file/script/config.js"></script>
<script type="text/javascript" src="<?php echo DT_STATIC;?>file/script/common.js"></script>
<script type="text/javascript" src="<?php echo DT_STATIC;?>file/script/page.js"></script>
</head><body onclick="closeclick()">
<!--头部开始-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php include template('top');?> 
<script type="text/javascript">var sh = '<?php echo $MOD['linkurl'];?>list.php?catid=<?php echo $catid;?>';</script>
<div class="header">
  <div class="left"><a href="<?php echo DT_PATH;?>"><img src="/skin/youxi/7881/common_7881/logo/logo_pro.png" alt="<?php echo $DT['sitename'];?>"/></a></div>
  <div class="top_search pusht"> <a href="javascript:void(0)" class="close_btn" title="关闭" alt="关闭">关闭</a>
    <div class="t_search"> <a href="javascript:void(0)" class="hover">精准搜索</a><a href="javascript:void(0)" class="gray">简单搜索</a> </div>
    <div class="s_blue_box">
      <ul class="selectbox">
        <li class="g_name" gameid="<?php echo gameid($catid);?>"><?php echo catname(gameid($catid));?></li>
        <li class="g_run" style="display: none;" carrierid="">运营商</li>
        <li class="g_area" groupid="">广东区</li>
        <li class="g_service" serverid="">游戏服务器</li>
        <li class="g_type" gtid="<?php echo $gtid;?>"><?php if($gtid) { ?><?php echo gtidname($gtid);?><?php } else { ?>物品类型<?php } ?>
</li>
      </ul>
      <ul class="hide">
        <input id="txt_search_simple" type="text" value="关键字找游戏、搜区服、寻商品" class="input gray_a" onclick="if(this.value=='关键字找游戏、搜区服、寻商品'){this.value='';this.className='input'}" onblur="if(this.value=='') {this.value='关键字找游戏、搜区服、寻商品';this.className='input gray_a'}"/>
      </ul>
    </div>
    <a href="javascript:void(0)" id="search_main" class="search" style="width: 183px;">搜索</a>
    <div class="hotsearch">
      <dl>
        <dt>热门搜索：<?php echo $PPT;?></dt>
        <?php $tagg=tag("moduleid=$searchid&table=keyword&condition=moduleid=$searchid and status=3&pagesize=10&order=total_search desc&template=null");?> 
        <?php if(is_array($tagg)) { foreach($tagg as $i => $t) { ?>
        <dt><a href="<?php echo $MODULE[$moduleid]['linkurl'];?>search.php?kw=<?php echo urlencode($t['word']);?>"  target="_blank"><?php echo $t['word'];?></a></dt>
        <dd>|</dd>
        <?php } } ?>
      </dl>
    </div>
    <i class="arrow"></i>
    <div class="b_blue_box">
      <div class="main_con">
        <ul class="box_title">
          选择游戏名<a target="_blank" href="<?php echo $MODULE['16']['linkurl'];?>" style="font-size: 14px;float: right;">找不到您要的游戏或区服？</a>
        </ul>
        <ul class="gamename_quicksearch">
          <input type="text" onkeyup="return fastSearchKeyUp();" value="请输入关键字" id="sselect_gamename" class="q_input gray_a" onclick="if(this.value=='请输入关键字'){this.value='';this.className='q_input'}" onblur="if(this.value=='') {this.value='请输入关键字';this.className='q_input gray_a'}" />
          <a href="javascript:void(0)" id="searchBtn" class="btn btn-lBlue1">快速查询</a>
        </ul>
        <ul class="main_name_select">
          <a href="javascript:void(0)" class="hover">网络游戏</a><a href="javascript:void(0)">苹果手游</a><a href="javascript:void(0)">安卓手游</a>
        </ul>
        <ul class="main_letter_select">
          <a href="javascript:void(0)" id="hotgame" class="current">热门游戏</a><a href="javascript:void(0)">A</a><a href="javascript:void(0)">B</a><a href="javascript:void(0)">C</a><a href="javascript:void(0)">D</a><a href="javascript:void(0)">E</a><a href="javascript:void(0)">F</a><a href="javascript:void(0)">G</a><a href="javascript:void(0)">H</a><a href="javascript:void(0)">I</a><a href="javascript:void(0)">J</a><a href="javascript:void(0)">K</a><a href="javascript:void(0)">L</a><a href="javascript:void(0)">M</a><a href="javascript:void(0)">N</a><a href="javascript:void(0)">O</a><a href="javascript:void(0)">P</a><a href="javascript:void(0)">Q</a><a href="javascript:void(0)">R</a><a href="javascript:void(0)">S</a><a href="javascript:void(0)">T</a><a href="javascript:void(0)">U</a><a href="javascript:void(0)">V</a><a href="javascript:void(0)">W</a><a href="javascript:void(0)">X</a><a href="javascript:void(0)">Y</a><a href="javascript:void(0)">Z</a>
        </ul>
        <dl class="con_list" id="letter_game">
        </dl>
      </div>
      <div class="main_con hide">
        <ul class="box_title">
          选择运营商<a onclick="$('.g_run').attr('carrierid','0');$('.g_run').html('全部运营商');$('.g_area').attr('groupid','0');$('.g_area').html('全部游戏区');$('.g_service').attr('serverid','0');$('.g_service').html('全部服务器');">全部运营商</a><a target="_blank" href="<?php echo $MODULE['16']['linkurl'];?>" style="font-size: 14px;float: right;">找不到您要的游戏或区服？</a>
        </ul>
        <dl class="con_list" id="letter_carrier">
        </dl>
      </div>
      <div class="main_con hide">
        <ul class="box_title">
          选择区服<a onclick="$('.g_area').attr('groupid','0');$('.g_area').html('全部游戏区');$('.g_service').attr('serverid','0');$('.g_service').html('全部服务器');">全部游戏区</a><a target="_blank" href="<?php echo $MODULE['16']['linkurl'];?>" style="font-size: 14px;float: right;">找不到您要的游戏或区服？</a>
        </ul>
        <dl class="con_list" id="letter_group">
        </dl>
      </div>
      <div class="main_con hide" >
        <ul class="box_title">
          选择服务器<a onclick="$('.g_service').attr('serverid','0');$('.g_service').html('全部服务器');">全部服务器</a>
          <input onkeyup="return fastSearchKeyUp2();" id="sselect_servername" style="margin-left:10px;width:125px;height:20px;border:1px solid #ddd;line-height:20px;font-size: 12px;" type="text" >
          <span  onclick="return fastSearchKeyUp2();"  class="qfcz" style="cursor:pointer;display:inline-block;margin-left:5px;width:34px;height:22px;background:#3E83D1;text-align:center;line-height:22px;color:#FFF;font-size:12px;font-weight:400;" onclick="return fastSearchKeyUp2();">查找</span> <a target="_blank" href="<?php echo $MODULE['16']['linkurl'];?>" style="font-size: 14px;float: right;">找不到您要的游戏或区服？</a>
        </ul>
        <dl class="con_list" id="letter_server">
        </dl>
      </div>
      <div class="main_con hide">
        <ul class="box_title">
          选择物品类型<a onclick="$('.g_type').attr('gtid','0');$('.g_type').html('全部类型');">全部类型</a><a target="_blank" href="<?php echo $MODULE['16']['linkurl'];?>" style="font-size: 14px;float: right;">找不到您要的游戏或区服？</a>
        </ul>
        <dl class="con_list" id="letter_gtid">
        </dl>
      </div>
    </div>
  </div>
</div>
<script language="javascript" type="text/javascript">
    //防止客户端缓存JS文件造成数据更新不及时
    document.write("<script type='text/javascript' src='/skin/youxi/market/vm/7881_2014_logo_search_new.js?v="+ new Date().getTime()+ "'><\/script>");
</script> 
<script type="text/javascript">
</script> 
<!--头部结束-->
<div class="W980 clearfix">
  <div class="gamelist_crumb">
    <dl>
      <dd><a href="/">首页</a></dd>
      <dd class="arrow">&gt;</dd>
      <dd> <a href="<?php echo $MODULE['16']['linkurl'];?>" class="ls">全部游戏</a> </dd>
      <dd class="arrow">&gt;</dd>
      <dd><a href="javascript:void(0)"><?php echo catname(gameid($catid));?></a></dd>
    </dl>
    <h1> <a target="_blank" href="<?php echo $MODULE['16']['linkurl'];?>">找不到您要的游戏或区服？</a>当前显示：<span><?php echo catname(gameid($catid));?></span> <a href="/release.html">【我要卖】</a>&nbsp; <i class="ico_compelet blue"></i> </h1>
  </div>
  <div class="CategorySelect">
    <div class="blue_box" style="border-top: 2px solid #3C8FD7; height:10px; padding:0px; width:1069px; background:none; border-bottom: none;"> </div>
    <div class="sifting" id="ul_gtid_selected">
      <dl class="choose_title">
        <dt>物品类型：</dt>
      </dl>
      <dl class="goodstype">
     <?php $leixing = types_admin(gameid($catid));?>
     <?php if(is_array($leixing)) { foreach($leixing as $i => $t) { ?>
        <dd><a gtid="100001" href="javascript:goSort('gtid',<?php echo $t['id'];?>);"><?php echo $t['title'];?> </a></dd>
     <?php } } ?>
      </dl>
    </div>
    <div id="ul_serverid_selected" class="sifting">
      <dl class="choose_title">
        <dt>游戏服务器：</dt>
      </dl>
      <dl class="gameservice " id="serverlist">
        <p class="quicksearch" style="display:none;">
          <input name="" type="text" id="txtServerSearch" value="请输入中文/拼音首字母" onFocus="this.value=''" onBlur="if(!value){value=defaultValue;}"/>
          <a id="btnServerSearch" href="javascript:void(0)">快速查找</a> </p>
        <?php if(is_array($maincat)) { foreach($maincat as $k => $v) { ?>
        <dd><a groupid="<?php echo $v['catid'];?>" href="<?php echo $MOD['linkurl'];?><?php echo $v['linkurl'];?>"><?php echo $v['catname'];?> </a></dd>
        <?php } } ?>
      </dl>
    </div>
    <a class="serviceshow" id="server_strHref" common="serverlist">全部显示</a> <?php if(is_array($PPT)) { foreach($PPT as $p) { ?>
    <div class="sifting">
      <dl class="choose_title">
        <dt><?php echo $p['name'];?>：</dt>
      </dl>
      <?php $tong = count($p['options']);?>
      <dl class="gameservice <?php if($tong<10) { ?>overflow<?php } ?>
" id="ppt_<?php echo $p['oid'];?>">
        <?php if(is_array($p['options'])) { foreach($p['options'] as $i => $o) { ?>
        <dd><a pid="<?php echo $p['oid'];?>"  href="javascript:goSort('ppt_<?php echo $p['oid'];?>','<?php echo urlencode($o);?>');"><?php echo $o;?> </a></dd>
        <?php } } ?>
      </dl>
    </div>
    <?php if($i>15) { ?> <a class="serviceshow" common="ppt_<?php echo $p['oid'];?>">全部显示</a> <?php } ?>
    
    <?php } } ?> </div>
  <!---------------------------------------------------灰色框筛选/寄/担/赔/价格----------------------------------------------------------->
  <div class="SortBox clearfix"> 
    <!-- <div class="yd">
          <a class="gb" href="javascript:void(0)">关闭</a>
      </div>  -->
    <div id="note" class="price_dic" onclick="closeclick()"><a onclick="closeclick()" class="dicclose" title="关闭" alt="关闭"></a></div>
    <div id="note2" class="price_dic6" onclick="closeclick()"><a onclick="closeclick()" class="dicclose2" title="关闭" alt="关闭"></a></div>
    <ul class="Sort_top">
      <li>只显示：</li>
      <li>
        <label>
          <input type="checkbox" title="货在<?php echo $DT['sitename'];?>，款到立即发货" href="#" onclick="javascript:goSort('plays',1);" class="Sort_top_checkbox" <?php if($plays==1) { ?>checked="checked"<?php } ?>
/>
          <i class="ico_ji">寄售交易</i></label>
      </li>
      <li>
        <label>
          <input type="checkbox" title="卖家发货，<?php echo $DT['sitename'];?>确认商品，保证安全" href="#" onclick="javascript:goSort('plays',2);" class="Sort_top_checkbox" <?php if($plays==2) { ?>checked="checked"<?php } ?>
/>
          <i class="ico_dan">担保交易</i></label>
      </li>
      <li>
        <label>
          <input type="checkbox" title="如果你付款后因卖家的原因撤销交易，您将获得5元赔款" href="#" onclick="javascript:goSort('pei',1);" class="Sort_top_checkbox" <?php if($plays==3) { ?>checked="checked"<?php } ?>
/>
          <i class="ico_pei">无货赔付</i></label>
      </li>
    </ul>
    <ul class="Sort_middle" id="price">
      <li>价格：</li>
      <li> <a  href="javascript:goSort('price',0);" class="blue">全部</a> <a href="javascript:goSort('price',1);" class="blue">1-50元</a> <a href="javascript:goSort('price',2);" class="blue">51-100元</a> <a href="javascript:goSort('price',3);" class="blue">101-300元</a> <a href="javascript:goSort('price',4);" class="blue">301-500元</a> <a href="javascript:goSort('price',5);" class="blue">501-999元</a> <a href="javascript:goSort('price',6);" class="blue">1000元以上</a> </li>
      <!--li>
        <input value="" id="priceFloor" type="text" class="SortBox_input_short" onclick="javascript:$('#btnOK').addClass('buy_qr_an_hover');"/>
      </li>
      <li class="blue">至</li>
      <li>
        <input value="" id="priceCeiling" type="text" class="SortBox_input_short" onclick="javascript:$('#btnOK').addClass('buy_qr_an_hover');" onblur="if($(this).val()!=='')$('#btnOK').trigger('click');"/>
      </li>
      <li><a href="javascript:void(0)" id="btnOK"  class="price_sort_an">确定</a></li-->
    </ul>
  </div>
  <div class="Sort_bottom">
    <ul>
      <li class="goods_info"><a class="rank_up" id="moren">默认排序</a><span class="goods_infotext">商品信息</span></li>
      <li class="goods_price" style=""> <a id="hlk_price" class="<?php if($prices==1) { ?>up_light<?php } else if($prices==2) { ?>down_light<?php } else { ?>up_gray<?php } ?>
">价格</a> </li>
      <li class="goods_num">库存</li>
      <li class="goods_ensure">服务保障</li>
      <li class="operate">操作</li>
    </ul>
  </div>
  <div class="boxshadow"></div>
  <!---------------------------------------------------无框游戏列表展示-----------------------------------------------------------> 
  <!--  --> 
  <?php if($page == 1) { ?><?php echo ad($moduleid,$catid,$kw,6);?><?php } ?>
  <?php if($tags) { ?><?php include template('list-mall', 'tag');?><?php } ?>
 </div>
<div class="clear"></div>
<!--  --> 
<?php include template('footer');?>
</body>
<script type="text/javascript" src="/skin/youxi/market/procurement/proList_2014_seo.js"></script>
</html>