Subversion Repositories svnkaklik

Rev

Go to most recent revision | Details | Last modification | View Log

Rev Author Line No. Line
6 kaklik 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: page_tail.php,v $
9
// | last update   : $Date: 2005/05/01 07:47:49 $
10
// | last modifier : $Author: plg $
11
// | revision      : $Revision: 1.18.2.1 $
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' => $conf['show_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
    'L_POWERED_BY'=>$lang['powered_by']
40
    ));
41
//------------------------------------------------------------- generation time
42
if ($conf['show_gt'])
43
{
44
  $time = get_elapsed_time($t2, get_moment());
45
 
46
  if (!isset($page['count_queries']))
47
  {
48
    $page['count_queries'] = 0;
49
    $page['queries_time'] = 0;
50
  }
51
 
52
  $template->assign_block_vars(
53
    'debug',
54
    array('TIME' => $time,
55
          'NB_QUERIES' => $page['count_queries'],
56
          'SQL_TIME' => number_format($page['queries_time'],3,'.',' ').' s'));
57
}
58
 
59
//
60
// Generate the page
61
//
62
 
63
$template->parse('tail');
64
 
65
$template->p();
66
?>