Namespace_Default: added a workaround for an inconsistency in SQL. Basically, if you join the same table multiple times under multiple aliases, COUNT() always uses the first instance. Was affecting the comment counter in the "discussion" button.
</div> <!-- div#ajaxEditContainer -->
</td>
<!-- BEGIN right_sidebar -->
<td valign="top" class="td-right-sidebar">
<div class="right sidebar" id="enanium_sidebar_right">
<a class="closebtn" onclick="enanium_toggle_sidebar_right(); return false;">»</a>
{SIDEBAR_RIGHT}
</div>
<div class="right-sidebar-hidden" id="enanium_sidebar_right_hidden">
<a class="openbtn" onclick="enanium_toggle_sidebar_right(); return false;">«</a>
</div>
<!-- HOOK sidebar_right_post -->
</td>
<!-- END right_sidebar -->
</tr>
</table>
</div> <!-- div#content-wrapper -->
</td>
</tr>
</table>
<div id="footer">
<b>{COPYRIGHT}</b><br />
<!-- You may remove the following line, but it will affect your support from the Enano project. See: http://enanocms.org/powered-link -->
[[EnanoPoweredLinkLong]] | <!-- BEGINNOT stupid_mode --><a href="http://validator.w3.org/check?uri=referer">{lang:page_w3c_valid_xhtml11}</a> | <a href="http://jigsaw.w3.org/css-validator/validator?uri=referer">{lang:page_w3c_valid_css}</a> | <!-- END stupid_mode -->[[StatsLong]]
<!-- Do not remove this line or scheduled tasks will not run. -->
<img alt=" " src="{SCRIPTPATH}/cron.php" width="1" height="1" />
</div>
{JS_FOOTER}
</body>
</html>