Dear @Smart thank you very much. It works now.
What about this page? I used same code that you gave for other page (match details) but all comments shown all week? Could you please help?
<?php defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
/* JoomLeague Ligaverwaltung und Tippspiel für Joomla!
* Copyright (C) 2007 Robert Moss
*
* Homepage: http://www.joomleague.de
* Support: htt://www.joomleague.de/forum/
*
* This file is part of JoomLeague.
*
* JoomLeague is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* Please note that the GPL states that any headers in files and
* Copyright notices as well as credits in headers, source files
* and output (screens, prints, etc.) can not be removed.
* You can extend them with your own credits, though...
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* The "GNU General Public License" (GPL) is available at
* http://www.gnu.org/copyleft/gpl.html.
*/
require_once "$mosConfig_absolute_path/components/com_joomleague/joomleague.js.php";?>
<a name="jl_top" id="jl_top"></a>
<!-- Header with Project Name-->
<?php if ($results_config['show_project_heading'] == "1" OR $overall_config['show_project_heading'] == "1") { ?>
<div class="componentheading" <?php if ($results_config['show_print_button'] == "1" OR $overall_config['show_print_button'] == "1") echo 'style="float:left;"';?>><?php echo $project->name; ?></div>
<!-- Druckfunktion -->
<?php if ($results_config['show_print_button'] == "1" OR $overall_config['show_print_button'] == "1") {
HTML_joomleague::PrintIcon( $row, $params, false, '' );
};?>
<!-- Druckfunktion Ende -->
<?php } ?>
<!-- Header END -->
<!-- section header e.g. ranking, results etc. -->
<?php
if ($results_config['show_events']==1) { HTML_joomleague::init_tabs(); }
if ($mytask=="edit"&&($allowed==1||(in_array($my->id, $alloweds)&&$my->id>0))) {
require_once "$mosConfig_absolute_path/components/com_joomleague/js/JL_eventsediting.js.php";
//HTML_joomleague::init_edit_events();
}
?>
<table width="100%" class="contentpaneopen">
<tr>
<td class="contentheading">
<?php
if ($current_round>0) {
if ($results_config['show_section_heading']==1) {
HTML_joomleague::show_matchdays_title(_JL_RESULTS, $rounds[$current_round-1]->id, &$results_config);
if ($allowed==1||($allowed==1||(in_array($my->id, $alloweds)&&$my->id>0))) {
HTML_joomleague::show_edit_icon();}
}
}
else {
if ($results_config['show_section_heading']==1) HTML_joomleague::show_matchdays_title(_JL_PLAN." - ". $team->name, 0, &$results_config);
}
?>
</td>
<?php
// select navigation of matchdays for browsing mode START
if (isset($pageNav2)&&$mytask!="edit"&&$results_config['show_matchday_dropdown']==1) echo '<td align="right">'._JL_MATCHDAYS_SELECT.$pageNav2.'</td>';
// select navigation of matchdays for browsing mode ENDS
?>
</tr>
</table>
<?php
if ($mytask=="edit"&&($allowed==1||(in_array($my->id, $alloweds)&&$my->id>0))) {
HTML_joomleague::init_edit_events();
HTML_joomleague::start_edit_form($current_round);
}
if ($allowed==1) {
if ($mytask=="edit"&&$project->current_round_auto==0) {
echo '<table width="100%"><tr><td style="text-align:right"><b>'._JL_RESULTS_SET_MATCHDAY.'</b>'.$project->roundsdropdown($current_round, count($rounds)).'</td></tr></table>';
}
}
?>
<br />
<!-- Main START -->
<table width="96%" align="center" border="0" cellpadding="3" cellspacing="0">
<?php
// this shows the matches (DO NOT DISABLE) START
HTML_joomleague::show_results(&$matches, &$results_config);
// this shows the matches (DO NOT DISABLE) ENDS
?>
</table>
<!-- Main END -->
<?php
if ($mytask=="edit"&&($allowed==1||(in_array($my->id, $alloweds)&&$my->id>0))) {
?>
<input type="hidden" class="button" name="save_data" value="1" />
</form>
<?php
HTML_joomleague::close_edit_events($mdd);
};?>
<!-- Matchdays Output -->
<?php if (isset($pageNav)&&$results_config['show_matchday_pagenav']==1) { ?>
<table width="96%" align="center" border="0" cellpadding="3" cellspacing="0">
<tr>
<td align="center"><br /><?=$pageNav ?></td>
</tr>
</table>
<?php };?>
<!-- Matchdays Output END -->
<!-- Print Button START -->
<?php if ($results_config['show_back_button'] > 0 OR $overall_config['show_back_button'] > 0) {;?>
<?php if ($results_config['show_back_button'] == "1" OR $overall_config['show_back_button'] == "1") echo '<div align="left">'; else echo '<div align="right">';?>
<?php
$params = & new mosParameters( '' );
$params->def( 'back_button', true );
$params->def( 'popup', false );
mosHTML::BackButton( $params );
?></div>
<?php };?>
<!-- Print Button END -->