public function onLoad($param) { parent::onLoad($param); $this->showDashboard = true; $this->createObj('dmaster'); $this->createObj('obat'); if (!$this->IsPostBack && !$this->IsCallBack) { if (!isset($_SESSION['currentPageHome']) || $_SESSION['currentPageHome']['page_name'] != 'sp.Home') { } } }
public function onLoad($param) { parent::onLoad($param); if (!$this->IsPostBack && !$this->IsCallBack) { if (!isset($_SESSION['currentPageProfile']) || $_SESSION['currentPageProfile']['page_name'] != 'Profiles') { $_SESSION['currentPageProfile'] = array('page_name' => 'Profiles', 'page_num' => 0, 'roles' => 'none', 'search' => false); } $this->userPhoto->ImageUrl = $this->setup->getAddress() . '/' . $_SESSION['foto']; $this->path_userimages->Value = $_SESSION['foto']; $this->populateData(); } }