Location: PHPKode > projects > Top Music module > Top Music 3.0.7/html/modules/topMusic/themes/sergids/songchart_list.tpl
<div id="tm_module">
<table class="tm_list">
	<thead>
		<tr><td colspan="2">{#Pos#}</td><td>{#Title#}</td><td>{#Album#}</td><td>{#Artist#}</td><td>{#DaysPos#}</td><td>{#DaysChart#}</td><td>&nbsp;</td></tr>
	</thead>
	<tbody>
{foreach item="element" from=$chart->elements}
{assign var="songO" value=$element->element}
	<tr class="{cycle values=odd,}">
		<td class="position">{$element->position}</td>
		<td class="position_ant">
		{if $element->chartsince==0}
			<img src="modules/{$module_name}/themes/{$tm_theme}/images/new.gif" align="absmiddle" title="New">
		{elseif $element->position_ant-$element->position>0}
			<img src="modules/{$module_name}/themes/{$tm_theme}/images/up.gif" align="absmiddle" title="Up">
		{elseif $element->position_ant-$element->position<0}
			<img src="modules/{$module_name}/themes/{$tm_theme}/images/down.gif" align="absmiddle" title="Down">
		{/if}
		{if $element->position_ant-$element->position!=0}
			{if $element->position_ant-$element->position>0}+{/if}{$element->position_ant-$element->position}
		{elseif $element->chartsince>0}
			<img src="modules/{$module_name}/themes/{$tm_theme}/images/equal.gif" align="absmiddle" title="Same">
		{/if}
		</td>
			{if !$tm_easyURL}
				<td><a href="modules.php?name={$module_name}&op=song&idartist={$songO->idartist}&idalbum={$songO->idalbum}&idsong={$songO->id}">{$songO->title}</a></td>
				<td><a href="modules.php?name={$module_name}&op=album&idartist={$songO->idartist}&idalbum={$songO->idalbum}&idsong={$songO->id}">{$songO->albumname}</a></td>
				<td><a href="modules.php?name={$module_name}&op=artist&idartist={$songO->idartist}&idalbum={$songO->idalbum}&idsong={$songO->id}">{$songO->artistname}</a></td>
			{elseif !$tm_easyURLtype}
				<td><a href="{$tm_BaseURL}/music.php/artist/{$songO->artistname|urlencode}/album/{$songO->albumname|urlencode}/song/{$songO->title|urlencode}">{$songO->title}</a></td>
				<td><a href="{$tm_BaseURL}/music.php/artist/{$songO->artistname|urlencode}/album/{$songO->albumname|urlencode}">{$songO->albumname}</a></td>
				<td><a href="{$tm_BaseURL}/music.php/artist/{$songO->artistname|urlencode}">{$songO->artistname}</a></td>
			{elseif $tm_easyURLtype==2}
				<td><a href="song{$songO->getIdartist()}_{$songO->getIdalbum()}_{$songO->getId()}.html">{$songO->title}</a></td>
				<td><a href="album{$songO->getIdartist()}_{$songO->getIdalbum()}.html">{$songO->albumname}</a></td>
				<td><a href="artist{$songO->getIdartist()}.html">{$songO->artistname}</a></td>
			{else}
				<td><a href="{$tm_BaseURL}/music.php/artist/{$songO->idartist}/album/{$songO->idalbum}/song/{$songO->getId()}">{$songO->title}</a></td>
				<td><a href="{$tm_BaseURL}/music.php/artist/{$songO->idartist}/album/{$songO->idalbum}">{$songO->albumname}</a></td>
				<td><a href="{$tm_BaseURL}/music.php/artist/{$songO->idartist}">{$songO->artistname}</a></td>
			{/if}
			<td>{$element->positionsince}</td>
			<td>{$element->chartsince}</td>
			 <td>{$genericView->printPlayer($songO,"button",$module_name,$tm_config)}</td>
			</tr>
{/foreach}
</tbody>
<tfoot></tfoot>
</table>
</div>
Return current item: Top Music module