<?php if (!empty($types) && $forum['t_type']):?>
	<?php if ($this->getOwner()->isWebRequest()):?><?php else:?>分类:<?php endif;?><select name="type">
			<?php if (2 != $forum['t_type']):?><option value="0">普通</option><?php endif;?>
			<?php foreach ($types as $type):?>
				<option value="<?php echo $type['id'];?>"<?php if ($this->select && $this->select == $type['id']):?> selected<?php endif;?>><?php echo $type['name'];?></option>
			<?php endforeach;?>
		</select>
		<?php if (!$this->getOwner()->isWebRequest()):?>
		<br/>
		<?php endif;?>
<?php endif;?>