source: branches/1.3/include/page_tail.php @ 20321

Last change on this file since 20321 was 349, checked in by z0rglub, 20 years ago
  • adding file header
  • echoing $output var
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.8 KB
Line 
1<?php
2/***************************************************************************
3 *                              page_footer.php                            *
4 *                            -------------------                          *
5 *   application   : PhpWebGallery 1.3 <http://phpwebgallery.net>          *
6 *   author        : Pierrick LE GALL <pierrick@z0rglub.com>               *
7 *                                                                         *
8 *   $Id: page_tail.php 349 2004-02-05 23:16:54Z z0rglub $
9 *                                                                         *
10 ***************************************************************************
11
12 ***************************************************************************
13 *                                                                         *
14 *   This program is free software; you can redistribute it and/or modify  *
15 *   it under the terms of the GNU General Public License as published by  *
16 *   the Free Software Foundation;                                         *
17 *                                                                         *
18 ***************************************************************************/
19
20$handle = $vtp->Open( './template/'.$user['template'].'/footer.vtp' );
21//------------------------------------------------------------- generation time
22$time = get_elapsed_time( $t2, get_moment() );
23$vtp->setGlobalVar( $handle, 'time', $time );
24
25$vtp->setGlobalVar( $handle, 'generation_time', $lang['generation_time'] );
26$vtp->setGlobalVar( $handle, 'version', $conf['version'] );
27$vtp->setGlobalVar( $handle, 'site_url', $conf['site_url'] );
28$vtp->setVarF( $handle, 'footer',
29               './template/'.$user['template'].'/footer.htm' );
30
31//
32// Generate the page
33//
34
35$output.= $vtp->Display( $handle, 0 );
36echo $output;
37?>
Note: See TracBrowser for help on using the repository browser.