a jQuery UI plugin named nsvideo, that plays videos using html5, was implemented...
[living-lab-site.git] / application / controllers / catalog.php
index 8a325e7..3285c67 100644 (file)
@@ -56,12 +56,11 @@ class Catalog extends CI_Controller {
        public function test($page = 0)
        {
                $this->load->helper('url');
-               $this->load->library('pagination');
                
-               $config['base_url'] = site_url('catalog/test/');
-               $config['total_rows'] = '160';
-               $this->pagination->initialize($config);
-               echo $this->pagination->create_links();
+               $str = '[{"def":"1080p"},{"def":"600p"}]';
+               $a = json_decode($str);
+               
+               echo count($a);
        }
        
        public function category($category_id, $offset = 0)