Hi everybody, im very happy to have you back!!! I missed this forum.
Ill start to "remember" some old codes from this forum.
Insert this code on viewvid.tpl
{section name=videos_mv loop=$videos_mv max=4}
<a href="videos.php?id={$videos_mv[videos_mv].id}"><img height='76' width='103' src="{$videos_mv[videos_mv].picture}" class="thumbnail" alt="{$videos_mv[videos_mv].name}" title="{$videos_mv[videos_mv].name}"/>
On this code, i put an ALT, when the user puts the mouse over the image, the name of the videos is showed too.
And insert this code on videos.php after require('header.php');
$query_mv = "SELECT * FROM pp_files WHERE approved='1' AND reject='0' ORDER BY views DESC";
$result_mv = mysql_query($query_mv);
while ($row_mv = mysql_fetch_assoc($result_mv)){
$videos_mv[] = $row_mv;
}
$smarty->assign('videos_mv', $videos_mv);
THANK YOU GUYS FOR COME BACK..