aboutsummaryrefslogtreecommitdiff
path: root/mostrecentimages.php
blob: edceb9cd416f30aebca922b1ba94b61a7fa44d86 (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
25
26
27
<?php

	/**
	 * Tidypics full view of an image
	 * Given a GUID, this page will try and display any entity
	 * 
	 */

	// Load Elgg engine
	include_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");

	$max = 8;
	$images = list_entities("object", "image", 0, $max, false, false, true);
	
	$title = "Most recent images";
	$area2 = elgg_view_title($title);
	
//	include_once(dirname(__FILE__) . "/notice.php");
//	$notice = tp_notice(); 
//	$area2 .= $notice->text;
	
	$area2 .= $images;
	$body = elgg_view_layout('two_column_left_sidebar', '', $area2);
	page_draw($title, $body);
	if($notice->showMessage == true) system_message($notice->text);
	
?>