aboutsummaryrefslogtreecommitdiff
path: root/search.php
blob: 2899d2c3f32032c6036e1637ed6c64eeeb4e048e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php

	include_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
	
	// Set context
	set_context('search');
	
	// Get user guid
	$guid = get_input('guid');
	
	$user = get_entity($guid);
//	if ($user)
//		$user->name;
		
	$title = $user->name;
	
	
	$body = elgg_view_title($title); 
	$body .= list_entities_from_relationship('phototag', $guid, false, 'object', 'image'); 
	$body = elgg_view_layout('two_column_left_sidebar','',$body);

	page_draw($title,$body);

?>