[ Index ] |
|
Code source de PHP NUKE 7.9 |
1 <?php 2 /*************************************************************************** 3 * page_tail.php 4 * ------------------- 5 * begin : Saturday, Feb 13, 2001 6 * copyright : (C) 2001 The phpBB Group 7 * email : support@phpbb.com 8 * 9 * Id: page_tail.php,v 1.27.2.3 2004/12/22 02:04:00 psotfx Exp 10 * 11 * 12 ***************************************************************************/ 13 14 /*************************************************************************** 15 * 16 * This program is free software; you can redistribute it and/or modify 17 * it under the terms of the GNU General Public License as published by 18 * the Free Software Foundation; either version 2 of the License, or 19 * (at your option) any later version. 20 * 21 ***************************************************************************/ 22 23 if ( !defined('IN_PHPBB') ) 24 { 25 die('Hacking attempt'); 26 } 27 28 // 29 // Show the overall footer. 30 // 31 global $nukeuser, $popup; 32 $admin_link = ( $userdata['user_level'] == ADMIN ) ? '<a href="' . append_sid("modules/Forums/admin/index.$phpEx?admin=1") . '">' . $lang['Admin_panel'] . '</a><br /><br />' : ''; 33 34 $template->set_filenames(array( 35 'overall_footer' => ( empty($gen_simple_header) ) ? 'overall_footer.tpl' : 'simple_footer.tpl') 36 ); 37 38 $template->assign_vars(array( 39 'TRANSLATION_INFO' => ( isset($lang['TRANSLATION_INFO']) ) ? $lang['TRANSLATION_INFO'] : '', 40 'ADMIN_LINK' => $admin_link) 41 ); 42 43 $template->pparse('overall_footer'); 44 CloseTable(); 45 // 46 // Close our DB connection. 47 // 48 $db->sql_close(); 49 50 // 51 // Compress buffered output if required and send to browser 52 // 53 if ($popup != "1") { 54 include ("footer.php"); 55 } 56 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Apr 1 11:11:59 2007 | par Balluche grâce à PHPXref 0.7 |