|
|
f2e824 |
|
|
|
f2e824 |
# Mantis - a php based bugtracking system
|
|
|
f2e824 |
|
|
|
f2e824 |
# Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
|
|
|
f2e824 |
# Copyright (C) 2002 - 2007 Mantis Team - mantisbt-dev@lists.sourceforge.net
|
|
|
f2e824 |
|
|
|
f2e824 |
# Mantis is free software: you can redistribute it and/or modify
|
|
|
f2e824 |
# it under the terms of the GNU General Public License as published by
|
|
|
f2e824 |
# the Free Software Foundation, either version 2 of the License, or
|
|
|
f2e824 |
# (at your option) any later version.
|
|
|
f2e824 |
#
|
|
|
f2e824 |
# Mantis is distributed in the hope that it will be useful,
|
|
|
f2e824 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
f2e824 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
f2e824 |
# GNU General Public License for more details.
|
|
|
f2e824 |
#
|
|
|
f2e824 |
# You should have received a copy of the GNU General Public License
|
|
|
f2e824 |
# along with Mantis. If not, see <http://www.gnu.org/licenses/>.
|
|
|
f2e824 |
|
|
|
f2e824 |
# --------------------------------------------------------
|
|
|
f2e824 |
# $Id: print_all_bug_page_word.php,v 1.65.2.1 2007-10-13 22:34:17 giallu Exp $
|
|
|
f2e824 |
# --------------------------------------------------------
|
|
|
f2e824 |
?>
|
|
|
f2e824 |
|
|
|
f2e824 |
# Word 2000 export page
|
|
|
f2e824 |
# The bugs displayed in print_all_bug_page.php are saved in a .doc file
|
|
|
f2e824 |
# The IE icon allows to see or directly print the same result
|
|
|
f2e824 |
?>
|
|
|
f2e824 |
|
|
|
f2e824 |
require_once( 'core.php' );
|
|
|
f2e824 |
|
|
|
f2e824 |
$t_core_path = config_get( 'core_path' );
|
|
|
f2e824 |
|
|
|
f2e824 |
require_once( $t_core_path.'current_user_api.php' );
|
|
|
f2e824 |
require_once( $t_core_path.'bug_api.php' );
|
|
|
f2e824 |
require_once( $t_core_path.'custom_field_api.php' );
|
|
|
f2e824 |
require_once( $t_core_path.'string_api.php' );
|
|
|
f2e824 |
require_once( $t_core_path.'date_api.php' );
|
|
|
f2e824 |
?>
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
$f_type_page = gpc_get_string( 'type_page', 'word' );
|
|
|
f2e824 |
$f_search = gpc_get_string( 'search', false ); # @@@ need a better default
|
|
|
f2e824 |
$f_offset = gpc_get_int( 'offset', 0 );
|
|
|
f2e824 |
$f_export = gpc_get_string( 'export' );
|
|
|
f2e824 |
$f_show_flag = gpc_get_bool( 'show_flag' );
|
|
|
f2e824 |
|
|
|
f2e824 |
helper_begin_long_process();
|
|
|
f2e824 |
|
|
|
f2e824 |
# word or html export
|
|
|
f2e824 |
if ( $f_type_page != 'html' ) {
|
|
|
f2e824 |
$t_export_title = helper_get_default_export_filename( '' );
|
|
|
f2e824 |
$t_export_title = ereg_replace( '[\/:*?"<>|]', '', $t_export_title );
|
|
|
f2e824 |
|
|
|
f2e824 |
# Make sure that IE can download the attachments under https.
|
|
|
f2e824 |
header( 'Pragma: public' );
|
|
|
f2e824 |
|
|
|
f2e824 |
header( 'Content-Type: application/msword' );
|
|
|
f2e824 |
|
|
|
f2e824 |
if ( preg_match( "/MSIE/", $_SERVER["HTTP_USER_AGENT"] ) ) {
|
|
|
f2e824 |
header( 'Content-Disposition: attachment; filename="' . urlencode( $t_export_title ) . '.doc"' );
|
|
|
f2e824 |
} else {
|
|
|
f2e824 |
header( 'Content-Disposition: attachment; filename="' . $t_export_title . '.doc"' );
|
|
|
f2e824 |
}
|
|
|
f2e824 |
}
|
|
|
f2e824 |
|
|
|
f2e824 |
# This is where we used to do the entire actual filter ourselves
|
|
|
f2e824 |
$t_page_number = gpc_get_int( 'page_number', 1 );
|
|
|
f2e824 |
$t_per_page = -1;
|
|
|
f2e824 |
$t_bug_count = null;
|
|
|
f2e824 |
$t_page_count = null;
|
|
|
f2e824 |
|
|
|
f2e824 |
$result = filter_get_bug_rows( $t_page_number, $t_per_page, $t_page_count, $t_bug_count );
|
|
|
f2e824 |
$row_count = sizeof( $result );
|
|
|
f2e824 |
|
|
|
f2e824 |
?>
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
xmlns:w="urn:schemas-microsoft-com:office:word"
|
|
|
f2e824 |
xmlns="http://www.w3.org/TR/REC-html40">
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
//$t_bug_arr_sort[$row_count]=-1;
|
|
|
f2e824 |
$f_bug_arr = explode_enum_string( $f_export );
|
|
|
f2e824 |
|
|
|
f2e824 |
for( $j=0; $j < $row_count; $j++ ) {
|
|
|
f2e824 |
|
|
|
f2e824 |
# prefix bug data with v_
|
|
|
f2e824 |
extract( $result[$j], EXTR_PREFIX_ALL, 'v' );
|
|
|
f2e824 |
|
|
|
f2e824 |
# display the available and selected bugs
|
|
|
f2e824 |
if ( in_array( $v_id, $f_bug_arr ) || ( $f_show_flag==0 ) ) {
|
|
|
f2e824 |
|
|
|
f2e824 |
$t_last_updated = date( $g_short_date_format, $v_last_updated );
|
|
|
f2e824 |
|
|
|
f2e824 |
# grab the bugnote count
|
|
|
f2e824 |
$bugnote_count = bug_get_bugnote_count( $v_id );
|
|
|
f2e824 |
|
|
|
f2e824 |
# grab the project name
|
|
|
f2e824 |
$t_project_name = project_get_field( $v_project_id, 'name' );
|
|
|
f2e824 |
|
|
|
f2e824 |
# bug text infos
|
|
|
f2e824 |
$t_bug_text_table = config_get( 'mantis_bug_text_table' );
|
|
|
f2e824 |
$query3 = "SELECT *
|
|
|
f2e824 |
FROM $t_bug_text_table
|
|
|
f2e824 |
WHERE id='$v_bug_text_id'";
|
|
|
f2e824 |
$result3 = db_query( $query3 );
|
|
|
f2e824 |
$row = db_fetch_array( $result3 );
|
|
|
f2e824 |
extract( $row, EXTR_PREFIX_ALL, 'v2' );
|
|
|
f2e824 |
|
|
|
f2e824 |
$v_os = string_display( $v_os );
|
|
|
f2e824 |
$v_os_build = string_display( $v_os_build );
|
|
|
f2e824 |
$v_platform = string_display( $v_platform );
|
|
|
f2e824 |
$v_version = string_display( $v_version );
|
|
|
f2e824 |
$v_summary = string_display_links( $v_summary );
|
|
|
f2e824 |
$v2_description = string_display_links( $v2_description );
|
|
|
f2e824 |
$v2_steps_to_reproduce = string_display_links( $v2_steps_to_reproduce );
|
|
|
f2e824 |
$v2_additional_information = string_display_links( $v2_additional_information );
|
|
|
f2e824 |
### note that dates are converted to unix format in filter_get_bug_rows
|
|
|
f2e824 |
?>
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
:
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
:
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
:
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
:
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
:
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
:
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
:
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
:
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
:
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
if ( access_has_bug_level( config_get( 'view_handler_threshold' ), $v_id ) ) {
|
|
|
f2e824 |
print_user_with_subject( $v_handler_id, $v_id );
|
|
|
f2e824 |
}
|
|
|
f2e824 |
?>
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
:
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
:
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
:
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
:
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
:
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
:
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
:
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
:
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
if ( !config_get( 'enable_relationship' ) ) {
|
|
|
f2e824 |
echo lang_get( 'duplicate_id' );
|
|
|
f2e824 |
} # MASC RELATIONSHIP
|
|
|
f2e824 |
?>
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
if ( !config_get( 'enable_relationship' ) ) {
|
|
|
f2e824 |
print_duplicate_id( $v_duplicate_id );
|
|
|
f2e824 |
} # MASC RELATIONSHIP
|
|
|
f2e824 |
?>
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
:
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
$t_related_custom_field_ids = custom_field_get_linked_ids( $v_project_id );
|
|
|
f2e824 |
foreach( $t_related_custom_field_ids as $t_id ) {
|
|
|
f2e824 |
$t_def = custom_field_get_definition( $t_id );
|
|
|
f2e824 |
?>
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
:
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
} // foreach
|
|
|
f2e824 |
?>
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
:
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
:
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
:
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
:
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
# account profile description
|
|
|
f2e824 |
if ( $v_profile_id > 0 ) {
|
|
|
f2e824 |
$t_user_prof_table = config_get( 'mantis_user_profile_table' );
|
|
|
f2e824 |
$query4 = "SELECT description
|
|
|
f2e824 |
FROM $t_user_prof_table
|
|
|
f2e824 |
WHERE id='$v_profile_id'";
|
|
|
f2e824 |
$result4 = db_query( $query4 );
|
|
|
f2e824 |
$t_profile_description = '';
|
|
|
f2e824 |
if ( db_num_rows( $result4 ) > 0 ) {
|
|
|
f2e824 |
$t_profile_description = db_result( $result4, 0 );
|
|
|
f2e824 |
}
|
|
|
f2e824 |
$t_profile_description = string_display( $t_profile_description );
|
|
|
f2e824 |
|
|
|
f2e824 |
?>
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
} # profile description
|
|
|
f2e824 |
?>
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
:
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
$t_bug_file_table = config_get( 'mantis_bug_file_table' );
|
|
|
f2e824 |
$query5 = "SELECT filename, filesize, date_added
|
|
|
f2e824 |
FROM $t_bug_file_table
|
|
|
f2e824 |
WHERE bug_id='$v_id'";
|
|
|
f2e824 |
$result5 = db_query( $query5 );
|
|
|
f2e824 |
$num_files = db_num_rows( $result5 );
|
|
|
f2e824 |
for ( $i=0;$i<$num_files;$i++ ) {
|
|
|
f2e824 |
$row = db_fetch_array( $result5 );
|
|
|
f2e824 |
extract( $row, EXTR_PREFIX_ALL, 'v2' );
|
|
|
f2e824 |
$v2_filename = file_get_display_name( $v2_filename );
|
|
|
f2e824 |
$v2_filesize = round( $v2_filesize / 1024 );
|
|
|
f2e824 |
$v2_date_added = date( config_get( 'normal_date_format' ), db_unixtimestamp( $v2_date_added ) );
|
|
|
f2e824 |
|
|
|
f2e824 |
switch ( $g_file_upload_method ) {
|
|
|
f2e824 |
case DISK: PRINT "$v2_filename ($v2_filesize KB) $v2_date_added";
|
|
|
f2e824 |
break;
|
|
|
f2e824 |
case DATABASE: PRINT "$v2_filename ($v2_filesize KB) $v2_date_added";
|
|
|
f2e824 |
break;
|
|
|
f2e824 |
}
|
|
|
f2e824 |
|
|
|
f2e824 |
if ( $i != ( $num_files - 1 ) ) {
|
|
|
f2e824 |
PRINT ' ';
|
|
|
f2e824 |
}
|
|
|
f2e824 |
}
|
|
|
f2e824 |
?>
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
# get the bugnote data
|
|
|
f2e824 |
if ( !access_has_bug_level( config_get( 'private_bugnote_threshold' ), $v_id ) ) {
|
|
|
f2e824 |
$t_restriction = 'AND view_state=' . VS_PUBLIC;
|
|
|
f2e824 |
} else {
|
|
|
f2e824 |
$t_restriction = '';
|
|
|
f2e824 |
}
|
|
|
f2e824 |
|
|
|
f2e824 |
$t_bugnote_table = config_get( 'mantis_bugnote_table' );
|
|
|
f2e824 |
$t_bugnote_text_table = config_get( 'mantis_bugnote_text_table' );
|
|
|
f2e824 |
$t_bugnote_order = current_user_get_pref( 'bugnote_order' );
|
|
|
f2e824 |
|
|
|
f2e824 |
$query6 = "SELECT *
|
|
|
f2e824 |
FROM $t_bugnote_table
|
|
|
f2e824 |
WHERE bug_id='$v_id' $t_restriction
|
|
|
f2e824 |
ORDER BY date_submitted $t_bugnote_order";
|
|
|
f2e824 |
$result6 = db_query( $query6 );
|
|
|
f2e824 |
$num_notes = db_num_rows( $result6 );
|
|
|
f2e824 |
?>
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
# no bugnotes
|
|
|
f2e824 |
if ( 0 == $num_notes ) {
|
|
|
f2e824 |
?>
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
else { # print bugnotes ?>
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
for ( $k=0; $k < $num_notes; $k++ ) {
|
|
|
f2e824 |
# prefix all bugnote data with v3_
|
|
|
f2e824 |
$row = db_fetch_array( $result6 );
|
|
|
f2e824 |
extract( $row, EXTR_PREFIX_ALL, 'v3' );
|
|
|
f2e824 |
$v3_date_submitted = date( config_get( 'normal_date_format' ), ( db_unixtimestamp( $v3_date_submitted ) ) );
|
|
|
f2e824 |
$v3_last_modified = date( config_get( 'normal_date_format' ), ( db_unixtimestamp( $v3_last_modified ) ) );
|
|
|
f2e824 |
|
|
|
f2e824 |
# grab the bugnote text and id and prefix with v3_
|
|
|
f2e824 |
$query6 = "SELECT note, id
|
|
|
f2e824 |
FROM $t_bugnote_text_table
|
|
|
f2e824 |
WHERE id='$v3_bugnote_text_id'";
|
|
|
f2e824 |
$result7 = db_query( $query6 );
|
|
|
f2e824 |
$v3_note = db_result( $result7, 0, 0 );
|
|
|
f2e824 |
$v3_bugnote_text_id = db_result( $result7, 0, 1 );
|
|
|
f2e824 |
|
|
|
f2e824 |
$v3_note = string_display_links( $v3_note );
|
|
|
f2e824 |
?>
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
()
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
echo ' (' . lang_get( 'edited_on').' '. $v3_last_modified . ')';
|
|
|
f2e824 |
} ?>
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
switch ( $v3_note_type ) {
|
|
|
f2e824 |
case REMINDER:
|
|
|
f2e824 |
echo lang_get( 'reminder_sent_to' ) . ': ';
|
|
|
f2e824 |
$v3_note_attr = substr( $v3_note_attr, 1, strlen( $v3_note_attr ) - 2 );
|
|
|
f2e824 |
$t_to = array();
|
|
|
f2e824 |
foreach ( explode( '|', $v3_note_attr ) as $t_recipient ) {
|
|
|
f2e824 |
$t_to[] = prepare_user_name( $t_recipient );
|
|
|
f2e824 |
}
|
|
|
f2e824 |
echo implode( ', ', $t_to ) . ' ';
|
|
|
f2e824 |
default:
|
|
|
f2e824 |
echo $v3_note;
|
|
|
f2e824 |
}
|
|
|
f2e824 |
?>
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
} # end for
|
|
|
f2e824 |
} # end else
|
|
|
f2e824 |
?>
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
|
|
|
f2e824 |
echo '
';
|
|
|
f2e824 |
} # end in_array
|
|
|
f2e824 |
} # end main loop
|
|
|
f2e824 |
?>
|