pues quisiera ver si me pudieran ayudar, a encontrar un bloque para el top poster ( los usuarios que mas escriben) pero que sea en scroll, es deicr que suba de manera automatica, creo ke el efecto si es scroll jajaja, si no es asi espero que me entiendan, algo parecido es el bloque de los banners, que tienen muchas paginas php, donde avanzan los banners y se ven todos los afiliados
o si no existe tal bloque alguien me puede ayudar a modificar el codigo para que se haga este efecto
Codigo
<?php/************************************************************************/
/* PHP-NUKE: Web Portal System */
/* =========================== */
/* */
/* Copyright (c) 2002 by Francisco Burzi ([email protected]) */
/* http://phpnuke.org */
/* */
/* This program 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. */
/************************************************************************/
/************************************************************************/
/* block-Top_Posters.php */
/* =========================== */
/* */
/* Copyright (c) 2003 by chatserv ([email protected]) */
/* http://nukeresources.com */
/************************************************************************/
/* Cosmetic changes by dvsDave at [email protected] */
/* http://controlbooth.com */
/************************************************************************/
if (eregi("block-Top_Posters.php", $_SERVER['PHP_SELF'] ) {
Header("Location: index.php" ;
die();
}
$a = 1;
global $user, $cookie, $sitename, $prefix, $user_prefix, $dbi, $admin, $module_name;
$result=sql_query("SELECT user_id, username, user_posts, user_avatar FROM ".$user_prefix."_users ORDER BY user_posts DESC LIMIT 0,5", $dbi);
while(list($user_id, $username, $user_posts, $user_avatar) = sql_fetch_row($result, $dbi)) {
$content .= "<div align=\"left\"><table class=\"outer\" cellpadding=\"0\" style=\"border-collapse: collapse\" bordercolor=\"#111111\" cellspacing=\"1\" border=\"0\">";
$content .= "<tr class=\"even\" vAlign=\"middle\">";
$content .= "<td align=\"middle\">";
if ($user_avatar=="" {
$content .= " <a href=\"modules.php?name=Forums&file=profile&mode=viewprofile&u=$user_id\"><img alt src=\"modules/Forums/images/avatars/noimage.gif\" border =\"0\" width=\"32\"></a></td>";
}
else
if (eregi("http://", $user_avatar)) {
$content .= " <a href=\"modules.php?name=Forums&file=profile&mode=viewprofile&u=$user_id\"><img alt src=\"$user_avatar\" border =\"0\" width=\"32\"></a></td>";
}
else
$content .= " <a href=\"modules.php?name=Forums&file=profile&mode=viewprofile&u=$user_id\"><img alt src=\"modules/Forums/images/avatars/$user_avatar\" border =\"0\" width=\"32\"></a></td>";
$content .= "<td align=\"middle\"> <a href=\"modules.php?name=Forums&file=profile&mode=viewprofile&u=$user_id\"><b>$username</b></a> <br> <a href=\"modules.php?name=Forums&file=search&search_author=$username\">Mensajes:</a> <br>";
$content .= " <a href=\"modules.php?name=Forums&file=search&search_author=$username\">$user_posts</a> </td>";
$content .= "</tr>";
$content .= "</table></div><hr>";
}
?>