getOneStorejoinin(array('member_id' => session('member_id'))); View::assign('joinin_detail', $joinin_detail); //入驻信息 View::assign('pic_list', $info['pic']); //首页图片 View::assign('show_txt', $info['show_txt']); //贴心提示 $help_model = model('help'); $condition = array(); $condition[] = array('helptype_id', '=', 1); //入驻指南 $help_list = $help_model->getHelpList($condition, '', 4); //显示4个 //获取第一文章分类的前三篇文章 $index_articles = Db::name('article')->where('ac.ac_code', 'notice')->where('a.article_show', 1)->alias('a')->field('a.article_id,a.article_url,a.article_title')->order('a.article_sort asc,a.article_time desc')->limit(5)->join('articleclass ac', 'a.ac_id=ac.ac_id')->select()->toArray(); View::assign('index_articles', $index_articles); View::assign('help_list', $help_list); View::assign('article_list', ''); //底部不显示文章分类 View::assign('show_sign', 'joinin'); View::assign('html_title', config('ds_config.site_name') . ' - ' . lang('tenants')); return View::fetch($this->template_dir . 'index'); } }