function view($lUserID) { //------------------------------------------------------------------------ // View User Record //------------------------------------------------------------------------ $this->load->helper('user/user_acct'); commonAcctView($lUserID, true, $displayData); }
function view($lUserID) { //--------------------------------------------------------------------- // //--------------------------------------------------------------------- global $glUserID, $gbVolLogin; $lUserID = (int) $lUserID; if ($gbVolLogin) { return; } // someone hacking the url? if ($lUserID != $glUserID) { $this->session->set_flashdata('error', '<b>ERROR:</b> User ID not valid!</font>'); redirect_More(); } $this->load->helper('user/user_acct'); commonAcctView($lUserID, false, $displayData); }