'; } elseif ($type=="flyer") { echo ''; } elseif ($type=="embed" || $type == "video" || $type="vid") { $height = $height + 16; // for controller echo ''; $direct_link=$MEDIAROOT."more/vid/".$src; } elseif ($type=="images" && isset($num)) { echo '

'; for($i=0;$i<$num;$i++) { $ith_src_name = "src".$i; echo ' '; } echo '

'; } elseif ($type=="text") { $text = file_get_contents("text/$src"); echo $text; } ?>

" ?> direct link"; ?> close