Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
 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'];
         }
     }
 }
Ejemplo n.º 3
0
 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);
     }
 }
Ejemplo n.º 4
0
 public function __construct()
 {
     parent::__construct(true);
 }
Ejemplo n.º 5
0
 public function __construct()
 {
     parent::__construct(true);
     echo '你现在的IP地址是:', $this->fun->getIP();
     exit;
 }
Ejemplo n.º 6
0
 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');
 }
Ejemplo n.º 7
0
 public function __construct()
 {
     parent::__construct(true);
     $this->orders_default_value();
 }