public function __construct() { parent::__construct(); $this->title_add = '添加预订退订单'; $this->title = '预订退订列表'; $this->reserveType = array('1' => '预订', '2' => '退订'); $this->selected_apply_user_id = I('get.apply_user_id'); $this->selected_type = I('get.type'); }
public function __construct() { parent::__construct(); $this->title_index = "用户列表"; $this->title_add = "添加用户"; $this->levels = array('1' => '一级', '2' => '二级', '3' => '三级'); $this->roleNames = D('Role')->getRoleNames(); //print_r($roles);exit; }
function __construct() { parent::__construct(); $this->colors = array('num_s' => '255,255,0', 'num_xs' => '255,0,0', 'num_m' => '0,0,128', 'num_l' => '0,100,0', 'num_xl' => '144,238,144', 'num_xxl' => '28,28,28'); $this->templates = '{ fillColor : "rgba(%s,0.5)", strokeColor : "rgba(220,220,220,0.8)", highlightFill: "rgba(%s,0.75)", highlightStroke: "rgba(220,220,220,1)", data : [%s] }'; }
public function __construct() { parent::__construct(); // 用户信息 $User = D('User'); $Cole = D('Collectless'); $Copl = D('Collectplan'); $inf = $User->where('id=' . $this->user_id)->deimg(); // 我的课程数 $lenum = $Cole->where('user_id=' . $this->user_id)->getNum(); $plnum = $Copl->where('user_id=' . $this->user_id)->getNum(); $this->assign('inf', $inf); $this->assign('lenum', $lenum); $this->assign('plnum', $plnum); }
public function __construct() { parent::__construct(); $this->db = M('article'); $this->content = M('article_content'); $this->article_cate = M('article_cate'); $this->img_upload = M('upload'); $this->comment = M('comment'); $click = $this->db->order('countclick desc')->limit(9)->select(); $this->assign('click', $click); $tuijian = $this->db->where(array('hot' => '1'))->order('addtime desc')->limit(8)->select(); $this->assign('tuijian', $tuijian); $cate = $this->article_cate->select(); $this->assign('cates', $cate); }
public function __construct() { parent::__construct(); }
public function __construct() { $this->cid = I('get.cid', 'intval'); $this->category_model = D('Category'); parent::__construct(); }
public function __construct() { parent::__construct(); $this->title = '出货记录列表'; }
public function __construct() { parent::__construct(); $this->retailer_payment_status = C('retailer_payment_status'); }
public function __construct() { parent::__construct(); $this->levels = array('1' => '一级', '2' => '二级', '3' => '三级'); $this->roleNames = D('Role')->getRoleNames(); }
public function __construct() { parent::__construct(); $this->title = '供应商付款待审核列表'; $this->search_status_default = 2; }
public function __construct() { parent::__construct(); $this->title = '供应商付款待审核列表'; }