|
@@ -81,7 +81,7 @@ function obtainfilter($channelid, $type = 1, $fieldsnamef = '', $defaulttid = 0, |
|
|
$tidsq = $dsql->GetOne("SELECT * FROM `#@__archives` WHERE id='$arcid'");
|
|
|
$tidsq = $dsql->GetOne("SELECT * FROM `#@__archives` WHERE id='$arcid'");
|
|
|
$tid = $toptid == 0 ? $tidsq["typeid"] : $tidsq["topid"];
|
|
|
$tid = $toptid == 0 ? $tidsq["typeid"] : $tidsq["topid"];
|
|
|
}
|
|
|
}
|
|
|
$nofilter = (isset($_REQUEST['Totalnewimg']) ? "&Totalnewimg=".$_REQUEST['Totalnewimg'] : '').(isset($_REQUEST['PageNo']) ? "&PageNo=".$_REQUEST['PageNo'] : '');
|
|
|
|
|
|
|
|
|
$nofilter = (isset($_REQUEST['TotalResult']) ? "&TotalResult=".$_REQUEST['TotalResult'] : '').(isset($_REQUEST['PageNo']) ? "&PageNo=".$_REQUEST['PageNo'] : '');
|
|
|
$filterarr = stripos($_SERVER['REQUEST_URI'], "list.php?tid=") ? str_replace($nofilter, '', $_SERVER['REQUEST_URI']) : $GLOBALS['cfg_cmsurl']."apps/list.php?tid=".$tid;
|
|
|
$filterarr = 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'];
|
|
|