<?php echo $header; ?><?php echo $column_left; ?><?php echo $column_right; ?>
<div id="content">

<div class="middle">
<br/>

<div style="background: #F7F7F7; border: 1px solid #DDDDDD; padding: 10px; min-height: 5px;">
  <B><?php echo $entry_activebanner; ?></B>
  <font color=blue><h3><a href="<?php echo $mybanner; ?>"><?php echo $mybanner; ?></a></h3>
</div>
<br/>
  <div class="content">
    <p><b><?php echo $entry_choosebanner; ?></b></p>
    <table class="radio">
		<tr class="highlight">
			<td><input type="radio" name="next" value="flash" /></td>
			<td><label><?php echo $entry_flashbanner; ?></label></td>
		</tr>
		<tr class="highlight">
			<td><input type="radio" name="next" value="image" /></td>
			<td><label><?php echo $entry_bannerimage; ?></label></td>
		</tr>	  
		<tr class="highlight">
			<td><input type="radio" name="next" value="html" /></td>
			<td><label><?php echo $entry_htmlbanner; ?></label></td>
		</tr>
		<tr class="highlight">
			<td><input type="radio" name="next" value="link" /></td>
			<td><label><?php echo $entry_textlink; ?></label></td>
		</tr>  
    </table>
  </div>
  <div class="cart-module">
		<div id="flash" class="content">
			<?php foreach ($flashbanner as $banner) { ?>	
			<a href="<?php echo $my_home; ?>">		
			<embed src="<?php echo $home.$banner['image']; ?>" width="230" height="50"  quality="high" bgcolor="#ffffff"  name="mymoviename" align="" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" > </embed>   </a>   
			<br/><br/></li>
			<textarea name="comments" id="comments" style="width: 99%;" rows="3"><a href="<?php echo $my_home; ?>">
				<embed src="<?php echo $home.$banner['image']; ?>" width="230" height="50"  quality="high" bgcolor="#ffffff"  name="mymoviename" align="" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" > </embed>   </a>
			</textarea>
			<?php } ?>
		</div>	
        <div id="image" class="content">	
			<?php foreach ($imagebanner as $banner) { ?>
			<a href="<?php echo $my_home; ?>">  <img width="200" height="100"  src="<?php echo $home.$banner['image']; ?>" alt="<?php echo $my_home; ?>" /> </a>
			<br/><br/>
			<textarea name="comments" id="comments" style="width: 99%;" rows="3"><a href="<?php echo $my_home; ?>"><img width="200" height="100"  src="<?php echo $home.$banner['image']; ?>"></a></textarea>
			<?php } ?>
		</div>
		<div id="link" class="content">
			<?php echo $my_home; ?>
			<br/><br/></li>
			<textarea name="comments" id="comments" style="width: 99%;" rows="3"><?php echo $my_home; ?>
			</textarea>
		</div>
		<div id="html" class="content">
			<?php foreach ($textbanner as $banner) { ?>
			<a href="<?php echo $my_home; ?>"> <?php echo $config_htmlbannertext; ?><?php echo $banner['title']; ?></a>
			<br/><br/> 
			<textarea name="comments" id="comments" style="width: 99%;" rows="3"><a href="<?php echo $my_home; ?>"><?php echo strip_tags($config_htmlbannertext); ?><?php echo $banner['title']; ?></a>
			</textarea>
			<?php } ?>
		</div>
  </div>
		<div class="buttons">
			<div class="right"><a href="<?php echo $continue; ?>" class="button"><span><?php echo $button_continue; ?></span></a></div>
		</div>
</div>
  <div class="bottom">
    <div class="left"></div>
    <div class="right"></div>
    <div class="center"></div>
  </div>
</div>
<script type="text/javascript"><!--
$('input[name=\'next\']').bind('change', function() {
	$('.cart-module > div').hide();
	
	$('#' + this.value).show();
});
//--></script>
<?php echo $footer; ?> 