<?php if(get_option('web589-cat-num-'.$tag->term_id)) $t_value=get_option('web589-cat-num-'.$tag->term_id);else $t_value="10"?>
<table class="form-table">
	<tr class="form-field">
		<th>选择模板:</th>
		<td>
		<select name="web589-cat-template" id="web589-cat-template">
			<option value="default" <?php if(get_option('web589-cat-template-'.$tag->term_id)=='default') echo 'selected' ?>>默认模板</option>
			<option value="image" <?php if(get_option('web589-cat-template-'.$tag->term_id)=='image') echo 'selected' ?>>图片模板</option>
			<option value="list" <?php if(get_option('web589-cat-template-'.$tag->term_id)=='list') echo 'selected' ?>>列表模板</option>
		</select>
		</td>
	</tr>
	<tr class="form-field">
		<th>每页显示文章数:</th>
		<td><input type="text" name="web589-cat-num" id="web589-cat-num" size="40" value="<?php echo $t_value; ?>" /></td>
	</tr>
</table>