add three data thumb

This commit is contained in:
wlx 2011-10-30 08:50:54 +00:00
parent 980a086833
commit 1157141d5a
1 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,8 @@ class HeiheController extends DataController
function indexAction()
{
$sql="select m.uuid,m.title,m.id,m.description from normalmetadata m left join thumbnail t on m.id=t.id where m.source='e3ad32dc-f573-11e0-aa7b-b768cfd88d80' and length(t.data)>2 order by random() limit 3";
$this->view->meatdata=$this->db->fetchAll($sql);
}
/*