1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<?php if ($_SESSION['show_theme'] == 1 || $_SESSION['show_theme'] == "") { echo "<table border='0' cellspacing='0' cellpadding='0' width='$_SESSION[flash_width]'>"; echo " <tr><td>"; $banner = explode('.', $_SESSION['flash']); $header_type = end($banner); if($header_type == 'swf'){ echo"<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='$_SESSION[flash_width]' height='$_SESSION[flash_height]'>"; echo" <param name='movie' value='$_SESSION[web_name]/theme/$_SESSION[themes_]/$_SESSION[flash]'>"; echo" <param name='quality' value='high'>"; echo"<embed src='$_SESSION[web_name]/theme/$_SESSION[themes_]/$_SESSION[flash]' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='$_SESSION[flash_width]' height='$_SESSION[flash_height]'>"; echo"</embed>"; echo"</object>"; }else{ echo '<img src="'.$_SESSION['web_name'].'/theme/'.$_SESSION['themes_'].'/'.$_SESSION['flash'].'" width="'.$_SESSION['flash_width'].'" />'; } echo " </td></tr>"; echo "</table>"; } ?>
|