提交 e6afd628 编写于 作者: huangxuan258's avatar huangxuan258

默认的default主题和fronzewap移动端主题更新老的问题库和专栏页面,跳转到新的问题库和专栏模板页面

上级 858674a0
......@@ -11,7 +11,9 @@ class Newpage extends CI_Controller {
$this->load->model ( 'question_model' );
}
function index() {
$url=url("ask/index");
header("Location: $url");
exit();
$navtitle = "站内问题库列表_";
$seo_description = $this->setting ['site_name'] . '最近更新相关内容。';
$seo_keywords = '站内问题库列表';
......
......@@ -566,7 +566,9 @@ class Topic extends CI_Controller {
exit ();
}
function index() {
$url=url("seo/index");
header("Location: $url");
exit();
$navtitle = "最新文章专栏推荐";
$seo_description = "推荐问答最新文章专栏,热门文章和最新文章推荐。";
$seo_keywords = "问答文章专栏";
......
......@@ -34,9 +34,9 @@
<div class="ask-logo"><a href="{SITE_URL}" target="_blank"><img src="{$setting['site_logo']}" alt=""></a></div>
<ul class="hnav clearfix">
<li class="<!--{if strstr('index/index',$regular)}--> current<!--{/if}-->"><a href="{SITE_URL}" >首页</a></li>
<li class="<!--{if strstr('new/default',$regular)}--> current<!--{/if}-->"><a href="{url newpage/index}" >问题库</a></li>
<li class="<!--{if strstr('ask/index',$regular)}--> current<!--{/if}-->"><a href="{url ask/index}" >问题库</a></li>
<li class="<!--{if strstr('expert/index',$regular)}--> current<!--{/if}-->"><a href="{url expert/index}" >专家</a></li>
<li class="<!--{if strstr('topic/default',$regular)}--> current<!--{/if}-->"><a href="{url topic/default}" >专栏</a></li>
<li class="<!--{if strstr('seo/index',$regular)}--> current<!--{/if}-->"><a href="{url seo/index}" >专栏</a></li>
</ul>
<div class="searchbox">
......
......@@ -54,9 +54,9 @@
</li>
<li>
<a href="{url topic/default}">
<i class="fa fa-sticky-note-o <!--{if $regular=='topic/default'}--> current<!--{/if}-->" style="line-height: 34px;"></i>
<div class="ui-txt-muted <!--{if $regular=='topic/default'}--> current<!--{/if}-->"><h6>专栏</h6></div>
<a href="{url seo/index}">
<i class="fa fa-sticky-note-o <!--{if $regular=='seo/index'}--> current<!--{/if}-->" style="line-height: 34px;"></i>
<div class="ui-txt-muted <!--{if $regular=='seo/index'}--> current<!--{/if}-->"><h6>专栏</h6></div>
</a>
</li>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册