添加分平台介绍页面
This commit is contained in:
parent
0fe53a674b
commit
a3d2103fdc
|
@ -84,6 +84,11 @@ class AboutController extends Zend_Controller_Action
|
||||||
$archives=new Archive($this->db);
|
$archives=new Archive($this->db);
|
||||||
$this->view->item=$archives->getOneArchive('支持项目','about');
|
$this->view->item=$archives->getOneArchive('支持项目','about');
|
||||||
}
|
}
|
||||||
|
function subAction()
|
||||||
|
{
|
||||||
|
$archives=new Archive($this->db);
|
||||||
|
$this->view->item=$archives->getOneArchive('本站介绍','about');
|
||||||
|
}
|
||||||
function publicationAction()
|
function publicationAction()
|
||||||
{
|
{
|
||||||
$ac = $this->_request->getParam("ac");
|
$ac = $this->_request->getParam("ac");
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
<div class="sidebar-nav bs-review-nav">
|
<div class="sidebar-nav bs-review-nav">
|
||||||
<ul class="nav nav-list bs-review-sidenav">
|
<ul class="nav nav-list bs-review-sidenav">
|
||||||
<li id="Nav-about-index"><a href="/about/"><i class="icon-chevron-right"></i>简介</a></li>
|
<li id="Nav-about-index"><a href="/about/"><i class="icon-chevron-right"></i>平台简介</a></li>
|
||||||
|
<li id="Nav-about-sub"><a href="/about/sub"><i class="icon-chevron-right"></i>本站介绍</a></li>
|
||||||
<li id="Nav-about-sponsors"><a href="/about/sponsors"><i class="icon-chevron-right"></i>支持项目</a></li>
|
<li id="Nav-about-sponsors"><a href="/about/sponsors"><i class="icon-chevron-right"></i>支持项目</a></li>
|
||||||
<li id="Nav-about-supportus"><a href="/about/supportus"><i class="icon-chevron-right"></i>支持我们</a></li>
|
<li id="Nav-about-supportus"><a href="/about/supportus"><i class="icon-chevron-right"></i>支持我们</a></li>
|
||||||
<li id="Nav-about-contact"><a href="/about/contact"><i class="icon-chevron-right"></i>联系我们</a></li>
|
<li id="Nav-about-contact"><a href="/about/contact"><i class="icon-chevron-right"></i>联系我们</a></li>
|
||||||
|
|
|
@ -0,0 +1,21 @@
|
||||||
|
<?php
|
||||||
|
$this->headTitle($this->config->title->site);
|
||||||
|
$this->headTitle('本站介绍');
|
||||||
|
$this->headTitle()->setSeparator(' - ');
|
||||||
|
$this->headLink()->appendStylesheet('/css/about.css');
|
||||||
|
$this->breadcrumb('<a href="/">首页</a>');
|
||||||
|
$this->breadcrumb('<a href="/about">关于本站</a>');
|
||||||
|
$this->breadcrumb('本站介绍');
|
||||||
|
$this->breadcrumb()->setSeparator(' > ');
|
||||||
|
?>
|
||||||
|
<div class="row">
|
||||||
|
<div class="span3">
|
||||||
|
<?= $this->partial('about/navi.phtml'); ?>
|
||||||
|
</div>
|
||||||
|
<div class="span9">
|
||||||
|
<div id="content">
|
||||||
|
<h2>本站介绍</h2>
|
||||||
|
<?= $this->item['body']; ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
Loading…
Reference in New Issue