if ($arrGWeb['URL_static']) { if (!empty($arrLink)) { $strLink = str_replace('=', '-', implode('-', $arrLink)); } } else { if (!empty($arrLink)) { $strLink = implode('&', $arrLink); } } //翻页跳转link $strPage = $objWebInit->makeInfoListPage($intRows, $strLink, $link_type = $arrGWeb['URL_static']); if (!is_array($arrMType) || empty($arrMType)) { $arrMType = $objWebInit->getTypeList(); $arrMType = $objWebInit->formatTypeList(0, $arrMType); } //获取页面标题 if (!empty($arrMOutput["smarty_assign"]['strTypeTitle'])) { $strTitle = $arrMOutput["smarty_assign"]['strTypeTitle']; } else { $strTitle = ''; } // 输出到模板 $arrMOutput["smarty_assign"]['arrMType'] = $arrMType; $arrMOutput["smarty_assign"]['arrInfoList'] = $arrInfoList; $arrMOutput["smarty_assign"]['strPage'] = $strPage; $arrMOutput['smarty_assign']['Title'] = $strTitle . '列表' . $intPage . ' - ' . $arrGWeb['name']; $arrMOutput['smarty_assign']['Description'] = $arrMOutput['smarty_assign']['Title']; $arrMOutput['smarty_assign']['Keywords'] = $arrMOutput['smarty_assign']['Title']; $arrMOutput["smarty_assign"]['MAIN'] = $arrGSmarty['main_dir'] . 'list.html'; $objWebInit->output($arrMOutput);