PHP Classes

File: index.php

Recommend this page to a friend!
  Classes of Thomas Jakober   PicasaWeb class   index.php   Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Display your Albums
Class: PicasaWeb class
Display galleries of photos from PicasaWeb albums
Author: By
Last change: Added username and password for example Picasaweb Album
Date: 14 years ago
Size: 634 bytes
 

Contents

Class file image Download
<?php

/**
 * testpwa.php
 *
 * @version $Id$
 * @copyright 2009
 */

include "picasaweb.class.php";

$oPwa = new picasaweb();
$oPwa->login('xy@3sweb.net', 'x28herrn');
$oPwa->getAlbums();


?>
<html>
    <head>
        <title>Test Picasaweb</title>
        <style type="text/css">
            #albumList td {
                font-family: Arial;
                paddig-right: 2px;
            }

            #albumList td+td+td {
                text-align: right;
            }

            #albumTn td {
                font-family: Arial;
                text-align: center;
            }
        </style>
    </head>
    <body>
        <h2>My Albums</h2>
        <?=$oPwa->dispAlbums()?>
<br>
        <?=$oPwa->dispAlbumsTn()?>
</body>
</html>