aboutsummaryrefslogtreecommitdiff
path: root/search.php
diff options
context:
space:
mode:
Diffstat (limited to 'search.php')
-rw-r--r--search.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/search.php b/search.php
new file mode 100644
index 000000000..2899d2c3f
--- /dev/null
+++ b/search.php
@@ -0,0 +1,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);
+
+?> \ No newline at end of file