{config_load file=$configfile section="artistvisits"}
<div id="tm_module">
<table class="tm_list">
<thead>
<tr><td> </td><td>{#Artist#}</td><td>{#Hits#}</td></tr>
</thead>
<tbody>
{foreach item="artistO" from=$artistVisitedList}
{assign var="i" value=$i+1}
<tr {cycle values="class=\"odd\","}>
<td>{$i}</td>
<td>
{if !$tm_easyURL}
<a href="modules.php?name={$module_name}&op=artist&idartist={$artistO->getId()}">
{elseif !$tm_easyURLtype}
<a href="{$tm_BaseURL}/music.php/artist/{$artistO->getName()|urlencode}">
{elseif $tm_easyURLtype==2}
<a href="artist{$artistO->getId()}.html">
{else}
<a href="{$tm_BaseURL}/music.php/artist/{$artistO->getId()}">
{/if}
{$artistO->getName()}</a></td>
<td align="right">{$artistO->getCount()}</td>
</tr>
{/foreach}
</tbody>
<tfoot></tfoot>
</table>
</div>