aboutsummaryrefslogtreecommitdiff
path: root/mostrecentimages.php
blob: 8cc4a1f51ef128c1b92c2cfd9cef77ea04147edd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?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);
	$area2 .= $images;
	$body = elgg_view_layout('two_column_left_sidebar', '', $area2);
	page_draw($title, $body);
?>