Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php foreach($divesite->diveoperators->find_all() as $diveoperator) { ?>
- <div>
- <img src="<?php echo $diveoperator->photos->find_all()->current()->mediumfile; ?>" />
- <h2><?php echo html::anchor("diveoperator/view/$diveoperator->id","$diveoperator->name"); ?></h2>
- <p><?php echo $diveoperator->description; ?></p>
- </div>
- <?php } ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement