Browse Source

目录结构错误调整

tags/6.2.1
tianya 2 years ago
parent
commit
4ec6d16ae5
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      src/apps/view.php
  2. +1
    -1
      src/system/common.func.php

+ 2
- 2
src/apps/view.php View File

@@ -69,7 +69,7 @@ if ($needMoney > 0 || $needRank > 1) {
showmsg('购买失败, 请返回', -1); showmsg('购买失败, 请返回', -1);
exit; exit;
} }
showmsg('购买成功,购买扣点不会重扣金币', '/plus/view.php?aid='.$aid);
showmsg('购买成功,购买扣点不会重扣金币', $GLOBALS['cfg_cmsurl'].'/apps/view.php?aid='.$aid);
exit; exit;
} else { } else {
showmsg('购买失败,请返回', -1); showmsg('购买失败,请返回', -1);
@@ -77,7 +77,7 @@ if ($needMoney > 0 || $needRank > 1) {
} }
} }
$msgtitle = "扣金币购买阅读"; $msgtitle = "扣金币购买阅读";
$moremsg = "浏览该文档需要付费<br>文档需要<span class='text-primary'>".$needMoney."金币</span>才能浏览,您目前金币<span class='text-primary'>".$cfg_ml->M_Money."</span>个<br><a href='/plus/view.php?aid=".$aid."&dopost=buy' target='_blank'>确认付点阅读</a>";
$moremsg = "浏览该文档需要付费<br>文档需要<span class='text-primary'>".$needMoney."金币</span>才能浏览,您目前金币<span class='text-primary'>".$cfg_ml->M_Money."</span>个<br><a href='{$GLOBALS['cfg_cmsurl']}/apps/view.php?aid=".$aid."&dopost=buy' target='_blank'>确认付点阅读</a>";
include_once($cfg_basedir.$cfg_templets_dir."/plus/view_msg.htm"); include_once($cfg_basedir.$cfg_templets_dir."/plus/view_msg.htm");
$arc->Close(); $arc->Close();
exit(); exit();


+ 1
- 1
src/system/common.func.php View File

@@ -519,7 +519,7 @@ function AddFilter($channelid, $type=1, $fieldsnamef=array(), $defaulttid=0, $to
} }
$fieldsnamef = count($fieldsnamef) > 0 ? implode(",", $fieldsnamef) : $fieldsnamef; $fieldsnamef = count($fieldsnamef) > 0 ? implode(",", $fieldsnamef) : $fieldsnamef;
$nofilter = (isset($_REQUEST['TotalResult']) ? "&TotalResult=".$_REQUEST['TotalResult'] : '').(isset($_REQUEST['PageNo']) ? "&PageNo=".$_REQUEST['PageNo'] : ''); $nofilter = (isset($_REQUEST['TotalResult']) ? "&TotalResult=".$_REQUEST['TotalResult'] : '').(isset($_REQUEST['PageNo']) ? "&PageNo=".$_REQUEST['PageNo'] : '');
$filterarr = string_filter(stripos($_SERVER['REQUEST_URI'], "list.php?tid=") ? str_replace($nofilter, '', $_SERVER['REQUEST_URI']) : $GLOBALS['cfg_cmsurl']."/plus/list.php?tid=".$tid);
$filterarr = string_filter(stripos($_SERVER['REQUEST_URI'], "list.php?tid=") ? str_replace($nofilter, '', $_SERVER['REQUEST_URI']) : $GLOBALS['cfg_cmsurl']."/apps/list.php?tid=".$tid);
$cInfos = $dsql->GetOne("SELECT * FROM `#@__channeltype` WHERE id='$channelid'"); $cInfos = $dsql->GetOne("SELECT * FROM `#@__channeltype` WHERE id='$channelid'");
$fieldset=$cInfos['fieldset']; $fieldset=$cInfos['fieldset'];
$dtp = new DedeTagParse(); $dtp = new DedeTagParse();


Loading…
Cancel
Save