Location: PHPKode > projects > Top Music module > Top Music 3.0.7/html/modules/topMusic/themes/sergids/songvisited_list.tpl
{config_load file=$configfile section="songvisits"}
<div id="tm_module">
<table class="tm_list">
	<thead>
	<tr><td>&nbsp;</td><td>{#Title#}</td><td>{#Album#}</td><td>{#Artist#}</td>
		<td>{#Hits#}</td><td>&nbsp;</td></tr>
	</thead>
	<tbody>
	{foreach item="songO" from=$songVisitedList}
		{assign var="i" value=$i+1}
		<tr {cycle values="class=\"odd\","}>
			<td>{$i}</td>
		{if !$tm_easyURL}
			<td><a href="modules.php?name={$module_name}&op=song&idartist={$songO->getIdartist()}&idalbum={$songO->getIdalbum()}&idsong={$songO->getId()}">{$songO->getTitle()}</a></td>
			<td><a href="modules.php?name={$module_name}&op=album&idartist={$songO->getIdartist()}&idalbum={$songO->getIdalbum()}&idsong={$songO->getId()}">{$songO->getAlbumname()}</a></td>
			<td><a href="modules.php?name={$module_name}&op=artist&idartist={$songO->getIdartist()}&idalbum={$songO->getIdalbum()}&idsong={$songO->getId()}">{$songO->getArtistname()}</a></td>
		{elseif !$tm_easyURLtype}
			<td><a href="{$tm_BaseURL}/music.php/artist/{$songO->getArtistname()|urlencode}/album/{$songO->getAlbumname()|urlencode}/song/{$songO->getTitle()|urlencode}">{$songO->getTitle()}</a></td>
			<td><a href="{$tm_BaseURL}/music.php/artist/{$songO->getArtistname()|urlencode}/album/{$songO->getAlbumname()|urlencode}">{$songO->getAlbumname()}</a></td>
			<td><a href="{$tm_BaseURL}/music.php/artist/{$songO->getArtistname()|urlencode}">{$songO->getArtistname()}</a></td>
		{elseif $tm_easyURLtype==2}
			<td><a href="song{$songO->getIdartist()}_{$songO->getIdalbum()}_{$songO->getId()}.html">{$songO->getTitle()}</a></td>
			<td><a href="album{$songO->getIdartist()}_{$songO->getIdalbum()}.html">{$songO->getAlbumname()}</a></td>
			<td><a href="artist{$songO->getIdartist()}.html">{$songO->getArtistname()}</a></td>
		{else}
			<td><a href="{$tm_BaseURL}/music.php/artist/{$songO->getIdartist()}/album/{$songO->getIdalbum()}/song/{$songO->getId()}">{$songO->getTitle()}</a></td>
			<td><a href="{$tm_BaseURL}/music.php/artist/{$songO->getIdartist()}/album/{$songO->getIdalbum()}">{$songO->getAlbumname()}</a></td>
			<td><a href="{$tm_BaseURL}/music.php/artist/{$songO->getIdartist()}">{$songO->getArtistname()}</a></td>
		{/if}
		<td align="right">{$songO->getCount()}</td>
		<td>{$genericView->printPlayer($songO,"button",$module_name,$tm_config)}</td>
		</tr>
	{/foreach}
	</tbody>
	<tfoot>
	</tfoot>
</table>
</div>
Return current item: Top Music module