|
|
@@ -37,7 +37,7 @@ if ($open == 0) { |
|
|
|
include_once(DEDEINC.'/taglib/channel/softlinks.lib.php');
|
|
|
|
$ctag = '';
|
|
|
|
$downlinks = ch_softlinks($row[$vname], $ctag, $cu, '', TRUE);
|
|
|
|
require_once(DEDETEMPLATE.'/plus/download_links_templet.htm');
|
|
|
|
require_once(DEDETEMPLATE.'/apps/download_links_templet.htm');
|
|
|
|
exit();
|
|
|
|
}
|
|
|
|
//提供软件给会员下载旧模式
|
|
|
@@ -167,7 +167,7 @@ else if ($open == 2) { |
|
|
|
$memberTypes[0] = "游客";
|
|
|
|
$msgtitle = "您没有权限下载软件:{$arctitle}";
|
|
|
|
$moremsg = "这个软件需要<span class='text-primary'>".$memberTypes[$needRank]."</span>才能下载,您目前等级是<span class='text-primary'>".$memberTypes[$cfg_ml->M_Rank]."</span>";
|
|
|
|
include_once(DEDETEMPLATE.'/plus/view_msg.htm');
|
|
|
|
include_once(DEDETEMPLATE.'/apps/view_msg.htm');
|
|
|
|
exit();
|
|
|
|
}
|
|
|
|
//以下为正常情况,自动扣点数
|
|
|
@@ -181,7 +181,7 @@ else if ($open == 2) { |
|
|
|
if ($needMoney > $cfg_ml->M_Money || $cfg_ml->M_Money == '') {
|
|
|
|
$msgtitle = "您没有权限下载软件:{$arctitle}";
|
|
|
|
$moremsg = "该软件需要<span class='text-primary'>".$needMoney."</span>金币才能下载,您目前金币<span class='text-primary'>".$cfg_ml->M_Money."</span>";
|
|
|
|
include_once(DEDETEMPLATE.'/plus/view_msg.htm');
|
|
|
|
include_once(DEDETEMPLATE.'/apps/view_msg.htm');
|
|
|
|
exit(0);
|
|
|
|
}
|
|
|
|
//有足够金币,记录会员信息
|
|
|
|