<?php 
defined('IN_TS') or die('Access Denied.');

$arrPhotos = $db->fetch_all_assoc("select * from ".dbprefix."photo order by photoid desc limit 60");

foreach($arrPhotos as $key=>$item){
	$arrPhoto[] = $item;
	$arrPhoto[$key]['user'] = aac('user')->getSimpleUser($item['userid']);
}

include template("pinte");