add ptype category
This commit is contained in:
parent
a31fd7ca59
commit
dccbd2cad2
|
@ -170,7 +170,7 @@ class ArchivesController extends Zend_Controller_Action
|
||||||
$News = new Archive($this->db);
|
$News = new Archive($this->db);
|
||||||
$category = new ArchiveCategory($this->db);
|
$category = new ArchiveCategory($this->db);
|
||||||
|
|
||||||
$types = $category->GetCategory();
|
$types = $category->GetCategory(0,$ptype);
|
||||||
foreach($types as $k=>$v)
|
foreach($types as $k=>$v)
|
||||||
{
|
{
|
||||||
$parts = array(
|
$parts = array(
|
||||||
|
|
Loading…
Reference in New Issue