<?php } else { ?> <?php echo $row->state_name; ?> <?php } ?> </td> <td align="left"> <?php if ($show_edit) { ?> <?php echo VmHTML::select_city('tsmart_cityarea_id', $this->list_city_area, $row->tsmart_cityarea_id, '', 'tsmart_cityarea_id', 'city_area_name', 'select[name="tsmart_state_id"]'); ?> <?php } else { ?> <?php echo $row->city_area_name; ?> <?php } ?> </td> <?php } ?>