Login   Register  
PHP Classes
elePHPant
Icontem

File: templates/index.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Matías Gentiletti  >  Picasa Photo Gallery  >  templates/index.php  >  Download  
File: templates/index.php
Role: Application script
Content type: text/plain
Description: Main template
Class: Picasa Photo Gallery
Extract data picture galleries from Picasa site
Author: By
Last change:
Date: 2008-08-27 21:53
Size: 1,192 bytes
 

Contents

Class file image Download
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title><?php if($album_title): echo utf8_decode($album_title).' - '; endif; ?>You Name</title>
</head>
<link rel="stylesheet" type="text/css" href="<?php echo ROOT_URL ?>/styles/main.css" />
<body>

<div id="header">
<h1>My Public Gallery</h1>
<h2>You Name</h2>
</div>

<div id="content">
  <div id="menu">
    <div id="album_title"><p><?php if($album_title): echo utf8_decode($album_title).' ('.$photos_count.')'; endif; ?></p></div>
    <div id="sub_menu"><p><a href="<?php echo ROOT_URL ?>">Go to all albums (<?php echo $gallery_count ?>)</a> | <a href="http://picasaweb.google.com/data/feed/base/user/<? echo ACCOUNT_NAME ?>?kind=album&alt=rss&hl=en_US&access=public"><strong>RSS</strong></a></p>
    </div>
  </div>
  <?php if($galleries): ?>
  <?php include('_galleries.php'?>
  <?php elseif($photos): ?>
  <?php include('_individual.php'?>
  <?php endif; ?>
</div>

<div id="footer""></div>

</body>
</html>