modified.
This commit is contained in:
parent
4ccf34d64a
commit
e573948166
1 changed files with 19 additions and 8 deletions
|
@ -48,7 +48,8 @@ if($cbcollection->is_viewable($c))
|
||||||
}
|
}
|
||||||
|
|
||||||
// Calling nesscary function for view collection
|
// Calling nesscary function for view collection
|
||||||
call_view_collection_functions($cdetails[0]);
|
call_view_collection_functions($cdetails);
|
||||||
|
|
||||||
$total_pages = count_pages($count,COLLIP);
|
$total_pages = count_pages($count,COLLIP);
|
||||||
//Pagination
|
//Pagination
|
||||||
//$pages->paginate($total_pages,$page);
|
//$pages->paginate($total_pages,$page);
|
||||||
|
@ -70,6 +71,16 @@ if($cbcollection->is_viewable($c))
|
||||||
$Cbucket->show_page = false;
|
$Cbucket->show_page = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Getting Collection List
|
||||||
|
$page = mysql_clean($_GET['page']);
|
||||||
|
$get_limit = create_query_limit($page,COLLPP);
|
||||||
|
$clist = $cond;
|
||||||
|
$clist['limit'] = $get_limit;
|
||||||
|
$collections = $cbcollection->get_collections($clist);
|
||||||
|
|
||||||
|
Assign('collections', $collections);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
template_files('view_collection.html');
|
template_files('view_collection.html');
|
||||||
display_it();
|
display_it();
|
||||||
|
|
Loading…
Add table
Reference in a new issue