1 | <?php |
---|
2 | // +-----------------------------------------------------------------------+ |
---|
3 | // | page_tail.php | |
---|
4 | // +-----------------------------------------------------------------------+ |
---|
5 | // | application : PhpWebGallery <http://phpwebgallery.net> | |
---|
6 | // | branch : BSF (Best So Far) | |
---|
7 | // +-----------------------------------------------------------------------+ |
---|
8 | // | file : $RCSfile$ |
---|
9 | // | last update : $Date: 2004-09-05 15:49:54 +0000 (Sun, 05 Sep 2004) $ |
---|
10 | // | last modifier : $Author: z0rglub $ |
---|
11 | // | revision : $Revision: 516 $ |
---|
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 | //------------------------------------------------------------- generation time |
---|
30 | |
---|
31 | $time = get_elapsed_time( $t2, get_moment() ); |
---|
32 | |
---|
33 | $template->assign_vars( |
---|
34 | array( |
---|
35 | 'TIME' => $time, |
---|
36 | 'VERSION' => $conf['version'], |
---|
37 | 'MAIL'=>$conf['mail_webmaster'], |
---|
38 | |
---|
39 | 'L_GEN_TIME' => $lang['generation_time'], |
---|
40 | 'L_SEND_MAIL' => $lang['send_mail'], |
---|
41 | 'L_TITLE_MAIL' => $lang['title_send_mail'], |
---|
42 | 'L_WEBMASTER'=>$lang['webmaster'], |
---|
43 | |
---|
44 | )); |
---|
45 | |
---|
46 | if (DEBUG) |
---|
47 | { |
---|
48 | $template->assign_block_vars('debug', array()); |
---|
49 | } |
---|
50 | |
---|
51 | // |
---|
52 | // Generate the page |
---|
53 | // |
---|
54 | |
---|
55 | $template->pparse('tail'); |
---|
56 | ?> |
---|