<?php $quotesMod = new DemoQuotes(); $quotes = $quotesMod->getApproved("position DESC, id ASC"); ?> <div class="page"> <article class="row"> <div class="mobile-full tablet-4 tablet-push-1 desktop-6 desktop-push-3"> <h1><?php echo $page_header; ?> </h1> <hr /> <?php foreach ($quotes as $quote) { ?> <blockquote> <p><?php echo $quote["quote"]; ?> </p> <span class="author"><?php echo $quote["author"]; if ($quote["source"]) { ?> , <em><?php echo $quote["source"]; ?> </em><?php } ?>
<?php $treesMod = new DemoTrees(); $trees = $treesMod->getRandom(5); $quotesMod = new DemoQuotes(); list($quote) = $quotesMod->getApproved("RAND()", 1); ?> <header class="image_header wallpapered" data-wallpaper-options='{"source":"<?php echo $cover_image; ?> "}'> <div class="positioner"> <h1><?php echo $bigtree["page"]["nav_title"]; ?> </h1> <p><?php echo $site_subtitle; ?> </p> </div> <?php if ($cover_attribution && $cover_link) { ?> <a href="<?php echo $cover_link; ?> " class="attribution"<?php echo targetBlank($cover_link); ?> >Photo By <?php