return function() {
	$data = json_decode(file_get_contents(__DIR__.'/products.json'), true);
	return table($data, [
			'filter' => true,
			'filter_params' => [
				'name'	=> 'like',
				'price' => 'between',
			],
		])
		->image('id', 'uploads/shop/products/{subdir2}/{subdir3}/product_%d_1_thumb.jpg', ['width' => '50px'])
		->text('name')
		->link('cat_id', url('/@object/@action/%d'), _class('cats')->_get_items_names('shop_cats'))
		->text('price')
		->text('quantity')
		->date('add_date')
		->btn_edit(['icon' => 'icon-star'])
		->btn_delete()
		->btn_clone()
		->btn_active()
		->footer_add()
	;
};
Image Name Cat id Price Quantity Add date Actions
Футболка FOX Archives s/s Tee черная 10077 37.00 0 09/27/13 Edit Delete Clone Active
Футболка FOX Archives s/s Tee синяя 10077 37.00 0 09/30/13 Edit Delete Clone Active
Футболка FOX Archives s/s Tee сиреневая 10077 37.00 0 10/02/13 Edit Delete Clone Active
Футболка FOX Attacker s/s Tee белая 10077 37.00 0 09/29/13 Edit Delete Clone Active
Футболка FOX Blamo s/s Tee черная 10077 37.00 0 10/01/13 Edit Delete Clone Active
Футболка FOX Blamo s/s Tee белая 10077 37.00 0 10/03/13 Edit Delete Clone Active
Футболка FOX Blamo s/s Tee черно-зеленая 10077 37.00 0 09/27/13 Edit Delete Clone Active
Футболка FOX Paint Bucket s/s Tee зеленая 10077 37.00 0 09/28/13 Edit Delete Clone Active
Футболка FOX Paint Bucket s/s Tee белая 10077 37.00 0 09/30/13 Edit Delete Clone Active
Футболка FOX Paint Bucket s/s Tee сиреневая 10077 37.00 0 09/28/13 Edit Delete Clone Active
Футболка FOX Flash s/s Tee белая 10077 35.00 0 09/27/13 Edit Delete Clone Active
Футболка FOX Mix Tape s/s Tee черная 10077 45.00 0 09/29/13 Edit Delete Clone Active
Футболка LEATT Winner T-shirt серая 10077 35.00 0 10/02/13 Edit Delete Clone Active
Футболка LEATT Sam Hill T-shirt белая 10077 35.00 0 10/01/13 Edit Delete Clone Active
Футболка Crusty Roseheart черная 10077 35.00 0 Edit Delete Clone Active
Футболка Crusty Liberty черная 10077 35.00 0 Edit Delete Clone Active
Футболка Crusty Pray Skull черная 10077 35.00 0 Edit Delete Clone Active
Футболка SIKSPAK BLOOD HEAD черная 10077 40.00 0 Edit Delete Clone Active
Футболка SIKSPAK OUTLAW SCUMFUCK черная 10077 40.00 0 Edit Delete Clone Active
Футболка SIKSPAK RANDOM VIOLENCE 2 черная 10077 40.00 0 Edit Delete Clone Active