<div class="d3d_inc_download">

<div>
<{if ! $down.broken_link}>
	<h2><{$down.filelink}><{$down.title}></a><{$down.new}><{$down.pop}></h2>
<{else}>
	<h2><{$down.title}></h2>
<{/if}>
</div>

<div>
	<{if $down.gif_image && $down.gif_image !="download.gif"}>
		<{$down.filelink}><img src="images/<{$down.gif_image}>" width="110" height="18"></a>
	<{elseif $down.gif_image}>
		<{$down.filelink}><img src="images/<{$down.gif_image}>" width="19" height="19"></a>
	<{else}>
		(&nbsp;<span class="d3downloads_broken_message"><{$smarty.const._MD_D3DOWNLOADS_BROKEN_FILE}></span>&nbsp;)
	<{/if}>

	<{if $down.filelink2}>
		<{if $down.gif_image2 && $down.gif_image2 !="download.gif"}>
			<{$down.filelink2}><img src="images/<{$down.gif_image2}>" width="110" height="18"></a>
		<{elseif $down.gif_image2}>
			<{$down.filelink2}><img src="images/<{$down.gif_image2}>" width="19" height="19"></a>
		<{else}>
			(&nbsp;<span class="d3downloads_broken_message"><{$smarty.const._MD_D3DOWNLOADS_BROKEN_FILE}></span>&nbsp;)
		<{/if}>
	<{/if}>

	<{if $mod_config.show_postname}>
		<span class="d3downloads_bold"><{$smarty.const._MD_D3DOWNLOADS_SUBMIT_POSTNAME}>:</span>&nbsp;<{$down.postname}>&nbsp;&nbsp;
	<{/if}>
	<{if $down.version}>
		<span class="d3downloads_bold"><{$smarty.const._MD_D3DOWNLOADS_VERSION}>:</span>&nbsp;<{$down.version}>&nbsp;&nbsp;
	<{/if}>
	<span class="d3downloads_bold"><{$smarty.const._MD_D3DOWNLOADS_DATE}>:</span>&nbsp;&nbsp;<{$down.updated}>
</div>

<div>
	<h3><{$smarty.const._MD_D3DOWNLOADS_DESCRIPTION}></h3>
   	<br />

	<div class="d3downloads_single_frame_description">
		<{if $canuseshots &&  ! $down.broken_link}>
			<{$down.shots}>
		<{/if}>
		<{$down.description}>
	</div>

	<br />

	<{if $down.md5 || $down.md5_2}>
				<div class="d3downloads_md5_line">
					<{if $down.md5}><{$down.md5}><br /><{/if}> <{if $down.md5_2}><{$down.md5_2}><{/if}>
				</div>
	<{/if}>

<div>
	<img src="images/counter.gif" border="0" align="absmiddle" alt="<{$smarty.const._MD_D3DOWNLOADS_DOWNSUM}>" title="<{$smarty.const._MD_D3DOWNLOADS_DOWNSUM}>" />&nbsp;<{$down.hits}>&nbsp;&nbsp;
	<{if $down.size}>
		<img src="images/size.gif" border="0" align="absmiddle" alt="<{$smarty.const._MD_D3DOWNLOADS_SIZE}>" title="<{$smarty.const._MD_D3DOWNLOADS_SIZE}>" />&nbsp;<{$down.size}>&nbsp;&nbsp;
	<{/if}>
	<{if $down.platform}>
		<img src="images/platform.gif" border="0" align="absmiddle" alt="<{$smarty.const._MD_D3DOWNLOADS_PLATFORM}>" title="<{$smarty.const._MD_D3DOWNLOADS_PLATFORM}>" />&nbsp;<{$down.platform}>&nbsp;&nbsp;
	<{/if}>
	<{if $mod_config.use_license && $down.license}>
		<img src="images/editicon.gif" border="0" align="absmiddle" alt="<{$smarty.const._MD_D3DOWNLOADS_LICENSE}>" title="<{$smarty.const._MD_D3DOWNLOADS_LICENSE}>" />&nbsp;<{$down.license}>&nbsp;&nbsp;
	<{/if}>
	<{if $down.homepage}>
		<img src="images/home.gif" border="0" align="absmiddle" alt="<{$smarty.const._MD_D3DOWNLOADS_HOMEPAGE}>" title="<{$smarty.const._MD_D3DOWNLOADS_HOMEPAGE}>"/>&nbsp;<{$down.homepage}>
	<{/if}>
</div>

<div>
<{if $down.extra}>
	<hr class="d3downloads_extra_infomation" />
	<table class="d3downloads_extra">
		<{foreach item="info" from=$down.extra}>
			<tbody><tr>
				<td class="title" width="20%">
					<{$info.title}>
				</td>
				<td class="desc" width="80%">
					<{$info.desc}>
				</td>
			</tr>
		<{/foreach}>
	</tbody></table>
<{/if}>
</div>

<div>
	<span class="d3downloads_bold"><{$smarty.const._MD_D3DOWNLOADS_RATINGC}></span> <{$down.rating}> (<{$down.votes}>&nbsp;<{$smarty.const._MD_D3DOWNLOADS_VOTEC}>)
</div>
<div>
	<a data-ajax="false" href="<{$mod_url}>/index.php?page=ratefile&amp;cid=<{$down.cid}>&amp;lid=<{$down.id}>"><{$smarty.const._MD_D3DOWNLOADS_RATE}></a>&nbsp;
	<{if $down.canedit}>
		|&nbsp;<a data-ajax="false" href="<{$mod_url}>/index.php?page=modfile&amp;cid=<{$down.cid}>&amp;lid=<{$down.id}>"><{$smarty.const._MD_D3DOWNLOADS_MODIFY}></a>&nbsp;
	<{/if}>| 
	<a data-ajax="false" href="<{$mod_url}>/index.php?page=brokenfile&amp;cid=<{$down.cid}>&amp;lid=<{$down.id}>"><{$smarty.const._MD_D3DOWNLOADS_REPORTBROKEN}></a>&nbsp;|&nbsp;
	<a target="_top" href="<{$down.mail_link}>"><{$smarty.const._MD_D3DOWNLOADS_TELLAFRIEND}></a>&nbsp;|&nbsp;
	<{if $down.d3comment && $down.cancomment}>
		 <a data-ajax="false" href="<{$mod_url}>/index.php?page=singlefile&amp;cid=<{$down.cid}>&amp;lid=<{$down.id}>#comment">
		<{$smarty.const._MD_D3DOWNLOADS_COMMENTS}> (<{$down.comments}>)</a>
	<{elseif ! $down.singlelink}>
		<a data-ajax="false" href="<{$mod_url}>/index.php?page=singlefile&amp;cid=<{$down.cid}>&amp;lid=<{$down.id}>">
		 <{$smarty.const._MD_D3DOWNLOADS_SHOWDETAIL}></a>
	<{/if}>
	<{if $mod_config.show_postname && ! $mypost}>
		&nbsp;|&nbsp;<{$down.mypost_more}>
	<{/if}>
</div>
</div>
