source: tags/release-1_4_0RC1/include/page_tail.php @ 21894

Last change on this file since 21894 was 675, checked in by plg, 20 years ago

all headers adapted to new year 2005, happy new year

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.6 KB
Line 
1<?php
2// +-----------------------------------------------------------------------+
3// | PhpWebGallery - a PHP based picture gallery                           |
4// | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net |
5// | Copyright (C) 2003-2005 PhpWebGallery Team - http://phpwebgallery.net |
6// +-----------------------------------------------------------------------+
7// | branch        : BSF (Best So Far)
8// | file          : $RCSfile$
9// | last update   : $Date: 2005-01-07 23:10:51 +0000 (Fri, 07 Jan 2005) $
10// | last modifier : $Author: plg $
11// | revision      : $Revision: 675 $
12// +-----------------------------------------------------------------------+
13// | This program is free software; you can redistribute it and/or modify  |
14// | it under the terms of the GNU General Public License as published by  |
15// | the Free Software Foundation                                          |
16// |                                                                       |
17// | This program is distributed in the hope that it will be useful, but   |
18// | WITHOUT ANY WARRANTY; without even the implied warranty of            |
19// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU      |
20// | General Public License for more details.                              |
21// |                                                                       |
22// | You should have received a copy of the GNU General Public License     |
23// | along with this program; if not, write to the Free Software           |
24// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
25// | USA.                                                                  |
26// +-----------------------------------------------------------------------+
27$template->set_filenames(array('tail'=>'footer.tpl'));
28
29$template->assign_vars(
30  array(
31    'VERSION' => PHPWG_VERSION,
32    'MAIL'=>$conf['mail_webmaster'],
33   
34    'L_GEN_TIME' => $lang['generation_time'],
35    'L_SQL_QUERIES_IN' => $lang['sql_queries_in'],
36    'L_SEND_MAIL' => $lang['send_mail'],
37    'L_TITLE_MAIL' => $lang['title_send_mail'],
38    'L_WEBMASTER'=>$lang['webmaster'],
39    ));
40//------------------------------------------------------------- generation time
41if ($conf['show_gt'])
42{
43  $time = get_elapsed_time($t2, get_moment());
44
45  if (!isset($page['count_queries']))
46  {
47    $page['count_queries'] = 0;
48    $page['queries_time'] = 0;
49  }
50 
51  $template->assign_block_vars(
52    'debug',
53    array('TIME' => $time,
54          'NB_QUERIES' => $page['count_queries'],
55          'SQL_TIME' => number_format($page['queries_time'],3,'.',' ').' s'));
56}
57
58//
59// Generate the page
60//
61
62$template->pparse('tail');
63?>
Note: See TracBrowser for help on using the repository browser.