select(Set::getTable().'.*')
->whereIn('cc1.category', [config('app.categories.videos'), config('app.categories.photos')])
->orderBy(DB::raw('RAND('.config('app.siteid').')'))
->groupBy(Set::getTable().'.Id')
->limit(12)
->get();
foreach ($sets as $k => $set) {
load_area_template("template_sections/update_table_preview.tpl", ["set" => Set::format($set), "prefer" => "vids"]);
}*/
?>
select(Set::getTable().'.*')
->whereIn('cc1.category', [config('app.categories.videos'), config('app.categories.photos')])
->orderBy(DB::raw('RAND('.config('app.siteid').')'))
->groupBy(Set::getTable().'.Id')
->limit(300)
->offset(12)
->get();
foreach ($sets as $k => $set) {
load_area_template("template_sections/update_table_preview.tpl", ["set" => Set::format($set), "prefer" => "vids"]);
}*/
?>