浏览代码

目录结构错误调整

tags/6.2.1
tianya 2 年前
父节点
当前提交
4ec6d16ae5
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. +2
    -2
      src/apps/view.php
  2. +1
    -1
      src/system/common.func.php

+ 2
- 2
src/apps/view.php 查看文件

@@ -69,7 +69,7 @@ if ($needMoney > 0 || $needRank > 1) {
showmsg('购买失败, 请返回', -1);
exit;
}
showmsg('购买成功,购买扣点不会重扣金币', '/plus/view.php?aid='.$aid);
showmsg('购买成功,购买扣点不会重扣金币', $GLOBALS['cfg_cmsurl'].'/apps/view.php?aid='.$aid);
exit;
} else {
showmsg('购买失败,请返回', -1);
@@ -77,7 +77,7 @@ if ($needMoney > 0 || $needRank > 1) {
}
}
$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");
$arc->Close();
exit();


+ 1
- 1
src/system/common.func.php 查看文件

@@ -519,7 +519,7 @@ function AddFilter($channelid, $type=1, $fieldsnamef=array(), $defaulttid=0, $to
}
$fieldsnamef = count($fieldsnamef) > 0 ? implode(",", $fieldsnamef) : $fieldsnamef;
$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'");
$fieldset=$cInfos['fieldset'];
$dtp = new DedeTagParse();


正在加载...
取消
保存