<table width="100%" border="0" cellspacing="0" cellpadding="10">
<tr>
<td><table width="100%" border="0" cellspacing="1" cellpadding="4" class="forumline">
<tr>
<th class="thHead" height="25"><?php $this->_echo($d['.'][0]['L_EMOTICONS']); ?></th>
</tr>
<tr>
<td><table width="100" border="0" cellspacing="0" cellpadding="5">
<?php if($_smilies_row_count = count($d['smilies_row'])) {for ($_smilies_row_i = 0; $_smilies_row_i < $_smilies_row_count; $_smilies_row_i++){ ?>
<tr align="center" valign="middle"> 
<?php if($_smilies_col_count = count($d['smilies_row'][$_smilies_row_i]['smilies_col'])) {for ($_smilies_col_i = 0; $_smilies_col_i < $_smilies_col_count; $_smilies_col_i++){ ?>
<td><a href="javascript:opener.emoticon('<?php $this->_echo($d['smilies_row'][$_smilies_row_i]['smilies_col'][$_smilies_col_i]['SMILEY_CODE']); ?>')"><img src="<?php $this->_echo($d['smilies_row'][$_smilies_row_i]['smilies_col'][$_smilies_col_i]['SMILEY_IMG']); ?>" border="0" alt="<?php $this->_echo($d['smilies_row'][$_smilies_row_i]['smilies_col'][$_smilies_col_i]['SMILEY_DESC']); ?>" title="<?php $this->_echo($d['smilies_row'][$_smilies_row_i]['smilies_col'][$_smilies_col_i]['SMILEY_DESC']); ?>" /></a></td>
<?php }} ?>
</tr>
<?php }}if($_switch_smilies_extra_count = count($d['switch_smilies_extra'])) {for ($_switch_smilies_extra_i = 0; $_switch_smilies_extra_i < $_switch_smilies_extra_count; $_switch_smilies_extra_i++){ ?>
<tr align="center"> 
<td colspan="<?php $this->_echo($d['.'][0]['S_SMILIES_COLSPAN']); ?>"><span class="nav"><a href="<?php $this->_echo($d['.'][0]['U_MORE_SMILIES']); ?>" onclick="open_window('<?php $this->_echo($d['.'][0]['U_MORE_SMILIES']); ?>', 250, 300);return false" target="_smilies" class="nav"><?php $this->_echo($d['.'][0]['L_MORE_SMILIES']); ?></a></span></td>
</tr>
<?php }} ?>
</table></td>
</tr>
<tr>
<td align="center"><br /><span class="genmed"><a href="javascript:window.close();" class="genmed"><?php $this->_echo($d['.'][0]['L_CLOSE_WINDOW']); ?></a></span></td>
</tr>
</table></td>
</tr>
</table>