ciao, volevo cambiare se possibile (vedi
http://www.miop.it/PUBLIC/utmss/ ) i puntini difianco all'elenco degli ultimi messaggi del forum.
cosa modifico in questo file:
grazie
<?php
/**
* @version $Id: mod_latestphpbb.php 0002 11-09-2008
* @package Tuxway
* @copyright Copyright (C) 2008 Filpi. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
defined('_JEXEC') or die('Restricted access');
global $mainframe, $headtag;
$type = intval( $params->get( 'type', 1 ) );
$count = intval( $params->get( 'count', 5 ) );
$catid = trim( $params->get( 'catid' ) );
$secid = trim( $params->get( 'secid' ) );
$show_front = $params->get( 'show_front', 1 );
$urlPath = "http://".$_SERVER['SERVER_NAME']."/public/utms/forum";
$urlImg = "http://".$_SERVER['SERVER_NAME']."/public/utms/forum/templates/subSilver/images/folder_new_big.gif";
$phpbb_root_path = 'forum/';
define('IN_PHPBB', true);
$table_prefix = "phpbb_";
$table_topics = $table_prefix. "topics";
$table_forums = $table_prefix. "forums";
$table_posts = $table_prefix. "posts";
$table_users = $table_prefix. "users";
$query = "SELECT t.topic_id, t.topic_title, t.topic_last_post_id, t.forum_id, p.post_id, p.poster_id, p.post_time, u.user_id, u.username
FROM $table_topics t, $table_forums f, $table_posts p, $table_users u
WHERE t.topic_id = p.topic_id AND
f.forum_id = t.forum_id AND
t.topic_status <> 2 AND
p.post_id = t.topic_last_post_id AND
p.poster_id = u.user_id
ORDER BY p.post_id DESC LIMIT $count";
$result = mysql_query($query) or die($query);
echo "<ul>";
while ($row = mysql_fetch_array($result, MYSQL_ASSOC))
{
echo "<li><a href=\"".$urlPath."/viewtopic.php?p=".$row['post_id']."#".$row['post_id']."\">".$row["topic_title"]."</a> inserito da <a href=\"".$urlPath."/memberlist.php?mode=viewprofile&u=".$row['user_id']."\">".$row['username']."</a></li>";
}
echo "</ul>";
mysql_free_result($result);
?>