function geturl($pfad)
{
    global $links;
    $r = explode("/", trim($pfad, "/"));
    $first = input($links[$r[2]]['url']);
    $trailer = trailer($first[$r[3]]['url']);
    $url = $trailer[$r[4]]['url'];
    $html = cacheurl($url);
    preg_match('|"file","/media/(.*?)"|si', $html, $matches);
    return "http://www.moviemaze.de/media/" . $matches[1];
}
예제 #2
0
    $p1 = 40;
}
$p3 = 10 * $_GET['appts'];
$p4 = 5 * $_GET['planned'];
$p5 = 5 * $_GET['unplanned'];
$p6 = 10 * $_GET['bbs'];
$bpl = 0;
if ($so + $sd > 100) {
    $bpl = 1;
}
if ($so + $sd + $sr + $ss > 500) {
    $bpl = 1;
}
SAR($so, $sr, $ss, $sd, $bpl, $msgnum, $call, $city, $filedate, $month, $period, $str1, $str2);
PSHR($p1, $p2, $p3, $p4, $p5, $p6, $msgnum, $call, $city, $filedate, $month, $period, $str3);
trailer();
//print "<p>Report:</p><p>1) $str1</p><p>2) $str2</p><p>3) $str3</p>\n";
print "<hr />\n";
print "<a href=\"mailto:reports@is-sixsigma.com?subject=NTS report {$call} {$month}&body=%0a{$str1}%0a{$str2}%0a{$str3}\">Send report by email</a>\n";
print "<p class=\"rev\">Page modified 2011-04-15 17:09</p>\n";
//exit;
?>

<!--
#config timefmt="%Y-%m-%d %H:%M"
<p class="rev">Page modified 2011-04-15
#echo var="LAST_MODIFIED"
</p>
-->
<div class="i">
<!--
function geturl($pfad)
{
    global $links;
    $r = explode("/", trim($pfad, "/"));
    $first = starts($links[$r[2]]['url']);
    $trailer = trailer($first[$r[3]]['url']);
    return mediaplayer($trailer[$r[4]]['trailer']);
}