Location: PHPKode > scripts > Impleo Music Collection Script > impleo/templates/record.tpl
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html lang="en">
<head>
  <title>{if $display}{$item->getArtist()} - {$item->getTitle()} - {/if}{$collectionName}</title>
  <link href="style.css" rel="stylesheet" type="text/css" media="screen">
</head>
<body>
<h1>{$collectionName}</h1>
<ul>
  <li><a href="./">Main</a></li>
  <li><a href="./statistics.php">Statistics</a></li>
</ul>
{if $display}
<div id="record">
<h2>{$item->getArtist()} - {$item->getTitle()}</h2>
{if $item->getImageName()}
<p class="img"><img src="./images/uploads/{$item->getImageName()}" alt="{$item->getArtist()} - {$item->getTitle()}"></p>
<div class="info">
{/if}
<table>
	<tr>
		<th id="year" align="left" valign="top" scope="row">Year:</th>
		<td headers="year" align="left" valign="top">{$item->getYear()}</td>
	</tr>
{foreach from=$detail item=ext}
	<tr>
		<th id="{$ext.key}" align="left" valign="top" scope="row">{$ext.name}:</th>
		<td headers="{$ext.key}" align="left" valign="top">{$ext.value}</td>
	</tr>
{/foreach}
</table>
<dl>
  <dt>Added:</dt>
    <dd>{$item->getDateAdded()}</dd>
{if $item->getDateUpdated()}
  <dt>Last updated:</dt>
    <dd>{$item->getDateUpdated()}</dd>
{/if}
</dl>
{if $item->getImageName()}</div>
<div class="clear"></div>{/if}
</div>
{else}
<p>No item</p>
{/if}
<p id="author"><a href="http://sappy.dk/impleo/">Impleo Music Collection 2.0</a></p>
</body>
</html>
Return current item: Impleo Music Collection Script