Site in read-only mode
This site is now read-only following the release of MyBB 1.8 and the new mods site.
If you are looking for MyBB 1.8 mods please click here to visit the new mods site.
You can continue to download submissions for MyBB 1.6 and earlier here, however new submissions will only be accepted via the new mods site.
Advanced Attachments
Advanced Attachments
Hi
Author: Omid KatimZadeH (!ArTiN)
Please go to
ACP >>> Templates & Style >>> Themes >>>
Your Theme >>>postbit>>>postbit_attachments_attachment
Please replace the previous
PHP Code:
<head>
<style type="text/css">
<!--
td.attachrow {font: normal 11px Tahoma;}
td.attachheader {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable {font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
<style type="text/css">
<!--
td.attachrow {font: normal 11px Tahoma;}
td.attachheader {font: normal 11px Tahoma; background-color: #ededed; }
table.attachtable {font: normal 12px Tahoma;border-collapse : collapse; }
-->
</style>
<style>
<!--
table.attachtable {font: normal 12px Tahoma;border-collapse : collapse; }
td.attachheader {font: normal 11px Tahoma; background-color: #ededed; }
td.attachrow {font: normal 11px Tahoma;}
-->
</style>
</head>
<table border="0" cellpadding="0" cellspacing="3">
<!-----Postbit_Attachment---->
</table>
<table id="table2" width="95%" align="center" border="1" cellpadding="2" cellspacing="0">
<tr>
<td colspan="3" width="100%" align="center"><b>
{$attachment['filename']}</b></td>
</tr>
<tr>
<td width="15%"><span>File Type</span></td>
<td width="75%">
{$attachment['icon']}</td>
<td rowspan="3" width="10%" align="center">
<a href="attachment.php?aid={$attachment['aid']}">
<img src="http://up.iran-talk.ir/uploads/13326006071.png" alt="دانلود" border="0"></a><br>
</td> </tr>
<tr>
<td width="15%"><span>Hits</span></td>
<td width="75%"><span>{$attachment['downloads']}</span></td>
</tr>
<tr>
<td width="15%"><span>Size</span></td>
<td width="75%">{$attachment['filesize']}</td>
</tr>
</table>
<br>
By Omid KatimZadeH (!ArTiN)
website: http://iran-talk.ir