| | |
| | | |
| | | /* 按知识点搜索 */ |
| | | if ($know_id > 0) { |
| | | $condition .= " AND (a.knowledge_pid='{$know_id}' OR a.knowledge_id='{$know_id}')"; |
| | | $condition .= " AND (FIND_IN_SET('{$know_id}',a.knowledge_pid) OR FIND_IN_SET('{$know_id}',a.knowledge_id) )"; |
| | | $nowknow = pdo_fetch("SELECT name FROM " . tablename("fy_lesson_knowledge_point") . " WHERE uniacid='{$uniacid}' AND id='{$know_id}'"); |
| | | $knowledgename = $nowknow['name']; |
| | | } else { |
| | |
| | | </ul> |
| | | <!-- 推荐二级分类 --> |
| | | <ul name="nav_st2" class="nav_menu" {if !$_GPC['knowledge_pid']}style="display:block;"{/if}"> |
| | | <a href="{php echo $this->createMobileUrl('search')}}&searchtype={$searchtype}&keyword={$keyword}&sort={$sort}&cat_id={$cat_id}&pid={$pid}&attr1={$attr1}&attr2={$attr2}"> |
| | | <a href="{php echo $this->createMobileUrl('search')}&searchtype={$searchtype}&keyword={$keyword}&sort={$sort}&cat_id={$cat_id}&pid={$pid}&attr1={$attr1}&attr2={$attr2}"> |
| | | <li class="nav_menu_item {if !$_GPC['knowledge_id']}nav_menu_item_selected{/if}">全部</li> |
| | | </a> |
| | | {loop $hot_knowledge $hot} |