public function __construct() { parent::__construct(true); $this->role = $this->db->select_to_2Array("select id,name from role where is_work='Y' order by time asc"); $this->sma->assign('role', $this->role); $this->group = $this->db->select_to_2Array("select id,name from proxy_group order by taxis,time asc"); $this->sma->assign('group', $this->group); }
public function __construct() { parent::__construct(true); $_SESSION['proxy']['mobile'] = false; if (($mob = $this->db->select_to_1Array("select content from proxy_nab where proxy_id='{$_SESSION['proxy']['id']}' and type='mobile' and is_default='Y'")) != false) { if ($this->fun->IsPhone($mob['content'])) { $_SESSION['proxy']['mobile'] = $mob['content']; } } }
public function __construct() { parent::__construct(true); if (!$this->BTP[$this->get['open']][$this->get['action']]) { $this->fun->Msg($this->BTP_Words); } if ($show = $this->db->select_to_2Array("select currency,exchange from exchange")) { foreach ($show as $key => $val) { $SHOW[$val['currency']] = $val['exchange']; } unset($show); $this->sma->assign('show', $SHOW); } }
public function __construct() { parent::__construct(true); }
public function __construct() { parent::__construct(true); echo '你现在的IP地址是:', $this->fun->getIP(); exit; }
public function __construct() { parent::__construct(true); $this->allow_view = array('price', 'ProID', 'shape', 'weight', 'color', 'clarity', 'cut', 'polish', 'symmetry', 'FLR', 'scalar_value', 'depth', 'table', 'cert', 'certNO'); }
public function __construct() { parent::__construct(true); $this->orders_default_value(); }