' . join('|', $known) . ')[/ ]+(?[0-9.|a-zA-Z.]*)#'; if (!preg_match_all($pattern, $u_agent, $matches)) { // we have no matching number just continue } // see how many we have $i = count($matches['browser']); if ($i != 1) { //we will have two since we are not using 'other' argument yet //see if version is before or after the name if (strripos($u_agent,"Version") < strripos($u_agent,$ub)){ $version= $matches['version'][0]; } else { $version= $matches['version'][1]; } } else { $version= $matches['version'][0]; } // check if we have a number if ($version==null || $version=="") {$version="?";} return array( 'userAgent' => $u_agent, 'name' => $bname, 'version' => $version, 'platform' => $platform, 'pattern' => $pattern ); } //$browser = get_browser(null, true); //$browser = $browser['browser']; $browser = getBrowser(); $browser = $browser['name']; $webMbrowser = (($browser == "Google Chrome") || ($browser == "Mozilla Firefox") || ($browser == "Opera")); //echo $browser; include('paginacio.php'); ?>

Your browser does not support the canvas tag.

"; $html_video ='
'; $html_video.=''; $data_creacio = explode("@",$dir); $hora_creacio = explode(".",$data_creacio[1]); $html_video.="
Generat a ".$data_creacio[0]." ".$hora_creacio[0]; $html_video.='
'; array_push($rec, $html_video); } } } } closedir($dh); } } } PreparaPaginacio($rec, $num); $NumeroRegistros = count($rec); if ($NumeroRegistros!=0) { MostraPaginacio($rec); $RegistresMostrats = 0; $pos = (($PaginaActual-1) * $num)+1; while(($RegistresMostrats < $num) && ($pos-1 < $NumeroRegistros )) { $fil = $rec[$pos-1]; echo $fil; $RegistresMostrats = $RegistresMostrats + 1; $pos++; } } else { echo "No registers found."; } ?>