public function __construct() { parent::__construct(); $this->name = new text(); $this->pass = new pass(); $this->message = ''; }
public function __construct() { parent::__construct(); security::logged_in(); $this->id = null; $arr = array(0 => '') + acc_ctrl::_load_account(); $this->acc_id = new sel($arr); $this->name = new text(); $this->total = 0; }
public function __construct() { parent::__construct(); $this->log = log::getInstance(); $valid_passwords = array("admin" => "admin"); $valid_users = array_keys($valid_passwords); $user = $_SERVER['PHP_AUTH_USER']; $pass = $_SERVER['PHP_AUTH_PW']; $this->isAdmin = in_array($user, $valid_users) && $pass == $valid_passwords[$user]; }
public function __construct() { parent::__construct(); security::logged_in(); $this->db = my_db::open(); $this->message = ''; $this->id = null; $this->name = new text(); $this->date = new text(); $this->entry = array(); $this->total = 0; $this->account = array(); $this->account = acc_ctrl::_load_account(); }
public function __construct() { parent::__construct(); security::logged_in(); $this->db = my_db::open(); }
public function __construct() { global $dbo; $dbo = parent::construct_emulator(); }
public function __construct() { parent::__construct(); }