<div class="banner">
        <div id="slideshow">
        <ul id="nav">
			<li id="prev"><a href="#">Previous</a></li>
			<li id="next"><a href="#">Next</a></li>
		</ul>
        <?php $banners	=	Banner::model()->findAll(array('condition'=>'isActive="Y" AND site="partner"','order'=>'sort_order="0",sort_order')); ?>
		
		<ul id="slides">
		<?php foreach($banners as $eachBanner): ?>
    <li><a href="<?php echo trim($eachBanner->href)!=""?$eachBanner->href:"#"; ?>" target="_blank"><img width="955" height="300" src="<?php echo Yii::app()->baseUrl; ?>/../partner/media/banner/<?php echo $eachBanner->banner; ?>"  alt="banner" /></a></li>
    <?php endforeach; ?>
    </ul>
        </div>
      </div>