Размер файла: 1.46Kb
<?php
/*-----------------------------------------------------------------------------------------
mcGalleryPRO
All code is © 2003 Marc Cagninacci.
No files may be redistributed in whole or significant part.
----------------- mcgalleryPRO IS NOT FREE SOFTWARE -------------------
You should have receive a file called license.txt in this package
--------------------------------------------------------------------------------------------*/
?>
<html>
<head>
<title>
<?php
if (!empty($im)) echo ($w * 2).' x '.($h * 2);
else echo $w.' x '.$h;
?>
</title>
<style type="text/css">
<!--
body{ margin-top:0px; margin-left:0px; }
-->
</style>
</head>
<body>
<?php
if (!empty($im))
{
echo '<img src="'.$im.'" width="'.$w.'" height="'.$h.'" border="0" alt="">';
}
if (!empty($vi))
{
echo '<embed src="'.$vi.'" width="'.$w.'" height="'.$h.'" autostart="true" align="middle"></embed>';
}
if (!empty($fl))
{
?>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="<?php echo $w; ?>" height="<?php echo $h; ?>">
<param name="movie" value="<?php echo $fl; ?>"><param name="quality" value="high">
<embed src="<?php echo $fl; ?>" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="<?php echo $w; ?>" height="<?php echo $h; ?>"></embed>
</object>
<?php
}
echo '</body>';
echo '</html>';