<?php if ($this->tableless): ?> <div class="<?= $this->prefix; ?><?php if ($this->class) echo ' ' . $this->class; ?><?php if ($this->eSM_fl_width): ?> w<?php echo $this->eSM_fl_width; ?><?php endif; ?><?php if ($this->eSM_fl_clear): ?> clr<?php endif; ?><?php if ($this->eSM_fl_class): ?> <?php echo $this->eSM_fl_class; ?><?php endif; ?>"> <?php $this->block('label'); ?> <?php $this->endblock(); ?> <?php $this->block('field'); ?> <?php $this->endblock(); ?> <?php if ($this->addSubmit): ?> <?php $this->insert('_form_addsubmit', array('id'=>$this->id,'slabel'=>$this->slabel)); ?> <?php endif; ?> </div> <?php else: ?> <tr class="<?= $this->rowClass; ?>"> <td class="col_0 col_first"> <?php $this->block('label'); ?> <?php $this->endblock(); ?> </td> <td class="col_1 col_last"> <?php $this->block('field'); ?> <?php $this->endblock(); ?> <?php if ($this->addSubmit): ?> <?php $this->insert('_form_addsubmit', array('id'=>$this->id,'slabel'=>$this->slabel)); ?> <?php endif; ?> </td> </tr> <?php endif; ?>