static function list_cate($cate = "_cate_all") { $domain = "global"; $kv = new kv($domain); $keys = $kv->allkeys("global"); return $keys; }
function action_files() { global $config; global $data; global $tUser; $config["use_layout"] = false; $kv = new kv("sys"); $keys = $kv->allkeys("user.{$tUser}.files"); $data["files"] = array_reverse($keys); v(); }