摘要: //无限极分类 展示 function getree($arr,$pid,$step){ global $tree; foreach ($arr as $key => $value) { if ($value['pid']==$pid) { $temp=str_repeat('└―', $step); $value['name']=$temp.$value['name'];... 阅读全文
posted @ 2018-05-10 17:40 zhuzhipeng 阅读(221) 评论(0) 推荐(0) 编辑
摘要: private $db; private $content_model; public function __construct() { parent::__construct (); $this->content_model = pc_base::load_model('content_model'); $this->siteid = 1; } public function add... 阅读全文
posted @ 2018-05-10 17:02 zhuzhipeng 阅读(207) 评论(0) 推荐(0) 编辑