<h1><?php $this->_echo($d['.'][0]['L_SMILEY_TITLE']); ?></h1>

<P><?php $this->_echo($d['.'][0]['L_SMILEY_TEXT']); ?></p>

<form method="post" action="<?php $this->_echo($d['.'][0]['S_SMILEY_ACTION']); ?>"><table cellspacing="1" cellpadding="4" border="0" align="center" class="forumline">
<tr>
<th class="thCornerL"><?php $this->_echo($d['.'][0]['L_CODE']); ?></th>
<th class="thTop"><?php $this->_echo($d['.'][0]['L_SMILE']); ?></th>
<th class="thTop"><?php $this->_echo($d['.'][0]['L_EMOT']); ?></th>
<th colspan="2" class="thCornerR"><?php $this->_echo($d['.'][0]['L_ACTION']); ?></th>
</tr>
<?php if($_smiles_count = count($d['smiles'])) {for ($_smiles_i = 0; $_smiles_i < $_smiles_count; $_smiles_i++){ ?>
<tr>
<td class="<?php $this->_echo($d['smiles'][$_smiles_i]['ROW_CLASS']); ?>"><?php $this->_echo($d['smiles'][$_smiles_i]['CODE']); ?></td>
<td class="<?php $this->_echo($d['smiles'][$_smiles_i]['ROW_CLASS']); ?>"><img src="<?php $this->_echo($d['smiles'][$_smiles_i]['SMILEY_IMG']); ?>" alt="<?php $this->_echo($d['smiles'][$_smiles_i]['CODE']); ?>" /></td>
<td class="<?php $this->_echo($d['smiles'][$_smiles_i]['ROW_CLASS']); ?>"><?php $this->_echo($d['smiles'][$_smiles_i]['EMOT']); ?></td>
<td class="<?php $this->_echo($d['smiles'][$_smiles_i]['ROW_CLASS']); ?>"><a href="<?php $this->_echo($d['smiles'][$_smiles_i]['U_SMILEY_EDIT']); ?>"><?php $this->_echo($d['.'][0]['L_EDIT']); ?></a></td>
<td class="<?php $this->_echo($d['smiles'][$_smiles_i]['ROW_CLASS']); ?>"><a href="<?php $this->_echo($d['smiles'][$_smiles_i]['U_SMILEY_DELETE']); ?>"><?php $this->_echo($d['.'][0]['L_DELETE']); ?></a></td>
</tr>
<?php }} ?>
<tr>
<td class="catBottom" colspan="5" align="center"><?php $this->_echo($d['.'][0]['S_HIDDEN_FIELDS']); ?><input type="submit" name="add" value="<?php $this->_echo($d['.'][0]['L_SMILEY_ADD']); ?>" class="mainoption" />&nbsp;&nbsp;<input class="liteoption" type="submit" name="import_pack" value="<?php $this->_echo($d['.'][0]['L_IMPORT_PACK']); ?>">&nbsp;&nbsp;<input class="liteoption" type="submit" name="export_pack" value="<?php $this->_echo($d['.'][0]['L_EXPORT_PACK']); ?>"></td>
</tr>
</table></form>