member->user_login ); } function new_excerpt_length($length) { return 20; } add_filter('excerpt_length', 'new_excerpt_length'); function wt_get_user_name() { global $userdata; get_currentuserinfo(); return $userdata->user_login; } function template_url_custom() { $template_url = "http://fishpipe.com/wp-content/themes/bp-fishpipe115"; return $template_url; } function sidebar_teaser() { $num=rand(0,4); if ($num == 0) { echo "\"Action\""; } elseif ($num == 1) { echo "\"Blog\""; } elseif ($num == 2) { echo "\"Community\""; } elseif ($num == 3) { echo "\"Tutorials\""; } elseif ($num == 4) { echo "\"Basics\""; } }; function timeStamp($duration) { $ms = $duration; $zeit = ($ms/1000); $stunden = ($zeit/3600); $stunden = intval($stunden); $minuten = (($zeit/60)-($stunden*60)); $minuten = intval($minuten); $sekunden = ($zeit-($minuten*60)-($stunden*3600)); $sekunden = intval($sekunden); return str_pad( $stunden, 2, '0', STR_PAD_LEFT ).':'.str_pad( $minuten, 2, '0', STR_PAD_LEFT ).':'.str_pad( $sekunden, 2, '0', STR_PAD_LEFT ); } function GetFLVDuration($file) { if (file_exists($file)) { //echo "Datei gefunden!"; $handle = fopen($file, "r"); $contents = fread($handle, filesize($file)); fclose($handle); if (strlen($contents) > 3) { if (substr($contents,0,3) == "FLV") { $taglen = hexdec(bin2hex(substr($contents,strlen($contents)-3))); if (strlen($contents) > $taglen) { $duration = hexdec(bin2hex(substr($contents,strlen($contents)-$taglen,3))); return timeStamp($duration); } } } } //echo $file; //return "Datei nicht gefunden!"; } # Will return true if there is a next page function has_next_page() { global $paged, $max_page; return $paged < $max_page; } # Will return true if there is a previous page function has_previous_page() { global $paged; return $paged > 1; } # Will return true if there is more than one page (either before or after). function has_pagination() { return has_next_page() or has_previous_page(); } ?> fishpipe Angelvideos › Anmelden

fishpipe Angelvideos

← Zur├╝ck zu fishpipe Angelvideos