Browse Source

Update common.func.php

tags/6.3.0
叙述、别离 6 months ago
parent
commit
ca9b7b7984
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/system/common.func.php

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

@@ -577,7 +577,7 @@ if (!function_exists('obtainimgs')) {
foreach($imgsrc_arr as $imgsrc)
{
if ($i == $num) break;
$result .= "<img src=\"$imgsrc\">";
$result .= "$imgsrc";
$i++;
}
return $result;
@@ -594,7 +594,7 @@ function obtainfilter($channelid, $type = 1, $fieldsnamef = '', $defaulttid = 0,
$tid = $toptid==0 ? $tidsq["typeid"] : $tidsq["topid"];
}
$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']) : "/apps/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();


Loading…
Cancel
Save