Subversion Repositories SmartDukaan

Rev

Rev 11492 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11492 Rev 11684
Line 1... Line 1...
1
<?php 
1
<?php 
2
//print_r($home_banner);
-
 
3
$home_banner = null;//remove me
-
 
4
if(isset($home_banner) and !empty($home_banner) and count($home_banner)>0)
2
if(isset($home_banner) and !empty($home_banner) and count($home_banner)>0)
5
{//print_r($home_banner); 
3
{ 
6
?><div id='mySwipe' style='max-width:500px;margin:5px auto 0' class='swipe home-banner'>
4
?><div id='mySwipe' style='max-width:500px;margin:5px auto 0' class='swipe home-banner'>
7
          <div class='swipe-wrap'>
5
          <div class='swipe-wrap'>
8
            <?php foreach ($home_banner as $banner) { ?>
6
            <?php foreach ($home_banner as $banner) { ?>
9
            <div>
7
            <div>
10
              <a href="<?php echo base_url().$banner['url'];?>" ><img src="<?php echo $banner['bannerimage']?>" /></a>
8
              <a href="<?php echo base_url().$banner['url'];?>" ><img src="<?php echo $banner['bannerimage']?>" /></a>