modified.
This commit is contained in:
parent
2963e96385
commit
5edd9f8760
1 changed files with 1 additions and 0 deletions
|
@ -126,6 +126,7 @@ $page = mysql_clean($_GET['page']);
|
||||||
$get_limit = create_query_limit($page,MAINPLIST);
|
$get_limit = create_query_limit($page,MAINPLIST);
|
||||||
$clist = $cond;
|
$clist = $cond;
|
||||||
$clist['limit'] = $get_limit;
|
$clist['limit'] = $get_limit;
|
||||||
|
$clist ['order'] = " last_viewed DESC ";
|
||||||
$photos = get_photos($clist);
|
$photos = get_photos($clist);
|
||||||
|
|
||||||
Assign('photos', $photos);
|
Assign('photos', $photos);
|
||||||
|
|
Loading…
Add table
Reference in a new issue