<tr>
<td width="100%" valign="top">
<!--- start-special --->
- <list special as s>
+ <if special>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
- <h3>${s.title}</h3>
- <h4><i>${s.creator}, ${s.webdb_create_formatted}</i></h4>
- <p> <if specialimage[s.to_media] && specialimage[s.to_media]["is_published"]=="1">
- <img src="${specialimage[s.to_media]["icon_path"]}" width="${specialimage[s.to_media]["icon_width"]}" height="${specialimage[s.to_media]["icon_height"]}" alt="" align="left" vspace="8" hspace="8">
- </if> ${s.description} </p>
- <p align="right">[<a href="${producerDocRoot}${s.publish_path}${s.id}.shtml">read</a>]</p>
+ <h3>${special.title}</h3>
+ <h4><i>${special.creator}, ${special.webdb_create_formatted}</i></h4>
+ <p> <if special.to_media && special.to_media["is_published"]=="1">
+ <img src="${special.to_media[0]["icon_path"]}" width="${special.to_media[0]["icon_width"]}" height="${special.to_media[0]["icon_height"]}" alt="" align="left" vspace="8" hspace="8">
+ </if> ${special.description} </p>
+ <p align="right">[<a href="${producerDocRoot}${special.publish_path}${special.id}.shtml">read</a>]</p>
</td>
</tr>
</table>
- </list> <!--- start-special ---> <br>
+ </if>
+ <!--- start-special --->
<!--- features --->
<list contentlist as i>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<td>
<h3>${i.title}</h3>
<h4><i>${i.creator}, ${i.webdb_create_formatted}</i></h4>
- <p> <if images[i.to_media] && images[i.to_media]["is_published"]=="1">
- <img src="${images[i.to_media]["icon_path"]}" width="${images[i.to_media]["icon_width"]}" height="${images[i.to_media]["icon_height"]}" alt="" align="left" vspace="8" hspace="8">
- </if> ${i.description} </p>
+ <p> <if i.to_media[0] && i.to_media[0]["is_published"]=="1">
+ <img src="${i.to_media[0]["icon_path"]}" width="${i.to_media[0]["icon_width"]}" height="${i.to_media[0]["icon_height"]}" alt="" align="left" vspace="8" hspace="8">
+ </if> ${i.description}</p>
<p align="right">[<a href="${producerDocRoot}${i.publish_path}${i.id}.shtml">read</a>]</p>
</td>
</tr>