Michael.A
04-17-2009, 01:17 AM
well this is my first time coding my own work so am going to need some pro help;),
i want the code blow to show only if there is a image attachments vv
<p class="bigusername" style="border-bottom: 2px solid rgb(204, 204, 204);">Screenshots</p>
all images attachments vv
<if condition="$show['thumbnailattachment']">
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</if>
<if condition="$show['imageattachment']">
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</if>
<if condition="$show['imageattachmentlink']">
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</if>
<if condition="$show['moderatedattachment']">
<strong>$vbphrase[attachments_pending_approval]</strong>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</if>
</if>
--------------- Added 1239944775 at 1239944775 ---------------
Lynne help??
i want the code blow to show only if there is a image attachments vv
<p class="bigusername" style="border-bottom: 2px solid rgb(204, 204, 204);">Screenshots</p>
all images attachments vv
<if condition="$show['thumbnailattachment']">
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</if>
<if condition="$show['imageattachment']">
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</if>
<if condition="$show['imageattachmentlink']">
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</if>
<if condition="$show['moderatedattachment']">
<strong>$vbphrase[attachments_pending_approval]</strong>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</if>
</if>
--------------- Added 1239944775 at 1239944775 ---------------
Lynne help??