return function () {
    $data = json_decode(file_get_contents(__DIR__ . '/products.json'), true);
    foreach ((array) $data as $k => $v) {
        $data[$k]['stars'] = rand(1, 5);
        $data[$k]['stars_big'] = rand(10, 40);
    }
    return table($data)
        ->stars('stars')
        ->stars('stars_big', ['stars' => 5, 'max' => 100])

        ->check_box('id', ['header_tip' => 'This is checkbox'])
        ->select_box('id', ['values' => ['', 'k1' => 'v1', 'k2' => 'v2'], 'selected' => 'k1', 'tip' => 'Checkbox value tip', 'nowrap' => 1, 'class' => 'input-small'])
        ->radio_box('id')
        ->input('id', ['class' => 'input-small'])

        ->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')
        ->date('add_date', ['format' => '%y-%m-%d %H:%M'])
        ->btn_edit(['icon' => 'icon-star'])
        ->btn_delete()
        ->btn_clone()
        ->btn_active()
        ->footer_add();
};
Stars Stars big Id   Id Id Id Image Name Cat id Price Quantity Add date Add date Actions
   Футболка FOX Archives s/s Tee черная 10077 37.00 0 09/27/13 13-09-27 12:26 Edit Delete Clone Active
   Футболка FOX Archives s/s Tee синяя 10077 37.00 0 09/30/13 13-09-30 17:08 Edit Delete Clone Active
   Футболка FOX Archives s/s Tee сиреневая 10077 37.00 0 10/02/13 13-10-02 10:57 Edit Delete Clone Active
   Футболка FOX Attacker s/s Tee белая 10077 37.00 0 09/29/13 13-09-29 15:34 Edit Delete Clone Active
   Футболка FOX Blamo s/s Tee черная 10077 37.00 0 10/01/13 13-10-01 11:01 Edit Delete Clone Active
   Футболка FOX Blamo s/s Tee белая 10077 37.00 0 10/03/13 13-10-03 01:38 Edit Delete Clone Active
   Футболка FOX Blamo s/s Tee черно-зеленая 10077 37.00 0 09/27/13 13-09-27 04:52 Edit Delete Clone Active
   Футболка FOX Paint Bucket s/s Tee зеленая 10077 37.00 0 09/28/13 13-09-28 16:35 Edit Delete Clone Active
   Футболка FOX Paint Bucket s/s Tee белая 10077 37.00 0 09/30/13 13-09-30 23:18 Edit Delete Clone Active
   Футболка FOX Paint Bucket s/s Tee сиреневая 10077 37.00 0 09/28/13 13-09-28 22:52 Edit Delete Clone Active
   Футболка FOX Flash s/s Tee белая 10077 35.00 0 09/27/13 13-09-27 13:45 Edit Delete Clone Active
   Футболка FOX Mix Tape s/s Tee черная 10077 45.00 0 09/29/13 13-09-29 04:58 Edit Delete Clone Active
   Футболка LEATT Winner T-shirt серая 10077 35.00 0 10/02/13 13-10-02 15:56 Edit Delete Clone Active
   Футболка LEATT Sam Hill T-shirt белая 10077 35.00 0 10/01/13 13-10-01 16:48 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