更新分类新闻列表的分平台控制
This commit is contained in:
parent
fb0bfea245
commit
47f6483e69
|
@ -132,6 +132,7 @@ class ArchivesController extends Zend_Controller_Action
|
|||
left join ".$News->tbl_catalog." ct on ct.aid=n.id
|
||||
left join ".$News->tbl_categorys." c ON ct.cid=c.id
|
||||
WHERE c.id='{$row['id']}' AND n.ts_published<'".$time."' AND n.is_pub=true
|
||||
and n.sub='$this->subnews'
|
||||
ORDER BY n.ts_published DESC";
|
||||
|
||||
$rs = $this->db->query($sql);
|
||||
|
|
Loading…
Reference in New Issue