<table width="100%" border="0" cellpadding="3" cellspacing="1" border="0" class="forumline" bgcolor=""#ffffff">
<tr>
<td class="row2" align="center"><span class="maintitle"><?php echo isset($this->vars['L_STYLES_TITLE']) ? $this->vars['L_STYLES_TITLE'] : ''; ?></span></td>
</tr><tr>
<td class="row2"><div class="genmed"><?php echo isset($this->vars['L_STYLES_TEXT']) ? $this->vars['L_STYLES_TEXT'] : ''; ?></div></td>
</tr></table>
<table cellspacing="1" cellpadding="4" border="0" align="center" class="forumline">
<tr> 
<th>&nbsp;<?php echo isset($this->vars['L_STYLE']) ? $this->vars['L_STYLE'] : ''; ?>&nbsp;</th>
<th>&nbsp;<?php echo isset($this->vars['L_TEMPLATE']) ? $this->vars['L_TEMPLATE'] : ''; ?>&nbsp;</th>
<th>&nbsp;<?php echo isset($this->vars['L_EDIT']) ? $this->vars['L_EDIT'] : ''; ?>&nbsp;</th>
<th colspan="2">&nbsp;<?php echo isset($this->vars['L_DELETE']) ? $this->vars['L_DELETE'] : ''; ?>&nbsp;</th>
</tr>
<?php

$styles_count = ( isset($this->_tpldata['styles.']) ) ?  sizeof($this->_tpldata['styles.']) : 0;
for ($styles_i = 0; $styles_i < $styles_count; $styles_i++)
{
 $styles_item = &$this->_tpldata['styles.'][$styles_i];

?>
<tr> 
<td class="<?php echo isset($styles_item['ROW_CLASS']) ? $styles_item['ROW_CLASS'] : ''; ?>"><?php echo isset($styles_item['STYLE_NAME']) ? $styles_item['STYLE_NAME'] : ''; ?></td>
<td class="<?php echo isset($styles_item['ROW_CLASS']) ? $styles_item['ROW_CLASS'] : ''; ?>"><?php echo isset($styles_item['TEMPLATE_NAME']) ? $styles_item['TEMPLATE_NAME'] : ''; ?></td>
<td class="<?php echo isset($styles_item['ROW_CLASS']) ? $styles_item['ROW_CLASS'] : ''; ?>"><a href="<?php echo isset($styles_item['U_STYLES_EDIT']) ? $styles_item['U_STYLES_EDIT'] : ''; ?>"><?php echo isset($this->vars['L_EDIT']) ? $this->vars['L_EDIT'] : ''; ?></a></td>
<td class="<?php echo isset($styles_item['ROW_CLASS']) ? $styles_item['ROW_CLASS'] : ''; ?>"><a href="<?php echo isset($styles_item['U_STYLES_DELETE']) ? $styles_item['U_STYLES_DELETE'] : ''; ?>"><?php echo isset($this->vars['L_DELETE']) ? $this->vars['L_DELETE'] : ''; ?></a></td>
</tr>
<?php

} // END styles

?>
</table>
<br />
