Jump to content

cakePHP Penny Auction Script will not display Flash


Recommended Posts

Hi,

  I am working on a Penny Auction script and would like to display flash on the page. I have tried and tried but can not seem to do it. I would like to display it as as the header, just above the logo div, but right now I am trying to do it under the logo to see if it would work. Nothing I do works. Here is my code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<script src="http://www.bidfireworks.com/app/webroot/themed/legato/Scripts/swfobject_modified.js" type="text/javascript"></script>
<head>
<?php echo $html->charset(); ?>
<title>
	<?php echo $title_for_layout; ?> ::
	<?php echo $appConfigurations['name']; ?>
</title>
<?php
	if(!empty($meta_description)) :
		echo $html->meta('description', $meta_description);
	endif;
	if(!empty($meta_keywords)) :
		echo $html->meta('keywords', $meta_keywords);
	endif;
	echo $html->css('style');

	echo $javascript->link('jquery/jquery');
	echo $javascript->link('jquery/plugins/color');
	echo $javascript->link('jquery/jquery.ifixpng');
	echo $javascript->link('default');
?>
<!--[if lt IE 7]>
	<?php echo $javascript->link('unitpngfix'); ?>
<![endif]-->
<?php
	echo $scripts_for_layout;
?>

</head>
<body>
<div id="container">
<div id="header">
	<div class="logo">
		<?php echo $html->link($html->image('logo.png', array('border' => '0', 'alt' => 'Hiperia', 'title' => 'Hiperia')), '/', null, null, false); ?>
	</div>

	<div class="login-form">
		<?php if(!$session->check('Auth.User')):?>
			<?php echo $this->element('status');?>
		<?php endif; ?>
	</div>
</div>

<div id="top-menu" class="clearfix">
	<?php echo $this->element('menu_top');?>

	<?php if($session->check('Auth.User')):?>
		<div class="user-status">Welcome <strong><?php echo $session->read('Auth.User.username'); ?></strong></div>
	<?php endif; ?>
</div>
[b]<div><object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="933" height="173">
  <param name="movie" value="http://www.bidfireworks.com/app/webroot/themed/legato/fireworks.swf" />
  <param name="quality" value="high" />
  <param name="wmode" value="opaque" />
  <param name="swfversion" value="6.0.65.0" />
  <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
  <param name="expressinstall" value="http://www.bidfireworks.com/app/webroot/themed/legato/Scripts/expressInstall.swf" />
  <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
  <!--[if !IE]>-->
  <object type="application/x-shockwave-flash" data="http://www.bidfireworks.com/app/webroot/themed/legato/fireworks.swf" width="933" height="173">
    <!--<![endif]-->
    <param name="quality" value="high" />
    <param name="wmode" value="opaque" />
    <param name="swfversion" value="6.0.65.0" />
    <param name="expressinstall" value="http://www.bidfireworks.com/app/webroot/themed/legato/Scripts/expressInstall.swf" />
    <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
    <div>
      <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
      <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
    </div>
    <!--[if !IE]>-->
  </object>
  <!--<![endif]-->
</object>
<script type="text/javascript">
<!--
swfobject.registerObject("FlashID");
//-->
</script></div>[/b]
<div id="maincontent">
	<div id="wrapper">
		<div id="midcol">
			<?php
				if($session->check('Message.flash')){
					$session->flash();
				}

				if($session->check('Message.auth')){
					$session->flash('auth');
				}
			?>
			<?php echo $content_for_layout; ?>
		</div>

		<div id="leftcol">
		 	<?php if($session->check('Auth.User')):?>
				<?php echo $this->element('menu_user');?>
			<?php endif; ?>
			<?php echo $this->element('menu_categories');?>
			<?php echo $this->element('how_it_works');?>
			<?php echo $this->element('payment_options');?>
		</div>
	</div>

	<div id="rightcol">
		<?php echo $this->element('latest_winner');?>
		<?php echo $this->element('latest_news');?>
		<?php echo $this->element('winner_photo');?>
	</div>
</div>


<div id="footer" class="clearfix">
	<?php echo $this->element('footer');?>
</div>

<?php echo $cakeDebug; ?>
<div id="timestamp" style="display: none"><?php echo time();?></div>
<div id="timesyncfrequency" style="display: none"><?php echo $appConfigurations['timeSyncFrequency'];?></div>
<div id="auctionupdatefrequency" style="display: none"><?php echo $appConfigurations['auctionUpdateFrequency'];?></div>
</body>
</html>

 

The code is just before the maincontent div. I am not sure why it is not displaying the flash! Any help here would be GREATLY appreciated. Thank You!

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.