summaryrefslogtreecommitdiff
path: root/www/functions/func_interface.php
blob: b7fbb5ffc7f64b559811b63531f1ff18175d01f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?

function show($db){
	$owner = user($db, $_GET["name"]);

	if(!$owner){
		failure("This user doesn't exist!");
	}

	$parentdir = select($db, $owner);
	
	$content = get_content($db, $parentdir, $owner);

	if(!content){
		failure("There is no data.");
	}

	var_dump($content);
}