private static function hackPress($row) { if (defined(ADMIN_SUB_DISABLE) && ADMIN_SUB_DISABLE) { $session = new SC(); $us = $session->GetSession(ADMIN_SESSION_KEY); $hack = unserialize($us['role'][0]['subpermiss']); if (!is_array($hack)) { return $row; } foreach ($hack as $v) { if (array_key_exists($v, $row)) { $row[$v] = "*****"; } } } return $row; }