Example #1
0
          			<li class="social-item"><a class="social-icon facebook no-link" href="javascript:window.open('https://www.facebook.com/sharer/sharer.php?u=https://waterford.sz/news/photos/album.php?s=<?php 
perch_gallery_album_field(perch_get('s'), 'albumSlug');
?>
)', 'Facebook', 'width=600, height=400' )"><i class="icon-facebook"></i></a></li>
          			<li class="social-item"><a class="social-icon twitter no-link" href="javascript:window.open('http://twitter.com/share?text=<?php 
perch_gallery_album_field(perch_get('s'), 'albumTitle');
?>
&url=https://waterford.sz/news/photos/album.php?s=<?php 
perch_gallery_album_field(perch_get('s'), 'albumSlug');
?>
', 'Twitter', 'width=600, height=400' )"><i class="icon-twitter"></i></a></li>
          			<li class="social-item"><a class="social-icon email no-link" href="mailto:?subject=<?php 
perch_gallery_album_field(perch_get('s'), 'albumTitle');
?>
&amp;body=https://waterford.sz/news/photos/album.php?s=<?php 
perch_gallery_album_field(perch_get('s'), 'albumSlug');
?>
"><i class="icon-email"></i></a></li>
        		</ul>
    		</div>
  		</div>   
	</div>
</div>

<section>
  <div class="cards">
    <header class="fp-header-ctnr">
      <h1 class="float-left medium blue">Latest photos</h1>
      <p class="small"><a class="float-right link margin-top-05" href="/news/photos/">All latest photos &#8250;</a></p>
    </header>
Example #2
0
<?php

include '../../perch/runtime.php';
?>
<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8" />
	<title><?php 
perch_gallery_album_field(perch_get('s'), 'albumTitle');
?>
 - Perch Gallery Example D</title>
	<?php 
perch_get_css();
?>
	<link rel="stylesheet" type="text/css" href="../gallery.css" />
</head>
<body>
   <header class="layout-header">
		<div class="wrapper">
			<div class="company-name">Perch Gallery App - Company Name</div>
			<img src="<?php 
perch_path('feathers/quill/img/logo.gif');
?>
" alt="Your Logo Here" class="logo"/>
		</div>
		<nav class="main-nav">
			<?php 
perch_pages_navigation(array('levels' => 1));
?>
		</nav>