Yah I will share the script, am still having problems with grabing the media info when I select the url:
index.php?id=media&m=1 or index.php?id=media&m=2 etc....
Also nifty Smarty.net tip I found, on the "{include file="header.tpl"}" if you add "title='name of page here'" then have the smarty tag "{$title}" in the title it will display the text you input.
Example:
{include file="header.tpl" title=Home Page}
In header.tpl:
<title>{$title}</title>
It will display:
<title>Home Page</title>
cool thanks.
I am learning more about smarty every day like in the .tpl
this is part of the display video/post by user

<center>Click On Each Link Below To View Other Post By {$user5}
{foreach from=$userresult key=myid item=item}
<li><a href="media-{$item.id}">Post {$item.id}<a></li>
{/foreach}
</center>
and php file
$result=mysql_query("SELECT id FROM pp_files where submitter = '$user5'");
$counter = 1;
$userresult = array();
do
{
while ($row = mysql_fetch_array($result, MYSQL_ASSOC))
{
$userresult[$counter] = array("id"=>$row['id']);
$counter = $counter + 1;
}
}
while (! EOF);
$smarty->assign('userresult', $userresult);