<?php
if(!defined('InEmpireCMS'))
{
	exit();
}
?><!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=gb2312" />
<title><?=$grpagetitle?>--
<?=$public_r[sitename]?>
</title>
<meta name="keywords" content="<?=$ecms_gr[keyboard]?>" />
<meta name="description" content="<?=$grpagetitle?> " />
<link href="/skin/ecms011/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/skin/ecms011/js/jquery.js"></script>
<script type="text/javascript" src="/skin/ecms011/js/common.js"></script>
</head>

<body>
<div class="header">
	<div class="logo">
    <img src="/skin/ecms011/images/logo.png" alt="<?=$public_r[sitename]?>">
    </div>
    <div class="search_box">
    <form onsubmit="return checkSearchForm()" method="post" class="search_form" name="searchform" action="/e/search/index.php">
      <input type="hidden" value="title" name="show">
      </input>
      <input type="hidden" value="1" name="tempid">
      </input>
      <input type="hidden" value="article" name="tbname">
      </input>
      <label class="soicon"></label>
      <input type="text" name="keyboard" class="sinput" placeholder="输入 回车搜索" autofocus x-webkit-speech>
      <input type="submit" value="搜索" class="sbtn">
      <input name="mid" value="1" type="hidden">
      <input name="dopost" value="search" type="hidden">
    </form>
  </div>
    <div class="usercp">
    <script src="/e/member/login/loginjs.php"></script>
    </div>
</div>
<div class="menu">
<ul>
        <li class="<?=$GLOBALS[navclassid]==0?'current':''?>"><a href="/">首页</a></li>
        <?php
$bqno=0;
$ecms_bq_sql=sys_ReturnEcmsLoopBq("select classid,classname from {$dbtbpre}enewsclass where bclassid=0 order by myorder,classid asc",0,24,0);
if($ecms_bq_sql){
while($bqr=$empire->fetch($ecms_bq_sql)){
$bqsr=sys_ReturnEcmsLoopStext($bqr);
$bqno++;
?>
        <?php
$classurl=sys_ReturnBqClassname($bqr,9);//取得栏目地址
$class="";
if($GLOBALS[navclassid])
{
$fcr=explode('|',$class_r[$GLOBALS[navclassid]][featherclass]);
$topbclassid=$fcr[1]?$fcr[1]:$GLOBALS[navclassid];//取得当前栏目的一级栏目ID
if($bqr[classid]==$topbclassid)
{
$class="current";
}
}
?>
        <li class="<?=$class?>"><a href="<?=$classurl?>">
          <?=$bqr[classname]?>
          </a><?php
}
}
?>
      </ul>
</div>
<div class="content clearfix">
  <h1 class="b-title">当前位置<?=$grurl?></h1>
<div class="ad"><script src=/d/js/acmsd/thea8.js></script></div>
<div class="nav2">
<span><a href="/<?=$class_r[$topbclassid][classpath]?>">全部</a></span>
<?
$nclassid =$GLOBALS[navclassid];//获取当前栏目ID
$bclassid = $class_r[$GLOBALS[navclassid]][bclassid]; //获取当前父栏目ID
$islast=$empire->fetch1("select * from {$dbtbpre}enewsclass where classid='$nclassid'"); //判断当前栏目是否是终极栏目
if($islast[islast]==1){
?>
<?php
$bqno=0;
$ecms_bq_sql=sys_ReturnEcmsLoopBq("select classid,classname from {$dbtbpre}enewsclass where bclassid='$bclassid'  and showclass=0 order by myorder,classid desc",0,24,0);
if($ecms_bq_sql){
while($bqr=$empire->fetch($ecms_bq_sql)){
$bqsr=sys_ReturnEcmsLoopStext($bqr);
$bqno++;
?>
    <?php
    $classurl=sys_ReturnBqClassname($bqr,9);//取得栏目地址
    $class="";
    if($GLOBALS[navclassid])
    {
        $fcr=explode('|',$class_r[$GLOBALS[navclassid]][featherclass]);
        $topbclassid=$fcr[2]?$fcr[2]:$GLOBALS[navclassid];//取得当前栏目的一级栏目ID
        if($bqr[classid]==$topbclassid)
        {
            $class="background-color:#6CCF0A;";
        }
    }
    ?>
      
      <a style="<?=$class?>" href="<?=$classurl?>"><?=$bqr[classname]?></a>
    <?php
}
}
?>
<?
}else{
?>
<?php
$bqno=0;
$ecms_bq_sql=sys_ReturnEcmsLoopBq("select classid,classname from {$dbtbpre}enewsclass where bclassid='$nclassid'  and showclass=0 order by myorder,classid desc",0,24,0);
if($ecms_bq_sql){
while($bqr=$empire->fetch($ecms_bq_sql)){
$bqsr=sys_ReturnEcmsLoopStext($bqr);
$bqno++;
?>
    <?php
    $classurl=sys_ReturnBqClassname($bqr,9);//取得栏目地址
    $class="";
    if($GLOBALS[navclassid])
    {
        $fcr=explode('|',$class_r[$GLOBALS[navclassid]][featherclass]);
        $topbclassid=$fcr[2]?$fcr[2]:$GLOBALS[navclassid];//取得当前栏目的一级栏目ID
        if($bqr[classid]==$topbclassid)
        {
            $class="background-color:#6CCF0A;";
        }
    }
    ?>
      
      <a style="<?=$class?>" href="<?=$classurl?>"><?=$bqr[classname]?></a>
    <?php
}
}
?>
<?
}
?>
</div>

  <div class="downInfo sbox clearfix">
    <div class="img"><img src="<?=empty($ecms_gr[titlepic])?$public_r[newsurl].'e/data/images/notimg.gif':$ecms_gr[titlepic]?>"></div>
    <div class="txt">
      <h1><?=$ecms_gr[title]?></h1>
      <div class="listline"></div>
<?
if ($public_r['add_fbrq']==1){
	$fbrq="<script language='JavaScript'>var mydate = new Date(); var m = mydate.getMonth() + 1; if(m-10<0) m = '0' + m;  var d = mydate.getDate() - 1; if(d-10<0) d = '0' + d; document.write(m + '-' + d)</script>";
}else{
	$fbrq=date('m-d',$ecms_gr[newstime]);
}
?>
      <div class="info clearfix"> <span>更新时间：2014-<?=$fbrq?></span> <span>软件大小：<?=$ecms_gr[rjdx]?></span> <span>界面语言：<?=$ecms_gr[jmyy]?></span> <span>运行环境：<?=$ecms_gr[yxhj]?></span> <span>授权方式：<?=$ecms_gr[sqfs]?></span><span>下载次数：<script src=/e/public/ViewClick/?classid=<?=$ecms_gr[classid]?>&id=<?=$ecms_gr[id]?>&down=1></script></span> </div>
      <div class="listline"></div>
      <div class="share">
        <div id="bdshare" class="bdshare_t bds_tools_32 get-codes-bdshare"> <a class="bds_tsina"></a> <a class="bds_tieba"></a> <a class="bds_qzone"></a> <a class="bds_renren"></a> <a class="bds_hi"></a> <span class="bds_more"></span> <a class="shareCount"></a> </div>
      </div>
    </div>
  </div>
</div>
<div class="content clearfix" style="position:relative;">
  <div class="cLeft">
    <h1 class="b-title">下载地址</h1>
    <div class="downUrl sbox clearfix">
      <p>本地下载可能很慢，强烈建议使用迅雷或网盘下载！</p>
      <?=ReturnDownSoftHtml($ecms_gr)?> </div>
<div class="ad3"><script src=/d/js/acmsd/thea13.js></script></div>
    <h1 class="b-title">系统介绍</h1>
    <div class="downContent sbox clearfix"> <?=strstr($ecms_gr[newstext],'[!--empirenews.page--]')?'[!--newstext--]':$ecms_gr[newstext]?> </div>
<div class="ad3"><script src=/d/js/acmsd/thea14.js></script></div>
    <h1 class="b-title">发表评论</h1>
    <div class="downUrl sbox clearfix">
      <!-- 多说评论框 start -->
	<div class="ds-thread" data-category="<?=$ecms_gr[classid]?>" data-thread-key="<?=$ecms_gr[id]?>" data-title="<?=$ecms_gr[title]?>"></div>
<!-- 多说评论框 end -->
 </div>

  </div>
  <div class="cRgiht" id="scroll">
<div class="ad2"><script src=/d/js/acmsd/thea10.js></script></div>
    <h1 class="b-title"><a href="javascript:void(0);" target="_blank">最新列表</a></h1>
    <div class="downList sbox clearfix">
      <ul>
        <?php
$bqno=0;
$ecms_bq_sql=sys_ReturnEcmsLoopBq('article',6,18,0);
if($ecms_bq_sql){
while($bqr=$empire->fetch($ecms_bq_sql)){
$bqsr=sys_ReturnEcmsLoopStext($bqr);
$bqno++;
?>
        <li><a href="<?=$bqsr['titleurl']?>">
          <?=$bqno?>.
          <?=$bqr['title']?>
          </a></li>
        <?php
}
}
?>
      </ul>
    </div>
<div class="ad2"><script src=/d/js/acmsd/thea11.js></script></div>
    <h1 class="b-title"><a href="javascript:void(0);" target="_blank">最热列表</a></h1>
    <div class="downList sbox clearfix">
      <ul>
        <?php
$bqno=0;
$ecms_bq_sql=sys_ReturnEcmsLoopBq('article',6,19,0);
if($ecms_bq_sql){
while($bqr=$empire->fetch($ecms_bq_sql)){
$bqsr=sys_ReturnEcmsLoopStext($bqr);
$bqno++;
?>
        <li><a href="<?=$bqsr['titleurl']?>">
          <?=$bqno?>.
          <?=$bqr['title']?>
          </a></li>
        <?php
}
}
?>
      </ul>
    </div>
<div class="ad2"><script src=/d/js/acmsd/thea12.js></script></div>
  </div>
</div>
<div class="ad"><script src=/d/js/acmsd/thea9.js></script></div>
<div class="footer">
    <p>本站发布的系统仅为个人学习测试使用，请在下载后24小时内删除，不得用于任何商业用途，否则后果自负，请支持购买微软正版软件！</p>
    <p>Copyright &copy; 2010-2013 Win7之家. All Rights Reserved.</p>
    
</div>
<div style="display:none"><!--统计代码开始-->统计代码放这里<!--统计代码结束--></div>


<!-- 多说公共JS代码 start (一个网页只需插入一次) -->
<script type="text/javascript">
var duoshuoQuery = {short_name:"<?=$public_r['add_duoshuo']?>"};
	(function() {
		var ds = document.createElement('script');
		ds.type = 'text/javascript';ds.async = true;
		ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
		ds.charset = 'UTF-8';
		(document.getElementsByTagName('head')[0] 
		 || document.getElementsByTagName('body')[0]).appendChild(ds);
	})();
	</script>
<!-- 多说公共JS代码 end --> 
<script type="text/javascript" id="bdshare_js" data="type=tools&amp;uid=0" ></script> 
<script type="text/javascript" id="bdshell_js"></script> 
<script type="text/javascript">
document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + Math.ceil(new Date()/3600000)
</script>
</body>
</html>