[ Index ] |
|
Code source de Mantis 1.1.0rc3 |
1 <?php 2 # Mantis - a php based bugtracking system 3 4 # Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org 5 # Copyright (C) 2002 - 2007 Mantis Team - mantisbt-dev@lists.sourceforge.net 6 7 # Mantis is free software: you can redistribute it and/or modify 8 # it under the terms of the GNU General Public License as published by 9 # the Free Software Foundation, either version 2 of the License, or 10 # (at your option) any later version. 11 # 12 # Mantis is distributed in the hope that it will be useful, 13 # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 # GNU General Public License for more details. 16 # 17 # You should have received a copy of the GNU General Public License 18 # along with Mantis. If not, see <http://www.gnu.org/licenses/>. 19 20 # -------------------------------------------------------- 21 # $Revision: 1.62.2.1 $ 22 # $Author: giallu $ 23 # $Date: 2007-10-13 22:34:48 $ 24 # 25 # $Id: view_all_bug_page.php,v 1.62.2.1 2007-10-13 22:34:48 giallu Exp $ 26 # -------------------------------------------------------- 27 ?> 28 <?php 29 require_once ( 'core.php' ); 30 31 $t_core_path = config_get( 'core_path' ); 32 33 require_once( $t_core_path.'compress_api.php' ); 34 require_once( $t_core_path.'filter_api.php' ); 35 require_once( $t_core_path.'last_visited_api.php' ); 36 ?> 37 <?php auth_ensure_user_authenticated() ?> 38 <?php 39 $f_page_number = gpc_get_int( 'page_number', 1 ); 40 41 $t_per_page = null; 42 $t_bug_count = null; 43 $t_page_count = null; 44 45 $rows = filter_get_bug_rows( $f_page_number, $t_per_page, $t_page_count, $t_bug_count, null, null, null, true ); 46 if ( $rows === false ) { 47 print_header_redirect( 'view_all_set.php?type=0' ); 48 } 49 50 $t_bugslist = Array(); 51 $t_row_count = sizeof( $rows ); 52 for($i=0; $i < $t_row_count; $i++) { 53 array_push($t_bugslist, $rows[$i]["id"] ); 54 } 55 56 gpc_set_cookie( config_get( 'bug_list_cookie' ), implode( ',', $t_bugslist ) ); 57 58 compress_enable(); 59 60 html_page_top1( lang_get( 'view_bugs_link' ) ); 61 62 if ( current_user_get_pref( 'refresh_delay' ) > 0 ) { 63 html_meta_redirect( 'view_all_bug_page.php?page_number='.$f_page_number, current_user_get_pref( 'refresh_delay' )*60 ); 64 } 65 66 html_page_top2(); 67 68 print_recently_visited(); 69 70 include( dirname( __FILE__ ) . DIRECTORY_SEPARATOR . 'view_all_inc.php' ); 71 72 html_page_bottom1( __FILE__ ); 73 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Thu Nov 29 09:42:17 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |