Location: PHPKode > projects > Top Music module > Top Music 3.0.7/html/modules/topMusic/themes/sergids/albumvisited_list.tpl
{config_load file=$configfile section="albumvisits"}
<div id="tm_module">
<table class="tm_list">
	<thead>
	<tr><td>&nbsp;</td><td>{#Title#}</td><td>{#Artist#}</td><td>{#Hits#}</td></tr>
	</thead>
	<tbody>
	{foreach item="albumO" from=$albumVisitedList}
		{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=album&idartist={$albumO->getIdartist()}&idalbum={$albumO->getId()}">{$albumO->getTitle()}</a></td>
			<td><a href="modules.php?name={$module_name}&op=artist&idartist={$albumO->getIdartist()}&idalbum={$albumO->getId()}">{$albumO->getArtistname()}</a></td>
		{elseif !$tm_easyURLtype}
			<td><a href="{$tm_BaseURL}/music.php/artist/{$albumO->getArtistname()|urlencode}/album/{$albumO->getTitle()|urlencode}">{$albumO->getTitle()}</a></td>
			<td><a href="{$tm_BaseURL}/music.php/artist/{$albumO->getArtistname()|urlencode}">{$albumO->getArtistname()}</a></td>
		{elseif $tm_easyURLtype==2}
			<td><a href="album{$albumO->getIdartist()}_{$albumO->getId()}.html">{$albumO->getTitle()}</a></td>
			<td><a href="artist{$albumO->getIdartist()}.html">{$albumO->getArtistname()}</a></td>
		{else}
			<td><a href="{$tm_BaseURL}/music.php/artist/{$albumO->getIdartist()}/album/{$albumO->getId()}">{$albumO->getTitle()}</a></td>
			<td><a href="{$tm_BaseURL}/music.php/artist/{$albumO->getIdartist()}">{$albumO->getArtistname()}</a></td>
		{/if}
		<td align="right">{$albumO->getCount()}</td>
		</tr>
	{/foreach}
	</tbody>
	<tfoot></tfoot>
</table>
</div>
Return current item: Top Music module