[ 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.1 2002/05/12 00:47:41 psotfx Exp 10 * 11 * 12 ***************************************************************************/ 13 14 /*************************************************************************** 15 * This file is part of the phpBB2 port to Nuke 6.0 (c) copyright 2002 16 * by Tom Nitzschner (tom@toms-home.com) 17 * http://bbtonuke.sourceforge.net (or http://www.toms-home.com) 18 * 19 * As always, make a backup before messing with anything. All code 20 * release by me is considered sample code only. It may be fully 21 * functual, but you use it at your own risk, if you break it, 22 * you get to fix it too. No waranty is given or implied. 23 * 24 * Please post all questions/request about this port on http://bbtonuke.sourceforge.net first, 25 * then on my site. All original header code and copyright messages will be maintained 26 * to give credit where credit is due. If you modify this, the only requirement is 27 * that you also maintain all original copyright messages. All my work is released 28 * under the GNU GENERAL PUBLIC LICENSE. Please see the README for more information. 29 * 30 ***************************************************************************/ 31 32 /*************************************************************************** 33 * 34 * This program is free software; you can redistribute it and/or modify 35 * it under the terms of the GNU General Public License as published by 36 * the Free Software Foundation; either version 2 of the License, or 37 * (at your option) any later version. 38 * 39 ***************************************************************************/ 40 41 if ( !defined('IN_PHPBB') ) 42 { 43 die('Hacking attempt'); 44 } 45 46 // 47 // Show the overall footer. 48 // 49 global $nukeuser, $popup; 50 $admin_link = ( $userdata['user_level'] == ADMIN ) ? '<a href="' . append_sid("modules/Forums/admin/index.$phpEx?admin=1") . '">' . $lang['Admin_panel'] . '</a><br /><br />' : ''; 51 52 $template->set_filenames(array( 53 'overall_footer' => ( empty($gen_simple_header) ) ? 'overall_footer.tpl' : 'simple_footer.tpl') 54 ); 55 56 $template->assign_vars(array( 57 'PHPBB_VERSION' => '2' . $board_config['version'], 58 'TRANSLATION_INFO' => ( isset($lang['TRANSLATION_INFO']) ) ? $lang['TRANSLATION_INFO'] : '', 59 'ADMIN_LINK' => $admin_link) 60 ); 61 62 // 63 // Close our DB connection. 64 // 65 $db->sql_close(); 66 67 // 68 // Compress buffered output if required and send to browser 69 // 70 71 ?>
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 |