I have updated vbadvanced to 3.0.1, all ok, but when I try to modify adv_portal_newsbits (news in 2 columns) it shows: <if> missed on line 73.
I can´t find this mistake, for me is all ok
Anyone can help me? template code below
Thanks in advance
I can´t find this mistake, for me is all ok
Anyone can help me? template code below
Thanks in advance
Code:
<if condition="!$mod_options['portal_news_legacy']">
<if condition="$newscount == 1">
<table cellpadding="0" width="100%" height="100%">
</if>
<if condition="($newscount % 2)">
<tr>
</if>
<td valign="top" width="50%">
<table height="100%" align="center" border="0" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" width="100%">
<tr>
<td class="thead"><if condition="$mod_options['portal_news_showicon']">$vba_style[portal_blockbullet]</if> <a href="$vboptions[bburl]/showthread.php?$session[sessionurl]t=$news[threadid]">$news[title]</a></td>
</tr>
</if>
<tr>
<td class="<if condition="$mod_options['portal_news_legacy']">thead<else />alt2</if>">
<if condition="($mod_options['portal_news_showrating'] AND $news['rating']) OR ($news['subscribed'] AND $mod_options['portal_news_showsubscribed'])">
<span style="float:$stylevar[align=right]">
<if condition="$mod_options['portal_news_showrating'] AND $news['rating']">
<img alt="" src="$stylevar[imgdir_rating]/rating_$news[rating].gif" title="<phrase 1="$news[votenum]" 2="$news[voteavg]">$vbphrase[thread_rating_x_votes_y_average]</phrase>" />
</if>
<if condition="$news['subscribed'] AND $mod_options['portal_news_showsubscribed']">
<img alt="" class="inlineimg" src="$stylevar[imgdir_misc]/subscribed.gif" title="$vbphrase[you_are_subscribed_to_this_thread]" />
</if>
</span>
</if>
</td>
</tr>
<tr>
<td align="$stylevar[align=left]" class="alt1" valign="top">
<if condition="$show['paperclip']">
<span style="float:$stylevar[align=right]">
<img class="inlineimg" src="$stylevar[imgdir_misc]/paperclip.gif" title="<phrase 1="$news[attach]">$vbphrase[x_attachments]</phrase>" alt="" />
</span>
</if>
<if condition="$news['avatarpath']">
<img align="$stylevar[align=left]" style="padding:6px" alt="" border="0" src="$news[avatarpath]" title="$news[postusername]'s $vbphrase[avatar]" />
</if>
<if condition="$news['attachment']">
<span style="float: left; margin: $stylevar[cellpadding]px $stylevar[cellpadding]px $stylevar[cellpadding]px 0px">
$news[attachment]
</span>
</if>
$news[message]
<if condition="$show['signature']">
<div>__________________<br />
$news[signature]</div>
</if>
</td>
</tr>
<tr class="alt2" valign="middle">
<td valign="middle">
$news[dateposted]
<span style="float:right">
<if condition="$mod_options['portal_news_showsendfriend']">
<a href="$vboptions[bburl]/sendmessage.php?$session[sessionurl]do=sendtofriend&t=$news[threadid]"><img class="inlineimg" alt="" border="0" src="$stylevar[imgdir_button]/sendtofriend.gif" title="$vbphrase[send_to_friend]" /></a>
</if>
<if condition="$mod_options['portal_news_showprintable']">
<a href="$vboptions[bburl]/printthread.php?$session[sessionurl]t=$news[threadid]"><img class="inlineimg" alt="" border="0" src="$stylevar[imgdir_button]/printer.gif" title="$vbphrase[show_printable_version]" /></a>
</if>
</span>
</td>
</tr>
</table>
</if>
</if>