| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- <!DOCTYPE html>
- <html lang='<?=$page->lang?>'>
- <head>
- <meta content='text/html; charset=utf-8' http-equiv='content-type'/>
- <meta charset='utf-8'/>
- <meta name='viewport' content='width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1'/>
- <title><?=$page->title?></title>
- <link rel='shortcut icon' href='<?=$page->favicon?>'/>
- <!-- CSS files -->
- <link rel='stylesheet' type='text/css' href='<?=$static["css"]?>ui.css'/>
- <link rel='stylesheet' type='text/css' href='<?=$static["css"]?>gallery.css'/>
- <!-- Script files -->
- <script type='text/javascript' src='<?=$static["script"]?>ui.js'></script>
- <script type='text/javascript' src='<?=$static["script"]?>gallery.js'></script>
- <!-- Meta tags -->
- <link rel='canonical' href='<?=$page->canonical?>'/>
- <link rel='author' href='<?=$page->author?>'/>
- <link rel='publisher' href='<?=$page->author?>'/>
- <meta name='description' content='<?=$page->description?>'/>
- <meta property='og:title' content='<?=$page->title?>'/>
- <meta property='og:url' content='<?=$page->canonical?>'/>
- <meta property='og:description' content='<?=$page->description?>'/>
- <meta property='og:image' content='<?=$page->icon?>'/>
- <meta property='og:site_name' content='<?=$page->name?>'/>
- <meta property='og:type' content='website'/>
- <meta property='og:locale' content='<?=$page->lang?>'/>
- <meta name='twitter:card' content='summary'/>
- <meta name='twitter:title' content='<?=$page->title?>'/>
- <meta name='twitter:description' content='<?=$page->description?>'/>
- <meta name='twitter:image' content='<?=$page->icon?>'/>
- <meta name='twitter:url' content='<?=$page->canonical?>'/>
- <meta name='robots' content='index follow'/>
- </head>
- <body>
- <?php
- include $path["include"] . "header.php";
- ?>
- <main>
- <section id='album'>
- <h3>
- <?=$page->album->title?>
- </h3>
- <?php
- foreach($page->album->photo as $photo) {
- ?>
- <article>
- <?php
- if (isset($photo->title)){
- ?>
- <h4>
- <?=$photo->title?>
- </h4>
- <?php
- }
- ?>
- <img class='pointer' onClick="showPhoto('<?=$url["photo"]?>', '<?=$photo->id?>');" src='<?=$static["content"]?>gallery/<?=$photo->file?>' srcset='<?=srcset("gallery/" . $photo->file)?>'/>
- <?php
- if (isset($photo->username)){
- ?>
- <div class='user'>
- <?=$photo->username?>
- </div>
- <?php
- }
- ?>
- </article>
- <?php
- }
- ?>
- </section>
- </main>
- <div id='screen_cover' onClick='closeViewer();'>
- </div>
- <section id='photo_viewer'>
- </section>
- <?php
- include $path["include"] . "footer.php";
- ?>
- </body>
- </html>
|