Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if (count($potfolioItems) > 15) echo '<ul>'; ?>
- <?php
- foreach ($potfolioItems as $id => $item) :
- if ( $id > 15 && $id < 30 ) : // Change to 30 then 45 then 60 ect....
- ?>
- <li class="port_item">
- <a href="items/full/<?=$item['img_name']?>" title="<?=$item['name'].', '.$item['type']?>">
- <div class="view_large"></div>
- <div style="background-image:url(items/thumbs/<?=$item['img_name']?>);" class="img" ></div>
- </a>
- <!--<a href="<?=$item['url']?>" title="<?=$item['name'].', '.$item['type']?>">-->
- <p>
- <strong><?=$item['name']?></strong><br />
- <?=$item['type']?> <br />
- <span><?=$item['work']?></span>
- </p>
- <!--</a>-->
- </li>
- <?php endif; endforeach; ?>
- <?php if (count($potfolioItems) > 15) echo '</ul>'; ?>
Add Comment
Please, Sign In to add comment