0) ? ' / ' . strtotitle(str_replace('/', ' / ', substr($swfaddress_path, 1, $length - 2))) : ''); } echo($title); } function swfaddress_resource($resource) { global $base; echo($base . $resource); } function swfaddress_link($link) { global $base; echo($base . $link); } function swfaddress_content() { global $swfaddress, $swfaddress_path, $base; $url = strtolower(array_shift(explode('/', $_SERVER['SERVER_PROTOCOL']))) . '://'; $url .= $_SERVER['SERVER_NAME']; $url .= $base . '/datasource.php?swfaddress=' . $swfaddress_path; $url .= (strpos($swfaddress, '?')) ? '&' . substr($swfaddress, strpos($swfaddress, '?') + 1, strlen($swfaddress)) : ''; readfile($url); } function swfaddress_optimizer($resource) { global $swfaddress, $base; echo($base . $resource . (strstr($resource, '?') ? '&' : '?') . 'swfaddress=' . urlencode($swfaddress) . '&base=' . urlencode($base)); } ?>
You need JavaScript activated and at least flash player 9 installed.