Location: PHPKode > projects > Top Music module > Top Music 3.0.7/html/modules/topMusic/themes/sergids/songlist_list.tpl
{foreach key=key item=song from=$song_list}
	<tr>
		<td>{$song->getNumber()}</td><td>&nbsp;</td>
		<td>
		{if !$tm_easyURL}
			<a href="modules.php?name={$module_name}&op=song&idartist={$song->getIdartist()}&idalbum={$song->getIdalbum()}&idsong={$song->getId()}">
		{elseif !$tm_easyURLtype}
			<a href="{$tm_BaseURL}/music.php/artist/{$song->getArtistname()|urlencode}/album/{$song->getAlbumname()|urlencode}/song/{$song->getTitle()|urlencode}">
		{elseif $tm_easyURLtype==2}
			<a href="song{$song->getIdartist()}_{$song->getIdalbum()}_{$song->getId()}.html">
		{else}
			<a href="{$tm_BaseURL}/music.php/artist/{$song->getIdartist()}/album/{$song->getIdalbum()}/song/{$song->getId()}">
		{/if}
		{$song->getTitle()}</a></td><td>&nbsp;</td>
		{if $song->getLyrics()!=""}
			<td>
			{if !$tm_easyURL}
				<a href="modules.php?name={$module_name}&op=song&idartist={$song->getIdartist()}&idalbum={$song->getIdalbum()}&idsong={$song->getId()}">
			{elseif !$tm_easyURLtype}
				<a href="{$tm_BaseURL}/music.php/artist/{$song->getArtistname()|urlencode}/album/{$song->getAlbumname()|urlencode}/song/{$song->getTitle()|urlencode}">
			{elseif $tm_easyURLtype==2}
				<a href="song{$song->getIdartist()}_{$song->getIdalbum()}_{$song->getId()}.html">
			{else}
				<a href="{$tm_BaseURL}/music.php/artist/{$song->getIdartist()}/album/{$song->getIdalbum()}/song/{$song->getId()}">
			{/if}
			<img src="modules/{$module_name}/themes/{$tm_theme}/images/lyrics.gif" border="0" title="{#Lyrics#}"></a></td><td>&nbsp;</td>
		{else}
			<td><img src="modules/{$module_name}/themes/{$tm_theme}/images/nolyrics.gif" border="0" title="{#NoLyrics#}"></td><td>&nbsp;</td>
		{/if}

		<td>
		{$genericView->printPlayer($song,"button",$module_name,$tm_config)}
		</td>
	
		<td></td>
	</tr>
 {/foreach}
Return current item: Top Music module