]> p2p-next.cs.pub.ro Git - living-lab-site.git/blobdiff - application/controllers/catalog.php
basic functionality, no estetics: videos are listed in index; can be watched with...
[living-lab-site.git] / application / controllers / catalog.php
index e748d9518e26ada96bc28658fe8d9e16a339b8f2..37b1a6cb32ecaa0ec1dae4c3d030068526fc13b1 100644 (file)
@@ -33,11 +33,12 @@ class Catalog extends CI_Controller {
        {
                $this->load->helper('url');
                
-               $format = 'Calin Andrei ';
-               $pos = strpos($format, ' ');
-               if($pos !== FALSE)
-                       $format = substr($format, 0, $pos);     
-               echo $format;
+               echo '<a href="/">link</a>';
+       }
+       
+       public function search($query_str)
+       {
+               echo $query_str;
        }
 }