function geturl($pfad) { global $links; $r = split("/", trim($pfad, "/")); $in = input($links[$r[2]]['url']); return dlflv($in[$r[3]]['url']); }
function geturl($pfad) { global $links; $r = split("/", trim($pfad, "/")); $first = nv_serien("http://rtl-now.rtl.de/"); $sub = sub_navi($first[$r[2]]['url']); $sub2 = sub_navi2($sub[$r[3]]); #echo $sub2[$r[4]]['url']; return dlflv($sub2[$r[4]]['url']); }
function geturl($pfad) { global $links, $search, $orderby, $seite; $r = explode("/", trim($pfad, "/")); #youtube suche if (count($r) == 6) { $index = $seite[$r[4]]['nr'] * 50 + 1; $ur = str_replace("%string%", urlencode($links[$r[2]]['suche']), $search); $ur = str_replace("%orderby%", $orderby[$r[3]]['api'], $ur); $ur = str_replace("%index%", $index, $ur); #youtube api: search video within the specified time #we only need this_week and this_month $ur = preg_match('/month|week/i', $r[3], $match) ? str_replace('%time%', '&time=this_' . strtolower($match[0]), $ur) : ($ur = str_replace('%time%', '', $ur)); $ar = input($ur, implode("/", $r)); d_write("fav/" . md5(implode("/", $r)), " "); $key = $r[5]; if (!isset($ar[$key])) { $key = substr($key, 1); } return dlflv($ar[$key]['url']); } #Standardlinks $in = input($links[$r[2]]['url']); $t = stripslashes($r[3]); return dlflv($in[$t]['url']); }
function geturl($pfad) { global $links, $search, $orderby, $seite; $r = explode("/", trim($pfad, "/")); #youtube suche if (count($r) == 6) { $index = $seite[$r[4]]['nr']; $ur = str_replace("%string%", urlencode($links[$r[2]]['suche']), $search); $ur = str_replace("%orderby%", $orderby[$r[3]]['api'], $ur); $ur = str_replace("%index%", $index, $ur); $ar = input($ur); d_write("fav/" . md5(implode("/", $r)), " "); $key = $r[5]; if (!isset($ar[$key])) { $key = substr($key, 1); } return dlflv($ar[$key]['url']); } #Standardlinks $in = input($links[$r[2]]['url']); $t = stripslashes($r[3]); return dlflv($in[$t]['url']); }