Ejemplo n.º 1
0
	</tr>
<?php 
if ($this->problem['action'] == 'edit') {
    ?>
	<tr>
		<td>永久删除</td>
		<td><input type="checkbox" name="remove" value="1"/></td>
	</tr>
<?php 
}
?>
	<tr>
		<td>正文</td>
		<td>
		<?php 
NicEdit::show("text_content", true, "可视化模式", "HTML模式", true);
?>
		<textarea name="prob_content" id="text_content" cols="80" rows="20" ><?php 
echo $this->escape($this->problem['prob_content']);
?>
</textarea>
		</td>
	</tr>
</table>
<input type="hidden" name="action" value="<?php 
echo $this->problem['action'];
?>
" />
<input type="hidden" name="data" value="problem" />
<input type="submit" value="提交" />
</form>