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

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

<script language="javascript" type="text/javascript">
<!--
function update_smiley(newimage)
{
document.smiley_image.src = "<?php $this->_echo($d['.'][0]['S_SMILEY_BASEDIR']); ?>/" + newimage;
}
//-->
</script>

<form method="post" action="<?php $this->_echo($d['.'][0]['S_SMILEY_ACTION']); ?>"><table class="forumline" cellspacing="1" cellpadding="4" border="0" align="center">
<tr>
<th class="thHead" colspan="2"><?php $this->_echo($d['.'][0]['L_SMILEY_CONFIG']); ?></th>
</tr>
<tr>
<td class="row2"><?php $this->_echo($d['.'][0]['L_SMILEY_CODE']); ?></td>
<td class="row2"><input class="post" type="text" name="smile_code" value="<?php $this->_echo($d['.'][0]['SMILEY_CODE']); ?>" /></td>
</tr>
<tr>
<td class="row1"><?php $this->_echo($d['.'][0]['L_SMILEY_URL']); ?></td>
<td class="row1"><select name="smile_url" onchange="update_smiley(this.options[selectedIndex].value);"><?php $this->_echo($d['.'][0]['S_FILENAME_OPTIONS']); ?></select> &nbsp; <img name="smiley_image" src="<?php $this->_echo($d['.'][0]['SMILEY_IMG']); ?>" border="0" alt="" /> &nbsp;</td>
</tr>
<tr>
<td class="row2"><?php $this->_echo($d['.'][0]['L_SMILEY_EMOTION']); ?></td>
<td class="row2"><input class="post" type="text" name="smile_emotion" value="<?php $this->_echo($d['.'][0]['SMILEY_EMOTICON']); ?>" /></td>
</tr>
<tr>
<td class="catBottom" colspan="2" align="center"><?php $this->_echo($d['.'][0]['S_HIDDEN_FIELDS']); ?><input class="mainoption" type="submit" value="<?php $this->_echo($d['.'][0]['L_SUBMIT']); ?>" /></td>
</tr>
</table></form>