+ // Is there a cache instance?
+ if (is_object($cacheInstance)) {
+ // Create cache name
+ $cacheName = "admin_".$act."_".$wht."_".GET_LANGUAGE()."_".strtolower(get_session('admin_login'));
+
+ // Is that cache there?
+ if ($cacheInstance->cache_file($cacheName, true)) {
+ // Then load it
+ $data = $cacheInstance->cache_load();
+
+ // Extract all parts
+ $OUT = base64_decode($data['output'][0]);
+ $menuTitle = unserialize(base64_decode($data['title'][0]));
+ $menuDescription = unserialize(base64_decode($data['descr'][0]));
+
+ // Return or output content?
+ if ($return) {
+ return $OUT;
+ } else {
+ OUTPUT_HTML($OUT);
+ }
+ } // END - if
+ } // END - if
+